/*
Theme Name: Leyer GmbH Child
Theme URI:
Description: Leyer GmbH Child Theme
Author: Peter Stocker
Author URI:
Template: twentythirteen
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Leyer GmbH Child Theme
*/


/*You can start adding your own styles here. Use !important to overwrite styles if needed. */
html, body, h1, h2, h3, h4, h5, h6, input, textarea{
	font-family: "Source Sans Pro", Helvetica, sans-serif; !important;
}

/* Hintergrundbild*/
body{
	background-image: url("/wp-content/uploads/2015/12/Hintergrund_Bild_tranz.jpg");
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.site{
	background: rgba(255, 255, 255, 0.7); !important;
	box-shadow: 10px 20px 30px grey;
	border: 1px solid #000;
}
.site-title, .site-description{
	display: none;
}

.home-link{
	background: url("/wp-content/themes/leyergmbh/img/Leyer_GmbH_Logo.png") no-repeat left 20px top 50px;
}

.main-navigation {
	max-width:1280px;
}

.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
	margin: 0 auto;
	max-width: 100%; 
	width: 100%;
}

.contactForm, .contactDetails{
	display: inline-block;
	float: left;
	width: 40%;
}

.contactForm input[type='text'], .contactForm input[type='email'], .contactForm textarea{
	width: 100%; !important;
}

.navbar, .site-footer{
	background-color: #8197D4 !important;
}

.nav-menu li a {
	font-size:18px;
}


.site-footer{
	overflow: auto;
}

.site-info {
	margin: 0;
	padding: 30px;
	text-align: left;
	color: #FFF;
	border: 1px solid back;
	max-width: none;
	text-align: center;
}
.site-info > span{
	padding: 0 10px;
	display: inline-block;
	line-height: 0.5em;
	height: 1em;
	vertical-align: middle;
}

.site-title, 
.site-description{
	color: #FFF;
}
.site-header .site-title:hover{
	color: #FFF !important;
	text-decoration: none !important;
}

.entry-title{
	text-align: center;
	margin-bottom: 2%;
}

.threeLayerBox{
	width: 100%;
	display: block;
	/*float: left;*/
}
.threeLayerBox > div{
	float: left;
	margin: 0 1%;
	padding: 0;
	width: 31%;
}
.threeLayerBox > div > a,
.threeLayerBox > div > a:hover,
.threeLayerBox > div > a:active {
	color: #000;
	text-decoration: none;
}
.threeLayerBox > div > a > h2{
	position: absolute;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	background: rgba(255, 255, 255, 0.7);
	margin: 5px 0 0 0;
	text-align: center;
	line-height: 2.0em;
	width: 28%;
}

.floatLeftContent{
	float: left;
}
.floatLeftContent > div{
	float: left;
}

.imgWithHeadline{
	position: relative;
	padding: 0;
	margin: 1%;
	width: 31%;
}
.imgWithHeadline img{
	position: relative;
	padding: 0;
	margin: 0;
	width: 100%;
	display: block;
	height: auto;
}
.imgWithHeadline a{
	margin: 0;
	padding: 0;
	color: #000;
}
.imgWithHeadline a:hover{
	color: #000;
}
.imgWithHeadline span {
	position: absolute;
	top: 0;
	padding: 0;
	margin: 0;
	background-color: rgba(255,255,255,0.7);
	text-align: center;
	font-weight: bold;
	font-size: 2em;
	line-height: 2em;
	width: 100%;
}




.headlineNormalize{
	font-size: 1.0em;
	font-weight: bold;
}

.textBold{
	font-size: 1em;
	font-weight: bold;
}

.textJustify{
	text-align: justify; 
}

.image-float-left-margin-right{
	float: left;
	margin: 0 2% 1% 0 !important;
}

.entry-content {
	padding: 0 5%;
}
.entry-content img.alignright{
	margin-right: 0;
}
.entry-content img.alignleft{
	margin-left: 0;
}

.imgListRigth400{
	width: 400px;
	float: right;
}

.floatBox{
	float:left;
	border: 1px solid #8C8C84;
	min-height: 500px;
	height: auto;
	width: 699px;
	margin: 10px 10px 0 0;
	padding: 0 10px;
}
.floatBox > p{
	display: inline-block;
}

.twoFloatBox{
	float:left;
	border: 1px solid #8C8C84;
	min-height: 500px;
	height: auto;
	width: 49%;
	margin: 10px 10px 0 0;
	padding: 0 10px;
}
.twoFloatBox > p{
	display: inline-block;
}

/* Start der Media Querys */
@media (max-width: 1599px) {
	.twoFloatBox{
		height: 700px;
	}
}

@media (max-width: 1069px) {
	.twoFloatBox{
		height: auto;
		float: none;
		width: 100%;
	}
}

@media (max-width: 999px) {
	.threeLayerBox > div > a > h2{
		line-height: 1.5em;
		font-size: 1.5em;
	}

	.imgWithHeadline span {
		font-size: 1.5em;
	}	
}

@media (max-width: 767px) {
	body{
		background: none;
	}
	.site{
		background: #FFF; !important;
			background: rgba(255, 255, 255, 1.0); !important;
	}
	
	.threeLayerBox > div > a > h2{
		line-height: 1.3em;
		font-size: 1.3em;
	}
	
	.floatLeftContent{
		float: none;
		display: block;
	}
	.floatLeftContent > div{
		float: none;
	}
	.imgWithHeadline span {
		font-size: 1.5em;
	}
	
	.imgWithHeadline {
		width: 100%;
	}	
}

@media (max-width: 643px) {
	.threeLayerBox > div > a > h2{
		width: 100%;
		padding: 10px 0;
	}
	
	.threeLayerBox{
		float: none;
	}
	.threeLayerBox > div{
		float: none;
		width: 100%;
	}
	
	.imgWithHeadline {
		width: 100%;
	}		
}

@media (max-width: 359px) {
	

}