/*
Theme Name:     Gerhardter Bau
Theme URI:      http://example.com/
Description:    Child theme for the StrapPress
Author:         Impuls Werbeagentur by Andras Joni
Author URI:     http://impuls-werbeagentur.at
Template:       strappress
Version:        0.1.0
*/

@import url("../strappress/style.css");

/*FIX ADMIN BAR DESIGN*/

div#wpadminbar {
    height: 32px;
}

body.admin-bar {
    margin-top: 0;
}

@media all and (max-width: 1600px) {
    div#wpadminbar {
        height: 64px;
    }
    body.admin-bar {
        margin-top: 32px;
    }
}

@media all and (max-width: 1023px) {
    div#wpadminbar {
        z-index: 1;
    }
}

@media all and (max-width: 782px) {
    div#wpadminbar {
        height: 46px;
    }
    body.admin-bar {
        margin-top: 0;
    }
}

@media all and (max-width: 550px) {
    div#wpadminbar {
        height: 92px;
    }
    body.admin-bar {
        margin-top: 46px;
    }
}


/*THEME DESIGN */

html {
    color: #000;
    overflow-x: hidden!important;
}

body {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
    color: #000;
    background: #ffffff;
    /* Old browsers */
    background: -moz-linear-gradient(top, #cecece 0px, #ffffff 400px);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #cecece 0px, #ffffff 400px);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #cecece 0px, #ffffff 400px);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#cecece', endColorstr='#ffffff', GradientType=0);
    /* IE6-9 */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
}

@media all and (max-width: 767px) {
    body {
        /* Old browsers */
        background: -moz-linear-gradient(top, #cecece 0px, #ffffff 200px);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, #cecece 0px, #ffffff 200px);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, #cecece 0px, #ffffff 200px);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#cecece', endColorstr='#ffffff', GradientType=0);
        /* IE6-9 */
    }
}


/*HEADER*/

header {
    position: relative;
    width: 100%;
    z-index: 2;
    height: 140px;
}

header img {
    margin: 0!important;
}

@media all and (max-width: 1920px) {
    header {
        height: 7.29vw;
    }
}

@media all and (max-width: 767px) {
    header {
        height: 60px;
    }
    header.nav-open {
        position: fixed;
        top: 0;
    }
}


/*END HEADER*/


/*NAVIGATION*/

nav.navbar {
    line-height: 50px;
    font-size: 40px;
    font-weight: 700;
    padding: 0;
    margin: 0;
    border: none;
}

button.nav-btn {
    background: #FFDC00;
    border: none;
    width: auto;
    padding: 55px 65px;
    outline: none;
    margin: 0;
    position: relative;
    z-index: 2;
}

nav.navbar span.burger {
    display: block;
    float: left;
    width: 51px;
    height: 27px;
    margin-right: 18px;
    background: url('../../../wp-content/uploads/burger.png');
    background-size: cover;
}

nav.navbar.nav-open span.burger {
    display: none;
}

nav.navbar span.navclose {
    display: none;
}

nav.navbar.nav-open span.navclose {
    text-align: right;
    display: block;
    color: #000;
    float: left;
    text-transform: uppercase;
    line-height: 30px;
    float: left;
    width: 51px;
    height: 27px;
    margin-right: 18px;
}

span.menulabel {
    color: #000;
    float: left;
    text-transform: uppercase;
    line-height: 30px;
}

ul.navbar-nav {
    display: none;
}

header.nav-open {
    z-index: 100;
}

nav.navbar.nav-open ul#menu-hauptmenu {
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    /*background: #FFDC00;*/
    padding: 15vw;
    text-align: center;
    max-width: 100%;
    left: 0;
    margin-left: 0!important;
    margin-right: 0!important;
    z-index: 100;
}

nav.navbar.nav-open ul#menu-hauptmenu li {
    float: left;
    display: none;
    width: 100%;
    margin: 0 0 15px 0;
    /*opacity: 0;
    top: 15px;*/
    transition: all 0.5s ease-in;
}


/*nav.navbar.nav-open ul#menu-hauptmenu li.fade {
    top: 0;
    opacity: 1;
} */

nav.navbar.nav-open ul#menu-hauptmenu li a {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    float: none;
    color: #000;
    background: none;
    transition: 0.3s ease-in-out;
    text-decoration: none;
}

nav.navbar.nav-open ul#menu-hauptmenu li a:hover,
nav.navbar.nav-open ul#menu-hauptmenu li a:focus {
    color: #fff;
}

nav.navbar.nav-open button.nav-btn {
    background: #FFDC00;
    border: none;
    width: auto;
    padding: 55px 65px;
    outline: none;
    margin: 0;
    z-index: 101;
    position: fixed;
}

.ball {
    width: 22px;
    height: 22px;
    border-radius: 11px;
    margin: 0 10px;
    animation: 2s bounce ease infinite;
}

.green {
    background-color: #00943E;
    animation-delay: .25s;
}

.yellow {
    background-color: #FFDC00;
    animation-delay: .5s;
}

@keyframes bounce {
    50% {
        transform: translateY(25px);
    }
}

.nav-inner {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    display: block;
    z-index: 1;
    overflow: hidden;
}

nav.navbar.nav-open .nav-inner {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.nav-yellow {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 0;
    background: #FFDC00;
    top: 0;
    border-radius: 50%;
    margin: 0;
    transform: scale(0);
    transition: none;
}

nav.navbar.nav-open .nav-yellow {
    transform: scale(200);
    transition: all 0.5s 0.1s linear;
}

@media all and (max-width: 1920px) {
    nav.navbar {
        line-height: 2.6vw;
        font-size: 2.08vw;
    }
    button.nav-btn {
        padding: 2.86vw 3.38vw;
    }
    nav.navbar span.burger {
        width: 2.66vw;
        height: 1.4vw;
        margin-right: 0.95vw;
    }
    nav.navbar.nav-open span.navclose {
        line-height: 1.56vw;
        width: 2.66vw;
        height: 1.4vw;
        margin-right: 0.95vw;
    }
    span.menulabel {
        line-height: 1.56vw;
    }
    nav.navbar.nav-open ul#menu-hauptmenu {
        height: 100vh;
        padding: 15vw;
    }
    nav.navbar.nav-open ul#menu-hauptmenu li {
        margin: 0 0 0.78vw 0;
    }
    nav.navbar.nav-open button.nav-btn {
        padding: 2.86vw 3.38vw;
    }
    .nav-yellow {
        width: 2.6vw;
        height: 2.6vw;
    }
}

@media all and (max-width: 767px) {
    nav.navbar {
        line-height: 20px;
        font-size: 20px;
    }
    button.nav-btn {
        padding: 22px 26px;
        position: fixed;
    }
    nav.navbar span.burger {
        width: 20px;
        height: 11px;
        margin-right: 10px;
    }
    nav.navbar.nav-open span.navclose {
        line-height: 12px;
        width: 22px;
        height: 11px;
        margin-right: 10px;
    }
    span.menulabel {
        line-height: 12px;
    }
    nav.navbar.nav-open ul#menu-hauptmenu {
        height: 100vh;
        padding: 100px 0 0 0;
        width: auto;
    }
    nav.navbar.nav-open ul#menu-hauptmenu li {
        margin: 0 0 6px 0;
    }
    nav.navbar.nav-open button.nav-btn {
        padding: 22px 26px;
    }
    .nav-yellow {
        width: 20px;
        height: 20px;
    }
}

@media all and (max-width: 480px) {
    button.nav-btn {
        padding: 22px 20px;
    }
    nav.navbar span.burger {
        margin-right: 0;
    }
    nav.navbar.nav-open span.navclose {
        text-align: left;
    }
    span.menulabel {
        display: none;
    }
}


/*END NAVIGATION*/


/*LOGO*/

div#theme-logo {
    position: absolute;
    top: 0;
    right: 0;
    width: 499px;
    height: 255px;
    z-index: 1;
}

@media all and (max-width: 1920px) {
    div#theme-logo {
        width: 25.98vw;
        height: 13.28vw;
    }
}

@media all and (max-width: 767px) {
    div#theme-logo {
        width: 32vw;
        height: 17vw;
    }
}

@media all and (max-width: 580px) {
    div#theme-logo {
        width: 145px;
        height: 74px;
    }
}

@media all and (max-width: 480px) {
    div#theme-logo {
        width: 130px;
        height: 68px;
    }
}


/*END LOGO*/


/*HEADER ICONS*/

div#header-icons {
    position: absolute;
    top: 25px;
    right: 510px;
    z-index: 101;
}

#header-icons .icon {
    float: left;
    margin-right: 12px;
    width: 62px;
    height: 62px;
}

@media all and (max-width: 1920px) {
    div#header-icons {
        top: 1.3vw;
        right: 26.56vw;
    }
    #header-icons .icon {
        width: 5vw;
        height: 5vw;
        max-width: 62px;
        max-height: 62px;
    }
}

@media all and (max-width: 767px) {
    div#header-icons {
        top: 10px;
        right: 32vw;
    }
    #header-icons .icon {
        width: 38px;
        height: 38px;
    }
}

@media all and (max-width: 580px) {
    div#header-icons {
        top: 10px;
        right: 165px;
    }
}

@media all and (max-width: 480px) {
    div#header-icons {
        top: 12px;
        right: 130px;
    }
    #header-icons .icon {
        width: 32px;
        height: 32px;
        margin-right: 7px;
    }
}


/*END HEADER ICONS*/


/*CONTAINER*/

@media all and (min-width: 320px) {
    .container {
        width: 100%!important;
        padding: 25px;
    }
}

@media all and (min-width: 426px) {
    .container {
        width: 90%!important;
        padding: 15px;
    }
}

@media all and (min-width: 768px) {
    .container {
        width: 90%!important;
        padding: 10px;
    }
}


/*END CONTAINER*/


/*SECTION & ROWS*/

.vc_row {
    /*margin-top: 60px!important;
    margin-bottom: 60px!important;*/
    /*margin-bottom: 20px;*/
}

.vc_row.vc_inner {
    margin-bottom: 0px;
}

.vc_row:not([data-vc-full-width='true']) {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.vc_section {
    /*margin-top: -60px!important;*/
}

.wpb_button,
.wpb_content_element,
ul.wpb_thumbnails-fluid>li,
.vc_btn3-container {
    margin-bottom: 35px;
}

.bx-wrapper {
    margin-bottom: 35px;
}

#social {
    margin-top: 35px;
    margin-bottom: 35px;
}

@media all and (max-width: 1140px) {
    .vc_row {
        /*margin-top: 5vw!important;
        margin-bottom: 5vw!important;*/
    }
    .vc_section {
        /*margin-top: -5vw!important;*/
    }
    .wpb_button,
    .wpb_content_element,
    ul.wpb_thumbnails-fluid>li,
    .vc_btn3-container {
        margin-bottom: 20px!important;
    }
}

@media all and (max-width: 767px) {
    .vc_row {
        /*margin-top: 8vw!important;
        margin-bottom: 8vw!important;*/
    }
    .vc_section {
        /*margin-top: -8vw!important;*/
    }
    .vc_row[data-vc-full-width] {
        margin-left: auto!important;
        margin-right: auto!important;
        max-width: calc(100% - 25px)!important;
        width: auto!important;
        left: inherit!important;
    }
    .vc_section {
        padding-left: 0!important;
        padding-right: 0!important;
        margin-left: 0!important;
        margin-right: 0!important;
    }
    .wpb_button,
    .wpb_content_element,
    ul.wpb_thumbnails-fluid>li,
    .vc_btn3-container {
        margin-bottom: 20px!important;
    }
}


/*.vc_column-inner > .vc_column-inner {
    padding: 0!important;
}*/

.vc_column-inner .vc_row.wpb_row.vc_inner.vc_row-fluid {
    margin-left: -15px;
    margin-right: -15px;
}


/*END SECTION & ROWS*/


/*BEITRAGSBILD*/

.beitragsbild {
    position: relative;
    margin-top: -140px;
    margin-bottom: -60px;
    z-index: 1;
}

.beitragsbild .full-img img {
    margin: 0;
    width: 100%;
}

div#header-label {
    position: absolute;
    width: 407px;
    height: 407px;
    bottom: 115px;
    left: 80px;
}

div#header-label img {
    margin: 0;
}

.beitragsbild:after {
    content: "";
    float: left;
    width: 100%;
    position: absolute;
    height: 34px;
    background: url('../../../wp-content/uploads/slider-bottom.png');
    background-size: cover;
    bottom: 0px;
}

a#totop {
    position: absolute;
    bottom: 80px;
    left: calc(50% - 56px);
    width: 112px;
    height: 53px;
}

a#totop span {
    float: left;
    background: url('../../../wp-content/uploads/top-arrow.png');
    background-size: cover;
    width: 100%;
    height: 100%;
}

@media all and (max-width: 1920px) {
    .beitragsbild {
        margin-top: -7.29vw;
        margin-bottom: -2.6vw;
    }
    div#header-label {
        width: 21.18vw;
        height: 21.18vw;
        bottom: 6vw;
        left: 4vw;
    }
    .beitragsbild:after {
        height: 1.77vw;
    }
    a#totop {
        bottom: 4vw;
        left: calc(50% - 2.9vw);
        width: 5.8vw;
        height: 2.76vw;
    }
}

@media all and (max-width: 1024px) {
    a#totop {
        bottom: 5vw;
        left: calc(50% - 4.35vw);
        width: 8.7vw;
        height: 4.14vw;
    }
}

@media all and (max-width: 767px) {
    .beitragsbild {
        margin-top: -60px;
        margin-bottom: 0px;
    }
    .beitragsbild:after {
        height: 14px;
        bottom: -10px;
    }
    div#header-label {
        width: 28vw;
        height: 28vw;
        bottom: 6vw;
        left: 5vw;
    }
    a#totop {
        bottom: 5vw;
        left: calc(50% - 6vw);
        width: 12vw;
        height: 6vw;
    }
}


/*END BEITRAGSBILD*/

#wrapper {
    padding-top: 120px!important;
}

@media all and (max-width: 1920px) {
    #wrapper {
        padding-top: 7vw!important;
    }
}

@media all and (max-width: 767px) {
    #wrapper {
        padding-top: 20px!important;
    }
}


/*FORMATIERUNGEN*/

h1 {
    font-size: 60px;
    float: none;
    margin: 0;
    padding-bottom: 25px;
    border-bottom: 12px solid #FFDC00;
    display: inline-block;
}

h2 {
    font-size: 32px;
    line-height: 42px;
    float: none;
    display: inline-block;
}

h3 {
    font-size: 44px;
    line-height: 56px;
    float: none;
    display: inline-block;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 12px solid #FFDC00;
}

h4 {
    font-size: 32px;
    line-height: 36px;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 8px solid #FFDC00;
    float: none;
    display: inline-block;
}

h5 {
    font-size: 24px;
    line-height: 30px;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 6px solid #FFDC00;
    float: none;
    display: inline-block;
}

h6 {
    font-size: 20px;
    line-height: 26px;
    margin: 0;
    padding-bottom: 6px;
    border-bottom: 4px solid #FFDC00;
    float: none;
    display: inline-block;
}

p {
    font-size: 20px;
    line-height: 34px;
}

.wpb_wrapper p {
    font-size: 20px;
    line-height: 34px;
}

.wpb_wrapper ul {
    margin-left: 0px!important;
    padding-left: 20px!important;
    list-style-type: square!important;
}

.wpb_wrapper li {
    font-size: 20px;
    line-height: 34px;
}

.wpb_wrapper a,
.wpb_wrapper a:hover,
.wpb_wrapper a:focus {
    color: #000;
    font-weight: 400;
    text-decoration: underline;
}

a.vc_general,
button.vc_general {
    font-family: 'Swanky and Moo Moo', cursive!important;
    background-color: #00943E!important;
    font-size: 28px!important;
    border-bottom: 7px solid #FFDC00!important;
    color: #fff!important;
    width: 100%!important;
    border-left: none!important;
    border-right: none!important;
    border-top: none!important;
    border-radius: 0!important;
    font-weight: 400!important;
    background-image: none!important;
    transition: all 0.2s ease-in-out!important;
}

a.vc_general:hover,
a.vc_general:focus,
button.vc_general:hover,
button.vc_general:focus {
    font-family: 'Swanky and Moo Moo', cursive!important;
    background-color: #00943E!important;
    font-size: 28px!important;
    border-bottom: 7px solid #FFDC00!important;
    color: #fff!important;
    width: 100%!important;
    border-left: none!important;
    border-right: none!important;
    border-top: none!important;
    border-radius: 0!important;
    font-weight: 400!important;
    background-image: none!important;
}

.vc_btn3-container {
    width: 100%;
}

a.vc_general.vc_btn3-size-lg,
button.vc_general.vc_btn3-size-lg {
    width: 100%!important;
}

a.vc_general.vc_btn3-size-md,
button.vc_general.vc_btn3-size-md {
    width: auto!important;
}

.hintergrund {
    background: #F0F0F0;
    padding: 30px 15px 0 15px!important;
    position: relative;
    left: 15px;
}

.vc_row.hintergrund {
    background: #F0F0F0;
    padding: 30px 15px 0 15px!important;
    position: relative;
    left: 0px;
    width: calc(100% - -74px)!important;
    max-width: calc(1050px - 30px)!important;
}

@media all and (max-width: 1140px) {
    h1 {
        font-size: 5vw;
        line-height: 6vw;
    }
    h2 {
        font-size: 2.6vw;
        line-height: 3.8vw;
    }
    h3 {
        font-size: 3.8vw;
        line-height: 4.9vw;
        padding-bottom: 15px;
        border-bottom: 12px solid #FFDC00;
    }
    h4 {
        font-size: 2.8vw;
        line-height: 3.15vw;
        padding-bottom: 10px;
        border-bottom: 8px solid #FFDC00;
    }
    h5 {
        font-size: 2.1vw;
        line-height: 2.6vw;
        padding-bottom: 8px;
        border-bottom: 6px solid #FFDC00;
    }
    h6 {
        font-size: 1.75vw;
        line-height: 2.2vw;
        padding-bottom: 6px;
        border-bottom: 4px solid #FFDC00;
    }
    p {
        font-size: 18px;
        line-height: 30px;
    }
    .wpb_wrapper p {
        font-size: 18px;
        line-height: 30px;
    }
    .wpb_wrapper ul {
        margin-left: 0px!important;
        padding-left: 20px!important;
    }
    .wpb_wrapper li {
        font-size: 18px;
        line-height: 30px;
    }
    a.vc_general,
    button.vc_general {
        font-size: 20px!important;
        border-bottom: 7px solid #FFDC00!important;
    }
    a.vc_general:hover,
    a.vc_general:focus,
    button.vc_general:hover,
    button.vc_general:focus {
        font-size: 20px!important;
        border-bottom: 7px solid #FFDC00!important;
    }
    .hintergrund {
        padding: 30px 15px 0 15px!important;
        left: 15px;
    }
}

@media all and (max-width: 980px) {
    p {
        font-size: 15px;
        line-height: 25px;
    }
    .wpb_wrapper p {
        font-size: 15px;
        line-height: 25px;
    }
    .wpb_wrapper li {
        font-size: 15px;
        line-height: 25px;
    }
    a.vc_general,
    button.vc_general {
        font-size: 18px!important;
        border-bottom: 7px solid #FFDC00!important;
        padding: 12px 15px!important;
    }
    a.vc_general:hover,
    a.vc_general:focus,
    button.vc_general:hover,
    button.vc_general:focus {
        font-size: 18px!important;
        border-bottom: 7px solid #FFDC00!important;
        padding: 12px 15px!important;
    }
    .hintergrund {
        padding: 20px 10px 0 10px!important;
        left: 0;
        max-width: calc(100% - 20px)!important;
    }
    .vc_row.hintergrund {
        padding: 20px 5px 0 5px!important;
        margin-left: 15px;
        margin-right: 0!important;
        max-width: calc(100% - 30px)!important;
    }
    #wrapper>.row>.col-md-12 {
        padding-left: 0!important;
        padding-right: 0!important;
    }
}

@media all and (max-width: 767px) {
    h1 {
        font-size: 32px;
        padding-bottom: 12px;
        border-bottom: 10px solid #FFDC00;
        line-height: 38px;
    }
    h2 {
        font-size: 20px;
        line-height: 26px;
        margin-top: 0;
    }
    h3 {
        font-size: 24px;
        line-height: 30px;
        margin: 0;
        padding-bottom: 8px;
        border-bottom: 10px solid #FFDC00;
    }
    h4 {
        font-size: 20px;
        line-height: 24px;
        margin: 0;
        padding-bottom: 6px;
        border-bottom: 8px solid #FFDC00;
    }
    h5 {
        font-size: 18px;
        line-height: 22px;
        margin: 0;
        padding-bottom: 6px;
        border-bottom: 6px solid #FFDC00;
    }
    h6 {
        font-size: 16px;
        line-height: 20px;
        margin: 0;
        padding-bottom: 4px;
        border-bottom: 4px solid #FFDC00;
    }
}


/*END FORMATIERUNGEN*/


/*MAIN HEADLINE*/

#main-headline {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media all and (min-width: 768px) {
    #main-headline,
    #main-headline>div {
        position: relative;
    }
    #main-headline #main-h2>div {
        position: absolute;
        bottom: 40px;
    }
    div#main-h2 {
        position: absolute;
        width: 45%;
        height: 100%;
        left: 55%;
    }
}

@media all and (max-width: 767px) {
    #main-headline {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}


/*END MAIN HEADLINE*/


/*ESSENTIAL GRID*/


/*ESSENTIAL GRID FILTER BUTTON*/

.esg-filterbutton {
    font-family: 'Swanky and Moo Moo', cursive!important;
    background-color: #00943E!important;
    font-size: 28px!important;
    border-bottom: 7px solid #FFDC00!important;
    color: #fff!important;
    width: 100%!important;
    border-left: none!important;
    border-right: none!important;
    border-top: none!important;
    border-radius: 0!important;
    font-weight: 400!important;
    background-image: none!important;
    transition: all 0.2s ease-in-out!important;
    float: left;
    width: inherit!important;
    margin: 5px!important;
    box-shadow: none!important;
}

.esg-filterbutton:hover,
.esg-filterbutton:focus,
.esg-filterbutton.selected {
    font-family: 'Swanky and Moo Moo', cursive!important;
    background-color: #00943E!important;
    font-size: 28px!important;
    border-bottom: 7px solid #FFDC00!important;
    color: #FFDC00!important;
    width: 100%!important;
    border-left: none!important;
    border-right: none!important;
    border-top: none!important;
    border-radius: 0!important;
    font-weight: 400!important;
    background-image: none!important;
    transition: all 0.2s ease-in-out!important;
    float: left;
    width: inherit!important;
    margin: 5px!important;
    box-shadow: none!important;
}


/*END ESSENTIAL GRID FILTER BUTTON*/

.esg-container-fullscreen-forcer {
    width: 100%!important;
    left: inherit!important;
}


/*sg-overflowtrick {
    max-width: 1050px!important;
    margin: 0px auto!important;
    padding: 0 0;
    height: auto!important;
    width: auto!important;
}
*/

.esg-overflowtrick ul {
    width: 100%!important;
    margin: 0!important;
    padding: 0!important;
    float: left!important;
    height: auto!important;
}


/*
.esg-overflowtrick li {
    width: 50%!important;
    transform: none!important;
    position: relative!important;
    height: auto!important;
    float: left;
    left: 0!important;
    top: 0!important;
    margin-left: 0;
    padding: 5px!important;
    margin-right: 0px!important;
}*/

.eg-gerhardter-bau-element-0,
.eg-gerhardter-bau-element-1,
.projekte-slider .projekt h3,
.projekte-slider .projekt p {
    text-shadow: 1px 1px 2px #000;
}

.esg-navigationbutton.esg-loadmore {
    display: none!important;
}

@media all and (max-width: 767px) {
    .esg-filterbutton,
    .esg-filterbutton:hover,
    .esg-filterbutton:focus,
    .esg-filterbutton.selected {
        width: 100%!important;
        margin-left: 0!important;
        margin-right: 0!important;
    }
    .esg-overflowtrick li {
        width: 100%!important;
    }
}

@media all and (max-width: 600px) {
    .esg-bottom.eg-gerhardter-bau-element-0-a a {
        width: auto!important;
        font-size: 7vw!important;
        line-height: 9vw!important;
        text-align: center;
        position: relative;
        right: 0;
        left: 0;
        padding: 0 0 6px 0!important;
        margin: auto;
        color: #fff!important;
        border-bottom: none;
        display: table;
        text-decoration: none;
    }
    .esg-bottom.eg-gerhardter-bau-element-1 {
        color: #fff;
        position: relative;
        float: left;
        width: 100%;
        text-align: center;
        padding: 0!important;
        margin: 0px!important;
        font-size: 5vw;
        line-height: 7vw;
    }
    .esg-bottom.eg-gerhardter-bau-element-0-a a:after {
        content: "";
        width: 80%;
        left: 10%;
        height: 2vw;
        background-color: #FFDC00;
        position: absolute;
        top: 100%;
    }
}


/*ESSENTIAL GRID*/


/*INTERACTIVE BANNER */

.ult-banner-block h3 {
    background: #00943E!important;
    font-size: 24px!important;
    line-height: 26px!important;
    padding-bottom: 0px;
    border-bottom: 4px solid #FFDC00;
    display: inline-block;
    font-weight: 400!important;
    font-family: 'Swanky and Moo Moo', cursive!important;
}

.ult-banner-block .mask.opaque-background {
    background: #00943E!important;
}

.ult-banner-block .bb-description.ult-responsive {
    width: 100%;
    height: 100%;
    padding-top: 50%!important;
}


/*END INTERACTIVE BANNER */


/*TEASER ICON*/

#teaser {
    overflow: visible;
    z-index: 1;
    margin-bottom: 45px!important;
}

.teaser-icon {
    position: relative!important;
    overflow: visible!important;
    padding-top: 0!important;
    padding-bottom: 0!important;
    z-index: 1;
}

.teaser-icon .wpb_single_image img {
    margin: 0!important;
}

.teaser-icon .btn-icon {
    margin: 0;
    height: 2vw;
}

.btn-icon a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.teaser-icon .btn-icon img {
    position: absolute;
    bottom: 0;
    right: 8%;
    width: 36%;
    transition: all 0.3s 0.3s linear;
}

.teaser-icon .wpb_single_image:not(.btn-icon):before {
    content: "";
    width: 1px;
    height: 1px;
    position: absolute;
    background: #FFDC00;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: scale(0);
    transition: all 0.1s 0s ease-out;
}

.teaser-icon .wpb_single_image:not(.btn-icon) {
    overflow: hidden;
    position: relative;
}

.teaser-icon:hover .wpb_single_image:not(.btn-icon):before,
.teaser-icon:focus .wpb_single_image:not(.btn-icon):before {
    transform: scale(1000);
    transition: all 0.3s 0.2s ease-in;
}

.teaser-icon:hover .btn-icon img,
.teaser-icon:focus .btn-icon img {
    position: absolute;
    top: 23%;
    right: calc(31%);
    transition: all 0.3s 0s ease-in;
}

@media all and (max-width: 1140px) {
    .teaser-icon .btn-icon {
        margin: 0;
        height: 0;
    }
}

@media all and (max-width: 767px) {
    #teaser {
        margin-bottom: 0px!important;
    }
    .teaser-icon {
        position: relative!important;
        overflow: visible!important;
        padding-top: 0!important;
        margin-bottom: 10%!important;
        z-index: 1;
    }
    .teaser-icon:last-child {
        margin-bottom: 0%!important;
    }
}


/*Workaround for bigger screens*/

.teaser-icon img.vc_single_image-img.attachment-full {
    width: 1000px!important;
    float: left;
    max-width: 100%!important;
}

@media all and (max-width: 1140px) {
    #teaser {
        margin-bottom: 40px!important;
    }
}


/*END TEASER ICON*/


/*PROJEKTE SLIDER*/

div#projekte-slider {
    position: relative;
}

.projekte-slider li.projekt {
    position: relative;
}

.projekte-slider img {
    width: 100%;
    margin: 0;
    max-height: 550px;
}

.projekt-image:after,
.esg-entry-cover:after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(38, 38, 38, 0.6) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(38, 38, 38, 0.6) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(38, 38, 38, 0.6) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#99262626', GradientType=0);
    /* IE6-9 */
}

.projekte-slider .projekt h3 {
    width: auto;
    text-align: center;
    position: absolute;
    top: 50%;
    display: block;
    right: 0;
    left: 0;
    margin: auto;
    color: #fff!important;
    border-bottom: none;
}

.projekte-slider .projekt h3:after {
    content: "";
    width: 400px;
    left: calc(50% - 200px);
    height: 12px;
    background-color: #FFDC00;
    position: absolute;
    top: 100%;
}

.projekte-slider .projekt p {
    color: #fff;
    position: absolute;
    top: 66%;
    width: 100%;
    text-align: center;
}

a.projektlink {
    position: absolute;
    bottom: 65px;
    left: 0;
    right: 0;
    text-align: center;
}

a.projektlink img {
    width: auto;
}

.bx-pager.bx-default-pager {
    display: none;
}

a.bx-prev {
    background: url('../../../wp-content/uploads/arrow-left.png');
    background-size: cover;
    width: 53px;
    height: 112px;
    position: absolute;
    top: calc(50% - 56px);
    left: 40px;
}

a.bx-next {
    background: url('../../../wp-content/uploads/arrow-right.png');
    background-size: cover;
    width: 53px;
    height: 112px;
    position: absolute;
    top: calc(50% - 56px);
    right: 40px;
}

@media all and (max-width: 1140px) {
    .projekte-slider .projekt h3 {
        padding-bottom: 1.3vw!important;
        font-size: 3.8vw!important;
        top: calc(55% - 20px);
        line-height: 4.9vw!important;
    }
    .projekte-slider .projekt h3:after {
        content: "";
        width: 35vw;
        left: calc(50% - 17.5vw);
        height: 1vw;
    }
    a.projektlink {
        bottom: 5.7vw;
    }
    a.projektlink img {
        width: 7.35vw;
        height: 7.35vw;
    }
    a.bx-prev {
        width: 4.6vw;
        height: 9.8vw;
        top: calc(50% - 2.3vw);
        left: 3.5vw;
    }
    a.bx-next {
        width: 4.6vw;
        height: 9.8vw;
        top: calc(50% - 2.3vw);
        right: 3.5vw;
    }
}

@media all and (max-width: 767px) {
    a.projektlink img {
        width: 50px;
        height: 50px;
    }
    .projekte-slider .projekt h3 {
        width: auto;
        text-align: center;
        position: absolute;
        top: inherit;
        display: block;
        right: 0;
        font-size: 5vw!important;
        left: 0;
        margin: auto;
        color: #fff!important;
        border-bottom: none;
        bottom: calc(5.7vw + 100px);
        line-height: 7vw!important;
    }
    .projekte-slider .projekt p {
        color: #fff;
        position: absolute;
        top: inherit;
        width: 100%;
        text-align: center;
        bottom: calc(5.7vw + 50px);
    }
    .projekte-slider img {
        max-height: 400px;
    }
}

@media all and (max-width: 560px) {
    .projekte-slider img {
        max-height: 300px;
    }
}


/*END PROJEKTE SLIDER*/


/*PROJEKTE LIST*/

div#projekte-list {
    width: 100%;
    float: left;
    position: relative;
}

div#projekte-list ul {
    width: 100%;
    float: left;
    position: relative;
    margin: 0;
    padding: 15px;
}

.projekte-list li.projekt {
    position: relative;
    width: calc(50% - 8px);
    margin: 0 8px 8px 0;
    float: left;
    list-style-type: none;
}

.projekte-list img {
    width: 100%;
}

.projekte-list .projekt h3 {
    width: auto;
    text-align: center;
    position: absolute;
    top: 54%;
    display: block;
    right: 0;
    left: 0;
    margin: auto;
    color: #fff!important;
    border-bottom: none;
}

.projekte-list .projekt h3:after {
    content: "";
    width: 400px;
    left: calc(50% - 200px);
    height: 12px;
    background-color: #FFDC00;
    position: absolute;
    top: 100%;
}

.projekte-list .projekt p {
    color: #fff;
    position: absolute;
    top: 78%;
    width: 100%;
    text-align: center;
}

.esg-bc.eec {
    top: 0;
}

.eg-gerhardter-bau-container {
    background: transparent!important;
}

.esg-overlay.esg-bottom.esg-covergrowup.eg-gerhardter-bau-container {
    display: none;
}

.esg-entry-cover .eg-gerhardter-bau-element-0-a {
    display: block !important;
    text-align: left !important;
    clear: both !important;
    float: left;
    margin: 20px 0px 0px 20px !important;
    position: relative !important;
    top: 0;
    width: calc(100% - 50px);
    padding: 0;
    margin: 35% 25px 25px 25px!important;
}

.esg-bottom.eg-gerhardter-bau-element-0-a a {
    width: auto!important;
    font-size: 44px!important;
    line-height: 48px!important;
    text-align: center;
    position: relative;
    right: 0;
    left: 0;
    padding: 0 0 6px 0!important;
    margin: auto;
    color: #fff!important;
    border-bottom: none;
    display: table;
    text-decoration: none;
}

.esg-bottom.eg-gerhardter-bau-element-0-a a:after {
    content: "";
    width: 80%;
    left: 10%;
    height: 12px;
    background-color: #FFDC00;
    position: absolute;
    top: 100%;
}

.esg-bottom.eg-gerhardter-bau-element-1 {
    color: #fff;
    position: relative;
    float: left;
    width: 100%;
    text-align: center;
}

@media all and (max-width: 1140px) {
    .esg-entry-cover .eg-gerhardter-bau-element-0-a {
        margin: 25% 25px 25px 25px!important;
    }
}

@media all and (min-width: 768px) and (max-width: 1140px) {
    .esg-bottom.eg-gerhardter-bau-element-0-a a {
        width: auto!important;
        font-size: 3.4vw!important;
        line-height: 3.6vw!important;
        text-align: center;
        position: relative;
        right: 0;
        left: 0;
        padding: 0 0 6px 0!important;
        margin: auto;
        color: #fff!important;
        border-bottom: none;
        display: table;
    }
    .eg-gerhardter-bau-element-1 {
        font-size: 2vw;
        line-height: 3vw;
        color: #ffffff;
        font-weight: 400;
        display: block;
        text-align: left;
        clear: both;
        margin: 5px 0px 20px 20px;
        padding: 0px 20px 0px 0px;
        border-radius: 0px 0px 0px 0px;
        background: transparent;
        position: relative;
        z-index: 2 !important;
        font-family: "Libre Franklin";
    }
}

@media all and (max-width: 600px) {
    .esg-bottom.eg-gerhardter-bau-element-0-a a {
        width: auto!important;
        font-size: 7vw!important;
        line-height: 9vw!important;
        text-align: center;
        position: relative;
        right: 0;
        left: 0;
        padding: 0 0 6px 0!important;
        margin: auto;
        color: #fff!important;
        border-bottom: none;
        display: table;
    }
    .esg-bottom.eg-gerhardter-bau-element-1 {
        color: #fff;
        position: relative;
        float: left;
        width: 100%;
        text-align: center;
        padding: 0!important;
        margin: 0px!important;
        font-size: 5vw;
        line-height: 7vw;
    }
    .esg-bottom.eg-gerhardter-bau-element-0-a a:after {
        content: "";
        width: 80%;
        left: 10%;
        height: 2vw;
        background-color: #FFDC00;
        position: absolute;
        top: 100%;
    }
}


/*END PROJEKTE LIST*/


/*SOCIAL*/

#social {
    font-size: 0;
}

.us_wrapper>div {
    margin: 0!important;
}

@media all and (max-width: 767px) {
    #social {
        padding-left: 15px;
        padding-right: 15px;
    }
    .us_wrapper .us_button .us_box {
        font-size: 14px;
    }
}

@media all and (max-width: 560px) {
    .us_wrapper .us_button {
        overflow: hidden;
        text-align: center;
        width: 25%;
        display: inline-block;
        vertical-align: middle;
        white-space: nowrap;
        margin-right: 3px;
        margin-bottom: 3px;
    }
}


/*END SOCIAL*/


/*FOOTER*/

#footer {
    padding: 0;
    background-color: #F0F0F0;
}

footer a {
    color: #000;
    font-weight: 400;
    text-decoration: none;
}

#footer img {
    margin: 0!important;
}

div.footer-left {
    float: left;
    width: 56%;
    max-width: 1078px;
}

div.footer-right {
    float: left;
    padding: 60px;
    text-align: center;
    min-width: 44%;
    max-width: calc(100% - 1078px);
    width: 100%;
}

#footer div.footer-right img {
    float: none;
    display: inline-block;
    margin: 45px!important;
}

#footer h4 {
    color: #00943E;
    font-family: 'Swanky and Moo Moo', cursive;
    font-size: 42px;
    margin-bottom: 40px;
    padding-bottom: 0;
    border-bottom: none;
    display: inline-block;
    float: left;
    width: 100%;
    line-height: 60px;
}

#footer h5 {
    position: relative;
    font-size: 30px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    width: max-content;
    float: none;
    display: inline-block;
    border-bottom: none;
}

#footer h5:after {
    content: "";
    width: 64%;
    left: 18%;
    height: 12px;
    background-color: #FFDC00;
    position: absolute;
    top: 100%;
}

#footer p {
    font-size: 20px;
    line-height: 34px;
}

div#footer-bottom {
    width: 100%;
    float: left;
    background-color: #00943E;
    position: relative;
}

div#footer-bottom:before {
    content: "";
    float: left;
    width: 100%;
    position: absolute;
    height: 35px;
    background: url(../../../wp-content/uploads/footer-bottom.png);
    background-size: cover;
    top: -35px;
    z-index: 1;
    left: 0;
}

div#footer-bottom #footer-nav {
    width: 100%;
    text-align: center;
    font-size: 22.5px;
}

div#footer-bottom #footer-nav,
div#footer-bottom #footer-nav * {
    float: left;
    padding: 0;
    margin: 0;
    list-style-type: none!important;
}

ul.bottom-nav {
    float: none!important;
    display: inline-block;
}

div#footer-bottom #footer-nav li {
    margin: 15px 50px 30px;
}

div#footer-bottom #footer-nav a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

div#footer-bottom #footer-nav a:hover,
div#footer-bottom #footer-nav a:focus {
    text-decoration: none;
}

@media all and (max-width: 1840px) {
    div.footer-left {
        width: 60%;
        max-width: 1078px;
    }
    div.footer-right {
        padding: 3vw 2vw;
        min-width: 40%;
        max-width: calc(100% - 1078px);
        width: 100%;
    }
    #footer div.footer-right img {
        margin: 2.5vw 2vw!important;
        max-width: 36%!important;
    }
    #footer h4 {
        font-size: 2.18vw;
        margin-bottom: 1.8vw;
        padding-bottom: 0;
        width: 100%;
        line-height: 3.4vw;
    }
    #footer h5 {
        font-size: 1.5vw;
        padding-bottom: 1.2vw;
        margin-bottom: 1vw;
    }
    #footer h5:after {
        content: "";
        width: 64%;
        left: 18%;
        height: 0.6vw;
        top: 100%;
    }
    #footer p {
        font-size: 1.4vw;
        line-height: 2.4vw;
    }
    div#footer-bottom:before {
        height: 1.8vw;
        top: -1.8vw;
    }
}

@media all and (max-width: 1023px) {
    div.footer-left {
        width: 100%;
        max-width: 1078px;
    }
    div.footer-right {
        padding: 50px;
        min-width: 100%;
        max-width: calc(100% - 1078px);
        width: 100%;
    }
    #footer div.footer-right img {
        margin: 4.5vw!important;
    }
    #footer h4 {
        font-size: 4.2vw;
        margin-bottom: 3vw;
        padding-bottom: 0;
        width: 100%;
        line-height: 6vw;
    }
    #footer h5 {
        font-size: 3vw;
        padding-bottom: 2vw;
        margin-bottom: 2vw;
    }
    #footer h5:after {
        content: "";
        width: 64%;
        left: 18%;
        height: 12px;
        top: 100%;
    }
    #footer p {
        font-size: 20px;
        line-height: 36px;
    }
    div#footer-bottom #footer-nav li {
        margin: 15px 30px 30px;
    }
    div#footer-bottom #footer-nav a {
        font-size: 16px;
        color: #fff;
    }
}

@media all and (max-width: 767px) {
    #footer h4 {
        font-size: 30px;
        margin-bottom: 30px;
        padding-bottom: 0;
        width: 100%;
        line-height: 38px;
    }
    #footer h5 {
        font-size: 24px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .footer-left {
        display: none;
    }
    #footer div.footer-right img {
        margin: 35px!important;
        width: 240px!important;
        max-width: 65%!important;
    }
    #footer p {
        font-size: 14px;
        line-height: 24px;
    }
    div#footer-bottom:before {
        height: 14px;
        top: -14px;
    }
    div#footer-bottom #footer-nav li {
        margin: 2px 0 8px;
        width: 100%;
        float: left;
        padding: 0 25px;
        text-align: center!important;
        line-height: 100%;
    }
    div#footer-bottom #footer-nav a {
        font-size: 14px;
        text-align: center;
        float: none;
    }
}


/*END FOOTER*/


/*FIX MAP */

.agm_google_maps,
.agm_google_maps>div {
    min-width: 100%!important;
    margin: 0!important;
}


/*END MAP*/


/*PROJEKTSEITE*/

body.single-post .post-headline {
    float: left;
}

body.single-post h1 {
    float: left;
    clear: both;
    padding: 0 0 10px 0;
    margin: 0;
    border-bottom: none;
}

body.single-post h2 {
    float: left;
    clear: both;
    margin: 0;
    padding-bottom: 15px;
    /*border-bottom: 12px solid #FFDC00;*/
}

body.single-post .post-headline .wpb_wrapper {
    position: relative;
    float: left;
}

body.single-post .post-headline .wpb_wrapper:after {
    content: "";
    width: 400px;
    max-width: 100%;
    left: 0;
    height: 12px;
    background-color: #FFDC00;
    position: absolute;
    top: 100%;
}

body.single-post .wpb_image_grid .wpb_image_grid_ul .isotope-item {
    list-style: none;
    margin: 0 8px 8px 0!important;
    max-width: 100%;
    float: left;
    width: calc(50% - 8px);
    position: relative!important;
    top: inherit!important;
    left: inherit!important;
}

body.single-post .wpb_image_grid .wpb_image_grid_ul .isotope-item img {
    margin: 0!important;
}


/*END PROJEKTSEITE*/