/* Stylesheet for ap-bauunternehmen.de
File: screen.css
Date: 2011-09-01
Author: Sergei Penner

Structure:	1. Calibration
			2. Overall styles
			3. Layout styles
			4. Other styles
*/

/*	========================================
	1. Calibration
	========================================
*/

* { margin: 0; padding: 0; }

/* Abstand nach unten */
h2, h3, p, ul, ol, hr  { margin-bottom: 1em; }

h4 { margin-bottom: 0.5em; }

/* Abstand von links */
li  { margin-left: 1em; }

/*	========================================
	2. Overall styles
	========================================
*/

html, body { 
	background-color: #f0f0f0;
	/* background-image: -moz-linear-gradient(#cdaa7d, #eec591); /* Firefox */
	/* background-image: -webkit-linear-gradient(#cdaa7d, #eec591); /* Webkit */
	/* background-repeat: no-repeat; */
	color: black;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	height: 100%;	/* WICHTIG!!! STRECKT ANZEIGENBEREICH AUF 100% */
	}
	
header {
	position: relative;
	background-color: white;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	color: black;
	font-size: 15px;
	padding: 15px;
	}
	
nav {
	/*margin: 1em;
	margin-top: 10px;
	text-align: center;*/
	background-color: white;
	border-bottom: 1px solid #8c8c8c;
	padding: 5px 20px 4px 5px;
	text-align: left;
	}
	
	nav a {
		background-color: #f2c435;
		border: 1px solid #8c8c8c;
		padding: 4px 8px;
		}
		
	nav a:hover,
	nav a:focus {
		background-color: #f0f0f0;
		color: black;
		}
	
	nav li { 
		display: inline;
		margin: 0;
		}
		
	nav li.tab-active a {
		background-color: #f0f0f0;
		border-bottom-color: #f0f0f0;
		color: black;
		}
		
	nav ul { 
		list-style-type: none;
		margin-bottom: 0;
		}

h1 { font-size: 150%; }
h2 { font-size: 130%; }
h3 { 
	font-size: 110%;
	margin: 0 0 1em 0;
	}
	
address {
	font-size: 80%;
	font-style: normal;
	letter-spacing: 2px;
	line-height: 1.5;
	padding: 10px;
	text-align: center;
	}
	
a { 
	text-decoration: none;
	outline: none;
	}

a:hover,
a:focus { border-bottom: 2px solid #ebebeb; }

a:active {
	background-color: #8c8c8c;
	color:white;
	}
		
footer {
	clear: left;
	background-color: white;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border: 0;
	border-top: 1px solid;
	border-style: groove;
	margin: 0;
	padding-top: 10px;
	
	}
	
	
/*	========================================
	3. Layout styles
	========================================
*/

#wrapper {
	background-color: #f0f0f0;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	color: black;
	margin: 20px auto;
	width: 66%; /* feste Breite definieren */
		
	/* do not change following style order */
	min-height: 100%; /* Mindesthöhe für moderne Browser */
	height:auto !important; /* Important Regel für moderne Browser */ 
	height:100%; /* Mindesthöhe für den IE */ 
	overflow: hidden !important; /* FF Scroll-leiste */
	/* ----- */
	}

	img#logo { display: block; }
	#slogan {
		bottom: 0px;
		left: 150px;
		margin-bottom: 0;
		padding: 0 5px;
		position: absolute;
		}
		
	#textarea {
		border: 0px;
		border-left: 1px solid #8c8c8c;
		border-right: 1px solid #8c8c8c;
		border-bottom: 1px solid #8c8c8c;
		padding: 10px;
		text-align: justify;
		}
		
		#textarea a{ 
			border-bottom: 1px dotted #cc0000;
			color: black;
			}
			
		#textarea a:hover,
		#textarea a:focus {
			border-bottom: 1px solid #d90000;
			}
			
		#textarea ul {
			list-style-type: square;
			margin-top: 1em;
			margin-left: 1em;
			}

	p#version {
		margin-bottom: 0;
		margin-right: 10px;
		text-align: right;
		}
		
.galery {
	float: left;
	background-color: #f0f0f0;
	border: 3px solid #F2C435;
	border-radius: 5px;
	width: 150px;
	margin: 10px 5px 0 auto;
	padding: 10px;
	text-align: center;
	}
	
	#gallery {
		border: 0px;
		border-left: 1px solid #8c8c8c;
		border-right: 1px solid #8c8c8c;
		border-bottom: 1px solid #8c8c8c;
		padding: 10px;
		text-align: justify;
		}
	
	
	/*div.galery img {
		float: left;
		margin-right: 35px;
		}*/
		
		
/*	========================================
	4. Other styles
	========================================
*/

form {
	background-color: #d9d9d9;
	border: 1px solid #8c8c8c;
	padding: 20px;
	width: 370px;	/* Breite des Formulars */
	}
	
	label { /* Beschriftung auf eigener Zeile */
		display: block;
		cursor: pointer;	/* Mauszeiger wird zur Hand */
		}
		
	input#name,
	input#mail,
	input#phone,
	textarea {
		border: 1px solid #8c8c8c;
		margin-bottom: 1em;
		width: 350px;
		}
		
	textarea { height: 7em; }
		
/*	END OF STYLESHEET	*/
