/**
* Main CSS for drei-celix.de
* Author: Matthias Koch
* uri: http://www.finalnet.de/
* Last modified: 30.04.2008
*/

@import "reset.css";
@import "defaults.css"; 
@import "custom.css"; 

body {
	background: #fff;
	border: 0; /* takes the border of viewport in older IE away */
	color: #131313;
	font-family: 'Trebuchet MS', Arial, sans-serif;
	font-size: 93%;
	line-height: 127%;
	margin: 0;
	min-width: 600px;  /* does not work in old versions of IE */
    padding: 0;
    width: 100%;
}

/* Header and Logo */
#header {
    background-color: #0b0e2d;
	color: #d1d0d0;
	height: 100px;
	margin-top: 0;
    padding-top: 0;
	position: fixed; 
	top:0; left:0; right:0;
	width: 100%;
	z-index: 23;
}
#header h1 {
	font-size: 40px;
	font-weight: normal;
	letter-spacing: -1px;
	line-height: 100px;
	margin: 0;
	padding-right: 1.5%;
	position: absolute;
	top:0; right:0; left:250px;
	text-align: right;
	/* text-transform: lowercase; */
}
#header img {
	border: 0;
	margin: 0;
	padding-left: 2%;
}
#header a img, #header a:hover img {
	text-decoration: none;
	background-color: inherit;
	color: inherit;
}

/* General */
strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

p {
    margin:.4em 0 .8em 0;
    padding:0;
	text-align: justify;
}
img {
	margin:0;
}

#inner {
	background: url(../img/layout/top_bg.gif) 0px 100px repeat-x;
	padding-top: 100px; /* yes, the height of the logo img */
	padding-bottom: 2.5em;
	padding-left: 0;
}

/* Headings */
#inner h1, #inner h2, #inner h3, #inner legend {
	background-color: inherit;
	color: #1e3884;
	font-weight: normal;
	letter-spacing: -1px;
	margin: .8em 0 .2em 0; 
    padding: 0;
}
#inner h1 {
	font-size: 2em;
	padding-bottom: 0.25em;	
	line-height: 0.85;
}
#inner h2, #inner legend {
	font-size: 1.5em;
	padding-top: 0.5em;
}
#inner h3 {
	font-size: 1.15em;
	padding-top: 0.4em;
}
/* column container */
.colmask {
	position: relative;		/* This fixes the IE7 overflow hidden bug */
    clear: both;
    float: left;
    width: 100%;			/* width of whole page */
	overflow: hidden;	/* This chops off any overhanging divs */
}
/* common column settings */
.colright, .colleft {
	float: left;
	width: 100%;
	position: relative;
}
.col1, .col2 {
	float: left;
	position:relative;
	padding:0 0 1em 0;
	overflow:hidden;
}

/* 2 Column (left menu) settings */
.leftmenu {	
	background-color: #fff;  /* right column background colour */
}

.leftmenu .colleft {
	right:75%;				/* right column width */
	background: #dbdbdb url(../img/layout/content-right_bg.gif) right top repeat-y;		/* left column background colour */
	top: 5px;
}

.colmask {
	background: url(../img/layout/vert-line_bg.gif) top right repeat-y;
}

.leftmenu .colleft {
	padding-bottom: 55%;  /* stretch column if content-height is too small */
}

.col1 {
	padding-bottom: 5em;   /* height of #footer x2 */
}

.leftmenu .col1 {
	width:71%;				/* right column content width */
	left:102%;				/* 100% plus left column left padding */
}
.leftmenu .col2 {
	width:21%;				/* left column content width (column width minus left and right padding) */
	left:6%;				/* (right column left and right padding) plus (left column left padding) */
}

/* Sidebar Navigation */

#menu {
	font-size: 1.24em;
	line-height: 1.36em;
	margin: .9em 0 .2em 0; 
	text-align: right;
	width: 100%;
}
#menu ul {
	list-style-type: none;
	padding: 0;
	margin: 0; 
}
#menu ul li {
	margin-bottom: 0.75em;
	width: 100%;
}
#menu ul li a {
	background-color: #5b5b5b;
	color: #fff;
	display: block;
	padding: 0.05em 0.36em 0.05em 0;
	text-decoration: none;
	/* text-transform: lowercase; */
}
#menu ul li.active a {
	background-color: #3366cc;
	color: #f2f2f2;
}
#menu ul li ul {
	font-size: .83em;
	line-height: 1em;
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}
#menu ul li ul li {
	margin-bottom: 0.25em;
}
#menu ul li ul li a, #menu ul li.active ul li a {
	background-color: transparent;
	color: #0b0e2d;
	/*font-weight: 600;*/
	padding: 0.1em 0.36em 0.26em 0;
	border-right: 1px solid #d0d0d0;
	border-bottom: 1px solid #d0d0d0;
}
#menu ul li.active ul li.active a {
	font-weight: 600;
	letter-spacing: -0.36px;
}

/* Footer styles */
#footer {
    background: #0b0e2d url(../img/layout/footer_bg.gif) left top repeat-x;
	clear: both;
	color: #d1d0d0;
    height: 2.5em;
	margin: 0 0 0 -1pt;
	position: fixed;
	bottom:0; left:25%; right:0;
	width: 75%; /* for IE */
	padding: 0;
	text-transform: lowercase;
}
#footer .upper {    /* class for the Fuckin' Asked Questions */
	text-transform: uppercase;
}
#footer ul, #footer ul#fle {
  	float: left;
	list-style-type: none;
	margin-left: 0.5em;
  	padding-top: 0.9em; /* font-size of #footer li */
	padding-left: 0;
}
#footer ul#fri {
  	margin-right: 0.5em;
  	float: right;
}
#footer li {
  	float: left;
	font-size: 0.9em;
	line-height: 0.9em;
  	padding: 2px 2px 0px 2px;
	margin: 0;
}
#footer li a:link, #footer li a:visited {
	background-color: #0b0e2d;
	color: #d1d0d0;
	text-decoration: none;
}

