body {
background: #fff5db;
font-size: 0.8em;
font-family: Arial;
color: #530009;
}

body, h1, h2, h3, #header ul, #sidebar ul, #userbar form {
padding: 0;
margin: 0;
}

a {
color: #000;
}

a img {
border: 0;
}

p {
margin: 0;
padding: 2px;
}

#container {
width: 1150px;
padding: 0 35px 0 38px;
margin: 0 auto;
background: url('i/bg.gif') repeat-y;
}

/******************************************
*******          HEADER                             *********
******************************************/

#header {
height: 275px;
background: url('i/header.jpg') no-repeat;
}

#userbar {
height: 31px;
line-height: 31px;
color: #fff;
}

#userbar form {
width: 490px;
float: right;
}

#userbar label {
padding: 0 2px 0 5px;
font-size: 0.9em;
}

#userbar input {
height: 18px;
line-height: 18px;
width: 130px;
padding: 2px 6px;
background: url('i/user-input.gif') no-repeat;
border: 0;
font-size: 0.9em;
}

#userbar input#login {
width: 45px;
height: 22px;
padding: 0;
background: url('i/user-login.gif') no-repeat;
text-align: center;
line-height: 22px;
font-weight: bold;
}

#header h1, #header h1 a {
height: 213px;
display: block;
}

#header h1 span { display: none; }

#header ul {
list-style: none;
height: 31px;
overflow: hidden;
padding-left: 7px;
}

#header ul li, #header ul li a {
float: left;
}

#header ul li {
padding-right: 8px;
height: 31px;
}

#header ul li a {
display: block;
width: 103px;
text-align: center;
height: 27px;
line-height: 27px;
padding: 4px 0 0 0;
background: url('i/nav.gif') no-repeat top;
color: #fff;
text-transform: uppercase;
font-size: 0.8em;
text-decoration: none;
overflow: hidden;
}

#header ul li a:hover, #header ul li.active a {
background-position: bottom;
}

/******************************************
*******          MAIN                                 *********
******************************************/


#main {
float: right;
width: 930px;
height: 100%;
}

#main h2 {
height: 26px;
line-height: 26px;
background: url('i/h2-main.gif') no-repeat;
padding: 0 22px;
font-size: 1.2em;
color: #540000;
font-weight: bold;
}

h2 span {
color: #3d3a33;
}

#main h3 {
height: 22px;
line-height: 20px;
background: url('i/h3-main.gif') no-repeat;
padding: 0 11px;
font-size: 1em;
color: #fff;
font-weight: bold;
}

#main h3 span {
float: right;
font-weight: normal;
font-size: 0.9em;
font-style: italic;
}

/******************************************
*******          SIDEBAR                          *********
******************************************/

#sidebar {
float: left;
width: 220px;
height: 1650px;
background: #530009;
color: #fff;
}

#sidebar h2 {
height: 26px;
line-height: 26px;
background: url('i/h2-sidebar.gif') no-repeat;
padding: 0 22px;
font-size: 1.2em;
color: #540000;
font-weight: bold;
clear: both;
}

#roster {
width: 219px;
height: 190px;
margin: 0 0 0 1px;
overflow: hidden;
background: url('i/roster.gif') no-repeat;
}

#roster .roster {
width: 73px;
float: left;
height: 85px;
padding: 10px 0 0 0;
text-align: center;
}

#roster a {
color: #fff;
text-decoration: none;
}

#sidebar img {
margin: 0 0 0 2px;
display: block;
}

#roster img {
margin: 0 auto;
}

#sidebar ul {
list-style: none;
}

#sidebar ul li {
height: 22px;
line-height: 20px;
font-size: 0.9em;
color: #fff;
background: url('i/server-list.gif') no-repeat;
padding: 0 5px 0 7px;
}

#sidebar ul li span {
float: left;
display: block;
width: 70px;
}

/******************************************
*******          FOOTER                             *********
******************************************/
/*
#footer {
clear: both;
}
*/
#footer  {
display: block;
height: 34px;
line-height: 38px;
text-align: left;
font-size: 0.6em;
background: url('i/footer.gif') no-repeat;
overflow: hidden;
padding: 0 12px;
color: #fff9ea;
text-decoration: none;
}

/* CSS Document */
.calendar {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	}
.calendar caption {
	margin: 0;
	padding: .3em 0;
	background: #ffa51e;
	}

/* day of week */
.calendar th {
	border-bottom: 1px solid #ccc;
	font-weight: normal;
	background: #FFFFCC;
	}
.calendar td {
	border: 1px solid #fff;
	padding: .1em .3em ;
	width: 1em;
	text-align: center;
	}
.calendar a {
	color: #000;
	text-decoration: none;
	}
.calendar td.passed {
	background: #FF6699;
	}
.calendar td.today {
	background: #99FF99;
	}
.calendar td.selected {
	border: 1px dotted #ff7800;
	}
.calendar td.highlighted {
	background: #fc9;
	}
	
.calendar td:hover, .calendar td.today:hover, 
.calendar td.selected:hover, .calendar td.highlighted:hover {
	background: #cff;
	border: 1px solid #09f;
	}
/* empty days*/
table.calendar td.pad {
	color: #999;
	background: ;
	}
table.calendar td.pad:hover {
	background: none;
	border: 0;
	}
	
.thursday, .sunday {
	background: #33CCFF;
	font-weight: bold;
	}
	
#year {
	padding: 0;
	width: 500px;
	list-style: none;
	}
#year:after {
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	}
#year li {
	float: left;
	padding: 0 .5em .5em 0;
	height: 150px;
	}
/* Pagination */
div.pagination {
	padding: 3px;
	margin: 3px;
}

div.pagination a {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px solid #AAAADD;
	
	text-decoration: none; /* no underline */
	color: #530009;
}
div.pagination a:hover, div.pagination a:active {
	border: 1px solid #530009;

	color: #000;
}
div.pagination span.current {
	padding: 2px 5px 2px 5px;
	margin: 2px;
		border: 1px solid #530009;
		
		font-weight: bold;
		background-color: #530009;
		color: #FFF;
	}
	div.pagination span.disabled {
		padding: 2px 5px 2px 5px;
		margin: 2px;
		border: 1px solid #EEE;
	
		color: #DDD;
	}
	