/* calendars.css */

/* Debugging */

.debugdump {
	position: absolute;
	top: 315px;
	right: 30px;
}

/*===========================*/
/*    NON-CHANGING values    */
/*===========================*/

#cal {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
}

#cal th, #cal td {
	border: 1px solid #000;
}

#cal thead {
	background-color: #30F;
	color: #FFF;
}

#cal thead a {
	width: 3em;
	border-width: 0;
	text-decoration: none;
	cursor: default;
	display: block;
}

#cal thead a:link, #cal thead a:visited {
	color: white;
}

#cal thead a:hover {
	color: red;
}

#cal thead a#prev {
	float: left;
}

#cal thead a#next {
	float: right;
}

#cal tfoot th {
	border-top: 1px solid #000;
	border-right: 0;
	border-bottom: 0;
	border-bottom-style: hidden;
	border-left: 0;
	border-left-style: hidden;
}

#cal tbody.days td {
	padding: 0;
	margin: 0;
}

.days a {
	color: #000;
	font-family: sans-serif;
	cursor: default;
	text-decoration: none;
	text-align: right;
	display: block;
}

.days a:hover {
	font-weight: bold;
	color: inherit;
	background: url(../images/slash.gif) top left no-repeat;
/*	background-color: #30F; */
}
/*
#cal tbody.days td a.selected {
	font-weight: bold;
	color: #F00;
	background-color: #EEE;
}

#cal tbody.days td a.selected:hover {
	color: #FFF;
	background-color: #F00;
}
*/
.weekdays th {
	background-color: #CCC;
	color: #000;
	vertical-align: bottom;
}

#sizebuttons {
	margin: 0.5em 0 0 0;
	padding: 0;
}

#sizebuttons li {
	list-style: none;
	display: inline;
}

/* Stuff for the output element */

#catcher {
	width: auto;
	text-align: center;
	border-collapse: collapse;
}

#catcher td {
	text-align: center;
	vertical-align: middle;
	border-bottom: 1px solid #000;
	white-space: nowrap;
}

#catcher tr.setup td {
	border-bottom: 1px solid #999;
}

#catcher td label {
	float: none;
}

#catcher tbody td {
	background-color: #EEE;
}

#catcher tfoot td {
	background-color: #FFF;
	border-bottom: none;
	color: red;
}

#catcher thead td {
	vertical-align: bottom;
	padding-bottom: 3px;
	background-color: #FFF;
	border-bottom: 1px solid #000;
}

#catcher tr {
	background-color: #FFF;
}

#catcher tbody tr.odd td {
	background-color: #ADF;
}



/*===========================*/
/*      CHANGING values      */
/*===========================*/

/* SMALL values, class="sm" */

.sm th, .sm td {
	font-size: 0.75em;
}

.sm thead, .sm tfoot {
	line-height: 1em;
	text-transform: uppercase;
	font-size: 1.5em;
}

.sm tbody.days td a {
	font-size: 1.75em;
	padding: 0.15em 0.15em 0 0;
	width: 1.5em;
	height: 1.5em;
}

.sm .weekdays th {
	line-height: 1.25em;
}

/* MEDIUM values, class="md" */

#cal.md thead, #cal.md tfoot {
	line-height: 1.75em;
}

#cal.md tbody.days td a {
	font-size: 1.5em;
	padding: 0.15em;
	width: 2.8em;
	height: 2.8em;
}

#cal.md .weekdays th {
	line-height: 1.4em;
}

/* LARGE values, class="lg" */

.lg th, .lg td {
	font-size: 1.75em;
}

.lg thead, .lg tfoot {
	font-size: 1em;
	line-height: 2.25em;
}

.lg tbody.days td a {
	font-size: 1.2em;
	padding: 0.2em 0.2em 0 0;
	width: 3em;
	height: 3em;
	margin: 0 -1px -1px 0; /* hack to erase annoying whitespace */
}

.lg .weekdays th {
	line-height: 1.25em;
}


/*===========================*/
/*      	VERTICAL         */
/*===========================*/

#vert {
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-collapse: collapse;
	margin: 0 5em;
	padding: 0;
	font: 1em sans-serif;
}

#vert thead, #vert tfoot {
	background: #FFF;
	color: #000;
}

#vert th, #vert td {
	font-size: 1em;
	border-bottom: 1px solid #000;
	border-right: 1px solid #000;
}

.nameCol { width: 3em; }

.dateCol { width: 2em; }

#vert tbody tr.separator td {
	border-bottom: 5px solid #000;
}

#vert tbody tr.thinSeparator td {
	border-bottom: 2px solid #000;
}

#vert tbody tr td {
	background-color: #FFF;
}

#vert tbody tr.odd td {
	background-color: #CDF;
}

#vert tbody tr.disabled td {
	background-color: #eee;
	color: #777;
}