/* BEGIN Light */
@font-face {
    font-family: 'Open Sans Light';
    src: url("../fonts/OpenSans-Light.eot?v=1.1.0");
    src: url("../fonts/OpenSans-Light.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("../fonts/OpenSans-Light.woff2?v=1.1.0") format("woff2"), url("../fonts/Light/OpenSans-Light.woff?v=1.1.0") format("woff"), url("../fonts/OpenSans-Light.ttf?v=1.1.0") format("truetype"), url("../fonts/OpenSans-Light.svg?v=1.1.0#Light") format("svg");
    font-weight: 300;
    font-style: normal; }
/* END Light */
@font-face {
    font-family: 'Open Sans Regular';
    src: url("../fonts/OpenSans-Regular.eot?v=1.1.0");
    src: url("../fonts/OpenSans-Regular.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("../fonts/OpenSans-Regular.woff2?v=1.1.0") format("woff2"), url("../fonts/OpenSans-Regular.woff?v=1.1.0") format("woff"), url("../fonts/OpenSans-Regular.ttf?v=1.1.0") format("truetype"), url("../fonts/OpenSans-Regular.svg?v=1.1.0#Regular") format("svg");
    font-weight: normal;
    font-style: normal; }
/* END Regular */
@font-face {
    font-family: 'Open Sans Semibold';
    src: url("../fonts/OpenSans-Semibold.eot?v=1.1.0");
    src: url("../fonts/OpenSans-Semibold.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("../fonts/OpenSans-Semibold.woff2?v=1.1.0") format("woff2"), url("../fonts/OpenSans-Semibold.woff?v=1.1.0") format("woff"), url("../fonts/OpenSans-Semibold.ttf?v=1.1.0") format("truetype"), url("../fonts/OpenSans-Semibold.svg?v=1.1.0#Semibold") format("svg");
    font-weight: 600;
    font-style: normal; }
/* END Semibold */
*{
    margin:0; padding:0;
}
html, body{
    height: 100%;
	
}
body{
    font-family: 'Open Sans Light';
    font-size: 87.5%;
    color:#000;
}
h1{
    color:#FABB00;
    font-family: 'Open Sans Semibold';
    font-size:200%;
    text-align:center;
}

a{
    text-decoration:none;
}
img{
	border:none;
}
.content h2{
    font-size:187.50%;
    padding-top:150px;
    margin:0 0 35px 0;
}
.content h2.nopadding{
	padding-top:20px;
}
.content h3{
    font-size:112.5%;
    font-family: 'Open Sans Semibold';
    margin-bottom:30px;
}
#language{
    width:50px;
    margin:auto;
}
.lang{
    background:url('../img/language_transpi.png');
    border-radius:25px;
    height: 43px;
    padding: 7px 0 0 8px;
    width: 42px;
    margin-bottom:4px;
}
.lang a{
    color:#000;
    font-family: 'Open Sans Semibold';
    font-size:187.50%;
}
/* topmenu */
#mainnav{
    height:50px;
    margin:56px 0 0 42px;
    border-bottom:1px dotted #B3B3B3;
    width:683px;
}
nav.fixed{
    position:fixed;
    top:0;
}
nav{
    -webkit-width:calc(100% - 345px);
    -moz-width:calc(100% - 345px);
    -o-width:calc(100% - 345px);
    -ms-width:calc(100% - 345px);
    width:calc(100% - 345px);
    position:absolute;
    right:0;
    background:#FFF;
    padding-bottom:15px;
}
nav li{
    list-style:none;
    display:inline-block;
    margin-right:30px;
}
nav li:nth-child(4){
    margin-right:107px;
}
nav li.small a{
    font-size:68.75%;
    color:#999;
    padding:0 5px;
    height:11px;
}
nav li.small .verbar{
    color: #999;
    font-size: 75%;
    position: relative;
    top: -1px;
}
nav li.small:last-child a{
    border:none;
}
nav li.small{
    margin:0;
}
nav a{
    color:#000;
    font-size:125%;
    padding:13px 0;
    text-transform:lowercase;
}
nav li:first-child a:focus, nav li:first-child a:hover{
    border-top:4px solid #fbba00 !important;
}
nav li:nth-child(2) a:focus, nav li:nth-child(2) a:hover{
    border-top:4px solid #ee7f01 !important;
}
nav li:nth-child(3) a:focus, nav li:nth-child(3) a:hover{
    border-top:4px solid #bd0926 !important;
}
nav li:nth-child(4) a:focus, nav li:nth-child(4) a:hover{
    border-top:4px solid #911655 !important;
}

#pull{
    display:none;
}
/* sections */
.section{
    min-height:100%;
    display:table-row;
}
/* intro */
#intro{
    background:url('../img/intro_bg_big.jpg') no-repeat;
    background-size:cover;
    background-position:center center;
    min-height:100%;
}
#intro_wrapper{
    width:420px;
    margin:auto;
    padding-bottom:50px;
}
#intro p{
    margin:5px 0 30px 0;
    font-family: 'Open Sans Regular';
    font-size:111%;
    color:#FFF;
    text-align:center;
}
.sidebar_wrapper{
    min-height:100%;
}
#main-logo{
    width:227px;
    margin:auto;
    padding:50px 0 20px 0;
}
#about .content img{
    margin-top:132px;
}
#about .content h2{
    margin-top:0;
    padding-top:45px;
}
#contact,#contactnav, #certifi, #certifinav{
    display:none;
}
.lang:hover{
    background:#8b8f8a;
}
.lang:hover .lang_change{
    color:#FFF;
    opacity:0.7;
}
.small a:hover{
    color:#000;
    font-weight:600;
}
/* menu hover active*/
nav #mainnav li:first-child a.active{
    border-top:4px solid #fbba00 !important;
}
nav #mainnav li:nth-child(2) a.active{
    border-top:4px solid #ee7f01 !important;
}
nav #mainnav li:nth-child(3) a.active{
    border-top:4px solid #bd0926 !important;
}
nav #mainnav li:nth-child(4) a.active{
    border-top:4px solid #911655 !important;
}
nav #mainnav li:nth-child(5) a.active, nav #mainnav li:nth-child(6) a.active,nav #mainnav li:nth-child(7) a.active{
    color:#000 !important;
    font-weight:600;
}
/*sidebar*/
.sidebar{
    width:345px;
    display:table-cell;
    vertical-align:top;
    background:url('../img/sidebar_transpi.png');
}

.sidebar_logo{
    width:345px;
    height:242px;
    padding:68px 0 0;

}
.sidebar_logo a{
    display:block;
    width:142px;
    margin:auto;
}
.sidebar_logo{
    background:url('../img/sidebar_grey_trans.jpg');
    background-size:cover;
    background-position:center bottom;
}

.sidebar_content{
    padding:45px 0 50px 30px;
}
.sidebar_content h2{
    margin:0 0 25px 0;
    font-family: 'Open Sans Regular';
    font-size:175%;
    font-weight:normal;
}
.sidebar_content h3, .sidebar_content h4{
    margin:0 0 25px 0;
    font-size:93.75%;
    font-family: 'Open Sans Regular';
    letter-spacing:1px;
    color:#666666;
    font-weight:normal;
    clear:both;
}
.sidebar_content h4{
    margin:0 0 5px 0;
    font-size:75%;
}
.sidebar_content .adress{
    font-family: 'Open Sans Regular';
    font-size:75%;
    letter-spacing:1px;
}
.sidebar_content .certification{
    font-family: 'Open Sans Regular';
    font-size:75%;
    letter-spacing:1px;
    margin-bottom:5px;
    width:80%;
    line-height:130%;
    color:#666;
}
.sidebar .email{
    float:left;
    margin:10px 5px 20px 0;
    width:35px;
    height:35px;
    border-radius:20px;
}

.sidebar .linkedin{
    float:left;
    margin:10px 0 20px;
}
.content{
    min-height:100%;
    width:683px;
    //float:left;
    padding:0 0 0 30px;
    display:table-cell;
}
.shadow{
    background: rgba(0, 0, 0, 0) url("../img/shadow.png") repeat-y scroll 0 0;
    left: -11px;
    display:table-cell;
    width: 12px;
    position:relative;
    min-height:100%;
}
.content p{
    margin-bottom:25px;
}
.content p.strong{
    font-weight:bold;
}
#totop{
    position:fixed;
    bottom:10px;
    left:310px;
    cursor:pointer;
    background:url('../img/pfeil.png') no-repeat;
    width:17px;
    height:35px;
}
#logo_mobil{
    display:none;
}
@media screen and (min-width: 1400px) {
    .sidebar_content{
        padding:45px 0 50px 90px;  
    }
    .sidebar_logo{
        width:400px;
    } 
    .content{
        padding:0 0 0 78px;
    }
    #totop{
        left:360px;
    }
    nav{
        width:calc(100% - 400px);
    }
    #mainnav{
        margin:56px 0 0 90px;
    }
}
@media screen and (min-width: 1120px) {
    nav ul{
        display:block !important;
    }
}
@media screen and (max-width: 1120px) {
	/* Kontaktseite auf mobile einblenden*/
	#contact,#contactnav, #certifi, #certifinav{
		display:block;
	}		
	.backstretch img{
		top:0 !important;
		height:100% !important;
		width:43px !important;
	}
    .sidebar{
        width:28px;
        background-color:none !important;
		opacity:0 !important;
		
    }
    .sidebar_logo, .sidebar_content, .sidebar_wrapper{
        display:none !important;
    }
    #pull{
        display:inline-block;
        width:35px;
        float:right;
        right:20px;
        margin:53px 30px;
        background:url('../img/menu_mobile.png') no-repeat;
    }
    #logo_mobil{
        display:inline-block;
        width:100px;
        margin:0 20px;
    }
    #logo_mobil img{
        width:80px;
    }
    #mainnav{
        display:none;
        border-bottom:none;
        height: auto;
        margin: 0;
        width: 100%;
    }
    nav{
        -webkit-width:calc(100% - 40px);
        -moz-width:calc(100% - 40px);
        -o-width:calc(100% - 40px);
        -ms-width:calc(100% - 40px);
        width:calc(100% - 40px);
        padding:0;
    }
    nav li{
        text-align:center;
        display: block;
        list-style: outside none none;
        margin: 0;
        border-top:1px dotted #B3B3B3;

    }
	
	nav li:first-child a:focus, nav li:first-child a:hover, nav #mainnav li:first-child a.active{
		border-top:none !important;
		color:#fbba00;
		font-family: 'Open Sans Semibold';
		
	}
	nav li:nth-child(2) a:focus, nav li:nth-child(2) a:hover, nav #mainnav li:nth-child(2) a.active{
		border-top:none !important;
		color:#ee7f01;
		font-family: 'Open Sans Semibold';
	}
	nav li:nth-child(3) a:focus, nav li:nth-child(3) a:hover, nav #mainnav li:nth-child(3) a.active{
		border-top:none !important;
		color:#bd0926;
		font-family: 'Open Sans Semibold';
	}
	nav li:nth-child(4) a:focus, nav li:nth-child(4) a:hover, nav #mainnav li:nth-child(4) a.active{
		border-top:none !important;
		color:#911655;
		font-family: 'Open Sans Semibold';
	}
	nav li:nth-child(4) a:focus, nav li:nth-child(5) a:hover, nav #mainnav li:nth-child(5) a.active{
		color:#c6c6c6 !important;
		font-family: 'Open Sans Semibold';
	}
	nav li:nth-child(4) a:focus, nav li:nth-child(6) a:hover, nav #mainnav li:nth-child(6) a.active{
		border-top:none !important;
		color:#c6c6c6 !important;
		font-family: 'Open Sans Semibold';
	}
	nav li:nth-child(4) a:focus, nav li:nth-child(7) a:hover, nav #mainnav li:nth-child(7) a.active{
		border-top:none !important;
		color:#c6c6c6 !important;
		font-family: 'Open Sans Semibold';
	}
    nav li:nth-child(4) {
        margin-right:0;
    }
    nav li.small {
        margin: 0;
    }
    nav li.small a {
        color: #808080;
        font-size: 145%;
        height:145%;

        padding: 13px 0;
    }
    span.verbar{
        display:none;
    }
    nav a {
        font-size: 145%;
        display:block;
    }
    section.section{
        width:100%;
        display:table-row;
    }
    .content{
        background:#FFF;
        padding:0 0 0 18px;
        -webkit-width:calc(100% - 40px);
        -moz-width:calc(100% - 40px);
        -o-width:calc(100% - 40px);
        -ms-width:calc(100% - 40px);
        width:calc(100% - 40px);

    }
    .shadow{
        left:0;
    }
    #about .content img {
        margin-top:135px;
        border-top:1px dotted #B3B3B3;
    }
    .content h2{
        margin:135px 0 35px 0;
        border-top:1px dotted #B3B3B3;
        padding:20px 20px 0 0 ;
    }
    .content h3, .content p{
        padding-right:20px;
    }
    #about .content h2{
        border:none;
    }
    #totop{
        background:url('../img/totop_white.png') no-repeat;
        left:10px;
    }
}
@media screen and (max-width: 820px) {
    .content img{
        width:100%;
    }
}
@media screen and (max-width: 700px) {
	
	 #intro_wrapper{
		 width:90%;
		 
	 }
	  #intro_wrapper #main-logo img, #main-logo{
		  width:100px;
	  }
}