DIV.cal {
	width: 180px;
	height: 170px;
	display:inline;
	position:relative;
	float:left;
}
.month {
	width: 740px;
	height: auto !important;
	display: block;
	clear: both;
}
.week {
	width: 740px;
	display:block;
	clear: both;
}
DIV.cal A,
DIV.cal A:visited {
	color: #00d;
	text-decoration: none;
}
DIV.cal TD {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
}
.cal_date0,
.cal_date6,
.cal_date {
	background-color: #fff;
	padding: 2px;
	text-align: right;
	cursor: pointer;
}
.cal_date0,
.cal_date6 {
	background-color:	#e8edf1;
}
.cal_day,
.cal_day0,
.cal_day6 {
	background-color: #639cc8;
	color: #ddd;
	padding: 2px;
	text-align: center;
	width: 32px;
}
.cal_day0 {
	color: #c00;
}
.cal_day6 {
	color: #00c;
}
.cal_empty {
	background-color: #e8e8e8;
	padding: 2px;
	text-align: right;
}
.cal_selected {
	background-color: #fcc;
	font-weight: bold;
	padding: 2px;
	text-align: right;
	cursor: pointer;
}
.cal_selected a {
	color: #000;
}
.site .cal_table {
	border-right: 1px solid #639cce;
}
.cal_table {
	background-color: #639cce;
}
.cal_title {
	background-color: #507cbe;
	color: #fff;
	font-weight: bold;
	text-align: center;
}
.cal_title a,
.cal_title a:visited {
	color: #fff !important;
	text-decoration: none !important;
}
.cal_title a:hover {
	color: #ff0 !important;
	text-decoration: underline !important;
}
.cal_today {
	background-color: #c9e3ff;
	padding: 2px;
	text-align: right;
	cursor: pointer;
}
.cal_weekend {
	background-color: #ffc;
	padding: 2px;
	text-align: right;
	cursor: pointer;
}
.cal_weeknum {
	background-color: #f4f4f4;
	color: blue;
	padding: 2px;
	text-align: center;
	width: 21px;
}
.cal_time {
	vertical-align: top;
	width: 40px;
}
.w16 { width: 21px !important; border-left: 1px solid #639cce; border-bottom: 1px solid #639cce; }
.wbl { border-left: 1px solid #639cce; }

DIV.site .cal_weeknum { background: #D6EAFF }

DIV.daily,
DIV.week,
DIV.month { width: 100%; margin-bottom: 20px; }
.week .cal_day,
.week .cal_day0,
.week .cal_day6 { width:90px; }
.daily .cal_day,
.daily .cal_day0,
.daily .cal_day6 { width:auto; }
.daily .cal_table,
.week .cal_table,
.month .cal_table { width: 700px; }
.month .cal_date0,
.month .cal_date6,
.month .cal_date { vertical-align: top; }
.month .cal_date,
.month .cal_empty { height: 100px; }
.week .w95 { width: 95px !important; border-left: 1px solid #639cce; border-bottom: 1px solid #639cce; }
.month .w100 { width: 100px !important; border-left: 1px solid #639cce; border-bottom: 1px solid #639cce; }
.month .evt {
	font: 10px Arial, sans-serif;
	text-align:left;
	border-bottom: 1px solid #8aa;
}
.week .evt,
.daily .evt {
	vertical-align: top;
	padding: 0;
	overflow: hidden;
}
.week h1,
.daily h1 {
	color: #fff;
	font: bold 11px Arial, sans-serif;
	margin: 0;
	text-align: center;
}
.week h2,
.daily h2 {
	color: #fff;
	font: 11px Arial, sans-serif;
	margin: 0;
	padding: 2px;
	text-align: left;
}
.cal .m { float: left; width: 6px; height: 6px; margin: 3px 2px 0 0; font: 5px/1em Arial; overflow: hidden; }
.week .cal_empty,
.daily .cal_empty {
	background: white;
	border-top: 1px dashed #ccc;
	border-left: 1px dashed #ccc;
}
.c0 { background: #DECA57 !important; border-width: 0 !important; }
.c1 { background: #F28C1A !important; border-width: 0 !important; }
.c2 { background: #CD391C !important; border-width: 0 !important; }
.c3 { background: #C73B88 !important; border-width: 0 !important; }
.c4 { background: #8A3988 !important; border-width: 0 !important; }
.c5 { background: #543C8C !important; border-width: 0 !important; }
.c6 { background: #578C32 !important; border-width: 0 !important; }
.c7 { background: #4c8bd4 !important; border-width: 0 !important; }

.c0 h1 { background: #C5B44E !important; }
.c1 h1 { background: #D67D17 !important; }
.c2 h1 { background: #AB3118 !important; }
.c3 h1 { background: #A73273 !important; }
.c4 h1 { background: #612861 !important; }
.c5 h1 { background: #443171 !important; }
.c6 h1 { background: #4F7D2D !important; }
.c7 h1 { background: #3B6DA5 !important; }

.caltoolbar {
	margin: 10px 16px 20px;
}
.caltoolbar li {
	list-style-image: none;
	display: inline;
}

div.callegend {
	margin: 10px 16px 20px;
	text-align:center;
}
div.name {
	float:left;
	display: inline;
	width: 120px;
	height: 24px;
	font: 11px Arial, sans-serif;
	margin-right: 10px;
}

div.caltoolbar div.h1 {
	display: inline;
	font: bold 18px Tahoma, Arial, sans-serif;
	margin: 0 1em 0.5em;
	padding: 0;
}