*, *::before, *::after{
    box-sizing: border-box;
}

html{
	height:100%;
}

body{
    background-color: #c8cfcb;
    font-family: sans-serif;
    color: #000;
    margin:0;
    position:relative;
    min-height:100%;
}

div#footer{
    position: absolute;
    bottom:0;
    width:100%;
    text-align: center;
    background-color: #09917b;
    padding-top: 10px;
    padding-bottom: 10px;
}

div#footer a{
    color:#c8cfcb;
    font-weight: bold;
    letter-spacing: 1px;
}

div.border{
    background-image: url("/streifen.gif");
    width:100%;
    height:25px;
    display: block;
}

div.border a{
    position: relative;
    top:2px;
}

hr {
    color: #fff;
    margin-left:20px;
    margin-right: 20px;
}

div#navbar{
    display:block;
    width:100%;
    padding-left:50px;
    padding-bottom: 0;
    border-bottom: 3px solid #767775;
}

div#navdummy{
    display:none;
    width:100%;
    clear:both;
}

div#navbar.active{
    position: fixed;
    top:0px;
    left:0px;
    right:0px;
    padding-top:5px;
    background-color: #c8cfcb;
    /* background-color: #09917b; */
}

div#navbar a.navbutton{
    color:#000;
    display: inline-block;
    min-width:200px;
    margin:2px;
    margin-left:5px;
    margin-right:25px;
    text-align: center;
    font-weight: bold;
    padding-bottom: 5px;
    padding-top: 7px;
    position: relative;
}

div#navbar a.navbutton::after{
    content:'';
    border: 1px solid #09917b;
    border-width: 4px 0 0 5px;
    border-radius: 4px;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right:0;
    transform: skew(-23deg);
}
div#navbar.active img{
    display: block !important;
}
/*
div#navbar.active a.navbutton{
    color:#c8cfcb;
}
div#navbar.active a.navbutton::after{
    border: 1px solid #c8cfcb;
    border-width: 4px 0 0 5px;
    border-radius: 4px;
}*/

div#navbar a.navbutton:active{
    color:#fff;
}

h1, h2, h3, h4, h5{
    color: #000;
    padding-bottom:10px;
}

h1 a, h2 a, h3 a, h4 a, h5 a{
    color: #000;
    text-decoration: none;
}

a{
    color: #09917b;
}

p, li{
    margin-left:20px;
}

div#content{
    margin-left: 50px;
    margin-right: 50px;
    padding-bottom: 50px;
}

div#content div.articleimage span.caption{
    display: none;
}

/* Lightbox: */

#lightbox{
        display:none;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

#lightboxinner{
    background-color: #fff;
    border-radius: 10px;
    height: 80%;
    left: 20%;
    position: absolute;
    top: 10%;
    width: 60%;
}

#lightboxinner .title{
    position: absolute;
    left:0;
    right:0;
    top:0;
    height:30px;
    border-radius: 10px 10px 0 0;
    background-color:#09917b;
    padding-top: 7px;
    padding-left: 15px;
    font-weight:bold;
}

#lightboxinner .closebtn{
    position: absolute;
    right: 5px;
    top: 5px;
    width: 20px;
    cursor: pointer;
}

#lightboxcontent {
    position:absolute;
    top: 30px;
    bottom:0;
    left:0;
    right:0;
    border-radius: 0 0 10px 10px;
    text-align: center;
    background-color: #c8cfcb;
}

#lightboxcontent img{
    max-width:100%;
    max-height:100%;
}

#lightboxcontent .imgdesc{
    position:absolute;
    left: 0;
    right:0;
    bottom:0;
    background-color:rgba(0,0,0,0.75);
    color:#fff;
}

/* Slider: */

div.slider{
    display:inline-block;
    position:relative;
    width: 100%;
    left:0;
    margin-bottom:20px;
}

div.sliderdummy{
    margin-top:45%;
}

div.sliderinner{
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

div.slider div.previmg{
    position:absolute;
    left: 0;
    width:33.33%;
    top: 25%;
    z-index: 999;
    opacity: 0.5;
    transition: opacity 0.7s ease 0.1s, width 0.7s ease 0.1s, top 0.7s ease 0.1s, height 0.7s ease 0.1s, left 0.7s ease 0.1s;
}
div.slider div.previmg::after{
    content: "<";
    position:absolute;
    left:20px;
    height:80px;
    width:80px;
    top:calc(50% - 40px);
    border-radius: 40px;
    background-color:rgba(0,0,0,0.5);
    color:#fff;
    font-size: 72px;
    text-align: center;
}
div.slider div.nextimg{
    position:absolute;
    left: 66.67%;
    width:33.33%;
    top: 25%;
    z-index: 999;
    opacity: 0.5;
    transition: opacity 0.7s ease 0.1s, width 0.7s ease 0.1s, top 0.7s ease 0.1s, height 0.7s ease 0.1s, left 0.7s ease 0.1s;
}
div.slider div.nextimg::after{
    content: ">";
    position:absolute;
    right:20px;
    height:80px;
    width:80px;
    top:calc(50% - 40px);
    border-radius: 40px;
    background-color:rgba(0,0,0,0.5);
    color:#fff;
    font-size: 72px;
    text-align: center;
}

div.slider div.spareimg{
    position:absolute;
    width: 1px;
    //height:1px;
    left: 50%;
    top: 50%;
    z-index: 998;
    opacity: 0.5;
    transition: opacity 0.7s ease 0.1s, width 0.7s ease 0.1s, top 0.7s ease 0.1s, height 0.7s ease 0.1s, left 0.7s ease 0.1s;
}
div.slider div.spareimg img{
    position:absolute;
    width: 100%;
    left: 0;
    top: 0;
}
div.slider div.previmg:hover, div.slider div.nextimg:hover{
    opacity: 0.8;
    width:40%;
    top:20%;
    z-index:1001;
    transition: opacity 0.7s ease 0.1s, width 0.7s ease 0.1s, top 0.7s ease 0.1s, left 0.7s ease 0.1s;
}
div.slider div.nextimg:hover{
    left:60%;
}
div.slider div.previmg img, div.slider div.nextimg img{
    width:100%;
    top:0;
}

div.slider div.currentimg{
    z-index:1000;
    position:absolute;
    left:16.66%;
    width:66.67%;
    right:16.66%;
    top:0;
    transition: opacity 0.7s ease 0.1s, width 0.7s ease 0.1s, top 0.7s ease 0.1s, height 0.7s ease 0.1s, left 0.7s ease 0.1s;
}

div.slider div div.sliderdesc{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    background-color: rgba(0,0,0,0.5);
    text-align: center;
    display:none;
}
div.slider div.currentimg div.sliderdesc{
    display: block;
}

div.slider div.currentimg img{
    max-width:100%;
    max-height:100%;
}

.thumbimg{
    max-width:45%;
    max-height:600px;
    float:left;
    margin-right:35px;
    margin-bottom:15px;
    margin-left: 20px;
    cursor: pointer;
}

#content img, #content iframe{
    border: 5px solid #767775;
    box-shadow: 0 0 5px 5px #767775;
    border-radius: 7px;
}

#content input, #content textarea{
    border-radius: 10px;
}

#vertrieb-service{
    position: relative;
    width: 91%;
    background-color: #09917b;
    color: #c8cfcb;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 2em;
    margin-right: 4.5%;
    margin-left: 4.5%;
}
#hidromek-container{
    position: relative;
    max-width: 36%;
    max-height: 300px;
    padding-top: 10px;
    padding-right: 5%;
    margin-top: 60px;
    float: right;
}

#stickynav-logo{
    height: 37px;
    margin-right: 50px;
    float: right;
    display: none;
}

@media(max-width: 1600px){
    #vertrieb-service{
	font-size: 1.8em;
    }
    #hidromek-container{
	margin-top:50px;
    }
}

@media(max-width: 1400px){
    #vertrieb-service{
	font-size: 1.6em;
    }
    #hidromek-container{
	margin-top:40px;
    }
}

@media(max-width: 1200px){
    #vertrieb-service{
	font-size: 1.4em;
    }
    div#navbar{
	padding-left:30px;
    }
    div#navbar.active a.navbutton {
	min-width: 150px;
	font-size: 0.8em;
    }
    #stickynav-logo{
	margin-right: 30px;
	height: 33px;
    }
}

@media(max-width: 1000px){
    #vertrieb-service{
	font-size: 1.2em;
    }
    #hidromek-container{
	margin-top:25px;
    }
    div#navbar.active{
	padding-left:10px;
    }
    div#navbar a.navbutton {
	min-width: 150px;
	font-size: 0.8em;
    }
    div#navbar.active a.navbutton{
	margin-right: 15px;
	min-width: 140px;
    }
    #stickynav-logo{
	margin-right: 10px;
    }
}