/* General Default formatting for some elements. Not particually interesting... */
html {
	/* Always show a vertical scrollbar */
	overflow-y: scroll;
}
body {
	background-color: white;
	color: black;
}
#page {
	text-align: center;
}
#page p {
	margin-top: 10px;
	margin-bottom: 10px;
}
#page a {
	text-decoration: none;
	color: #286ea0;
}
#page a:hover {
	text-decoration: underline;
	color: #286ea0;
}
#body td {
	padding: 2px;
	background-color: #CCCCFF;
	border-color: gray;
}
#page table.layout, #page table.layout th, #page table.layout td {
	background-color: transparent;
	border: none;
}

/* Tabs */
ul.tabs {
	font-size: 110%;
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: right;
}

ul.tabs li {
	display: inline;
	margin: 0 0 0 2px;
}

ul.tabs a {
	padding: 0 1em;
	background: #D5D9DE;
}

ul.tabs a:hover {
	background: #CCCCFF;
}

ul.tabs #selected a {
	padding-bottom: 2.2px;
	font-weight: bold;
	background: #F4F4F4;
	border-top: 2px solid #286EA0;
	border-left: 2px solid #286EA0;
	border-right: 2px solid #286EA0;
}

#tab-content {
	border: 2px solid #286EA0;
	background-color: #F4F4F4;
	padding: 2em;
}

/* Header */
#header {
	width: 760px;
	margin-left: auto;
	margin-right: auto;
}

#header #title {
	float: left;
	height: 96px;
	text-align: left;
	vertical-align: text-bottom;
}

#header #title * {
	border: none;
	display: inline;
}

#header #login * {
	margin: 0px;
	padding: 0px;
}

#header #login {
	padding: 12px;
	float: right;
	background-color: #D5D9DE;
	border: solid gray 1px;
	height: 85px;
	vertical-align: middle;
	z-index: 1;
}

/* New Header */
#header {
	height:150px;
	position:relative;
}

#frontphoto {
	position: absolute;
	left: 0px;
	top: 0px;
	/*z-index: -1;*/
}

#logo-new {
	position: absolute;
	left: 10px;
	bottom: 18px;
	width: 45px;
	height: 48px;
}


#title-text {
	position: absolute;
	/*left: 55px;*/
	left: 10px;
	bottom: 10px;
}

#login {
	position: absolute;
	top: 20px;
	right: 10px;
}

/* Nav Sidebar */
#body #sidebar ul {
	margin: 0pt;
	padding: 0px;
}

#body #sidebar {
	position: absolute;
	left: 0;
	top: 230;
	width: 150px;
	text-align: left;
}

#body #sidebar ul li {
	list-style-type: none;
	list-style-image: none;
}

#body #sidebar li {
	margin-bottom: 4px;
}

#body #sidebar hr {
	margin: 5px 3px;
	color: #D5D9FE;
	background-color: #D5D9FE;
}

#body #sidebar li a {
	background-color: #F4F4F4;
	border-left: 4px solid #CCCCCC;
	color: #505050;
	display: block;
	font-weight: bold;
	height: 20px;
	padding: 6px 0pt 2pt 10px;
	text-decoration: none;
}

#body #sidebar li.special a {
	background-color: #F4C4C4;
	border-left: 4px solid #D57171;
	color: #505050;
}

#body #sidebar li a:hover {
	border-left: 4px solid #286EA0;
	color: #286EA0;
}

#body #sidebar li.special a:hover {
	border-left: 4px solid #E93838;
	color: #E93838;
}

#body #extras {
	position: absolute;
	right: 0px;
	top: 230px;
	text-align: left;
	width: 100px;
}

/* Content */
#body #content {
	padding: 10px;
	/*margin: 0px 120px 10px 160px;*/
	margin: 0px 10px 10px 160px;
	position: relative;
	border: solid #E0E0E0 1px;
	text-align: left;
	min-height: 600px;
	height: auto !important;
	height: 600px;
}

/* Footer */
#page #footer {
	text-align: center;
	padding-bottom: 15px;
	/*border-top: solid #E0E0E0 3px;*/
}

#page #footer img {
	float: left;
	margin-top: -200px;
}

/* Generic Classes */
#body .announce, .box {
    margin: 10px 0 10px 0;
    padding: 10px;
    width: 130px;
    color: [BOX];
    background-color: #F4F4F4;
    line-height: 1.3em;
}

#body .box1 {
    margin: 10px 0 10px 0;
    padding: 10px;
    width: 130px;
    color: #505050;
    background-color: white;
    width: auto;
    border: 2px solid #286EA0;
}

#body .box2 {
    margin: 10px 0 10px 0;
    padding: 10px;
    width: 130px;
    color: #505050;
    background-color: white;
    width: auto;
    border: 2px solid #286EA0;
}

#body .box_title {
    font-size: large;
    font-weight: bold;
    padding-bottom: 5px;
}

#body #notice-error {
	background-color: #FFC0C0;
	border: solid red 2px;
	margin: 10px 0px 20px 0px;
	padding: 5px;
}

#body #notice-info {
	background-color: #C0C0FF;
	border: solid blue 2px;
	margin: 10px 0px 20px 0px;
	padding: 5px;
}

/* Games / Projects */
#body img.project {
	padding: 1px;
	display:inline;
	background: #CCCCCC;
	border: 4px solid #F0F0F0;
	width: 160px;
	height: 160px;
	min-width: 160px;
	min-height: 160px;
}

#body .credit-name {
	padding-right: 5px;
}

/* Events / Calendar */
#calendar span.link {
	color: #286ea0;
}
#calendar span.link:hover {
	text-decoration: underline;
	cursor: pointer;
}
#calendar-container {
	text-align: center;
}
#calendar {
	position: relative;
	text-align: left;
	width: 90%;
	margin: auto;
}
#calendar-content {
	/*width: 800px;*/
	text-align: left;
	font-size: 80%;
}
#calendar #calendar-date {
	float: left;
}
#calendar #calendar-navigation {
	float: right;
	text-align: left;
}
#loading {
	position: absolute;
	right: 0px;
	top: 0px;
	color: white;
	/*height: 34px;
	width: 100px;*/
}
#calendar div.day-header {
	color: black;
	background-color: #CCCCFF;
	text-align: right;
}
#calendar div.day-header-grayed {
	color: black;
	background-color: gray;
	text-align: right;
}
#calendar table {
	border-collapse: collapse;
	width: 100%;
}
#calendar th {
	text-align: center;
	border: solid gray 1px;
}
#calendar td {
	border: solid gray 1px;
	background: none;
	padding: 0px;
	/*width: 13%;*/
	width: 14.28%;
	height: 80px;
	vertical-align: top;
}

#calendar td.today {
	height: 80px;
	vertical-align: top;
	color: black;
	background-color: #ACACDF;
}
#calendar .day-body {
	color: [CAL_DAY_BODY_TEXT];
	background-color: [CAL_DAY_BODY_BG];
	padding: 0.5em;
	white-space: nowrap;
	overflow: hidden;
}
#calendar #calendar-event {
	display: block;
	border:1px solid black;
	position: absolute;
	top: 100px;
	bottom: 50px;
	left: 50px;
	right: 50px;
	z-index: 2;
	background-color: white;
	filter: alpha(opacity=80);
	opacity: 0.8;
}
#calendar #calendar-event-footer {
	position: absolute;
	margin-bottom: 10px;
	bottom: 0px;
	width: 100%;
}
#calendar #calendar-event-footer span {
	padding: 0px 10px;
}
#calendar div.popup {
	position: absolute;
	top: 30px;
	left: 0px;
	border: solid gray 1px;
	width: 200px;
	height: 100px;
	display: none;
	background-color: white;
	z-index: 1;
	overflow: hidden;
}
#calendar div.popuptitle {
	color: white;
	background-color: #286EA0;
}
#calendar div.popuptitle h2 {
	margin: 0px;
}
#calendar div#calendar-date {
	padding: 10px 0px;
}
#calendar select {
	font-weight: bold;
}

/* Files & Library */
#body .lib-category, #body .lib-category-selected, #body .files-file {
	background-image: url('/public/images/files.png');
	background-repeat: no-repeat;
	padding-left: 25px;
	cursor: pointer;
	height: 20px;
}
#body .lib-category-fldr, #body .lib-category-fldr-selected, #body .files-fldr, #body .files-fldr-selected {
	background-image: url('/public/images/fldr.png');
	background-repeat: no-repeat;
	padding-left: 25px;
	cursor: pointer;
	height: 20px;
}
#body .lib-category-selected, #body .lib-category-fldr-selected, #body .files-fldr-selected {
	background-color: #CCCCCC;
}
#body .lib-category-group {
	display: none;
	margin-left: 20px;
}

#body .lib-book-attribute {
	text-align:right;
	font-weight:bold;
	padding-right: 5px;
	vertical-align: top;
}

#body .files-file, #body .files-fldr {
	height: auto;
	min-height: 20px;
}

/* Exec */
#body #src-box {
	height: 300px;
	overflow: auto;
	border: solid black 1px;
	margin: 10px;
	padding: 10px;
}

#body #src-error {
	border: 1px #FF0000 solid;
	background-color: #FFCCCC;
	color: red;
}

/* Box Lists */
#body div.box-list-wrapper
{
	margin-left: auto;
	margin-right: auto;
	display: compact;
}
#body div.box-list
{
	float: left;
	width: 300px;
	margin: 10px;
}

/* Rounded Corners */
/* CSS from http://kalsey.com/2003/07/rounded_corners_in_css */
.roundbox {
	/*background-color: #f90;
	color: #fff;*/
	background-color: white;
	color: black;
	border: solid gray 4px;
}

.roundbox div.roundcontent {
	margin: 10px;
	padding: 10px;
}

.roundbox .roundbox {
	padding: 0 20px;
}

/*.roundbox .roundtop { 
	background: url('/public/images/tr3.png') no-repeat top right;
}

.roundbox .roundbottom {
	background: url('/public/images/br3.png') no-repeat top right;
}*/
.roundbox .roundbottom {
	height: 27px;
}

img.corner {
	width: 27px;
	height: 27px;
	border: none;
	position: relative;
	display: block !important;
}
img.left	{ float: left; left: -4px; }
img.top		{ top: -4px; }
img.right	{ float: right; left: 4px; }
img.bottom	{ top: 4px; }

