/* 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") !important;}	
#fallr ol li, #fallr ul li, #fallr blockquote, #fallr q { margin-left:0px; }
#cal_wrapper{
    font: 11px/1.6 Arial, sans-serif !important;
    color: #444 !important;
    width:670px !important;
    margin:20px auto !important;
    overflow: hidden !important;
}
#the_months{
    float:left !important; 
    height:210px !important;
}
.clear{	clear:both !important;}
#ajax_message{
    text-align:center !important;
    border-top:1px solid #CCC !important;
    border-bottom:1px solid #CCC !important;
    background: #FFFFEE !important;
    float:left !important;
    margin-left:10px !important;
    width:260px !important;
}
/* month loading animation - push to center*/
.img_loading_month{
    margin:50px !important;
}
/*
calendar key
***************************/

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


/*
calendar controls (back and next)
***************************/
#cal_controls{
    margin-bottom:10px !important;
    overflow: hidden !important;
}
#cal_controls #cal_prev{
    float:left !important;
}
#cal_controls #cal_next{	
    float:left !important; 
    margin-left:2px !important;
}
#cal_controls #cal_admin{
    float:left !important;
    margin-left:10px !important;
    overflow: hidden !important;
}

/*
calendar month styles
***************************/
.cal_month{
    /* month div*/
    width:170px !important;
    border:1px solid #EEEEEE !important; /*#DCF2FF*/
    background:#FFFFEE !important;
    line-height:20px !important;
    -moz-border-radius: 6px !important;
    -webkit-border-radius: 6px !important;
    padding-bottom:6px !important;
    float:left !important;
    margin-right:6px !important;
    margin-bottom:6px !important;
    height:194px !important;
    color:#666 !important;
    border-radius: 5px !important;
}
#key .cal_title,
.cal_month .cal_title{
     
    border-bottom: 1px solid #CCC !important;
    background:#3276B1 !important;
    /*background: -moz-linear-gradient(center top , #0088AC, #003B4B) repeat scroll 0 0 rgba(0, 0, 0, 0) !important;*/
    padding:2px !important;
    text-align:center !important;
    color:#fff !important;
    /*border-radius: 10px!important;*/
}	
.cal_month ul{
    clear:both !important;
    list-style:none !important;
    margin:0px !important;
    padding:4px !important;
    margin:auto !important;
    width:168px !important;
    color:#FFF !important;
}
.cal_month ul li{
    float:left !important;
    width:20px !important;
    height:20px !important;
    border:1px solid #CCC !important;
    margin-right:1px !important;
    margin-bottom:1px !important;
    text-align:center !important;
    background-color:#EEE;
    color:#000;
    font-size:90% !important;
    -moz-border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
}

.cal_month ul li{
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    width: 22px !important;
}
.cal_month ul li:before{
    content: '';
}

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

.cal_month ul li.booked			{	background-color: #FF0000 !important;	}		/* complete day booked */
.cal_month ul li.booked_pr		{	background-color: #ff9700 !important;	}		/* complete day provisionally booked */





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

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





/* position background image for each state - adjust to your image */
.cal_month ul li.booked_am		{	background-position: 200px top !important;	}
.cal_month ul li.booked_pm		{	background-position: 230px top !important;	}
.cal_month ul li.booked_pr_am	{	background-position: 140px top !important;	}
.cal_month ul li.booked_pr_pm	{	background-position: 170px top !important;	}

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


.tips{
    background: #000 !important;
    padding:6px !important;
    -moz-border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    color:#FFF !important;
    border:2px solid #666 !important;
}
.cal_month ul li.weeknum_spacer{
    width:4px !important;
    background-color:#FFFFEE;
    border:none !important;
}
.cal_month ul li.weeknum{
    width:4px !important;
    background-color:green ;
}
.calnobookedc {
    background-color: #00cc00 !important;
}
.calbookedc {
    background-color: #eb0000 !important;
}
.calbookedo {
    background-color: #eb0000 !important;
}
.calbookedot {
    background-color: #eb0000 !important;
}
.calbookedstart {
    background-image: url(/images/half-daysc.png), url(/images/half-daysc.png) !important;
    background-position: -641px -27px, -90px -27px !important;
}
.calbookedend {
    background-image: url(/images/half-daysc.png), url(/images/half-daysc.png) !important;
    background-position: -180px -27px,-620px -27px !important
}
.calbookedstartend {
    background-image: url(/images/half-daysc.png), url(/images/half-daysc.png) !important;
    background-position: -180px -27px, -90px -27px !important;
}