
/* .swiper-slide {
           left: 0!important;
           width: 100%!important;
} */


@media screen and (min-width: 1281px) {
    .large-only {
        display: block;
    }

    .dropdown {
        display: none!important;
    }
}


@media screen and (min-width: 768px) {
    .desktop-only {
        display: block;
    }
    .mobile-only {
        display: none;
    }
    .desktop_menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .caption {
        padding-top: 1.5rem;
    }
}

@media screen and (max-width: 1600px){
    .reference-cat {
        font-size: 1.57rem;
    }
}

@media screen and (max-width: 1500px) {
    #engineer_2 ul li {
        width: 40%;
        padding: 3rem 2rem;
    }
    #engineer_2 ul.featurelist2 {
        width: 100%;
        padding-left: 2.5rem;
        padding-top: 2rem;
    }
    #engineer_2 ul.featurelist2 li {
        width: 100%;
        padding: 0;
    }
}
@media screen and (max-width: 1400px) {
    #engineer_2 ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    #engineer_2 .featurelist li {
        width: 100%;
        padding: 1rem 2rem;
    }
    .featurelist {
        padding-top: 2rem;
    }
@media screen and (max-width: 1280px) {

    .h_wrapper {
        margin-bottom: 10rem;
    }

    #engineer_2 ul li {
        padding: 2rem 2rem;
    }

    .reference-cat {
        font-size: 1.8rem;
    }

    .large-only {
        display: none!important;
    }
    .dropdown {
        position: relative!important;
        display: inline-block;

    }

    .dropdown-selection {
        font-size: 4rem;
    }

    .dropdown-selection:after {
        content: "";
        display: inline-block;
        background-image: url("../img/down_arrow_blue.svg");
        background-position: center;
        background-size: cover;
        background-size: contain;
        width: 4rem;
        height: 2rem;
        cursor: pointer;
        background-repeat: no-repeat
    }

    .dropdown-content {
        margin-top: 2rem;
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        -webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
                box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        padding: 12px 16px;
        z-index: 4;
        -webkit-transition: 0.3s ease;
        transition: 0.3s ease;
    }
    .dropdown-selection.active .dropdown-content {
        display: block;
    }

    .dropdown-content .reference-cat{
        padding: 0.5rem 0rem;
        display: block;
        text-align: left;
    }
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    .elogo {
        width: 15rem;
        height: 15rem;
    }

    #jobs_6 .e_4 {
        width: 15rem;
    }

    #engineer_2 .col1,
    #engineer_2 .col2{
        width: 100%;
    }
    .two_columns {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .two_columns .col1 {
        margin-bottom: 3rem;
    }
    .img_wrapper {
        margin-bottom: 2rem;
    }
    /* REFERENCES */
    .swiper-centered {
        margin-bottom: 25%;
    }

    .two_columns .col1, .two_columns .col2 {
        padding-right: 0;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
    }

    /* .caption {
        padding: 0;
    } */
    .ref-control-box {
        bottom: -150px;
        background: #405375;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    /* KONTAKT */
    #contact_7 .googlemap {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .ref-control-box {
        height: 100px;
        bottom: -100px;
    }
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }

    .centered {
        width: 80%;
    }

    .b_space15 {
        margin-bottom: 5rem;
    }

    #team_4 .e_2 {
        bottom: -14%;
    }

    #jobs_6 .e_3 {
        top: 0;
    }

    /** MOBILE MENU **/
    header.desktop_menu {
        display: none;
    }
    header {
        height: auto;
        -webkit-box-shadow: none;
                box-shadow: none;
    }
    header a {
        margin: 0;
        width: 100%;
        padding: 2rem 15% 0;
    }
    header a img {
        margin: 0;
        width: 100%;
        min-width: 20rem;
        max-width: 25rem;
        text-align: center;
        margin: auto;

    }
    nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    nav>.mobile_menu_white_box {
        -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
                box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
    }

    .mobile_menu_white_box {
        position: relative;
        z-index: 9;
        background: #fff;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        width: 100%;
    }

    .mobile_menu_white_box a {
        height: 100%;
    }

    .menu_placeholder {
        position: relative;
        z-index: 0;
    }

    .mobile_menu .mobile_navigation {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -ms-flex-line-pack: center;
            align-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -ms-flex-direction: column;
            flex-direction: column;
        background: #fff;
        position: absolute;
        width: 100%;
        z-index: 8;
        -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
                box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
        top: 0;
        left: 0;
        -webkit-transform: translateY(-100%);
                transform: translateY(-100%);
        -webkit-transition: 0.3s ease;
        transition: 0.3s ease;
    }

    .mobile_navigation .mobile_menu_white_box {
        -webkit-box-shadow: 0;
                box-shadow: 0;
    }

    .mobile_menu .mobile_navigation li a {
        padding: 0.5rem;
    }
    .mobile_menu .mobile_navigation li:first-of-type {
        padding: 3rem 0.5rem 0.5rem;
    }
    .mobile_menu .mobile_navigation li:last-of-type {
        padding: 0.5rem 0.5rem 3rem;
    }
    .mobile_navigation.active {
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
    .menu_trigger {
        font-family: 'Helvetica Neue LT W01_75 Bold';
        width: 100%;
        text-align: center;
        z-index: 70;
        color: #7b7b7d;
        display: block;
        /* height: 5rem; */
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -ms-flex-line-pack: center;
            align-content: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        background: #fff;
    }

    .menu_trigger span {
        font-size: 2rem;
        text-align: center;
        text-transform: uppercase;
        -webkit-transition: 0.3s ease;
        transition: 0.3s ease;
        cursor: pointer;
        padding: 2rem;
    }
    .menu_trigger span:hover {
        font-size: 2rem;
        text-align: center;
        text-transform: uppercase;
        color: #405375;
    }

    /* GENERAL */

    h1 {
        font-size: 3rem;
    }

    .two_columns .col2, .two_columns .col1 {
        padding-right: 0;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
    }

    /* HOME */

    #home_1 {
        height: 50vh;
        min-height: 30rem;
    }

    #home_1 h1 {
        -webkit-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
    }

    /* ENGINEER */

    #engineer_2 {
        padding-top: 7rem;
    }

    #engineer_2 .b_space7 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -ms-flex-line-pack: center;
            align-content: center;
        margin: 0 auto;
    }

    #engineer_2 ul li {
        padding: 2rem 2rem;
        width: 100%;
    }

    /* GENERAL */

    .h_wrapper {
        margin: 0 0 10rem 0;
    }

    /* .elogo {
        width: 10rem;
        height: 10rem;
    }

    #jobs_6 .e_4 {
        width: 10rem;
    } */
    /* REFERENCES */
    .swiper-centered.centered {
        max-height: 600px;
    }
    .centered.tabs {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .dropdown-selection {
        font-size: 2rem;
    }
    .dropdown-selection::after {
        width: 2rem;
        height: 2rem;
    }
    .caption {
        position: absolute;
        padding: 10%;
        width: 100%;
    }

    .ref-slider {
        max-height: 550px;
    }
    .ref-slider h3, .ref-slider .desc {
        font-size: 1.6rem;
    }

    #privacy_block {
        padding-top: 18rem
    }
}

@media screen and (max-width: 520px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 3rem;
    }
    p, li, a {
        font-size: 1.8rem;
    }
    .h_wrapper {
        margin: 0 0 5rem 0;
    }
    .b_space15 {
        margin: 0 auto 2rem;
    }

    .b_space7 {
        margin-bottom: 5rem;
    }
    .ref-slider {
        height: 50vh;
    }
    .ref-slide {
        height: 90vh;
        max-height: 600px;
    }
    .swiper-centered.centered {
        width: 100%;
        margin-bottom: 200px;
    }
    .ref-control-box {
        height: 200px;
        bottom: -200px;
    }
    .ref-arrow {
        display: none;
    }
    .google-container {
        width: 100%;
        padding-top: 2rem;
        width: 100%;
    }

    #contact_7 .googlemap {
        -webkit-box-shadow: none;
                box-shadow: none;
        border-left-width: 0px;
        border-right-width: 0px;
    }

    footer p,
    footer a,
    footer li {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 400px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2.5rem;
        padding: 0 0.5rem;
    }
    p, a, li {
        font-size: 1.6rem;
    }

    section {
        padding-bottom: 2.5rem;
    }

    .ref-slider{
        height: 50vh;
    }
}
}
