@charset "utf-8";
/* Custom calendar elements */

.custom-calendar-wrap {
	margin: 0px auto;
	position: relative;
	overflow: hidden;
}

.custom-inner {

	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	
}

.custom-inner:before,
.custom-inner:after  {


	content: '';
	width: 99%;
	height: 50%;
	position: absolute;
	background: #f6f6f6;
	bottom: -4px;
	left: 0.5%;
	z-index: -1;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	
}

.custom-inner:after {

	content: '';
	width: 98%;
	bottom: -7px;
	left: 1%;
	z-index: -2;
}

.custom-header { /*box*/ /*edit*/ /*หัวปฏิทิน*/
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;

	background: #fff;
	padding: 5px 10px 10px 20px;
	height: 55px;
	position: relative;
	border-top: 5px solid #ef4f69;
	border-bottom: 1px solid #ddd;

}

.custom-header h2,
.custom-header h3 { /*box*/ /*edit*/ /*ชื่อเดือน และปี*/

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	
	text-align: center;
	text-transform: uppercase;
}

.custom-header h2 {
	color: #ef4f69;
	font-weight: 300;
	font-size: 20px;
	line-height:20px;
}

.custom-header h4 {
	font-size: 12px;
	line-height:12px;
	font-weight: 700;
	color: #b7bbc2;
}

.custom-header nav span { /*edit*/ /*next and back*/
	position: absolute;
	top: 7px;
	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: #ef4f69;
	position: absolute;
	text-align: center;
	width: 100%;
}

.custom-header nav span.custom-prev:before {
	content: '\25c2';
}

.custom-header nav span.custom-next:before {
	content: '\25b8';
}

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

.custom-content-reveal {
	background: #f6f6f6;
	background: rgba(246, 246, 246, 0.9);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 100;
	top: 100%;
	left: 0px;
	text-align: center;
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	-ms-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}

.custom-content-reveal span.custom-content-close {
	position: absolute;
	top: 15px;
	right: 10px;
	width: 20px;
	height: 20px;
	text-align: center;
	background: #ef4f69;
	box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	cursor: pointer;
	line-height: 13px;
	padding: 0;
}

.custom-content-reveal span.custom-content-close:after {
	content: 'x';
	font-size: 18px;
	color: #fff;
}

.custom-content-reveal a,
.custom-content-reveal span {
	font-size: 13px;
	padding: 10px 30px;
	display: block;
	text-align:left;
}

.custom-content-reveal h4 {

	text-transform: uppercase;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: 1px;
	color: #777;
	padding: 20px;
	background: #fff;
	border-bottom: 1px solid #ddd;
	border-top: 5px solid #ef4f69;
	box-shadow: 0 1px rgba(255,255,255,0.9);
	margin-bottom: 30px;
	
	
}

.custom-content-reveal span {
	color: #888;
}

.custom-content-reveal a {
	color: #ef4f69;
}

.custom-content-reveal a:hover {
	color: #333;
}

/* Modifications */

.fc-calendar-container { /*box*/

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;

	height: 365px;
	width: auto;
	padding: 30px;
	padding-top:15px;
	background: #f6f6f6;
	box-shadow: inset 0 1px rgba(255,255,255,0.8);

}

.fc-calendar .fc-head {

	background: transparent;
	color: #ef4f69;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
	
}

.fc-calendar .fc-row > div { /*box*/

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;

	background: #fff;
	cursor: pointer;
}

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

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

.fc-calendar .fc-row > div > span.active {
	width:20px;
	white-space:nowrap;
	color: #fff;
	font-weight:normal;
	background:#FF0066;
	border-radius:50%;
	text-shadow:none;
	font-size:12px;
	margin: -10px 0 0 -10px;
}

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

.fc-calendar .fc-row > div.fc-today > span.fc-date {
	color: #000;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.fc-calendar .fc-row > div.fc-content:after {
	content: '';
	text-align: center;
	width: 20px;
	margin-left: -10px;
	position: absolute;
	color: #40b0db;
	font-size: 22px;
	line-height: 20px;
	left: 50%;
	bottom: 3px;
}

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

.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 p {
	color: #FF3399;
	font-size:20px;
	line-height:12px;
	width:100%;
	bottom:3px;
	position:absolute;
	text-align:center;
	backgrounds:#FFCC00
}

.fc-calendar .fc-row > div.fc-content:hover p {
	color: #CC3366!important;
}



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

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

.custom-content-reveal a {
	text-decoration:none!important;
}

.custom-content-reveal a:hover {
	text-decoration:none!important;
}

.custom-content-reveal a.red, 
.custom-content-reveal span.red {
	color: #CA0000!important;
}

.custom-content-reveal a.red:hover {
	color: #FF0000!important;
}

.custom-content-reveal a.yellow,
.custom-content-reveal span.yellow {
	color: #FF9900!important;
	text-align:left;
}

.custom-content-reveal a.yellow:hover {
	color: #FFCC00!important;
}

.custom-content-reveal a.green,
.custom-content-reveal span.green {
	color: #669900!important;
	text-align:left;
}

.custom-content-reveal a.green:hover {
	color: #66CC00!important;
}

.custom-content-reveal a.black,
.custom-content-reveal span.black {
	color: #4F4480!important;
	text-align:left;
}

.custom-content-reveal a.black:hover {
	color: #6666CC!important;
}

.custom-content-reveal a.pink,
.custom-content-reveal span.pink {
	color: #FF3399!important;
	text-align:left;
}

.custom-content-reveal a.pink:hover {
	color: #FF0D86!important;
}

.custom-content-reveal a.blue,
.custom-content-reveal span.blue {
	color: #6666FF!important;
	text-align:left;
}

.custom-content-reveal a.blue:hover {
	color: #4A4AFF!important;
}