/* ######################################################################################################
** # "Yet Another XHTML Layout" - Multicolumn Template Scheme for TYPO3
** # @author: Torsten Schrade <t.schrade@connecta.ag> (http://www.connecta.ag/)
** #
** # CSS techiques and XHTML used for this template scheme are based on and inspired by:
** # "Yet Another Multicolumn Layout (c) by Dirk Jesse (http://www.highresolution.info/webdesign/yaml/)
** ######################################################################################################
**
** base.css : this simply prepares the page and makes things equal for most browsers
**
** Don't make any changes to this file. Any changes should be placed in your own stylesheets in the
** fileadmin folder.
**
** property order:
** ################
** display
** visibility
** list-style-type
** position
** top/right/bottom/left
** z-index
** float
** clear
** (min-)width
** (max-)height
** overflow
** margin
** border
** padding
** color
** background
** font
** font-family
** font-size
** font-style
** font-variant
** line-height
** letter-spacing
** text-align
** vertical-align
** text-decoration
** white-space
** other text styles (e.g. text-indent)
** cursor
** content

** table of contents
** #################
** basic elements
**	- html / body
**	- container
**	- header
**	- main
**	- columns
**	- footer
**  - specials
*/

/*####################### BASICS ############################*/

* {
	margin: 0;
	border: none;	
	padding: 0;
	/*font-size: 100%;*/	
}

/* Anpassung für Safari Browser. font-size:100% ist für den Safari in Formularen zu groß 
select, input, textarea { 
	font-size: 99%
}
 */
 
html {
	height: 100%
}

body {
	position: relative;
	min-height: 101%; /*zwingt Firefox zu einem vertikalen Scrollbalkens damit zentrierte Seiten bei mehr Inhalt nicht springen*/	
	padding: 10px;
	color: #000;
	background: #fff;
	/*font-size: 100.01%; Browserbug in Opera 6 und älteren Safari-Versionen, die sonst zu kleine Schriftgrößen errechnen*/  	
	text-align: left;
}

/* BASICS */

#container {
	width: 950px;
	margin: auto;	
}

#page {
	background: #fff;
}

#header {
	position: relative; 
	height: 140px;
}

#main {
	clear: both;	
	z-index: 10;
	padding: 1em 0;	
	width: 100%;
}

/* COLUMNWRAPPER */

#content-01-wrap,
#content-02-wrap,
#content-03-wrap {
	position: relative;
}

#content-01-wrap {
	float: left;
	z-index: 3;
}

#content-02-wrap {
	float: right;
	z-index: 5;
}

#content-03-wrap {
	width: auto;
	z-index: 1;
}

/* COLUMNS */

#content-01,
#content-02,
#content-03 {
	position: relative;
}

#content-01 {
	z-index: 4;
}

#content-02 {
	z-index: 6;
}

#content-03 {
	z-index: 2;
}

/* LEFT COLUMN */

#content-01-wrap {
	width: 22.5%;
}	

#content-01 {
	padding-top: 1.5em;
	margin-left: 1em;
	margin-right: 1em;
}

/* RIGHT COLUMN */

#content-02-wrap {
	width: 25%;
}

#content-02 {
	padding-top: 1.5em;
	margin-left: 1em;
	margin-right: 1em;
}

/* CENTER COLUMN */

#content-03-wrap {
  	margin-left: 22.5%;
   	margin-right: 25%;
}

#content-03 {
	padding-top: 1.5em; 
	margin-left: 1em; 
	margin-right: 1em; 
}

/* FOOTER */

#footer {
	clear: both;
	width: auto;
	margin: 0; 
	padding: 1em 0 0 0; 
	line-height: 2em;	
}

/*####################### CLEARING ############################*/

/* clearfix method - clear floats without additional markup for all FF/Moz/Op*/
.clearfix:after {
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
	content: ".";
}

/* this is needed for clearing in Safari */
.clearfix {
	display: block;
}

/* global clear for the three columns using <hr> */
hr.clear {
	display: block;
	float: left;
	clear: both;
	height: 0px;
	visibility: hidden;
	margin: -2em 0 0 0;
	padding: 0;
	line-height: 0px;
	content: ".";
}