
:root {
    --stahl-red: #e90536;
}

.block-references {
    justify-content: center;
    padding-top: 0 !important;
        
}

body {
    font-size: 19px;
}

img {
    max-width: 100%;
}

h2 {
    font-size: 28px;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 20px;
}

h3,
.contact-form h2 {
    text-transform: uppercase;
    font-size: 24px;
    margin: 0;
    padding-bottom: 10px;
}
a:link a:visited {
    text-decoration: none;
    color: inherit;
}
ul {
    padding: 0;
}

#contact > div {
    max-width: var(--section-width);
    margin: auto;
}

#contact > div:after {
    content: '';
    display: block;
    clear: both;
}

#contact > div > div {
    float: left;
    width: 50%;
}

#block-custom9-onas,
.block-services,
#block-custom9-views-block-references-block-1,
#block-custom9-views-block-certificates-block-1,
.layout-getintouch {
    padding: 50px 20px;
}

#block-custom9-views-block-certificates-block-1 {
    background: #f7f7f7;
}

.block-services {
    display: block;
    background: var(--stahl-red);
    color: #fff;
}

.block-services .field-content div p {
    margin: 0;
}

.block-services .field-content div {
    background: rgba(0, 0, 0, .07);
    padding: 15px;
    margin-bottom: 35px;
    border-radius: 5px;
}

.block-services .views-row:last-child .field-content div {
    margin-bottom: 0;
}

.block-services h2 {
    text-align: center;
}
.block-services .field-content {
    max-width: var(--section-width);
    margin: auto;
}
.block-services li {
    margin-left: 35px;
    padding-bottom: 5px;
}

#block-custom9-ikony p {
    justify-content: space-evenly;
    padding: 0 15px;
    box-sizing: border-box;
    flex-wrap: wrap;
}
#block-custom9-ikony img {
    padding: 15px;
    padding-top: 0;
}

.block-gallery {
    text-align: center;
}

.block-gallery .views-row {
    display: inline-block;
    width: 49%;
    max-width: 175px;
    vertical-align: top;
    margin-bottom: 10px;
}

.block-gallery img {
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 5px;
}

.block-gallery h5 {
    margin: 0;
}

.block-gallery .field-content div {
    font-size: 14px;
}

#block-custom9-onas {
    text-align: center;
}

nav.contextual-region {
    position: static;
}

.status-message {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    left: 0;
    top: 0;
    text-align: center;
    z-index: 1;
}
.status-message > div {
    display: inline-block;
    background: #1ac862;
    position: relative;
    top: 50%;
    width: 90%;
    max-width: 300px;
    color: #043f1c;
    padding: 25px;
    border-radius: 5px;
    transform: translateY(-50%);
}

@media screen and (min-width: 769px) {

    .menu ul {
        display: block !important;
    }

}

@media screen and (max-width: 1024px) {

    .menu ul a {
        margin-left: 0;
    }

}

@media screen and (max-width: 768px) {

    #block-custom9-main-menu ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        margin: 0;
        z-index: 1;
    }

    #block-custom9-main-menu ul li {
        display: block;
        text-align: center;
    }

    #block-custom9-main-menu ul a {
        display: block;
        background: none;
        color: #000;
        padding: 15px;
        margin: 0;
    }

    #block-custom9-main-menu ul li:not(:last-child) a {
        border-bottom: 1px solid rgba(0, 0, 0, .05);
    }

    #block-custom9-main-menu a.icon {
        display: block;
        margin: -1em;
    }
    #hamburger {
        display: block !important;
        float: right;
    }

    #contact > div > div {
        width: 100%;
    }

    .contact-form {
        margin-top: 30px;
    }

}

@media screen and (max-width: 480px) {

    h2 {
        font-size: 26px;
    }

    .slogan-section img {
        width: 55px;
        margin: 0 15px;
    }

}

@media screen and (max-width: 400px) {

    body {
        font-size: 17px;
    }

    h2 {
        font-size: 24px;
    }

    .slogan-section h2 {
        padding-bottom: 0;
    }

    .slogan-section img {
        display: none;
    }

}
