/*  
Theme Name: STI Education
Version: 1.0
Author: Alexander Graf
*/

html, body {
	height: 100%;
}

body {
	color: #27013A;
	background: #d9d9d9 url(img/bg.jpg) top center repeat-y;
	color: #000000;
	margin: 0 auto;
	padding: 0;
	min-width: 900px;
}

#header {
	background: url(img/header.png) top center repeat-x;
	width: 100%;
	height: 50px;
}

#headerlogo {
	background: url(img/headerbg.png) top center no-repeat;
	width: 900px;
	height: 105px;
	margin: 0 auto;
}

h1 {
	text-indent: -9999px;
	margin: 0;
	padding: 0;
	float: left;
	overflow: hidden;
}

h1 a {
	display: block;
	width: 225px;
	height: 50px;
	border: 0;
	margin: 39px 0 0 35px;
}

#nav {
	list-style: none;
	clear: both;
	width: auto;
	margin: 20px 0 0 20px;
	padding: 0;
}

#nav li {
	list-style: none;
	float: left;
	display: block;
	width: 143px;
	height: 2em;
	border-left: 1px solid #CECECE;
	border-top: 1px solid #CECECE;
	border-bottom: 1px solid #CECECE;
	background: #F4F4F4;
	vertical-align: middle;
}
#nav li.first_item {
	border-left: 0;
	width: 140px;
}

#nav li a {
	display: block;
	width: 100%;
	height: 100%;
	font: 0.85em Helvetica, "Trebuchet MS", Verdana, Arial, sans-serif;
	font-weight: bold;
	text-align: center;
	color: #666;
	text-decoration: none;
	line-height: 2.6em;
}

#nav li.active a {
	color: #9B171C;
}

#nav li a:focus {
	-moz-outline: 0;
	-webkit-outline: 0;
	-khtml-outline: 0;
	outline: 0;
}

#nav li a img {
	border: 0;
	line-height: 2em;
	vertical-align: baseline;
	margin-left: 5px;
}


#nav li a:hover {
	color: #333;
}

#nofooter {
	position: relative;
	min-height: 100%;
}

* html #nofooter {
	height: 100%;
}

#page {
	width: 820px;
	margin: 25px auto 0 auto;
	padding: 0 0 50px 0;
}

*:first-child+html #page {
     margin-top: 65px;
}
h2 a img {
	border: 0;
}

h2 {
	width:  100%;
	border-bottom: 1px solid #A31415;
	padding-bottom: 5px;
	margin-top:  40px;
	display: block;
	color: #323232;
	letter-spacing: -1px;
	font: 1.8em/1 Helvetica, "Trebuchet MS", Verdana, Arial, sans-serif;
}
h2 a, h2 a:visited {
	color: #323232;
	text-decoration: none;
}
h2 a:hover {
	color: #000000;
	text-decoration: none;
}

div.post-content {
	width: 95%;
}

div.post-content,
div.post-content p,
div.post-content li {
	color: black;
	font: 1em/1.3em Helvetica, Verdana, Geneva, sans-serif;
}

div.post-content li {
	margin-bottom: 0.4em;
list-style-type: square;
}

div.post-content a {
	text-decoration: none;
	font-weight: normal;
	color: #313131;
	border-bottom: 1px dotted #313131;
}

div.post-content a:hover {
	text-decoration: none;
	font-weight: normal;
	color: #313131;
	border-bottom: 1px solid #A31415;
}

div#content {
	width:  100%;
}

#footer {
	width: 100%;
	background: red;
	height:  50px;
	margin-top: -50px;
	position: relative;
	background: url(img/footerbg.jpg) bottom center no-repeat;
}

#footercontent {
	width: 820px;
	border-top: 1px solid #cecece;
	padding-top: 6px;
	margin: 0 auto;
	font: 0.7em Helvetica, Verdana, Geneva, sans-serif;
	color: #757575;
}

#footercontent a {
	color: #303030;
	text-decoration: none;
}

#footercontent a:hover {
	color: #1B1B1B;
	text-decoration: none;
}


div#loggedin {
	display: block;
	background: #E8CDCD;
	float: right;
	padding: 10px;
	margin: 35px 35px 0 0;
	border: 1px solid #A31415;
}

div#loggedin ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

div#loggedin ul li {
	list-style-type: none;
	padding: 2px 0;
	margin: 0;
	text-decoration: none;
	font: 1em/1 Helvetica, "Trebuchet MS", Verdana, Arial, sans-serif;
}

div#loggedin ul li a {
	text-decoration: none;
	color: #690D0E;
}

div#loggedin ul li a:hover {
	text-decoration: none;
	color: #690D0E;
	border-bottom: 1px dotted #690D0E;
}


div.message {
	width: 300px;
	padding: 7px 7px 4px 40px;
	margin: 0 auto;
	font-size: 0.85em;
	text-align: justify;
}

div.message.success {
	color: #4E740D;
	border: 1px solid #4E740D;
	background: #BFEB72 url(img/ok.png) 5px center no-repeat;
}

div.message.error {
	color: #AF2322;
	border: 1px solid #AF2322;
	background: #FFB6B6 url(img/error.png) 5px center no-repeat;

}

dl.table-display {
	width: 51.1em;
	margin: 2em 0;
	padding: 0;
}

dl.table-display dt {
	width: 25em;
	float: left;
	margin: 0 0 0 0;
	padding: .5em;
	border-top: 1px solid #E6E6E6;
	font-weight: bold;
}

/* commented backslash hack for mac-ie5 \*/
	dt { clear: both; }
/* end hack */

dl.table-display dd {
	float: left;
	width: 24em;
	margin: 0 0 0 0;
	padding: .5em;
	border-top: 1px solid #E6E6E6;
}

dl.table-display span.eg {
	color: #888;
	font-style: italic;
}