/* based on YUI calendar.css, modified for GNER */

.yui-calcontainer {
	position:absolute;
	padding:1px;
	background-color:#dee7f7;
	border:1px solid #182b49; 
	float:left;
	overflow:visible;
}

.yui-calcontainer iframe {
	position:absolute;
	border:none;
	margin:0;padding:0;
	left:-1px;
	top:-1px;
	z-index:0;
	width:130px;
	height:126px;
}

.yui-calcontainer.multi {
	padding:0;
}

.yui-calcontainer.multi .groupcal {
	padding:5px;
	background-color:transparent;
	z-index:1;
	float:left;
	position:relative;
	border:none;
}

.yui-calcontainer .title {
	font:100% Arial,sans-serif;
	color:#fff;
	font-weight:bold;
	margin-bottom:5px;
	height:25px;
	position:absolute;
	top:3px;left:5px;
	z-index:1;
}

.yui-calcontainer .close-icon {
	position:absolute;
	right:3px;
	top:3px;
	border:none;
	z-index:1;
}

/* Calendar element styles */

.yui-calendar {
	font:80% arial, sans-serif;
	font-weight:bold;
	text-align:center;
	border-spacing:0;
	border-collapse:separate;
	position:relative;
}

.yui-calcontainer.withtitle {
	padding-top:1.5em;
}

.yui-calendar .calnavleft {
	position:absolute;
	background-repeat:no-repeat;
	cursor:pointer;
	top:1px;
	bottom:1px;
	width:9px;
	height:12px;   
	left:1px;
	z-index:1;
}

.yui-calendar .calnavright {
	position:absolute;
	background-repeat:no-repeat;
	cursor:pointer;
	top:1px;
	bottom:1px;
	width:9px;
	height:12px;  
	right:1px;
	z-index:1;
}

.yui-calendar td.calcell {
	padding:.1em .2em .1em .2em;
	border:0px solid #ffffff;
	text-align:center;
}

.yui-calendar td.calcell a {
/*	color:#336080; */
	color:#5a85d7;
	text-decoration:none;
}

.yui-calendar td.calcell.today {
	border:0px solid #336080;
	color:#bbb;
}

.yui-calendar td.calcell.oom {
	cursor:default;
	color:#999;
	background-color:#EEE;
	border:0px solid #E0E0E0;
	font-weight:normal;
}

.yui-calendar td.calcell.selected {
	background-color:#f0eaba;
}

.yui-calendar td.calcell.selected a {
	color:#c90062;
}

.yui-calendar td.calcell.calcellhover {
	cursor:pointer;
	background-color:#b8cbd9;
	border:0px solid #336080;
}

.yui-calendar td.calcell.calcellhover a {
	color:#000;
}

.yui-calendar td.calcell.restricted {
	text-decoration:line-through;
}

.yui-calendar td.calcell.previous {
	color:#CCC;
}

.yui-calendar td.calcell.highlight1 { background-color:#CCFF99; }
.yui-calendar td.calcell.highlight2 { background-color:#99CCFF; }
.yui-calendar td.calcell.highlight3 { background-color:#FFCCCC; }
.yui-calendar td.calcell.highlight4 { background-color:#CCFF99; }

.yui-calendar .calhead {
	border:0px solid #E0E0E0;
	vertical-align:middle;
	background-color:#5C6F90;
}

.yui-calendar .calheader {
	position:relative;
	width:100%;
	text-align:center;
	font-size: 100%;
	background-color:#182b49;
	color:#fff;
}

.yui-calendar .calheader img {
	border:none;
}

.yui-calendar .calweekdaycell {
	color:#182b49;
	font-weight:bold;
	text-align:center;
	width:1.2em;
	border-bottom:solid thin #182b49;
	border-width:0 0 1px 0;
}

.yui-calendar .calfoot {
	background-color:#EEE;
}

.yui-calendar .calrowhead, .yui-calendar .calrowfoot {
	color:#222;
	font-size:9px;
	font-style:italic;
	font-weight:normal;
	width:15px;
}

.yui-calendar .calrowhead {
	border-right-width:2px;
}

/*Specific changes for calendar running under fonts/reset */
.yui-calendar a:hover {background:inherit;}
p#clear {clear:left; padding-top:10px;}
