/*
Theme Name: Max Schmidt
Theme URI:
Author: Jonas Langreuter / WeMakeWebsites
Author URI: http://www.wemakewebsites.de
Description: Theme for Max Schmidt
Version: 1.0
License:
License URI:
Tags:
Text Domain: maxschmidt
Template: twentytwelve
*/


body, html, #page{
	height: 100%;
}

#iewarning{
	display: none;
}

#page{
	padding: 0 40px;
}

.page-content{
	padding-top: 140px;
}

h2{
	font-size: 1.25rem;
}

h3, h4, h5, h6{
	font-size: 1rem;
}

p{
	line-height: 1.3rem;
}

a,
a:visited{
	color: #777;
}

a:hover{
	color: #222;
}

/* Remove dotted outlines on all links (all browsers except IE) */
a:active, a:focus {
outline:0;
}

/* Remove dotted outlines on all links (IE only) */
a:active, a:focus {
outline:expression(hideFocus='true');
}

.logo{
	position: absolute;
	top: 30px;
	left: 50px;
	z-index: 9999;
}

.logomobile{
	width: 90px;
	position: absolute;
	top:3px;
	right: 50px;
}

.backtop{
	position: fixed;
	right: 50px;
	bottom: 30px;
	display: none;
	width: 40px;
	height: 40px;
	background: url("images/backtop.png");
	-webkit-border-radius: 5px;
	border-radius: 5px;
	z-index: 999;
	text-indent: -9999999px;
}

.servicenummer{
	position: fixed;
	right: 40px;
	top: 46px;
	background: rgba(255,255,255,0.9);
	padding: 10px;
	font-size: 18px;
	-webkit-border-radius: 0 0 0 5px;
	border-radius: 0 0 0 5px;
}

.servicenummer span{
	background: url("images/phone.png") no-repeat;
	padding-left: 28px;
}

#mobilenav{
	position: fixed;
	top:0;
	left: 0;
	width: 100%;
	z-index: 9999;
	background: #fff;
}

#mobilenav span{
	display: block;
	margin: 6px 20px;
	text-indent: -999rem;
	height: 40px;
	width: 40px;
	background: url("images/mobnav_icon.png") no-repeat;
	cursor: pointer;
}

#mobilenav ul{
	list-style-type: none;
	display: none;
}

#mobilenav li{
	width: 100%;
	text-align: center;
}


#mobilenav li a{
	font-size: 1.3rem;
	color: #bbb;
}

#mobilenav li.current a{
	color: #777;
}

#masthead{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
}

[data-magellan-expedition],
[data-magellan-expedition-clone]{
	background: #fff;
}

[data-magellan-expedition-clone] a.logo{
	display: none !important;
}

#masthead #nav{
	list-style-type: none;
	margin: 0 auto;
    overflow: hidden;
    display: table;
}

#masthead #nav li{
	float: left;
}

#masthead #nav li a{
	padding: 0 25px;
	font-size: 1.1rem;
	color: #bbb;
}

#masthead #nav li a:hover,
#masthead #nav li.current a{
	color: #777;
}

.elementblock{
	padding: 80px 0;
}

.blockueberschrift{
	display: block;
	text-align: center;
	text-transform: uppercase;
}

.blockueberschrift_unter{
	border-top: 1px solid #222;
	width: 100px;
	margin: 0 auto 10px;
}

.blockueberschrift_unter.white{
	border-color: #fff;
}

/* alle bloecke */

.medium-8{
	padding-bottom: 40px;
}

/* start */

#start{
	height: 95%;
	width: 100%;
}

.overstart{
	margin: 0 auto;
	padding-top: 18%;
	display: block;
}

.infobox {
	width: 300px;
	display: block;
	padding: .75rem;
	float: right;
}

/* unternehmen, kontakt */

#qualitaet a { color: white; text-decoration: underline;}

#unternehmen .columns,
#leistungen .columns,
#qualitaet .columns,
#kontakt .columns{
	text-align: center;
}

#leistungen .columns,
#qualitaet .columns{
	color: #fff;
}

#unternehmen li,
#kontakt li{
	background: url("images/trenner.png") no-repeat right top;
	min-height: 200px;
	padding-left: 30px;
	padding-right: 30px;
}

#unternehmen li:last-child,
#kontakt li:last-child{
	background: none;
}

#unternehmen .innerli,
#kontakt .innerli{
	text-align: center;
}

#unternehmen h2,
#kontakt h2{
	text-transform: uppercase;
}

#unternehmen p,
#kontakt p{
	font-size: 0.9rem;
}


/* leistungen, qualitaet */

#leistungen .blockueberschrift,
#qualitaet .blockueberschrift{
	color: #fff;
}

#leistungen .row{
	padding: 0 15px;
}

#leistungen .leistungentext{
	padding: 15px;
	min-height: 160px;
	text-align: center;
	color: #fff;
	position: relative;
}

#leistungen .leistungentext .leistungenbild{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	cursor: pointer;
}

#leistungen .einzelleistungen h2,
#leistungen .leistungentext a{
	color: #fff;
}

#leistungen .einzelleistungen h2{
	text-align: center;
}

#leistungen .llink{
	position: relative;
	z-index: 0;
}

#qualitaet .icon{
	width: 168px;
	margin: 0 auto;
	display: block;
}

#qualitaet .innerli{
	background: url("images/trenner-white.png") no-repeat right top;
	min-height: 200px;
	padding-left: 30px;
	padding-right: 30px;
	color: #fff;
	text-align: center;
}

#qualitaet li:last-child .innerli{
	background: none;
}

#qualitaet h2{
	text-transform: uppercase;
	color: #fff;
}

#qualitaet p{
	font-size: 0.9rem;
}


/* standorte */

#standorte .tabs{
	display: table;
	margin: 0 auto;
}

#standorte .tabs dd > a{
	background-color: #fff;
	text-transform: uppercase;
}

#standorte .tabs dd.active > a{
	text-decoration: underline;
}

/* kontakt */

#kontakt p{
	text-align: center;
	margin-bottom: 0;
}

.footerinfo{
	text-align: center;
	padding-bottom: 30px;
	display: block;
	color: #777;
	font-size: 14px;
}

/* downloads */

#download{
	background: #fcfcfc;
}

#download h2{
	text-transform: uppercase;
	text-align: center;
}

#download img{
	max-width: 313px;
	display: block;
	margin: 0 auto;
}



/* Images */
#main .alignleft {
	float: left;
}
#main .alignright {
	float: right;
}
#main .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#main img.alignleft {
	margin: 0.5rem 1.5rem 0.5rem 0;
}
#main img.alignright {
	margin: 0.5rem 0 0.5rem 1.5rem;
}
#main img.aligncenter {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

/* impressum + error404 */

body.page-id-71 #main,
body.error404 #main{
	max-width: 900px;
	margin: 0 auto;
}

body.error404 #content{
	padding-top: 120px;
}

.error404{
	text-align: center;
}
/* cookie */

#cn-notice-text a{
	text-decoration: underline;
}

#cn-notice-text a:hover{
	color: inherit;
}

/* media queries */

@media only screen and (max-width: 1024px) {

	#unternehmen li:nth-child(2),
	#qualitaet li:nth-child(2) .innerli{
		background: none;
	}

	.overstart{
	padding-top: 28%;
	}
}

@media only screen and (max-width: 640px) {
	.infobox {
		width: 200px;
	}

	#page{
		padding: 0 15px;
	}

	.backtop{
		right: 20px;
		bottom: 15px;
	}

	#unternehmen li,
	#kontakt li,
	#qualitaet .innerli{
		background: none;
	}

	#qualitaet .innerli{
		min-height: inherit;
	}

}

@media only screen and (max-width: 460px) {
	.tabs dd, .tabs .tab-title {
    float: none;
    }
}
