.calendar {
	border: 1px solid black;
	display: block;
	float: left;
	font-family: Tahoma;
	font-size: 90%;
	margin-bottom: 10px;
	background-color: white;
	z-index: 50;
	width: 170px;
}

.calendar .current_date {
	text-align: center;
	background-color: #999999;
	color: white;
	padding: 10px;
	border: 1px solid #CCCCCC;
	font-size: 85%;
	cursor: pointer;
	line-height: 1em;
}
.calendar .current_date a {
	color: white;
	text-decoration: none;
}
.calendar .controls {
	background-color: #DD4466;
	border: 1px solid #BB2244;
	z-index: 100;
	height: 23px;
}
.calendar .month {
	margin: 0px;
	padding: 0px;
	list-style: none;
	display: block;
	position: relative;
	float: left;
	z-index: 100;
	color: black;
}
.calendar .month_options {
	margin: 0px;
	padding: 0px;
	position: absolute;
	list-style: none;
	border: 1px #555555 solid;
	background-color: white;
	z-index: 100;
	width: 80px;
	top: 22px;
	display: none;
	max-height: 100px;
	overflow: auto;
	left: 0px;
}
.calendar .month_options a {
	text-indent: 3px;
	color: black;
	background-color: white;
	display: block;
	height: 20px;
	line-height: 20px;
	text-decoration: none;
	font-size: 85%;
	outline: none;
	z-index: 400;
}
.calendar .month_options .current_month_option a {
	background-color: #FFDDEE;
	color: #EE5577;
}
.calendar .month_options a:hover {
	background-color: #EE5577;
	color: white;
}
.calendar .month_value {
	background-color: white;
	display: block;
	float: left;
	border: 1px solid black;
	border-right: none;
	height: 1.3em;
	position: relative;
	height: 20px;
	width: 60px;
	line-height: 20px;
	vertical-align: middle;
	font-size: 85%;
	text-indent: 4px;
}
.calendar .option_button {
	position: relative;
	border: 1px solid black;
	float: left;
	display: block;
	height: 20px;
	width: 20px;
	line-height: 20px;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	color: black;
	cursor: pointer;
	background: url("images/month_option.gif") white center center no-repeat;
}
.calendar .option_button:hover {
	background-color: #CCCCCC;
	color: white;
}
.calendar .year {
	position: relative;
	background-color: white;
	margin: 0px;
	padding: 0px;
	color: black;
	float: left;
	height: 20px;
	width: 40px;
	border: 1px black solid;
	line-height: 20px;
	vertical-align: middle;
	text-align: center;
	font-size: 85%;
	display: block;
	margin-left: 3px;
}
.calendar .change_year {
	width: 14px;
	float: left;
	display: block;
	height: 20px;
}
.calendar .increase_year,
.calendar .decrease_year {
	cursor: pointer;
	display: block;
	float: left;
	height: 9px;
	width: 12px;
	background-color: white;
	color: black;
	text-decoration: none;
	border: 1px solid black;
	text-align: center;
	vertical-align: middle;
	line-height: 9px;
	border-left: none;
	outline: none;
	background-position: center center;
	background-repeat: no-repeat; 
}
.calendar .increase_year span,
.calendar .decrease_year span,
.calendar .option_button span{
	visibility: hidden;
}
.calendar .increase_year {
	height: 10px;
	border-bottom: none;
	background-image: url("images/increase_year.gif");
}
.calendar .decrease_year {
	background-image: url("images/decrease_year.gif");
}
.calendar .increase_year:hover,
.calendar .decrease_year:hover {
	background-color: #CCCCCC;
	color: white;
}

.calendar .week_titles span,
.calendar .week a {
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: middle;
	line-height: 20px;
	text-align: center;
	margin: 1px;
	text-decoration: none;
	font-size: 95%;
}

.calendar .week_titles span {
	border: 1px white solid;
}

.calendar .week a {
	border: 1px white solid;
	background-color: #EEEEEE;
	color: #BBBBBB;
}

.calendar .week a.currMonthDay {
	border: 1px solid #666666;
	background-color: #EEEEEE;
	color: black;
}

.calendar .week a.currMonthDay:hover {
	background-color: #EE5577;
	color: white;
}

.calendar .week a.currDay {
	border: 1px #EE5577 solid;
	background-color: #FFDDEE;
	color: #EE5577;
}

.calendar .week a.currDay:hover {
	background-color: #EE5577;
	color: white;
}

.calendar .weeks {
	display: block;
	width: auto;
}