body {
	font: 80% "Lucida Grande",Verdana,Lucida,Helvetica,Arial,sans-serif;
	color: #646464;
	margin: 0;
	padding: 0;
	background: #e2e2e2 url(img/backbody.png) repeat-x top left !important;
}

a {
	text-decoration: none;
	color: #356AA0;
}
a:hover {
	color: #4096EE;
}

h1, h2, h3 {
	background-color: inherit;
    clear: left;
    color: #646464;
    font-family: Georgia,"Times New Roman",Times,serif;
    font-size: 100%;
    font-weight: normal;
    line-height: 1.6;
    margin: 0 0 0.5em;
    padding: 0.8em 0 0;
}
h1 {
	border-bottom: 1px solid #DADADA;
    font-size: 160%;
    margin-left: 0;
}

div#maincontainer {
	
}

div#topheader {
	font-family: Helvetica,Arial,sans-serif;
}
div#topheader div.menu {
	color: #BBBBBB;
	line-height: 28px;
	font-size: 9pt;
	height: 28px;
	padding: 0 10px;
	overflow: hidden;
	background: #101010;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#212121'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#212121)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #333333,  #212121); /* for firefox 3.6+ */ 
}
div#topheader div.menu div.content {
	width: 980px;
	margin: 0 auto;
}
div#topheader div.menu div.content div.login {
	float: right;
	font-size: 90%;
}
div#topheader div.submenu {
	padding: 0;
	overflow: hidden;
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
	font-size: 8pt;
	color: #4c4c4c;
	font-family: verdana,arial,sans-serif;
}
div#topheader div.submenu ul {
	list-style: none;
	overflow: auto;
	width: 360px;
	height: 100%;
	padding: 0;
	margin: 0 auto;
	border-left: 1px solid #C0C0C0;
}
div#topheader div.submenu ul li {
	display: inline;
	padding: 0;
	margin: 0;
}
div#topheader div.submenu ul li a {
	padding: 5px 0;
	width: 119px;
	overflow: hidden;
	text-align: center;
	font-family: verdana,sans-serif;
	color: #505050;
	text-decoration: none;
	display: block;
	float: left;
	border-right: 1px solid #C0C0C0;
}
div#topheader div.submenu ul li a:hover {
	background: #dce1ee;
}

div#content {
	width: 980px;
	padding: 0 10px;
	min-height: 500px;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
	background: #fff !important;
	border: 1px solid #ccc;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

div#footer {
	margin: 5px 0 20px 0;
	font-size: 7pt;
	text-align: center;
}
div#footer a {
	color: #646464;
}

/* content menu */
div.contentmenu {
	font-size: 8pt;
	margin: 2px 0 20px 0;
}
div.contentmenu span {
	border-bottom: 2px solid #C0C0C0;
}

/* loginbox */
div#loginbox {
	width: 300px;
	margin: 0 auto;
	margin-top: 100px;
	border: 2px solid #4f4f4f;
	padding: 0;
	background-color: #fff;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
div#loginbox div.title {
	padding: 4px 5px;
	border-bottom: 1px solid #4f4f4f;
	background-color: #bfbfbf;
	font-weight: bold;
	color: #2a2a2a;
}
div#loginbox div.content {
	padding: 10px;
}

/* listview */
table.listview {
	padding: 0;
	margin: 5px 0 15px 0;
	border-collapse: collapse;
	width: 100%;
}
table.listview thead tr td {
	background-color: gray;
	color: white;
}
table.listview tbody tr td {
	border-bottom: 1px solid #C0C0C0;
	cursor: pointer;
}
table.listview tbody tr.alternate td {
	background-color: #eeeeee;
}
table.listview tbody tr.over td {
	background-color: #C3D9FF;
}

/* form view */
table.formview {
	padding: 0;
	margin: 5px 0 15px 0;
	border-collapse: collapse;
	width: 100%;
}
table.formview tr td {
	border: 1px solid #C0C0C0;
}
table.formview tr td.field {
	width: 200px;
	background: #eeeeee;
	padding: 3px 5px;
	vertical-align: top;
}
table.formview tr td.actions {
	padding: 5px;
	text-align: center;
}

/* calendar */
table.calendar {
	padding: 0;
	margin: 0 0 15px 0;
	border-collapse: collapse;
	width: 100%;
	page-break-after : always;
}
table.calendar tr td {
	padding: 0;
	/*border: 1px solid #ccc;*/
}
table.calendar thead tr td.month {
	padding: 0 0 2px 0;
}
table.calendar thead tr td.month div {
	font-size: 8pt;
	font-weight: bold;
	padding: 8px;
	border: 1px solid #ababab;
	text-align: left;
	background-color: #cccccc;
	color: #2e323a;
	margin-bottom: 4px;
}
table.calendar thead tr td.daynumber {
	padding: 0 0 1px 2px;
}
table.calendar thead tr td.daynumber div {
	font-size: 8pt;
	text-align: center;
	padding: 2px 0;
	background-color: #dddddd;
	border: 1px solid #c0c0c0;
	color: #4f4f4f;
}
table.calendar thead tr td.daytext {
	padding: 0 0 2px 2px;
}
table.calendar thead tr td.daytext div {
	font-size: 8pt;
	text-align: center;
	padding: 1px 0;
	background-color: #dddddd;
	border: 1px solid #c0c0c0;
	color: #4f4f4f;
}
table.calendar tbody tr td {
	/*border: 1px solid #ccc;*/
	padding: 1px;
	width: 21px;
}
table.calendar tbody tr.alternate td {
	background-color: #eeeeee;
}
table.calendar tbody tr.current td {
	background-color: #ffd777;
	border-top: 2px solid orange;
	border-bottom: 2px solid orange;
}
table.calendar tbody tr.over td {
	background: #caced4;
	border-color: #b4b4b4;
}
table.calendar tbody tr td.user {
	/*width: 150px;*/
	padding: 2px 4px;
	overflow: hidden;
	width: auto;
}
table.calendar tbody tr td.weekend {
	background-color: #a0a0a0;
}
table.calendar tbody tr td div.day {
	overflow: hidden;
	text-align: center;
	background-color: #fff;
	border: 1px solid #c0c0c0;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
table.calendar tbody tr td div.event {
	background-color: #adcde4;
	border: 1px solid #7baed3;
}
table.calendar tbody tr td div.editable {
	cursor: pointer;
}
table.calendar tbody tr td div.loading {
	background-image: url('img/loading.gif');
	background-position: center center;
	background-repeat: no-repeat;
}

table.calendar tbody tr td div.statusBUS, div#cmday a div.statusBUS {
	/*
	background-color: #e50102;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f60704', endColorstr='#b71916');
	background: -webkit-gradient(linear, left top, left bottom, from(#f60704), to(#b71916));
	background: -moz-linear-gradient(top,  #f60704,  #b71916);
	*/
	background-color: #ffaeaa;
	border: 1px solid #f29591;
}
table.calendar tbody tr td div.statusUNC, div#cmday a div.statusUNC {
	/*
	background-color: #f0c016;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffce48', endColorstr='#f9aa08');
	background: -webkit-gradient(linear, left top, left bottom, from(#ffce48), to(#f9aa08));
	background: -moz-linear-gradient(top,  #ffce48,  #f9aa08);
	*/
	background-color: #ffff99;
	border: 1px solid #dcdc2e;
}
table.calendar tbody tr td div.statusAVA, div#cmday a div.statusAVA {
	background-color: #a8ffa6;
	border: 1px solid #7de180;
}

table.calendar tr td div.disabled {
	border-color: #dcdcdc;
	/*border-width: 0;*/
	background: transparent;
}

/* context menu for day status */
div#cmday {
	padding: 0;
	margin: 0;
	border: 1px solid #a0a0a0;
	position: absolute;
	background-color: #fff;
	display: none;
}
div#cmday a {
	color: #3c3c3c;
	display: block;
	height: 16px;
	line-height: 16px;
	padding: 2px 4px;
	border-bottom: 1px solid #c0c0c0;
}
div#cmday a:hover {
	background-color: #e2e2e2;
}
div#cmday a div{
	display: block;
	float: left;
	overflow: hidden;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	border: 1px solid #c0c0c0;
	-moz-border-radius: 3px;
	border-radius: 3px;
}