@charset "utf-8";
BODY 		{FONT-FAMILY: Arial,Verdana,Helvetica,sans-serif; FONT-SIZE: 12px; margin:0px;}
TD,TH,LI	{FONT-FAMILY: Arial,Verdana,Helvetica,sans-serif; FONT-SIZE: 12px; margin:0px;}
INPUT		{FONT-FAMILY: Arial,Verdana,Helvetica,sans-serif; FONT-SIZE: 12px;border:1px solid #999999;background-color:#fff;}
TEXTAREA	{FONT-FAMILY: Arial,Verdana,Helvetica,sans-serif; FONT-SIZE: 12px;border:1px solid #999999;background-color:#fff;}
SELECT		{FONT-FAMILY: Arial,Verdana,Helvetica,sans-serif; FONT-SIZE: 12px;border:1px solid #999999;background-color:#fff;margin:-1px;z-index:0}
/* links */
a 			{font-size: 12px;color: #003399}
a:link		{text-decoration: none}
a:visited 	{text-decoration: none}
a:hover 	{text-decoration: underline}
a:active 	{text-decoration: none}
/* header */
#header {
	background: #fff url("../img/banner.jpg") top no-repeat;
    position: relative;
    z-index: 1;
}

#header h1 { margin:0; padding:0;  font-size:16px;}

#header #login {
    position: absolute;
    top: 25px;
    right: 0;
    margin: 0;
    padding: 0;
} * html #header ul { right: 50px; } 

#header #logo{
	height:135px;
}

#header #crumbs{
	padding: 6px;
	background-color:#bec8e1;
	border-top: 1px solid #7e869a;
	border-bottom: 1px solid #7e869a;
}

#header #logo,#footer div,#container,#header #crumbs div{
    position: relative;
    max-width: 950px; 
    margin: 0 auto;
}

/* main */

#main {
    position: relative;
	background: #fff url("../img/dav-background.png") top repeat-x;
	padding: 30px 50px;
}

#container { 
}

/* main.sidebar */
#sidebar {
	position: relative;
	width:170px;
	float:left;
	margin-bottom:20px;
}

#sidebar ul {
    position: relative;
    top: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #d2e6d2;
    border-bottom: 1px solid #fff;
} * html #sidebar ul { right: 50px; } 

#sidebar li {
    margin: 0;
    padding: 10px;
	background:#EFF8EF;
    border-bottom: 1px solid #d2e6d2;
    border-top: 1px solid #fff;
	border-right:1px solid #d2e6d2;
}

#sidebar #basket li {
	background:#fff;
	color:#666;
}

#sidebar li.selected {
	background:#F6F9F6;
}

#sidebar h3 {
	color:#000;
	margin: 0;
	padding:0;
	font-size:16px;
}
#sidebar a img {
	margin:5px;
	border:0;
}
/* main.content */

#content {
	margin-left:190px;
	line-height:150%;
}

#content h2{
	font-size:18px;
	height:25px;
	border-bottom:1px solid #ccc;
}


#content h4{
	font-size:12px;
	border-bottom:1px dotted #ccc;
}
/* main.content.in pages */

#multipage{
	text-align:right;
	padding:10px;
}

#multipage a,#multipage span{
	background:#EFF8EF;
	border:1px #fff solid;
	text-align:right;
	padding:3px;
}

#multipage span{
	border:1px #aaa solid;
	font-weight:bold;
}

#SearchBox{
	text-align:center;
}

#booklist{
	width:100%;
}

#booklist td{
	border-top:1px dashed #CCCCCC;
	vertical-align:top;
}

#overlay, #overlay_iframe {
	background-color:#000;
	height:100%;
	width:100%;
	top:0;
	left:0;
	filter:alpha(opacity=20);
	opacity:0.2;
	position:fixed;
	z-index:100;
}
* html #overlay, #overlay_iframe { position: absolute; height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); width: expression(document.body.clientWidth + 'px'); }

#overlay_iframe{
	height:95%;
	width:95%;
	filter:alpha(opacity=0);
	opacity:0;
}
#dialog_box{
	background-color:#fff;
	border:2px solid #bbb;
	margin-top:-220px;
	top:50%;
	left:50%;
	z-index:101;
	position:fixed;
	padding:8px;
	text-align:center;
}
* html #dialog_box { position: absolute; margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); }

#error_string{
	background-color:#FFFF99;
	border:1px solid #999;
	color:#990000;
	padding:4px;
}

#message{
	text-align:center;
	background-color:#FFFF99;
	border:1px solid #999;
	padding:4px;
}

#list{
	position:static;
	border-collapse:collapse;
	width:99%;
	background:F6F9F6;
	border-left:1px solid #ccc;
	border-top:1px solid #ccc;
}

#list th{
	background:#D2ECD9;
}

#list td,#list th{
	padding:4px;
	text-align:center;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
}

.hidden{
	display:none;
}

/* footer */
#footer{
	clear: both;
	border-top:1px solid #aaa;
}

#footer div{
	padding:10px;
	color:#999;
	font-size:11px;
	line-height:160%;
}

/* calendar */

#calendar {
	-moz-user-select:none;
}

#cal_table{
	width:100%;
	border:0;
	background-color:#fff;
	border-right:1px #ddd solid;
	border-bottom:1px #ddd solid;
}

#cal_table td,#cal_table th{
	width:14%;
	padding:0;
	border-left:1px #ddd solid;
	border-top:1px #ddd solid;
}

#cal_table td{
	height:40px;
	vertical-align:top;
}

.cal_available {
	background:#EFF8EF;
}

#cal_today div{
	text-align:right;
	background:#bec8e1;
}

#cal_weekend div{
	background:#EFF8EF;
	text-align:right;
}

#cal_outday div{
	color:#ccc;
	background:#F6F6F6;
	text-align:right;
}
#cal_day div{
	background:#F6F6F6;
	text-align:right;
}

#cal_control{
	text-align:right;
}

#dialog_box input,#dialog_box span{
	margin:4px;
}

#available{
	margin:0;
	padding:0;
	width:100%;
	height:90%;
	background:#ADEA80;
}
#unavailable{
	margin:0;
	padding:0;
	width:100%;
	height:90%;
	color:grey;
	background:#FF9799;
}
#in_basket{
	margin:0;
	padding:0;
	width:100%;
	height:90%;
	color:grey;
	background:#F7F733;
}