/*******************************Calendar Top Navigation*********************************/
div#calendar{
  margin:0px auto;
  padding:0px;
  width: 322px;
  font-family:Helvetica, "Times New Roman", Times, serif;
}
 
div#calendar div.box{
    position:relative;
    top:0px;
    left:0px;
    width:100%;
    height:40px;
    background-color:   #787878 ;      
}
 
div#calendar div.header{
    line-height:40px;  
    vertical-align:middle;
    position:absolute;
    left:11px;
    top:0px;
    width:302px;
    height:40px;   
    text-align:center;
}
 
div#calendar div.header a.prev,div#calendar div.header a.next{ 
    position:absolute;
    top:0px;   
    height: 17px;
    display:block;
    cursor:pointer;
    text-decoration:none;
    color:#FFF;
}
 
div#calendar div.header span.title{
    color:#FFF;
    font-size:18px;
}
 
 
div#calendar div.header a.prev{
    left:0px;
}
 
div#calendar div.header a.next{
    right:0px;
}
 
 
 
 
/*******************************Calendar Content Cells*********************************/
div#calendar div.box-content{
    border:1px solid #787878 ;
    border-top:none;
}
 
 
 
div#calendar ul.label{
    float:left;
    margin: 0px;
    padding: 0px;
    margin-top:5px;
    margin-left: 5px;
}
 
div#calendar ul.label li{
    margin:0px;
    padding:0px;
    margin-right:5px;  
    float:left;
    list-style-type:none;
    width:40px;
    height:40px;
    line-height:40px;
    vertical-align:middle;
    text-align:center;
    color:#000;
    font-size: 15px;
    background-color: transparent;
}
 
 
div#calendar ul.dates{
    float:left;
    margin: 0px;
    padding: 0px;
    margin-left: 5px;
    margin-bottom: 5px;
}
 
/** overall width = width+padding-right**/
div#calendar ul.dates li{
    margin:0px;
    padding:0px;
    margin-right:5px;
    margin-top: 5px;
    line-height:40px;
    vertical-align:middle;
    float:left;
    list-style-type:none;
    width:40px;
    height:40px;
    font-size:18px;
    background-color: #DDD;
    color:#000;
    text-align:center; 
}
 
:focus{
    outline:none;
}
 
div.clear{
    clear:both;
} 

div#calendar ul.dates li.booked {
    background: #D44028;
    color: #FFFFFF;
} 

div#calendar ul.dates li.booked_start_pm {
    background: #D44028;
    background: -moz-linear-gradient(45deg, #DDDDDD 50%, #D44028 50%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%,#DDDDDD), color-stop(50%,#D44028));
    /* background: -webkit-linear-gradient(-45deg, #DDDDDD 50%,#D44028 50%); */
    background: -o-linear-gradient(45deg, #DDDDDD 50%,#D44028 50%);
    background: -ms-linear-gradient(45deg, #DDDDDD 50%,#D44028 50%);
    /* background: linear-gradient(315deg, #DDDDDD 50%,#D44028 50%); */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#DDDDDD', endColorstr='#D44028',GradientType=1 );
}

div#calendar ul.dates li.booked_end_pm {
    background: #D44028;
    background: -moz-linear-gradient(-45deg, #D44028 50%, #DDDDDD 50%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%,#D44028), color-stop(50%,#DDDDDD));
    /* background: -webkit-linear-gradient(-45deg, #D44028 50%,#DDDDDD 50%); */
    background: -o-linear-gradient(-45deg, #D44028 50%,#DDDDDD 50%);
    background: -ms-linear-gradient(-45deg, #D44028 50%,#DDDDDD 50%);
    /* background: linear-gradient(135deg, #D44028 50%,#DDDDDD 50%); */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D44028', endColorstr='#DDDDDD',GradientType=1 );
}

div#calendar ul.dates li.reserved {
    background: #DDB758;
    color: #FFFFFF;
}

div#calendar ul.dates li.reserved_start_pm {
    background: #DDB758;
    background: -moz-linear-gradient(45deg, #DDDDDD 50%, #DDB758 50%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%,#DDDDDD), color-stop(50%,#DDB758));
    /* background: -webkit-linear-gradient(-45deg, #DDDDDD 50%,#DDB758 50%); */
    background: -o-linear-gradient(45deg, #DDDDDD 50%,#DDB758 50%);
    background: -ms-linear-gradient(45deg, #DDDDDD 50%,#DDB758 50%);
    /* background: linear-gradient(315deg, #DDDDDD 50%,#DDB758 50%); */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#DDDDDD', endColorstr='#DDB758',GradientType=1 );
}

div#calendar ul.dates li.reserved_end_pm {
    background: #DDB758;
    background: -moz-linear-gradient(45deg, #DDB758 50%, #DDDDDD 50%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%,#DDB758), color-stop(50%,#DDDDDD));
    /* background: -webkit-linear-gradient(-45deg, #DDB758 50%,#DDDDDD 50%); */
    background: -o-linear-gradient(45deg, #DDB758 50%,#DDDDDD 50%);
    background: -ms-linear-gradient(45deg, #DDB758 50%,#DDDDDD 50%);
    /* background: linear-gradient(315deg, #DDB758 50%,#DDDDDD 50%); */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#DDB758', endColorstr='#DDDDDD',GradientType=1 );
}

[class="reserved_end_pm booked_start_pm "] {
    background: #DDB758 !important;
    background: -moz-linear-gradient(45deg, #DDB758 50%, #D44028 50%) !important;
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%,#DDB758), color-stop(50%,#D44028)) !important;
    /* background: -webkit-linear-gradient(-45deg, #DDB758 50%,#D44028 50%); */
    background: -o-linear-gradient(45deg, #DDB758 50%,#D44028 50%) !important;
    background: -ms-linear-gradient(45deg, #DDB758 50%,#D44028 50%) !important;
    /* background: linear-gradient(315deg, #DDB758 50%,#D44028 50%); */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#DDB758', endColorstr='#D44028',GradientType=1 ) !important;
    color: #FFFFFF !important;
}

[class="booked_start_pm reserved_end_pm "] {
    background: #D44028 !important;
    background: -moz-linear-gradient(45deg, #D44028 50%, #DDB758 50%) !important;
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%,#D44028), color-stop(50%,#DDB758)) !important;
    /* background: -webkit-linear-gradient(-45deg, #D44028 50%,#DDB758 50%); */
    background: -o-linear-gradient(45deg, #D44028 50%,#DDB758 50%) !important;
    background: -ms-linear-gradient(45deg, #D44028 50%,#DDB758 50%) !important;
    /* background: linear-gradient(315deg, #D44028 50%,#DDB758 50%); */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D44028', endColorstr='#DDB758',GradientType=1 ) !important;
    color: #FFFFFF !important;
}

[class="booked_start_pm booked_end_pm "] {
    background: #D44028 !important;
    background: -moz-linear-gradient(45deg, #D44028 50%, #D44028 50%) !important;
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%,#D44028), color-stop(50%,#D44028)) !important;
    /* background: -webkit-linear-gradient(-45deg, #D44028 50%,#D44028 50%); */
    background: -o-linear-gradient(45deg, #D44028 50%,#D44028 50%) !important;
    background: -ms-linear-gradient(45deg, #D44028 50%,#D44028 50%) !important;
    /* background: linear-gradient(315deg, #D44028 50%,#D44028 50%); */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D44028', endColorstr='#D44028',GradientType=1 ) !important;
    color: #FFFFFF !important;
}

[class="reserved_start_pm reserved_end_pm "] {
    background: #DDB758 !important;
    background: -moz-linear-gradient(45deg, #DDB758 50%, #DDB758 50%) !important;
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%,#DDB758), color-stop(50%,#DDB758)) !important;
    /* background: -webkit-linear-gradient(-45deg, #DDB758 50%,#DDB758 50%); */
    background: -o-linear-gradient(45deg, #DDB758 50%,#DDB758 50%) !important;
    background: -ms-linear-gradient(45deg, #DDB758 50%,#DDB758 50%) !important;
    /* background: linear-gradient(315deg, #DDB758 50%,#DDB758 50%); */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#DDB758', endColorstr='#DDB758',GradientType=1 ) !important;
    color: #FFFFFF !important;
}