/* Some resets for compatibility with existing CSS */
.frm_cal{display:inline;position:relative;bottom:-4px}
.date_selector, .date_selector * {
	font-family:arial;
	font-size:10px;
	width: auto;
	height: auto;
	border: none;
	margin: 0;
	padding: 0;
	text-align: left;
	text-decoration: none;
}
.date_selector {
	/*background: url(../img/bg_cal1.png) no-repeat;*/
	width:181px;
	height:158px;
	padding: 5px;
	margin: -1px 0 0 0;
	position: absolute;
	z-index: 100;
	display: none;
}
.bgg {
	background: url(../img/bg_cal1.png) no-repeat;
	width:181px;
	height:158px;
	padding: 5px;
	margin: -1px 0 0 0;
	position: absolute;
	z-index: 100;
	top:0px;left:0px;
}
.date_selector_ieframe {
	position: absolute;
	z-index: 99999;
	display: none;
}
.date_selector .month_nav {
margin: 10px 0 5px 0;
color:#fff;
padding: 0;
display: block;
position:relative;
z-index:300;
}
.date_selector .month_name {
font-weight: bold;
line-height: 20px;
display: block;
text-align: center;
width:170px;
}
.date_selector .month_nav a {
display: block;
position: absolute;
top:0px;
width: 20px;
height: 20px;
font-weight: bold;
color: #fff;
text-align: center;
font-size: 120%;
overflow: hidden;
}
.date_selector .month_nav a:hover, .date_selector .month_nav a:focus {
color: #fff;
text-decoration: none;
}
.date_selector .prev {
	left: 25px;
	margin-top:2px;
}
.date_selector .next {
	right: 35px;
	margin-top:2px;
}
.date_selector table {
border-spacing: 0;
border-collapse: collapse;
margin-left:15px;
position:relative;
z-index:300;
}
.date_selector th, .date_selector td {
width: 2em;
height: 1.4em;
padding: 0;
text-align: center;
}
.date_selector td {
text-align: center;
white-space: nowrap;
}
.date_selector td.today {
}
.date_selector td.unselected_month {
text-align: center;
white-space: nowrap;
}
.date_selector td.unselected_month a{
display: block;
text-decoration: none !important;
width: 100%;
height: 100%;
color: #bfbfbf;
text-align: center;
	}
.date_selector td a {
display: block;
text-decoration: none !important;
width: 100%;
height: 100%;
color: #fff;
text-align: center;
}
.date_selector th{
color: #fff;
}
.date_selector td.today a {

}
.date_selector td.selected a {
font-weight: bold;
background:#000 !important;
}
.date_selector td a:hover {
color: white;
}
.date_selector .x {
	right:20px;
	margin-top:2px;
	font-size:9px !important;
}
.weekend a{color:#ff0000 !important}
/*.date_selector_ieframe {
	position: absolute;
	z-index: 99999;
	display: none;
}
.date_selector .month_nav {
	margin: 10px 0 5px 0;
	color:#fff;
	padding: 0;
	display: block;
}
.date_selector .month_name {
	font-weight: bold;
	line-height: 20px;
	display: block;
	text-align: center;
}
.date_selector .month_nav a {
	display: block;
	position: absolute;
	top: 15px;
	width: 20px;
	height: 20px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	font-size: 120%;
	overflow: hidden;
}
.date_selector .month_nav a:hover, .date_selector .month_nav a:focus {
	color: #fff;
	text-decoration: none;
}
.date_selector .prev {
	left: 35px;
	margin-top:2px;
}
.date_selector .next {
	right: 35px;
	margin-top:2px;
}
.date_selector table {
	border-spacing: 0;
	border-collapse: collapse;
	margin-left:15px;
}
.date_selector th, .date_selector td {
	width: 2em;
	height: 1.4em;
	padding: 0;
	text-align: center;
}
.date_selector td {
	text-align: center;
	white-space: nowrap;
}
.date_selector td.today {
}
.date_selector td.unselected_month {
	text-align: center;
	white-space: nowrap;
}
.date_selector td.unselected_month a{
	display: block;
	text-decoration: none !important;
	width: 100%;
	height: 100%;
	color: #666;
	text-align: center;
}
.date_selector td a {
	display: block;
	text-decoration: none !important;
	width: 100%;
	height: 100%;
	color: #003C78;
	text-align: center;
}
.date_selector td.today a {

}
.date_selector td.selected a {
	font-weight: bold;
	background:url(../img/bg_cal_selected.png) no-repeat 3px 0px !important;
}
.date_selector td a:hover {
	color: white;
}
.date_selector .x {
	right:20px;
	margin-top:2px;
	font-size:9px !important;
}
#calendar_top a:hover
{
	font-weight:bold;
	color: #000;
}*/
