/* CHANGE THIS PATH ACCORDING TO YOUR THEME !!!!! */

/* define background image for special states - I use one single image that holds all the colors */
.cal_month ul li.booked_am,
.cal_month ul li.booked_pm,
.cal_month ul li.booked_pr_am,
.cal_month ul li.booked_pr_pm	{	background-image:url("../images/bg_days.png");}	

#cal_wrapper{
	font: 12px/1.6 Arial, sans-serif;
	color: #444;
	width:840px;
	max-width: 100%;
	margin:20px auto;
	overflow: hidden;
	}
#the_months{
	float:left; 
	width:630px;
	max-width: 100%;
	}
.clear{	clear:both;}
#ajax_message{
	text-align:center;
	border-top:1px solid #CCC;
	border-bottom:1px solid #CCC;
	background: #FFFFEE;
	float:left;
	margin-left:10px;
	width:260px;
	}
/* month loading animation - push to center*/
.img_loading_month{
	margin:50px;
	}
/*
calendar key
***************************/

#key_wrapper{
	float:right;
	text-align:center;
	}
#key{
	width:122px;
	background: #EEE;
	color:#111;
	
	}
#key .cal_title{
	color:#FFF;
	display: none;
	}
#key ul{
	padding-top: 10px;
	text-align:left;
	}
#key ul li{
	float:none;
	}
#key ul li span{
	margin-left:42px;
	width:60px;
	text-align:left;
	display:block;
	}
#key #footer_data{
	font-size:0.7em;
	clear:both;
	}


/*
calendar controls (back and next)
***************************/
#cal_controls{
	margin-bottom:10px;
	overflow: hidden;
	}
#cal_controls #cal_prev{
	float:left;
	}
#cal_controls #cal_next{	
	float:left; 
	margin-left:2px;
	}
#cal_controls #cal_admin{
	float:left;
	margin-left:10px;
	overflow: hidden;
	}
#cal_controls img{
	border-radius: 3px;
}
/*
calendar month styles
***************************/
.cal_month{
	/* month div*/
	width:295px;
	border:1px solid #99CC99;
	border-radius: 8px;
	background:#FFF;
	line-height:20px;
	padding-bottom:6px;
	float:left;
	margin-right:6px;
	margin-bottom:6px;
	min-height:94px;
	color:#666;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.45);
	}
.cal_month .cal_title{
	border-bottom: 1px solid #CCC;
	background:#99CC99;
	padding:2px;
	text-align:center;
	font-style: bold;
	color:#000;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	}	
.cal_month ul{
	clear:both;
	list-style:none;
	margin:0px;
	padding:4px;
	margin:auto;
	width:290px;
	color:#FFF;
	}
.cal_month ul li{
	float:left;
	width:38px;
	height:40px;
	border:1px solid #CCC;
	margin-right:1px;
	margin-bottom:1px;
	text-align:center;
	background-color:#DDD;
	color:#000;
	font-size:90%;
	}

/* day titles (m,t,w etc. */
.cal_month ul.cal_weekday li{	
	color:#000;
	background-color:#99CC99;
	border:1px solid #99CC99;
	}
/* no month date */
.cal_month ul li.cal_empty{		
	background-color:#EEE;
	border:1px solid #EEE;
	color:#CCC;
	}

.cal_month ul li.booked			{	background-color: #429142;	}		/* complete day booked */
.cal_month ul li.booked_pr		{	background-color: #FFC600;	}		/* complete day provisionally booked */
.cal_month ul li.blocked		{	background-color: #999999;	}





/*
calendar date styles
class name must be the same as defined in admin panel
***************************/

.cal_month ul li.offer			{	background-color:lime;		}
.cal_month ul li.changeover		{	background-color:pink;		}




	
/* position background image for each state - adjust to your image */

.cal_month ul li.booked_am		{	background-image: linear-gradient(to top left, #DDDDDD 50%, #429142 50%);	}
.cal_month ul li.booked_pm		{	background-image: linear-gradient(to top left, #429142 50%, #DDDDDD 50%);	}
.cal_month ul li.booked_pr_am	{	background-image: linear-gradient(to top left, #DDDDDD 50%, #FFC600 50%);	}
.cal_month ul li.booked_pr_pm	{	background-image: linear-gradient(to top left, #FFC600 50%, #DDDDDD 50%);	}
/* .cal_month ul li.booked_am		{	background-position: 200px top;	}
.cal_month ul li.booked_pm		{	background-position: 230px top;	}
.cal_month ul li.booked_pr_am	{	background-position: 140px top;	}
.cal_month ul li.booked_pr_pm	{	background-position: 170px top;	} */

.cal_month ul li.weekend		{	/*border:1px solid #3399CC;*//*altered via mootools*/}
.cal_month ul li.today			{	border:1px dotted #006699;	}	/* current date - MUST be defined last otherwise other classes might overwrite it*/
/*.cal_month ul li:hover{	background:#006699; color:#FFF;}*/


.tips{
	background: #000;
	padding:6px;

	color:#FFF;
	border:2px solid #666;
}
.cal_month ul li.weeknum_spacer{
	width:4px;
	background-color:#FFFFEE;
	border:none;
	}
.cal_month ul li.weeknum{
	width:4px;
	background-color:green;
	}
	
@media only screen and (max-width: 780px) {
	#cal_wrapper{
	font: 12px/1.6 Arial, sans-serif;
	color: #444;
	width:100%;
	max-width: 100%;
	margin:20px auto;
	overflow: hidden;
	
	}
	#the_months{
	float:none; 
	width:480px;
	max-width: 100%;
	margin: auto;
	text-align: center;
	}
	.cal_month{
	/* month div*/
	width:225px;
	float:none;
	margin-bottom:6px;
	
	color:#666;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.45);
	display: inline-block;
	}
	.cal_month ul{
	clear:both;
	list-style:none;
	margin:0px;
	padding:4px;
	margin:auto;
	width:220px;
	color:#FFF;
	}
	.cal_month ul li{
	float:left;
	width:28px;
	height:34px;
	border:1px solid #CCC;
	margin-right:1px;
	margin-bottom:1px;
	text-align:center;
	background-color:#DDD;
	color:#000;
	font-size:90%;
	}
	#key_wrapper{
	clear:both;
	float:none;
	text-align: center;
	margin: auto;
	width: 70%;
	
	display: block;
	}
	#key{
	width: 100%;
	background: #EEE;
	color:#111;
	margin: 28px auto auto auto;
	display: block;
	}
	#key .cal_title{
	color:#FFF;
	display: none;
	}
	#key ul{
	padding-top: 10px;
	text-align: center;
	width: 100%;
	}
	#key ul li{
	float:none;
	display: inline-block;
	width: 29%;
	}
	#key ul li span{
	margin-left:0px;
	width:100%;
	text-align: center;
	display: block;
	}
	#key #footer_data{
	font-size:0.7em;
	clear:both;
	}
}

