*[class*="fontawesome-"]:before {
    font-family: 'FontAwesome', sans-serif;
}

.calendar-container {
	position:relative;
    /*background: #f9f9f9;*/
    color: #0e171c;
    font: 300 90%/.5em 'Lato', sans-serif;
    margin: 0;
	border:2px solid #fff;
}
.calendar-container table {
    border-spacing: 0;
    width: 100%;
}
.calendar-container .calendar .month{
	color:#FFFFFF;
}
.calendar-container {
    height: 420px;
    left: 3%;
    margin: auto;
    position: absolute;
    /*top: 45%;*/
    width: 340px;
}

.calendar {
    text-align: center;
}

.calendar header {
    position: relative;
}

.calendar h2 {
    text-transform: uppercase;
}

.calendar thead {
    font-weight: 400;
    text-transform: uppercase;
	color:#FFF;
}

.calendar tbody {
    color: #fff;
}

.calendar tbody td:hover {
    border: 2px solid #c0392b;
    border-radius: 50%;
    position: relative;
    height: 44px;
    width: 44px;
}

.calendar tbody td.active {
    border: 2px solid #c0392b;
}

.calendar td {
    border: 2px solid transparent;
    border-radius: 50%;
    height: 44px;
    line-height: 44px;
    text-align: center;
    width: 44px;
    padding: 2px;
}

.current-day {
    background: #c0392b;
    color: #f9f9f9;
}

.event, .prueba {
    cursor: pointer;
    position: relative;
}
.prueba:after {
    background: #007561;
    border-radius: 50%;
    bottom: 4px;
    display: block;
    content: '';
    height: 4px;
    left: 50%;
    margin: -4px 0 0 -4px;
    position: absolute;
    width: 4px;
}
.calendar .prueba:hover{
	border: 2px solid #007561;
    border-radius: 50%;
    position: relative;
    height: 44px;
    width: 44px;
}

.event:after {
    background: #c0392b;
    border-radius: 50%;
    bottom: 4px;
    display: block;
    content: '';
    height: 4px;
    left: 50%;
    margin: -4px 0 0 -4px;
    position: absolute;
    width: 4px;
}

.event.green-event:after {
    background: #009E82;
}

.event.blue-event:after {
    background: #0078AB;
}

.event.current-day:after {
    background: #f9f9f9;
}

.btn-prev,
.btn-next {
	border: 2px solid #fff;
	border-radius: 50%;
	color: #fff;
	height: 32px;
	font-size: 22px;
	line-height: 28px;
	margin: -16px;
	position: absolute;
	top: 50%;
	width: 32px;
}

.btn-prev:hover,
.btn-next:hover {
    background: #C0392B;
    color: #fff;
}

.btn-prev {
    left: 30px;
}

.btn-next {
    right: 35px;
}

.list {
    margin-top: 20px;	
}

.close {
    color: #000;
    margin-top: -15px;
    margin-right: 10px;
    float: right;
}
.day-event a:hover{
    color: #fff;
	cursor:pointer;
}

.day-event {
    /*background-color: #F2F2F2 ;*/
	text-align:left;	
    min-width: 100%;
    padding-top: 15px;
    padding-bottom: 0px;
    margin: -375px 0px 0px 360px;
    display:none;
}

.day-event h2, .day-event h3{
	color:#000;
	margin-bottom:10px;
}
.day-event p{
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 5px;
	font-size:1.2em;
	font-weight:bold;
	line-height:1.5em;
}
.day-event p a{
    padding:5px 20px 5px 20px;
	background:#C0392B;
	color:#FFFFFF;
	text-decoration:none;
}
.day-event p a:hover{    
	background:#fff;
	color:#C0392B;
}

.day-event p a span{
    font-size: 1em;
	margin-right:5px;
}
.day-event .inicio{
	width:300px;
	height:80px;
	position:relative;
	float:left;
	top:-10px;
	/*border-right:1px solid #000;*/
}
.day-event .fin{
	width:150px;
	height:80px;
	position:relative;
	float:left;
	margin-left:20px;
}
.day-event .inicio span, .day-event .fin span{
	text-transform:uppercase;
	color:#333;
	font-weight:bold;
	font-size:1.6em;
	line-height:1em;
}
.day-event .inicio .dia, .day-event .fin .dia{
	font-size:500%;
	float:left;
	width:100%;
	position:relative;
	margin-top:0px;
}
.day-event .inicio .mes, .day-event .fin .mes{
	font-size:2em;
	margin:-65px 0px 0px 85px;
	position:relative;
	top:-65px;
}
.day-event .inicio .anio, .day-event .fin .anio{	
	margin:-65px 0px 0px 85px;
	position:relative;
	top:-62px;
	font-size:2em;
}
.day-event .evento{
	width:	64%;
	position:relative;
	float:right;
	display:inline;
	top:0px;
}
.day-event .organiza{
	width:	34%;
	position:relative;
	float:left;
	display:inline;
}
.day-event .evento h2{
	color:#333;
	text-transform:uppercase;
	font-size:400%;
	font-weight:bold;
	margin-top:-15px;
	margin-bottom:0px;
	padding-bottom:0px;
	line-height:.9em;
	
}
.day-event .evento h3{
	color:#C0392B;
	text-transform:uppercase;
	font-size:350%;
	font-weight:bold;
	margin-bottom:20px;
	line-height:.9em;
	margin-top:15px;
	
}
.day-event .evento h4{
	color:#333;
	font-size:140%;
	line-height:.8em;
	margin:0px;
	padding-top:0px;
}
.day-event .organiza h2{
	color:#333;
	font-size:120%;
	line-height:1.1em;
	margin:0px 0px -10px 0px;
}
.day-event .organiza p, .day-event .evento p{
	color:#fff;
	font-size:115%;
}
.day-event button {
    position: relative;
    vertical-align: top;
    width: 100%;
    height: 44px;
    padding: 0;
    font-size: 18px;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #c0392b;
    border: 0;
    border-bottom: 2px solid #b53224;
    cursor: pointer;
    -webkit-box-shadow: inset 0 -2px #b53224;
    box-shadow: inset 0 -2px #b53224;
}

.check-btn {
    width: 100%;
}
input[type=checkbox] {display:none;}
/*
span {
    background-color:#373740;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    font-weight:700;
    color:#FFF;
    font-size:.85em;
    letter-spacing:2px;
    text-decoration:none;
    font-family:'PT Sans', sans-serif;
    text-align:center;
    width:100%;
    height:50px;
    line-height:50px;
    cursor:pointer;
    display:block;
    margin: 0 auto;
    -webkit-transition:background-color 150ms ease-in;
    -moz-transition:background-color 150ms ease-in;
    -ms-transition:background-color 150ms ease-in;
    -o-transition:background-color 150ms ease-in;
    transition:background-color 150ms ease-in;
}

span:hover {
    background-color:#c0392b;
}

input[type=checkbox]:checked + span {
    background-color:#9C2E23;
    text-decoration:none;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    background:#9C2E23 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAaCAYAAACgoey0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAX9JREFUeNpi+P//PwMNsS4QbwBiLnQ5WlqqAsRP/0PARiBmoYfFkkB8+z8qWALEjLS0mB+IL/3HDibSymJQXB7/jx/UgNSCvU4lwAbEG4DYkwi1WUxUspQZiOcRaSkIWOAKMk0Sg3jaf+IBOIVjMyQWiH8DsR+RljaTYOkBWJ5GNwRk2R+ooh9A7ETA0jwSLL0ATfEYqRpkyVc0xR+A2AyHpdFA/I9IS0F5WhRbAWIEtQQbeAXE6lhC5jeRlj4GYgVsRaYK1HBCmmWgmuyxhAwu8BpaXjNgs/gYkYbcAGIXPCGDDkCOM8eVPkCEFhE+JhX8BGJnfAkTxgC57BOVLAXlihBC2RA9Vf+k0FJQKk8nJv+jCwQi5WNyQAWxpR02wRQS8icy6CKlmMUlUUGipfOQK3lKLAbhdhIKfWZS6258kiAfzCZg6V4gZiOn0UBIAcgn63BYehK50Ke2xQxQH+3FUoqJUtJMIlYhLxAfxVJu09xiWENuMxCrUaNhCBBgAOAVfjALa5TLAAAAAElFTkSuQmCC) no-repeat 7% center;
    background-size:15px 13px;
}

input[type=checkbox]:checked:hover + span {
    background-color:#9C2E23;
    color:rgba(255,255,255,0.5);
    text-decoration:none;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    background:#9C2E23 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAS5JREFUeNq8110OgjAMAGBGvIY3VESjt9jPg95PT+LccBIZ7dYOWJPGB+g+Ymg3hLW2QeLkcu/y2pSFdvl0eQevehjI3uXbfkMh96TShFq/xhG6J4faAtxEtSBOQTm4QWpnOBWl4CZT69fuYpiCpnBDrB1xLhrjgoFO8F1oGcFslUv4bV32zFoxmOHJta0XMn65dC0UaiddA8UGiN4axeC1cUkdmWviEls/NwL1FqjPNtNvoimPdC3yRCUTiTXbt0R/oSnw2iiK10BBvBY6w2uiE3xJr8oFtcrvxy/fVcyeVdGx98yotcOxN/znHeMUIhdMOG8c4reagssF43VEoT5O4ZJwvNUUFJtcEE5BMXyGpnanf5yDxjiI+hSJj7YunEBvhbuTCh9tD+jiR4ABAJ0SrJgNr1UAAAAAAElFTkSuQmCC) no-repeat 7% center;
    background-size:15px 15px;
}
*/
.print-btn {
    padding: 1px 14px 5px 14px;
}

/* Smartphones (portrait and landscape) ----------- */
@media screen and (max-width : 1285px) {
	.calendar-container {		
		left: 2%;		
	}
	#agenda{	
		height:425px;
	}
}
@media screen and (max-width : 1155px) {
	#agenda{	
		height:500px;
	}
	.calendar-container {		
		left: 1%;		
	}
	.day-event {	
		margin: -375px 0px 0px 350px;		
	}
}
@media screen and (max-width : 850px) {
/* STYLES GO HERE */
	#agenda{	
		height:1180px;
	}
	.close {
		margin-top:25px;
	}
	.calendar-container {		
		position:relative;
		height:auto;	
	}
	.day-event {
		/*background-color: #F2F2F2 ;*/
		text-align:left;	
		min-width: 100%;
		padding-top: 15px;
		padding-bottom: 0px;
		margin: 5px 0px 0px 5px;
		display:none;
	}
	.day-event .inicio{
		width:99%;
		height:80px;
		position:relative;
		float:left;
		top:0px;
		/*border-right:1px solid #000;*/
	}
	.day-event .evento{
		width:	99%;
		position:relative;
		float:left;
		display:inline;
		top:0px;
	}
	.day-event .organiza{
		width:	99%;
		position:relative;
		float:left;
		display:inline;
		margin-top:10px;
	}
	
}

/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
/* STYLES GO HERE */
}

/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
/* STYLES GO HERE */
}

/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
/* STYLES GO HERE */
}

/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
/* STYLES GO HERE */
}

/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
/* STYLES GO HERE */
}

/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
/* STYLES GO HERE */
}

/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
/* STYLES GO HERE */
}

/* iPhone 5 (portrait & landscape)----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) {
/* STYLES GO HERE */
}

/* iPhone 5 (landscape)----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : landscape) {
/* STYLES GO HERE */
}

/* iPhone 5 (portrait)----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : portrait) {
/* STYLES GO HERE */
}
