/*
Theme Name: MHDL
Theme URI: https://www.mhdl.at
Description: Custom theme for Müller-Hartburg Dienstleistungen
Author: QEDV
Version: 1.0
*/

@charset "UTF-8";

@font-face {
    font-family: 'roboto_condensedbold';
    src: url('fonts/robotocondensed-bold-webfont.woff2') format('woff2'),
         url('fonts/robotocondensed-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'roboto_condensedbold_italic';
    src: url('fonts/robotocondensed-bolditalic-webfont.woff2') format('woff2'),
         url('fonts/robotocondensed-bolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'roboto_condenseditalic';
    src: url('fonts/robotocondensed-italic-webfont.woff2') format('woff2'),
         url('fonts/robotocondensed-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'roboto_condensedlight';
    src: url('fonts/robotocondensed-light-webfont.woff2') format('woff2'),
         url('fonts/robotocondensed-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'roboto_condensedlight_italic';
    src: url('fonts/robotocondensed-lightitalic-webfont.woff2') format('woff2'),
         url('fonts/robotocondensed-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('fonts/robotocondensed-regular-webfont.woff2') format('woff2'),
         url('fonts/robotocondensed-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoblack';
    src: url('fonts/roboto-black-webfont.woff2') format('woff2'),
         url('fonts/roboto-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoblack_italic';
    src: url('fonts/roboto-blackitalic-webfont.woff2') format('woff2'),
         url('fonts/roboto-blackitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotobold';
    src: url('fonts/roboto-bold-webfont.woff2') format('woff2'),
         url('fonts/roboto-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotobold_italic';
    src: url('fonts/roboto-bolditalic-webfont.woff2') format('woff2'),
         url('fonts/roboto-bolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoitalic';
    src: url('fonts/roboto-italic-webfont.woff2') format('woff2'),
         url('fonts/roboto-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotolight';
    src: url('fonts/roboto-light-webfont.woff2') format('woff2'),
         url('fonts/roboto-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotolight_italic';
    src: url('fonts/roboto-lightitalic-webfont.woff2') format('woff2'),
         url('fonts/roboto-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotomedium';
    src: url('fonts/roboto-medium-webfont.woff2') format('woff2'),
         url('fonts/roboto-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotomedium_italic';
    src: url('fonts/roboto-mediumitalic-webfont.woff2') format('woff2'),
         url('fonts/roboto-mediumitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('fonts/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotothin';
    src: url('fonts/roboto-thin-webfont.woff2') format('woff2'),
         url('fonts/roboto-thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotothin_italic';
    src: url('fonts/roboto-thinitalic-webfont.woff2') format('woff2'),
         url('fonts/roboto-thinitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing:border-box;
}

body {
    padding:0;
    margin: 0;
    color:#878787;
}

body.admin-bar header {
    top: 32px;
}

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

header {
    padding-top:30px;
    padding-bottom:30px;
    overflow: auto;
    position: fixed;
    left:0;
    right:0;
    top:0;
    z-index: 100;
    background-color: white;
}

header.shadow {
    -webkit-box-shadow: 0px 3px 8px 0px rgba(50, 50, 50, 0.4);
    -moz-box-shadow:    0px 3px 8px 0px rgba(50, 50, 50, 0.4);
    box-shadow:         0px 3px 8px 0px rgba(50, 50, 50, 0.4);
}

header a img {
    float:left;
    transition: all 0.2s;
	width: 30%;
}

header a img:hover {
    opacity: 0.7;
    transition: all 0.2s;
}

header nav {
    text-align: right;
    padding-top:50px;
	width: 70%;
	float: right;
    position: relative;
}

header nav ul {
    padding:0;
    margin: 0;
	font-size: 0;
}

header nav ul li {
	font-size: 16px;
    display:inline-block;
    margin-left:2%;
    margin-right: 2%;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
}

header nav ul li:last-child {
    margin-right:0;
}

header nav ul li a {
    color:#878787;
    text-decoration: none;
    border-bottom:2px solid white;
    transition:all 0.2s;
}

header nav ul li a:hover,
header nav ul li.current-menu-item a {
    font-weight:600;
    border-bottom:2px solid #be0000;
    transition:all 0.2s;
}

/*------------------------------RESPONSIVE MENUE-----------------------------*/

header nav.open {
    width:100%;
    float:none;
}


nav #menu {
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: none;
    right: 60px;
    position: absolute;
    top:15px;
}

header.small nav #menu {
    margin-top: 20px;
}


nav #menu span {
    background-color:#be0000;
    display: block;
    height: 3px;
    margin-bottom: 7px;
    transition: all 0.1s ease-in;
}

nav #menu span.top {
    margin-bottom: 6px;
    margin-top: 5.5px;
}

nav #menu span.bottom {
    margin-bottom: 4.5px;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
}

nav.open span.top {
    -webkit-transform: translateY(9px) rotate(45deg);
            transform: translateY(12px) rotate(45deg);
}

nav.open 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;
}

nav.open span.bottom {
    -webkit-transform: translateY(-6px) rotate(-45deg);
            transform: translateY(-6px) rotate(-45deg);	}

nav.open ul {
		height: auto;
		opacity: 1;
		-webkit-transition: opacity 0.5s ease 0s, visibility 0.5s ease 0s, height 0.5s ease 0s;
		transition: opacity 0.5s ease 0s, visibility 0.5s ease 0s, height 0.5s ease 0s;
		visibility: visible;
		z-index: 10000;
		background-color:rgba(255,255,255,0.9);
		width:100%;
		top:100%;
		left:0;
		display: block !important;
	}

nav.open ul ul {
	    display: none !important;
}

nav.open li {
        display:block;
		float: none;
		text-align: center;
		width: 100%;
        padding-top:20px;
        padding-bottom:20px;
        margin:0;
	}


#red {
    background-color:#be0000;
    width:50px;
    float:right;
    position: fixed;
    right:0;
    height:583px;
    padding-left:5px;
    padding-right:5px;
    z-index: 1000;
}

#red #item {
    position: fixed;
    right: 25px;
    top: 130px;
    z-index: 1;
}

#red #item a {
    text-decoration: none;
    transition: all 0.8s ease-in-out 0s;
    right: -130px;
    position: relative;
}

#red #item a:hover {
    right: 0;
    transition: all 0.8s ease-in-out 0s;
}

#red #item h2 {
    background-color: #be0000;
    position: relative;
    padding: 8px 20px 8px 60px;
    color: white;
    font-weight: 100;
    font-size: 19px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-family: 'Roboto Condensed', sans-serif;
}

#red #item img {
    position: absolute;
    left: -19px;
    top: -8px;
    width: 55px;
    height:55px;
    border:2px solid white;
    border-radius: 50%;
    padding:7px;
    background-color:#be0000;
}

#red #schrift {
    position: absolute;
    bottom:30px;
    right:8px;
}

#red .schauraum  {
    top: 80px;
}

#red .badplaner {
    top: 150px;
}

#top {
    padding-top:107px;
    font-size:0;
}


#top .slider_content {
    width:71%;
    position: relative;
    float: left;
    margin-right: 1.5%;
    display: inline-block;

}

#top .slider_content img {
    min-height: 100%;
    width: 100%;
    display: block;
}



#top .slider_content h1, #top .blog.leistungen.klein h1  {
    position: absolute;
    bottom: 50px;
    font-family: 'Roboto Condensed', sans-serif;
    left:30px;
    text-transform: uppercase;
    margin: 0;
    font-size: 20px;
    color: #be0000;
    z-index: 1;
}

#top .blog.leistungen.klein h1 {
    bottom:30px;
    font-size:18px;
}

#top .slider_content h2, #top .blog.leistungen.klein h2 {
    position: absolute;
    bottom: 30px;
    font-family: 'Roboto', sans-serif;
    padding-left:30px;
    margin: 0;
    font-size: 23px;
    font-weight: 200;
    color: #878787;
    z-index: 1;
}

#top .blog.leistungen.klein h2 {
    bottom:10px;
}

#top .blog.leistungen.klein {
    width:26.2%;
    display: inline-block;
    position: relative;
    margin-bottom:1.5%;
    height:216px;
}

#top .blog.leistungen.klein:last-child {
    margin-bottom:0;
}

#top .blog.leistungen.klein img {
    min-height: 100%;
    width: 100%;
    display: block;
}

#top .blog.leistungen.klein .readmore, #top .slider_content .readmore{
    color: transparent;
    width: 100%;
    height: 100%;
    top: 0px;
    bottom: 0px;
    position: absolute;
    left:0;
    z-index: 1;
}

#top .blog.leistungen.klein::after, #top .slider_content::after {
    width: 100%;
    top: 0px;
    bottom: 0px;
    position: absolute;
    text-align: center;
    left:0;
    background-color:rgba(238,238,238,0.5);
    transition: all 1s ease-out 0s;
    content:"";
}

#top .blog.leistungen.klein:hover::after {
    top:130px;
}

#top .slider_content:hover::after {
    top:330px;
}



#grey {
    background-color:#eeeeee;
    position: relative;
    margin-top:5%;
    padding-top:75px;
    padding-bottom:30px;
}

#grey .wrapper {
    overflow: auto;
}

#grey .description.leistungen h1{
    position: absolute;
    margin:0;
    top: -45px;
    border-bottom: 3px solid #BE0000;
    font-family: "Roboto Condensed",sans-serif;
    text-transform: uppercase;
    color: #878787;
}

#grey .article {
    width:19%;
    float:left;
    background-color: white;
    margin-right:1.2%;
    height:228px;
    background-repeat: no-repeat;
    background-size:45%;
    border-bottom: 3px solid white;
    transition: all 0.5s;
    position: relative;
    background-position: top 50px center;
}

#grey .article a {
    color: transparent;
    width: 100%;
    height: 100%;
    top: 0px;
    bottom: 0px;
    position: absolute;
    left: 0px;
    z-index: 1;
}

#grey .article h1 {
    font-family: "Roboto Condensed",sans-serif;
    color: #878787;
    margin: 0;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    position: absolute;
    bottom: 15px;
    left: 10px;
}

#grey .article:hover {
    border-bottom: 3px solid #BE0000;
    transition: all 0.3s;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.4);
    -moz-box-shadow:    0px 5px 5px 0px rgba(50, 50, 50, 0.4);
    box-shadow:         0px 5px 5px 0px rgba(50, 50, 50, 0.4);
}

#grey .article:last-child {
    margin-right:0;
}

#grey .article.gebrechen {
    background-image: url(images/icon_gebrechen.png);
}

#grey .article.gebrechen:hover {
    background-image: url(images/icon_gebrechen_red.png)
}

#grey .article.article.sanitaer_heizungstechnik {
    background-image: url(images/icon_sanitaer_heizungstechnik.png);
}

#grey .article.article.sanitaer_heizungstechnik:hover {
    background-image: url(images/icon_sanitaer_heizungstechnik_red.png)
}

#grey .article.schwimmbadbau {
    background-image: url(images/icon_schwimmbadbau.png);
}

#grey .article.schwimmbadbau:hover {
    background-image: url(images/icon_schwimmbadbau_red.png)
}

#grey .article.sonderbau {
    background-image: url(images/icon_innenausbau.png);
}

#grey .article.sonderbau:hover {
    background-image: url(images/icon_innenausbau_red.png)
}

#grey .article.wohnungssanierung {
    background-image: url(images/icon_steinundfliesen.png);
}

#grey .article.wohnungssanierung:hover {
    background-image: url(images/icon_steinundfliesen_red.png)
}

#grey .article p {
    display:none;
}

#content {
    overflow: auto;
    padding-top:150px;
}

#left {
    width:60%;
    float:left;
}

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

#left .description.unternehmen h3, #right .description.tools h3, #left .article h1, #left .referenzen .headline {
    font-family: "Roboto Condensed",sans-serif;
    border-bottom:#eeeeee solid 3px;
    position: relative;
    text-transform: uppercase;
    font-size:30px;
    margin-top:0;
}

#left .description.unternehmen h3::before, #right .description.tools h3::before, #left .article h1:before, #left .referenzen .headline:before {
    content: "" ;
    border-bottom:3px solid #BE0000;
    width:100px;
    position: absolute;
    display: inherit;
    bottom:-3px;
    margin-top:60px;
}

#left .blog.unternehmen h1, #left .article h2 {
    font-family: "Roboto Condensed",sans-serif;
    margin-top:30px;
    font-size: 23px;
    font-weight: 600;
}

#left .blog.unternehmen p, #left .article p, #left ul li {
    font-family: "Roboto",sans-serif;
    font-weight: 400;
    font-size:15px;
    line-height: 1.3;
}

#left .blog.unternehmen .readmore {
    border:1px solid #BE0000;
    color:#BE0000;
    text-decoration: none;
    font-family: "Roboto",sans-serif;
    padding:10px 25px 10px 25px;
    margin-top:20px;
    display: inline-block;
    transition: all 0.3s;

}

#left .blog.unternehmen .readmore:hover {
    background-color:#be0000;
    color:white;
    transition: all 0.3s;
}

#left .article a {
    color: #878787;
    transition: all 0.3s;
}


#left .article a:hover {
    color: #BE0000 !important;
    transition: all 0.3s;
}

#left .gallery_description {
    font-family: "Roboto Condensed",sans-serif;
}

#left .fullgallery.referenzen {
    font-size: 0;
    margin-bottom: 40px;
}

#left .fullgallery.referenzen .crop {
    display: inline-block;
    overflow: hidden;
    height: 130px;
    width: 32.66%;
    margin-top: 0.5%;
    margin-right: 0.5%;
}

#left .fullgallery.referenzen .crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#left iframe {
    height:350px;
}

#right {
    width:26.2%;
    float:right;
}

#right .blog.tools {
    font-family: "Roboto",sans-serif;
    margin-bottom: 30px;
}

#right .blog.tools h1 {
    display:none;
}

#right .blog.tools p {
    margin-bottom: 8px;
}

#right .blog.tools img {
    width:100%;
}

#right .blog.tools a {
    text-decoration: none;
    color: #878787;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    transition:all 0.3s;
}

#right .blog.tools a:hover {
    color: #BE0000;
    transition:all 0.3s;
}

#referenzen {
    background-image: url(images/hg_referenzen.jpg);
    background-repeat: no-repeat;
    background-size:100% auto;
    text-align: center;
    color:white;
    padding-top: 70px;
    padding-bottom: 70px;
}


#referenzen h1 {
    font-size:17px;
    font-family: "Roboto Condensed",sans-serif;
}

#referenzen h2 {
    font-family: "Roboto",sans-serif;
    font-size:35px;
    font-weight:300;
}

#referenzen a {
    color:white;
    padding:10px 25px 10px 25px;
    border:1px solid white;
    text-decoration: none;
    font-family: "Roboto",sans-serif;
    display: inline-block;
    margin-top: 30px;
    transition: all 0.3s;
}

#referenzen a:hover {
    border:1px solid #BE0000;
    color:#BE0000;
    transition: all 0.3s;
}

#bottom {
    background-color:#eeeeee;
    padding-top:40px;
}

#bottom .blog.vorteile {
    width:25%;
    margin-right:12.1%;
    display: inline-block;
    text-align: center;
    position: relative;
    vertical-align:middle;
    height:180px;
}

#bottom .blog.vorteile:first-child::after {
    content:"";
    border-right:3px solid white;
    height:50px;
    right:-3px;
    position: absolute;
    bottom:0
}

#bottom .blog.vorteile:last-child::before {
    content:"";
    border-right:3px solid white;
    height:50px;
    left:5px;
    position: absolute;
    bottom:0;
}

#bottom .blog.vorteile:last-child {
    margin-right:0;
}

#bottom .blog.vorteile h1 {
    font-family: "Roboto Condensed",sans-serif;
    color: #BE0000;
}

#bottom .blog.vorteile h2 {
    font-family: "Roboto",sans-serif;
    font-weight: 300;
    font-size:16px;
}

#bottom .blog.vorteile h2 strong {
    text-transform: uppercase;
    font-weight: 300;
}

footer {
    position: relative;
    overflow: auto;
    font-family: "Roboto",sans-serif;
}

footer h1 {
    position: absolute;
    left: calc((100% - 1200px) / 2);
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    margin: 0;
    padding: 25px;
    text-transform: uppercase;
    font-family: "Roboto Condensed",sans-serif;
    color: #BE0000;
    letter-spacing: 0.5px;
    z-index: 1;
}

#footer_img {
    width:calc((1200px * 0.746) + (50% - 600px));
    float:left;
    overflow: hidden;
    height: 100%;
    position: absolute;
}

#footer_img img {
    height:100%;
    width:100%;
}

footer #adress {
    float:right;
    width:25%;
    padding-top:30px;
    padding-left:15px;
}

footer #adress img {
    margin-bottom: 50px;
}

footer #adress p {
    padding-left:30px;
    margin-top:20px;
}

footer a {
    color: #878787;
    text-decoration: none;
    transition: all 0.3s;
}

footer #impressum, footer #copyright {
    font-size: 13px;
    margin-top:35px !important;
    border-bottom: 3px solid #EEE;
    padding-bottom:5px;
    font-weight: 600;
}

footer #impressum  {
    margin-right:35px;
    display: inline-block;
}


footer a:hover {
    color:#BE0000;
    transition: all 0.3s;
}

footer #copyright:hover {
    border-bottom: 3px solid #EEE;
    color: #878787;
}

footer #adress img {
    width:100%;
    transition: all 0.2s ease 0s;
}

footer #adress img:hover {
    opacity: 0.7;
    transition: all 0.2s ease 0s;
}



/*------------------------------RESPONSIVE----------------------------*/

@media(max-width:1350px){
    #referenzen {
        background-size:auto auto;
    }
}

@media(max-width:1300px) {
    header nav {
        text-align: center;
    }

    #bottom .blog.vorteile:last-child {
        padding-right:50px;
    }

    #bottom .blog.vorteile h2 {
        font-size:12px;
    }

    #footer_img {
        width: 72.7%;
    }

    footer #adress {
        padding-left:0;
    }

    footer #adress img {
        width: 75%;
    }

    footer #adress p {
        font-size:12px;
    }

    footer #impressum, footer #copyright {
        font-size:11px;
    }

    footer h1 {
        font-size:20px;
        left:17%;
    }

    #footer_img img {
        width:auto;
    }

}

@media(max-width:1200px){
    header, #top, #content,#grey, #bottom  {
        padding-left:1%;
        padding-right:1%;
    }

    #grey .description.leistungen h1 {
        margin-left:1%;
    }

    #top .slider_content {
        width: 40%;
        height:249px;
    }

    #top .blog.leistungen.klein {
        margin-bottom: 0;
        margin-right:1.5%;
        height:249px;
    }

    #top .slider_content:hover::after {
        top: 130px;
    }
}


@media(max-width:1045px){
    header nav ul li {
        margin-left: 1.2%;
        margin-right: 1.2%;
    }

    #grey .article h1 {
        font-size: 13px;
    }

    #grey {
        margin-top: 10%;
    }

    #bottom {
        display:none;
    }

    #referenzen {
        margin-bottom:20px;
    }

    #footer_img, footer h1 {
        display:none;
    }

    footer #adress {
        float: none;
        width: 100%;
    }

    footer #adress img {
        width: 45%;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    footer #adress p {
        padding-left: 0;
        margin-top: 0;
        text-align: center;
        font-size: 14px;
    }
}

@media(max-width:950px){

    header  nav ul {
		display: none;
	}

	header nav #menu {
		display: block;
	}
}

@media(max-width:850px){
    #grey .article h1 {
        font-size: 11px;
    }

    #top .blog.leistungen.klein h1 {
        font-size: 14px;
    }

    #top .slider_content h1 {
        font-size:18px;
    }

    header a img {
        width:250px;
    }

    header nav {
        width:auto;
    }
}

@media(max-width:750px) {
    #grey {
        text-align:center;
        padding-top: 30px;
    }

    #grey .article {
        float:none;
        display:inline-block;
        width:30%;
        margin-bottom: 1.2%;
    }

    #left {
        width: 100%;
        float: none;
    }

    #right {
        width: 100%;
        float: none;
    }

    #right .blog.tools {
        width: 48%;
        float: left;
        margin-right:1%;
        margin-left:1%;
        overflow: hidden;
    }

    #right .blog.tools img {
        height:190px;
        width:auto;
    }

    #grey .article.gebrechen {
    background-image: url(images/icon_gebrechen_red.png);
    }

    #grey .article.article.sanitaer_heizungstechnik {
        background-image: url(images/icon_sanitaer_heizungstechnik_red.png);
    }

    #grey .article.schwimmbadbau {
        background-image: url(images/icon_schwimmbadbau_red.png);
    }

    #grey .article.sonderbau {
        background-image: url(images/icon_innenausbau_red.png);
    }

    #grey .article.wohnungssanierung {
        background-image: url(images/icon_steinundfliesen_red.png);
    }

}

@media(max-width:700px) {
    #top .slider_content {
        width: 100%;
        height: 362px;
        float:none;
        margin-right:0;
    }

    #top .blog.leistungen.klein {
        display:none;
    }

    #top .slider_content:hover::after {
        top: 220px;
    }

    #top {
        padding-top: 115px;
    }
}

@media(max-width:550px){
    #red {
        display:none;
    }

    nav #menu {
        right:20px;
    }
}

@media(max-width:500px){
    #top .slider_content {
        display:none;
    }

    #grey .article {
        width:47%;
    }


}
