div.dvmcentre{
width:746px;
margin-left:4px;
}

#calcontrols { clear: both; height: 30px; }
#calendar { clear: both; }

#calendar a { color: #777 !important; }
#calendar .mark a { color: #fff !important; }
 
#calboxr {
width: 259px;
border: 1px solid #D7D3C8;
text-align: center;
clear: both;
padding: 0px 0 0px 0;
margin: 0px 0 0px 0;
display:table;
}

#calboxr ul {
padding: 0px 0 0px 0;
margin: 0px 0 0px 0;
}

#calboxr ul#week {
clear:both;
}

#calboxr ul#week li#none {
width: 36px;
height: 23px;
background-color: #f0f0d8;
padding: 6px 0 6px 0;
}

#calboxr ul#week li {
width: 36px;
max-height: 35px;
height: 35px;
line-height:35px;
text-align:bottom;
overflow:hidden;
border-style: solid;
border-width: 1px 0 0 1px;
background: url(calday.png) 0 50% repeat-x;
padding: 0;
margin: 0;
float:left;
border-color: #D7D3C8;
list-style: none;
display:block;
}

#calboxr ul#week li:hover {
width: 36px;
background: url(caldaysel.png) 0 50% repeat-x;
cursor: pointer;
padding: 0px;
}

#calboxr ul#week li a {
text-decoration: none;
font-size:1.0em;
display:block;
}

#calboxr ul#days {
clear:both;

}

#calboxr ul#days li {
width: 36px;
max-height: 30px;
height: 30px;
line-height:30px;
border-color: #D7D3C8;
border-style: solid;
border-width: 0 0 1px 1px;
background: url(caldayname.png) 0 50% repeat-x;
color: #ffffff;
padding: 5px 0 5px 0;
margin: 0;
float:left;
font-size:1.0em;
list-style:none;
}


div#searchpane{
margin:0px;
padding:0px;
clear:both;
border-color: #bdbde8;
border-style: solid;
border-width: 1px 0 1px;

}

div#searchpane ul{
margin:0px;
padding:0px;
background:#00f0ff;
}

div#searchpane ul li{
display:inline;
font-size:1.0em;
margin:0px;
padding:0px;
padding-right:8px;
}


div#calnavbar {
padding: 0px;
margin: 0px;
width: 220px;
overflow:hidden;
font-weight:bold;
float: left;

}

div#calnavbar dl {
padding: 0px;
margin: 0px;
width:182px;

}

div#calnavbar dl li{
padding: 0px;
margin: 0px;
display:block;
width:90px;
float:left;
font-size:0.em;
}

div#calnavbar dl li a{
padding: 2px;
margin: 0px;
display:inline;
text-decoration:none;
text-align:justify;
}


div#calnavbar dl li#left{
padding: 0px;
margin: 0px;
display:block;
width:35px;

font-size:12px;
font-weight:bold;
}

div#calnavbar dl li#right{
padding: 0px;
margin: 0px;
display:block;
width:35px;

float:right;
font-size:12px;
text-align:right;
font-weight:bold;
}





/*======================================================================================================================*/


#ypcalrow {
width: 720px;
border: 1px solid #D7D3C8;
text-align: center;
clear: both;
padding: 0px 0 0px 0;
margin: 0px 0 0px 0;
display:table;
}

#ypcalrow ul {
padding: 0px 0 0px 0;
margin: 0px 0 0px 0;
}

#ypcalrow ul#week {
float:left;
}

#ypcalrow ul#week li#none {
width: 16px;
height: 23px;
background-color: #f0f0d8;
padding: 6px 0 6px 0;
}

#ypcalrow ul#week li {
width: 16px;
max-height: 35px;
height: 35px;
line-height:35px;
text-align:bottom;
overflow:hidden;
border-style: solid;
border-width: 1px 0 0 1px;
background: url(calday.png) 0 50% repeat-x;
padding: 0;
margin: 0;
float:left;
border-color: #D7D3C8;
list-style: none;
display:block;
}

#ypcalrow ul#week li:hover {
width: 16px;
background: url(caldaysel.png) 0 50% repeat-x;
cursor: pointer;
padding: 0px;
}

#ypcalrow ul#week li a {
text-decoration: none;
font-size:1.0em;
display:block;
}

#ypcalrow ul#days {
clear:both;

}

#ypcalrow ul#weeknamed {
clear:both;

}

#ypcalrow ul#weeknamed li {
width: 16px;
max-height: 30px;
height: 30px;
line-height:30px;
border-color: #D7D3C8;
border-style: solid;
border-width: 0 0 1px 1px;
background: url(caldayname.png) 0 50% repeat-x;
color: #ffffff;
padding: 5px 0 5px 0;
margin: 0;
float:left;
font-size:1.0em;
list-style:none;
overflow:hidden;
}




/*==================================================================================================*/



#ypcalbox {
width: 217px;
border: 1px solid #b7b3a8;
text-align: center;
padding: 0;
margin: 2px;
display:table;
float:left;
overflow:hidden;
}
#ypcalbox dl {
padding: 0px 0 0px 0;
margin: 0px 0 0px 0;
height: 30px;
max-height: 30px;
overflow:hidden;

}
#ypcalbox dl#monthname {
padding: 0;
margin: 1px 0;
overflow:hidden;
font-weight:bold;
}
#ypcalbox dl#week li{
width: 30px;
height: 30px;
max-height: 30px;
overflow:hidden;
}

#ypcalbox dl#week {
clear:both;
overflow:hidden;
}

#ypcalbox dl#week li#none {

background: transparent !important;
padding: 6px 0 6px 0;
overflow:hidden;
}

#ypcalbox dl#week li.mark {
background-color: #990000;
color: white;
overflow:hidden;
}

#ypcalbox dl#week li {
text-align:bottom;
border-style: solid;
border-width: 1px 0 0 1px;
background: #c7c3b8;
padding: 0;
margin: 2;
float:left;
border-color: #D7D3C8;
list-style: none;
display:inline;

overflow:hidden;
}

#ypcalbox dl#week li:hover {

}

#ypcalbox dl#week li a {
text-decoration: none;
font-size:1.0em;
display:block;
}

#ypcalbox dl#weeknamed {
clear:both;

}

#ypcalbox dl#weeknamed li {
width: 30px;
background: #b7b3a8 !important;
border-color: #b7b3a8;
border-style: solid;
border-width: 0 0 1px 1px;
background: #c7c3b8;
color: #ffffff;
padding: 5px 0 5px 0;
margin: 0;
float:left;
font-size:1.0em;
list-style:none;
}


li#left a, li#right a { float: left; font-size: 18px; font-weight: bold; color: white !important; background: #b7b3a8; padding: 2px 10px !important; height: 22px; line-height: 22px; margin: 0 2px; text-decoration: none;  } 
li#right a:hover, li#left a:hover{border:1px solid #eee; color:orange}
 