#header {
    margin-top: 40px;
    margin-bottom: 25px;    
}

#header .d-flex {
    flex-direction: row;
}

#header .d-flex-bottom {
    align-items: flex-end;
}

#header .d-flex #container-logo {
    flex: 2;
}

#header .d-flex #container-logo-spacer {
    flex: 4;
}

#header .d-flex #container-logo img {
    max-width: 85%;
    height: auto;
}

#header .d-flex #container-address {
    flex: 6;
    text-align: right;
}

#header .d-flex #container-address img {
    max-width: 85%;
    height: auto;
}

.greenLine {
    margin-top: 1rem;
}

.greenLine .d-flex {
    background-color: #68b06d;
    border-radius: 5px;
    padding: 8px 0;
}

.greenLine #container-slogan {
    flex: 4;
}

.greenLine .logo-wrapper {
    margin: 0 20px;
}

.greenLine .logo-wrapper a{
    font-size: 24px;
    font-family: "Lato", sans-serif;
    line-height: 26px;
    font-weight: 300;
    text-decoration: none;
    color: #fff;
}
.greenLine .logo-wrapper .logo-slogan{
    font-size: 13px;
    font-family: "Lato", sans-serif;
    line-height: 26px;
    font-weight: 300;
    color: #fff;
}
.greenLine #container-greenbar {
    flex: 8;
    position: relative;
}

.greenLine #container-greenbar > div {
    position: absolute;
    height: 86px;
    width: 100%;
    background-color: #68b06d;
    top: -18px;
    left: 0;
    border-radius: 0 5px 5px 0;
}

.greenLine #container-greenbar > div:before {
    content: " ";
    position: absolute;
    height: 86px;
    -webkit-transform: skew(-45deg, 0);
    -moz-transform: skew(-45deg,0);
    -ms-transform: skew(-45deg,0);
    -o-transform: skew(-45deg,0);
    transform: skew(-45deg, 0);
    top: 0;
    
    background: #54a15a;
    
    width: 86px;
    left: -48px;
}

.greenLine #container-greenbar > div:after {
    content: " ";
    position: absolute;
    height: 86px;
    -webkit-transform: skew(-45deg, 0);
    -moz-transform: skew(-45deg,0);
    -ms-transform: skew(-45deg,0);
    -o-transform: skew(-45deg,0);
    transform: skew(-45deg, 0);
    top: 0;
    
    background: #68b06d;
    
    width: 86px;
    left: -42px;
}
 
.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: box-shadow .15s ease-in-out;
    margin-top: 6px;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    background-image: url('/fileadmin/template/GWG/img/nav_open.svg');
}

#GWGLogoMobile {
    display: none;
    margin: auto;
    max-height: 150px;
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    #header .d-flex #container-logo-spacer {
         flex: 0;
    }
    
    #header .d-flex #container-address {
         flex: 10;
    }
    
    .greenLine #container-greenbar {
        flex: 1;
        position: relative;
    }
    
    .greenLine #container-greenbar > div {
          position: inherit;
          top: inherit;
          left: inherit;
          height: inherit;
          background-color: inherit;
          text-align: right;
          padding-right: 1rem;
    }
    
    .greenLine #container-greenbar > div:before,
    .greenLine #container-greenbar > div:after {
         display: none;
    }
    
    .navbar-collapse.collapse.show,
    .navbar-collapse.collapsing {
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        overflow-y: auto;
        padding: 1.5rem;
        background-color: rgba(33, 33, 33, 0.9);
    }
    #GWGLogoMobile,
    #BTNCloseNavMobile {
        display: block !important;
    }
    
    #container-content {
        margin-left: inherit !important;
    }
}

.collapse:not(.show) {
    display: none;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: block !important;
    }
}