/* MAIN */

.calendar{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	position: relative;
	width: 133px;
/*	height: 132px;*/
	
	padding-bottom: 10px;
	background: url(../images/datechooser/bg_main_btm.gif) no-repeat left bottom;
}

.calendar table{
	border-collapse: collapse;
	width: 100%;
	background: url(../images/datechooser/bg_main_top.gif) no-repeat left top;
}

.calendar table a{
	color: #7f7f7f;
	font-weight: normal;
	text-decoration: none;
}

/* THEAD */

.calendar table thead a{
	display: block;
	color: #fb484e;
	width: 100%;
	height: 100%;
}

.calendar a.close{
	position: absolute;
	top: 1px;
	right: 1px;
	display: block;
	background: url(../images/datechooser/x_close.gif) no-repeat left top;
	width: 9px;
	height: 9px;
}

.calendar a.nextmonth{
	color: #fb484e!important;
	text-decoration: none;
	background: url(../images/datechooser/next.gif) no-repeat 7px 5px;
}

.calendar a.previousmonth{
	color: #fb484e!important;
	text-decoration: none;
	background: url(../images/datechooser/prev.gif) no-repeat 7px 5px;
}

.calendar table thead th{
	padding: 5px 0;
}

.calendar table thead th.closeTH{
	padding: 0;
	height: 1px;
}

.calendar table thead th, .calendar table thead th a{
	color: white;
	font-weight: bold;
}

.calendar table thead tr td{
	color: #d00303;
	font-weight: bold;
}

.calendar table img{
	float: none;
	padding: 0;
	display: inline;
}

/* TBODY */

.calendar table th, .calendar table td{
	text-align: center;
	width: 19px;
	padding: 0;
}

.calendar table tbody td{
	padding: 3px 0 1px 0;
}

.calendar tbody a{
	color: #d00303;
	padding: 2px;
}

.calendar tbody a:hover{
	color: white;
	background-color: #d00303;
}

.calendar a.selectedday{ 
	color: #d00303;
	background-color: #f7989d;
}

.calendar .invalidday, .calendar .invalidday a, .calendar .invalidday a:hover{
	text-decoration: line-through;
	background: none;
	color: #616161;
}
