@charset "UTF-8";
/* CSS Document */

*{
	box-sizing: border-box;
}


body {
	margin:0;
	padding:0;
	font-family: futura-pt, sans-serif; 
    color: #2f3062;
}

.wrapper {
	width:100%;
	max-width:1200px;
	margin: 0 auto;
}

.highlight {
    background-color:rgba(120,20,20,0.4);
}

/*--------------------------HEADER-----------------------------*/

header {
    position: relative;
    padding-top:20px;
}

header #logo {
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    transition: all 0.5s;
}

header #logo:hover {
    opacity: 0.7;
    transition: all 0.5s;
}

header #logo img {
    display:block;
    width:100%;
}

header nav {
    height:60px;
    border-top:2px solid #2f3062;
    border-bottom:2px solid #2f3062;
    margin-bottom: 15px;
    
    text-align: center;
}

header nav ul {
    padding:0;
    margin: 0;
}

header nav ul li {
    list-style-type:none;
    display: inline-block;
    line-height:56px;
    padding-right: 2%;
    padding-left: 2%;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    letter-spacing: 1px;
}

header nav ul li::after {
    position: absolute;
    content: '';
    height: 5px;
    width: 5px;
    border-radius: 50%;
    left: 0;
    top: 50%;
    background-color: #2f3062;
    transform: translateY(-50%);
}

header nav ul li:first-child::after{
    display:none;
}

header nav ul li a {
    font-weight: 400;
    text-decoration: none;
    display: block;
    color: #2f3062;
    transition: all 0.2s;
}

header nav ul li a:hover {
    opacity:0.5;
    transition: all 0.2s;
}

header nav #opener {
    display: none;
    
    float: left;
    width: 30px;
    cursor: pointer;
    margin-top: 18.5px;
    margin-left: 18.5px;
}

header nav #opener span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #2f3062;
    
    transition: all 0.1s ease-in;
}

header nav #opener span.middle {
    margin-top: 5px;
    margin-bottom: 5px;
}

header nav.open #opener span.top {
    -webkit-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}

header nav.open #opener span.middle {
    opacity: 0;
    -webkit-transition: visibility 0s ease 0s, opacity 0.5s linear 0s;
    transition: visibility 0s ease 0s, opacity 0.5s linear 0s;
    visibility: hidden;
}

header nav.open #opener span.bottom {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
}

header nav.open ul {
    display: block;
    
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 1;
    background-color: #FFFFFF;
}

header nav.open ul li {
    display: block;
    line-height: 40px;
}

header nav.open ul li::after {
    display: none;
}

/*-------------------------------------SLIDER--------------------------------------*/

#slider .bx-wrapper {
    border: none;
    box-shadow: none;
}

#slider .slider_content {
    display: none;
}


/*-------------------------------------CONTENT--------------------------------------*/

#content {
    padding-top:20px;
    margin-bottom:70px;
    overflow: auto;
}

#content .description.startseite {
    text-align:center;
    width: 50%;
    margin: 0 auto;
    color:#2f3062;
    font-weight:400;
    font-size:15px;
}

#content .article {
    overflow: auto;
}

#content .description.startseite h1, #content .article.kontakt:nth-child(2) h1 {
    display:none;
}

#content .description.startseite h2 {
    font-weight: 400;
}

#content .description.startseite h2 a {
    color: #2f3062;
    font-weight: 700;
    text-decoration: none;
    
    transition: all 0.35s;
}

#content .description.startseite h2 a:hover {
    opacity: 0.7;
    transition: all 0.35s;
}

#content .blog.startseite {
    width:25%;
    text-align: center;
    display: inline-block;
    margin-right: 4%;
    margin-left: 4%;
    margin-top:2%;
    vertical-align: top;
}

#content .blog.startseite h1, #content .article.kontakt:nth-child(3) h1 {
    display:none;
}

#content .blog.startseite img {
    width:100%;
}

#content .blog.startseite h2 {
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#content .blog.startseite p {
    font-size:18px;
}

#content .blog.startseite .readmore {
    text-transform: uppercase;
    border:1px solid #2f3062;
    padding: 5px 25px 5px 25px;
    text-decoration: none;
    color: #2f3062;
    transition: all 0.2s;
}

#content .blog.startseite .readmore:hover {
    background-color:#2f3062;
    color:white;
    transition: all 0.2s;
}

#content .blog.heizung {
    overflow: auto;
}

#content .blog.heizung img {
    width: 30%;
    margin-left: 10px;
    float: right;
}

#content .article.kontakt {
    width:50%;
    display: inline-block;
}



#content .article h4 {
    font-size:20px;
    margin-bottom:0;
}

#content .article p  {
    font-size: 18px;
    margin-top:10px;
    margin-bottom: 10px;
}

#content .article li {
    font-size: 18px;
}

#content #accordion p {
    margin:0;
    font-size: 18px;
}

#content #accordion .ui-accordion-content.ui-helper-reset.ui-widget-content.ui-corner-bottom {
    padding-left:25px;
}

#content .blog.heizung h1 {
    font-size:18px;
    background-image: url("../images/pfeil.png");
    background-repeat: no-repeat;
    background-size: 10px auto;
    padding-left: 25px;
    background-position: left center;
    cursor: pointer;
}

#content .article a {
    color:#2f3062;
}

#content .article a:hover{
    opacity:0.8;
}

#content .article a.crop {
    width: 30%;
    float: left;
    display: block;
    margin-right: 20px;
}

#content .article a.crop img {
    width: 100%;
    
}

#content iframe {
    height:200px;
    width: 100%;
}

#content iframe:nth-child(2) {
    margin-top:90px;
}

#content #mitarbeiter .description {
    overflow: auto;
    clear: both;
}

#content #mitarbeiter .description h3 {
    font-size: 25px;
    margin-bottom: 10px;
}

#content #mitarbeiter .blog {
    width: 32%;
    margin-right: 2%;
    float: left;
    margin-bottom: 2%;
}

#content #mitarbeiter .blog.verkauf {
    margin-top: 2%;
}

#content #mitarbeiter .blog.geschaeftsfuehrung:nth-child(3n + 1),
#content #mitarbeiter .blog.buero:nth-child(3n),
#content #mitarbeiter .blog.monteure:nth-child(3n + 1),
#content #mitarbeiter .blog.nachwuchs:nth-child(3n + 1),
#content #mitarbeiter .blog.verkauf:nth-child(3n) {
    margin-right: 0;
}

#content #mitarbeiter .blog .crop {
    display: block;
    width: 100%;
    
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    
}

#content #mitarbeiter .blog .crop img {
    position: absolute;
    top: 0;
    width: 100%;
}

#content #mitarbeiter .blog h1 {
    display: none;
}


#content #mitarbeiter .blog h2 {
    font-size: 20px;
    margin: 10px 0 0;
}

#content #mitarbeiter .blog p {
    margin: 0;
    font-size: 18px;
}

#content .blog.kontakt {
    width: 49%;
    float: left;
}

#content .blog.kontakt:nth-child(2) {
    margin-right: 2%;
}

#content .blog.kontakt h1 {
    font-size: 20px;
    margin: 0;
}

#content .blog.kontakt p {
    font-size: 18px;
}

#content .blog.kontakt img {
    width: 60%;
}

/*-------------------------------------REFERENZEN--------------------------------------*/

#content .referenzen {
    overflow: auto;
}

#content .referenzen h1 {
    font-size: 24px;
    margin-top: 0;
}

#content .fullgallery .crop {
    position: relative;
    overflow: hidden;
    
    float: left;
    width: 19%;
    margin-right: 1.25%;
    margin-bottom: 1.25%;
    padding-top: 19%;    
}

#content .fullgallery .crop:nth-child(5n) {
    margin-right: 0;
}

#content .fullgallery .crop img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
}

/*-------------------------------------FOOTER--------------------------------------*/

footer #bottom {
    background-color:#d6d6e0;
    overflow: auto;
    padding-bottom:20px;
}

footer #bottom #left {
    width: 33%;
    float:left;
    padding-left: 50px;
    margin-top: 80px;
    border-right: 1px solid #2f3062;
}

footer #bottom #left h1 {
    font-size: 20px;
    margin-top: 0;
}

footer #bottom #left p {
    margin-top: 25px;
    margin-bottom: 25px;
    line-height: 1.5;
}

footer #bottom #left a {
    color:#2f3062;
    text-decoration: none;
    transition: all 0.2s;
}

footer #bottom #left a:hover {
    color:white;
    transition: all 0.2s;
}

footer #bottom #contact {
    width:67%;
    float:left;
}

footer #bottom #contact input {
    display: block;
    width: 100%;
    font-size: 15px;
    padding:10px;
    margin-bottom: 8px;
    color:#2f3062;
    border:none;
}


footer #bottom #contact input:focus {
    border:none;
}

footer #bottom #contact input::placeholder {
    color:#2f3062;
    opacity: 1;
}

footer #bottom #contact #captcha {
    float:left;
    width:49%;
    margin-right:2%;
}

footer #bottom #contact #captchatext {
    width:49%;
    float:left;
    font-size:10px;
}

footer #bottom #personal {
    width:57%;
    float:left;
    margin-left: 5%;
    margin-right: 5%;
}

footer #bottom #personal h1 {
    font-size:30px;
    color:white;
}

footer #bottom #request {
    width:33%;
    float:left;
    margin-top:80px;    
}

footer #bottom #request .checkbox {
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin: 3px 5px 10px 0px;
    vertical-align: top;
}

footer #bottom #request input[type="checkbox"] {
    position: absolute !important;
    margin: 0px;
    width: 20px;
    height: 20px;
    left: 0px;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}

footer #bottom #request .checkbox label {
    min-height: 20px;
    font-weight: normal;
    cursor: pointer;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0px;
    left: 0px;
    padding: 0px;
    margin: 0px;
    border-radius: 4px;
    border: 1px solid #2f3062;
    transition: all 0.35s ease-in-out 0s;
    background-color: white;
}

footer #bottom #request .text {
    display: inline-block;
    width: calc(100% - 25px);
    margin-bottom: 10px;
    margin-top: 2px;
}

footer #bottom #request .checkbox label::after {

    content: "";
    opacity: 0;
    position: absolute;
    width: 10px;
    height: 5px;
    background: transparent none repeat scroll 0% 0%;
    top: 4px;
    left: 4px;
    border-width: medium medium 2px 2px;
    border-style: none none solid solid;
    border-color: -moz-use-text-color -moz-use-text-color #FFF #FFF;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    transform: rotate(-45deg);
    border: 2px solid #2f3062;
    border-top: none;
    border-right: none;
}

footer #bottom #request .checkbox input[type="checkbox"]:checked + label::after {
    opacity: 1 !important;
    transition: all 0.2s;
}

footer #bottom #request #wish {
    color:white;
    margin-bottom:10px;
}

footer #bottom #request #sendmail {
    display: block;
    background-color: white;
    color: #2f3062;
    border: 1px solid #2f3062;
    padding: 5px 35px;
    font-style: italic;
    text-decoration: none;
    font-family: "Roboto Condensed",sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    clear: both;
    font-weight: 100;
    margin-top: 10px;
    transition: all 0.2s;
    cursor: pointer;
}

footer #bottom #request #sendmail:hover {
    background-color: #2f3062;
    color: white;
    border: 1px solid #2f3062;
    transition: all 0.2s;
}


#blue {
    overflow: auto;
    margin-top:50px;
    background-color:#2f3062;
    text-align: center;
    border-top:2px solid white;
    -webkit-box-shadow: 0px -4px 0px 0px rgba(47,48,98,1);
    -moz-box-shadow: 0px -4px 0px 0px rgba(47,48,98,1);
    box-shadow: 0px -4px 0px 0px rgba(47,48,98,1);
}

#blue a {
    margin-top: 17px;
    display: inline-block;
    
    color:white;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.2s;
}

#blue a:hover {
    opacity:0.6;
    transition: all 0.2s;
}

#blue #insta {
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
    height: 30px;
    float: left;
}

#blue #insta img {
    height: 100%;
}

@media(max-width: 1200px) {
    
    #content {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    #insta {
        padding-left: 10px;
    }
}

@media(max-width: 930px) {
    
    header nav ul li a {
        font-size: 13px;
    }
    
    header nav ul li::after {
        width: 3px;
        height: 3px;
    }
    
    footer #bottom #left {
        width: 100%;
        padding-right: 50px;
        margin-top: 50px;
    }
    
    footer #bottom #contact {
        width: 100%;
    }
    
    footer #bottom #personal {
        margin: 0;
        padding-left: 50px;
        padding-right: 50px;
    }
    
}

@media(max-width: 740px) { 
    
    header #logo {
        width: 50%;
    }
    
    header nav #opener {
        display: block;
    }
    
    header ul {
        display: none;
    }
    
    #content .blog.startseite {
        width: 92%;
    }
    
    #content .article a.crop {
        float: none;
        width: 80%;
        margin-left: 10%;
    }
    
    #content .blog.heizung img {
        width: calc(50% - 10px);
        float: left;
        margin-left: 0;
        margin-right: 10px;
    }
    
    #content .blog.kontakt {
        width: 100%;
        margin-right: 0;
    }
    
    #content .fullgallery .crop {
        width: 32%;
        padding-top: 32%;
        margin-right: 2%;
        margin-bottom: 2%;
    }
    
    #content .fullgallery .crop:nth-child(3n) {
        margin-right: 0;
    }
    
    #content .fullgallery .crop:nth-child(5n) {
        margin-right: 2%;
    }
    
}

@media(max-width: 545px) {
    
    #content #mitarbeiter .description h3 {
        text-align: center;
    }
        
    #content #mitarbeiter .blog {
        
        width: 80%;
        margin-left: 10%;
        
    }
    
    footer #bottom #left {
        padding: 0 30px;
        margin-top: 30px;
    }
    
    footer #bottom #personal,
    footer #bottom #request {
        width: 100%;
        padding: 0 30px;
        margin-top: 0;
    }
    
    footer #bottom #request #wish {
        margin-top: 10px;
    }
    
}
