/* Custom calendar elements */

.custom-calendar-wrap {
	font-family: 'Montserrat', sans-serif;
	margin: 0px;
	position: relative;
	overflow: hidden;
}

.custom-inner {
	background: #fff;
}

.custom-inner:before,
.custom-inner:after  {
	content: '';
	width: 99%;
	height: 50%;
	position: absolute;
	background: #f6f6f6;
	bottom: -4px;
	left: 0.5%;
	z-index: -1;
}

.custom-inner:after {
	content: '';
	width: 98%;
	bottom: -7px;
	left: 1%;
	z-index: -2;
}

.custom-header {
	background: #fff;
	padding: 5px 10px 10px 20px;
	height: 70px;
	position: relative;
}

.custom-header h2,
.custom-header h3 {
	text-align: center;
	text-transform: uppercase;
}

.custom-header h2 {
	color: #4376a8;
	font-weight: 700;
	font-size: 12px;
	margin-top: 10px;
}

.custom-header h3 {
	color: #4376a8;
	font-weight: 700;
	font-size: 12px;
	margin-top: 10px;
}

.custom-header nav span {
	position: absolute;
	top: 17px;
	width: 30px;
	height: 30px;
	color: transparent;
	cursor: pointer;
	margin: 0 1px;
	font-size: 20px;
	line-height: 30px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

}

.custom-header nav span:first-child {
	left: 5px;
}

.custom-header nav span:last-child {
	right: 5px;
}

.custom-header nav span:before {
	color: #ccd7e2;
	position: absolute;
	text-align: center;
	width: 100%;
}

.custom-header nav span.custom-prev:before {
	content: '\003C';
	font-size: 14px;
	border: 1px solid #ccd7e2;
}

.custom-header nav span.custom-next:before {
	content: '\003E';
	font-size: 14px;
	border: 1px solid #ccd7e2;
}

.custom-header nav span:hover:before {
	color: #495468;
}

.calendar-links {
	position: absolute;
	width: 100%;
	top: 450px;
	z-index: 999;
}

.calendar-links a{
	float:left;
	width: 100%;
	color:#272525;
}

/* Modifications */
.fc-calendar-container {
	height: 600px;
	width: auto;
	padding: 0;
	background: none;
}

.fc-calendar .fc-head {
	background: #f7fafb;
	color: #272525;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
	border-top: 1px solid #ccd7e2;
	border-bottom: 1px solid #ccd7e2;

}

.fc-calendar .fc-row > div {
	background: #fff;
	cursor: pointer;
	padding-top: 5px; 
	padding-bottom: 5px;
	border-bottom: 1px solid #ccd7e2;
}

.fc-calendar .fc-row > div:empty {
	background: transparent;
}

.fc-calendar .fc-row > div > span.fc-date {
	color: #686a6e;
	font-weight: 400;
	top: 50%;
	left: 50%;
	text-align: center;
	margin: -10px 0 0 -15px;
	font-weight: 400;
	pointer-events: none;
	font-size: 12px;
}

.fc-calendar .fc-row > div.fc-today {
	background: #fff;
}

.fc-calendar .fc-row > div.fc-today > span.fc-date {
	color: #686a6e;
}

.fc-calendar .fc-row > div.fc-today.fc-content:after {
	color: #fff;
	background: #ff4a1c;
}

.fc-calendar .fc-row > div.fc-content:hover:after{
	color: #ef4f69;
}

.fc-calendar .fc-row > div.fc-today.fc-content:hover:after{
	color: #fff;
}

.fc-calendar .fc-row > div.fc-content {
	
}

.fc-calendar .fc-row > div.fc-content > span.fc-date {
	color:#686a6e !important;
}

.fc-calendar .fc-row > div.all-day {
	background-color:#ccd7e2 !important;
}

.fc-calendar .fc-row > div.first-day {
	/*background-image: url(../../img/cal-first.png) !important;
	background-color:#FFF !important;
	background-size:100% 100% !important;
	background-repeat: no-repeat;*/
	background-color:#ccd7e2 !important;
}

.fc-calendar .fc-row > div.last-day {
	/*background-image: url(../../img/cal-last.png) !important;
	background-color:#FFF !important;
	background-size:100% 100% !important;
	background-repeat: no-repeat;*/
	background-color:#fff !important;
}

.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
	display: none;
	font-size: 12px;
}

@media screen and (max-width: 400px) {
	.fc-calendar-container {
		height: 300px;
	}
	.fc-calendar .fc-row > div > span.fc-date {
		font-size: 12px;
	}
	.calendar-links {
		top: 300px;
	}


}
