/*
Company:	Gymnasium Heidberg
File:		main.css - This contains all the main styles for the website.

All the styles are separted into the following groups:
Global Browser Reset - this is handled by the reset-fonts.css file from YUI
HTML, Body - for the html and body tags
Layout - styles that define the layout of the site
Modules - styles for content modules
Nav - navigation bar
Default Headings - headings like h1, h2, etc
Common Text Styles - Styles for text
Default Lists - unordered and ordered lists
Forms - html forms
Default Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group HTML, Body */
html {
	background-color: #E7E7E7;
}
body {
	font-family: "Lucida Grande", "Tahoma", Arial, sans-serif;
}
/* @end */

/* @group Layout */
/* Head */
div#hd {
	background-color: #A72A16;
	height: 153px;
	overflow: hidden;
}
div#hd-inner {
	width: 925px;
	margin-left: auto;
	margin-right: auto;
}

/* Body */

/* Footer */
div#ft {
	width: 925px;
	height: 118px;
	background: url(../images/ft-bkg.jpg) no-repeat 0 0;
	margin-left: auto;
	margin-right: auto;
}
div#ft p {
	font-size: 93%;
	color: #fff;
	line-height: 150%;
}
div#ft a:link, div#ft a:visited {
	color: #fff;
	text-decoration: none;
	background: url(../images/ft-link-underline.gif) repeat-x 0 100%;
}
div#ft a:hover {
	background: none;
}
div#ft p.ft-left {
	margin: 30px 0 0 40px;
	width: 190px;
	float: left;
	display: inline;
}
div#ft p.ft-center {
	margin: 30px 0 0 0;
	width: 240px;
	float: left;
	display: inline;
}
div#ft p.ft-right {
	width: 400px;
	text-align: right;
	margin: 30px 40px 0 0;
	float: right;
	display: inline;
}
/* @end */

/* @group Modules */
/* Logo */
div#logo {
	width: 263px;
	height: 153px;
	background: url(../images/logo.jpg) no-repeat 0 0;
	text-indent: -9000px;
	float: left;
	display: inline;
}
div#logo a {
	display: block;
	height: 100%;
}

/* Head Image */
div#hd-img {
	width: 662px;
	float: right;
	display: inline;
}

/* Content */
div.content {
	width: 925px;
	margin-left: auto;
	margin-right: auto;
	background: url(../images/content-bkg.jpg) repeat-y 0 0;
	padding: 2px 0;
}

/* Main */
div.main {
	width: 592px;
	margin: 0 0 0 50px;
	float: left;
	display: inline;
}

/* Side */
div.side {
	width: 224px;
	margin: 0 40px 0 0;
	float: right;
	display: inline;
}
div.side ul {
	margin: 0!important;
	padding: 0!important;
}
div.side ul li {
	margin: 0!important;
	padding: 0!important;
}

/* Entry */
div.entry {
	padding: 0 0 15px 0;
	margin: 0 0 15px 0;
}
div.entry-hr {
	border-bottom: 1px solid #c7c7c7;
}

/* Table */
div.content table th, div.content table td {
	color: #232323;
	border: 1px solid #eaeaea;
	text-align: center;
}
div.content table tr.alt-row th, div.content table tr.alt-row td {
	background-color: #f7f7f7;
}

/* Navigation */
div.navigation {
	padding: 0 0 15px 0;
	color: #A72A16;
}
div.navigation:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

div.navigation {display: inline-block;}

/* Hides from IE-mac \*/
* html div.navigation {height: 1%;}
div.navigation {display: block;}
/* End hide from IE-mac */
/* @end */

/* @group Nav */
div#nav-wrap {
	background: url(../images/nav-bkg-repeat.jpg) repeat-x 0 0;
}
div#nav {
	width: 925px;
	height: 88px;
	background: url(../images/nav-bkg.jpg) no-repeat 0 0;
	margin-left: auto;
	margin-right: auto;
}
div#nav ul {
	margin: 0;
	padding: 22px 0 0 25px;
	width: 695px;
}
div#nav ul li {
	float: left;
	display: inline;
}
div#nav ul li a {
	display: block;
	background: url(../images/nav.jpg) no-repeat 0 0;
	height: 40px;
	text-indent: -9000px;
}
div#nav ul li#n-home a {
	background-position: 0 0;
	width: 67px;
}
div#nav ul li#n-die a {
	background-position: -67px 0;
	width: 115px;
}
div#nav ul li#n-personen a {
	background-position: -182px 0;
	width: 101px;
}
div#nav ul li#n-info a {
	background-position: -283px 0;
	width: 149px;
}
div#nav ul li#n-inhalte a {
	background-position: -432px 0;
	width: 83px;
}
div#nav ul li#n-archiv a {
	background-position: -515px 0;
	width: 82px;
}
div#nav ul li#n-kontakt a {
	background-position: -597px 0;
	width: 91px;
}

div#nav ul li#n-home a:hover {
	background-position: 0 -49px;	
}
div#nav ul li#n-die a:hover {
	background-position: -67px -49px;	
}
div#nav ul li#n-personen a:hover {
	background-position: -182px -49px;	
}
div#nav ul li#n-info a:hover {
	background-position: -283px -49px;	
}
div#nav ul li#n-inhalte a:hover {
	background-position: -432px -49px;	
}
div#nav ul li#n-archiv a:hover {
	background-position: -515px -49px;	
}
div#nav ul li#n-kontakt a:hover {
	background-position: -597px -49px;	
}

/* Nav Drop Down */
div#nav ul ul {
	padding: 0;
	margin: 0 0 0 10px;
	list-style: none;
	line-height: 1;
	background-color: transparent;
	width: 416px;
}
div#nav ul ul { /* second-level lists */
	position: absolute;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	/*border-bottom: 1px solid #6b6b6b;*/
}
div#nav ul li ul li {
	background-image: none;
	float: left;
	display: block;
	width: 416px;
	clear: both;
}
div#nav ul li ul li a {
	border-top: 1px solid #6b6b6b;
	border-right: 1px solid #6b6b6b;
	border-left: 1px solid #6b6b6b;
	text-align: left;
	line-height: 30px;
	padding: 0 12px;
	margin: 0;
	font-size: 93%;
	display: block;
	font-weight: normal;
	/*white-space: nowrap;*/
	background-image: none!important;
	height: auto;
	width: 182px!important;
	text-indent: 0;
	background-color: #303030;
	float: left;
	display: inline;
}
div#nav ul li ul li a:link, div#nav ul li ul li a:visited {
	color: #fff;
	text-decoration: none;
}
div#nav ul li:hover ul, div#nav ul li.sfhover ul {
	left: auto;
}
div#nav ul li ul a:hover {
	background-color: #A72A16;
}


/* 3rd Level Dropdown */
/*div#nav ul ul ul {
	position: absolute;
	left: -999em!important;
	margin: 0 0 0 204px;
	z-index: 100;
	width: 204px;
}*/
div#nav ul li:hover ul ul, div#nav ul li.sfhover ul ul {
	position: absolute;
	left: -999em!important;
	margin: 0 0 0 208px;
	z-index: 100;
	width: 208px;
}
div#nav ul ul ul li {

}
div#nav ul ul li:hover ul, div#nav ul ul li.sfhover ul {
	left: auto!important;
	float: right;
}
div#nav ul ul ul ul, div#nav ul ul ul ul li {
	/*width: 204px!important;*/
}

/* 4th Level Dropdown */
div#nav ul ul li:hover ul ul {
	position: absolute;
	left: -999em!important;
	margin: 0 0 0 208px;
	z-index: 100;
	width: 208px;
}
div#nav ul ul ul li:hover ul, div#nav ul ul ul li.sfhover ul {
	left: auto!important;
	float: right;
}

/* 5th Level Dropdown */
div#nav ul ul ul li:hover ul ul, div#nav ul ul ul li.sfhover ul ul {
	position: absolute;
	left: -999em!important;
	margin: 0 0 0 208px;
	z-index: 100;
	width: 208px;
}
div#nav ul ul ul ul li:hover ul, div#nav ul ul ul ul li.sfhover ul {
	left: auto!important;
	float: right;
}

/* 6th Level Dropdown */
div#nav ul ul ul ul li:hover ul ul, div#nav ul ul ul ul li.sfhover ul ul {
	position: absolute;
	left: -999em!important;
	margin: 0 0 0 208px;
	z-index: 100;
	width: 208px;
}
div#nav ul ul ul ul ul li:hover ul, div#nav ul ul ul ul ul li.sfhover ul {
	left: auto!important;
	float: right;
}
/* @end */

/* @group Default Headings */
div.content h1 {
	font-size: 175%;
	color: #A72A16;
	padding: 0 0 4px 0;
	margin: 0 0 9px 0;
	font-weight: normal;
}
div.content h1.title {
	border-bottom: 1px solid #c7c7c7;
	font-weight: normal;
}
div.content h1 a:link, div.content h1 a:visited {
	color: #A72A16;
	text-decoration: none;
	font-weight: normal;
}

div.content h2 {
	font-size: 153.9%;
	font-weight: normal;
	color: #414141;
	margin: 0 0 5px 0;
}
div.content h3 {
	font-size: 123.1%;
	font-weight: bold;
	color: #414141;
	margin: 0 0 5px 0;
}
div.content h4 {
	font-size: 108%;
	font-weight: bold;
	color: #414141;
	margin: 0 0 5px;
	padding-top: 10px;
}
div.content h5 {
	font-size: 93%;
	font-weight: bold;
	color: #414141;
	margin: 0 0 5px 0;
}
div.content h6 {
	font-size: 93%;
	font-weight: normal;
	color: #A72A16;
	margin: 0 0 5px 0;
}
/* @end */

/* @group Common Text Styles */
div.content p {
	font-size: 93%;
	color: #404040;
	line-height: 150%;
}
div.content p.posted {
	text-transform: uppercase;
	color: #a5a5a5;
	line-height: 100%;
	margin-top: -1px;
}

div.content p.post-url {
	margin: 0 0 5px 0;
	font-weight: normal;
}
div.content p.post-url a:link, div.content p.post-url a:visited {
	color: #404040;
}

div.content blockquote {
	border: 1px solid #c7c7c7;
	border-left: 4px solid #c7c7c7;
	padding: 10px 15px;
	margin: 0 0 1em 0;
}
div.content blockquote blockquote {
	margin: 0;
}
div.content blockquote p {
	margin: 0;
}

span.morelink {
	color: #404040!important;
	text-decoration: none!important;
}
/* @end */

/* @group Default Lists */
div.content ul {
	margin-left: 15px;
	clear: both;
}
div.content ul li {
font-size: 93%;
	color: #404040;
	line-height: 150%;
	margin: 0 0 10px 0;
	padding: 0 0 0 10px;
	list-style: none;
	background: url(../images/list-arrow.gif) no-repeat 0 5px;
}

* {
	
}
div.content ul li li {
	font-size: 100%;
	margin-bottom: 5px;
}

div.content ol {
	margin-left: 30px;
	clear: both;
	color: #404040;
}
div.content ol li {
	font-size: 93%;
	color: #404040;
	line-height: 150%;
	margin: 0 0 0 0;
	padding: 0 0 0 10px;
}
div.content ol li li {
	font-size: 100%;
}
/* @end */

/* @group Forms */
div#nav form#searchform {
	width: 150px;
	position: absolute;
	margin: 29px 0 0 753px;
}
div#nav form#searchform input#s {
	width: 135px;
	background-color: transparent;
	border: none;
	color: #8b8b8b;
	font-size: 93%;
	font-weight: bold;
}
form#searchform input.results-txt {
	width: 300px!important;
}
form#searchform h3 {
	padding: 11px 0 8px 0;
}
/* @end */

/* @group Default Links - link visited hover active */
div.content a {
	font-weight: bold;
	color: #A72A16;
}
div.content a:link, div.content a:visited {
	color: #A72A16;
	text-decoration: none;
}
div.content a:hover {
	text-decoration: underline;
	cursor: pointer;
}
/* @end */

/* @group Misc */
.clear {
	clear: both;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* @end */
