/* CSS Document */

@media screen and (max-width: 1500px) {
    #block-hero .container-hero {
        width: calc(100% - 200px);
    }

    #block-hero .container-hero .container-content .logo {
        max-width: 200px;
    }
}

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

    /*HOME*/
    #block-hero .container-hero {
        height: 650px;
    }

    #block-hero .container-hero .hero-img {
        width: 100%;
        height: 650px;
        object-fit: cover;
    }

    #block-hero .container-hero .container-content {
        max-height: none;
        flex-direction: column;
        transform: none;
        top: 0;
        bottom: 0;
        width: 100%;
        padding: 30px;
        gap: 30px;
        justify-content: center;
        text-align: center;
    }

    #block-hero .container-hero .container-content .baseline {
        font-size: 14px;
        line-height: 20px;
    }

    #block-hero .container-hero .container-content .cta-seo {
        flex-direction: column-reverse;
        align-items: center;
        gap: 15px;
    }

    #block-hero .container-hero .container-content .cta-seo .default-btn {
        margin-right: 0;
    }

    #block-hero .container-hero .container-content .logo {
        max-width: 120px;
    }

    #block-hero .container-hero .container-content h1 {
        font-size: 26px;
        line-height: 32px;
    }

    #block-hero .container-hero .container-content .cta-seo .seo {
        padding-left: 0;
        border-left: none;
    }

    /*HEADER*/
    #superfish-main {
        display: none;
    }

    #block-hero .container-hero {
        width: 100%;
    }



    header.sticky-desktop .sf-accordion-toggle a:after {
        background: #040038;
    }

    header.sticky-desktop .sf-accordion-toggle a:before {
        background: #040038;
        -webkit-box-shadow: 0 10px 0 #000,0 -10px 0 #040038 !important;
        -moz-box-shadow: 0 10px 0 #000,0 -10px 0 #040038 !important;
        -ms-box-shadow: 0 10px 0 #000,0 -10px 0 #040038 !important;
        -o-box-shadow: 0 10px 0 #000,0 -10px 0 #040038 !important;
        box-shadow: 0 10px 0 #000,0 -10px 0 #040038 !important;
    }

    header .block-superfish {
        width: calc(100% - 95px);
        max-width: none;
        display: flex;
        justify-content: flex-end;
    }

    @keyframes burger-bar-close {
        0% {
            -webkit-box-shadow: 0 10px 0 #040038,0 -10px 0 #040038 !important;
            -moz-box-shadow: 0 10px 0 #040038,0 -10px 0 #040038 !important;
            -ms-box-shadow: 0 10px 0 #040038,0 -10px 0 #040038 !important;
            -o-box-shadow: 0 10px 0 #040038,0 -10px 0 #040038 !important;
            box-shadow: 0 10px 0 #040038,0 -10px 0 #040038 !important;
        }
        100% {
            -webkit-box-shadow: 0 0 0 #040038,0 0 0 #040038 !important;
            -moz-box-shadow: 0 0 0 #040038,0 0 0 #040038 !important;
            -ms-box-shadow: 0 0 0 #040038,0 0 0 #040038 !important;
            -o-box-shadow: 0 0 0 #040038,0 0 0 #040038 !important;
            box-shadow: 0 0 0 #040038,0 0 0 #040038 !important;
        }
    }

    header.sticky-desktop .sf-accordion-toggle a.sf-expanded:before {
        box-shadow: none !important;
    }

    header.sticky-desktop .sf-accordion-toggle a.sf-expanded:after {
        background: #fff;
    }

    header.sticky-desktop .sf-accordion-toggle a.sf-expanded:before {
        background: #fff;
    }

    #superfish-main-accordion {
        top: 0 !important;
        background: #040038 !important;
        width: 100% !important;
    }

    #superfish-main-accordion a {
        color: #fff;
        text-decoration: none;
        text-align: center;
        font-size: 22px;
        margin-bottom: 20px;
        text-transform: uppercase;
        font-family: 'Orbitron', sans-serif;
    }

    @keyframes burger-bar-expand-expanded {
        0% {
            -webkit-box-shadow: 0 0 0 #ffffff,0 0 0 #ffffff;
            -moz-box-shadow: 0 0 0 #ffffff,0 0 0 #ffffff;
            -ms-box-shadow: 0 0 0 #ffffff,0 0 0 #ffffff;
            -o-box-shadow: 0 0 0 #ffffff,0 0 0 #ffffff;
            box-shadow: 0 0 0 #ffffff,0 0 0 #ffffff;
        }
        50% {
            -webkit-box-shadow: 0 0 0 #ffffff,0 0 0 #ffffff;
            -moz-box-shadow: 0 0 0 #ffffff,0 0 0 #ffffff;
            -ms-box-shadow: 0 0 0 #ffffff,0 0 0 #ffffff;
            -o-box-shadow: 0 0 0 #ffffff,0 0 0 #ffffff;
            box-shadow: 0 0 0 #ffffff,0 0 0 #ffffff;
        }
        100% {
            -webkit-box-shadow: 0 10px 0 #ffffff,0 -10px 0 #ffffff;
            -moz-box-shadow: 0 10px 0 #ffffff,0 -10px 0 #ffffff;
            -ms-box-shadow: 0 10px 0 #ffffff,0 -10px 0 #ffffff;
            -o-box-shadow: 0 10px 0 #ffffff,0 -10px 0 #ffffff;
            box-shadow: 0 10px 0 #ffffff,0 -10px 0 #ffffff;
        }
    }
}

@media screen and (max-width: 1200px) {
    #etancheite {
        margin-top: 80px;
    }

    #block-equipe {
        padding: 40px 0 0;
    }

    .block-bg {
        min-height: 450px;
        padding: 30px 0;
        display: flex;
        align-items: center;
        padding-top: 0;
    }

    #block-equipe .block-flex {
        display: flex;
        align-items: flex-start;
        gap: 0px;
        margin-bottom: 40px;
        flex-direction: column;
        align-items: center;
    }
}

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

    #block-atec44-theme-webform {
        gap: 40px;
        padding-bottom: 80px;
        flex-direction: column;
        align-items: center;
    }

    .avantages-etancheite {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 40px;
        flex-direction: column-reverse;
    }

    .avantages-etancheite .block-avantages {
        padding: 25px 30px;
    }

    .layout-content ul {
        padding-left: 0;
        margin-bottom: 15px;
    }
}

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

    #realisations {
        padding-top: 80px;
    }

    .block-realisations .liste-realisations {
        gap: 10px;
    }

    .block-realisations .liste-realisations .block-realisation {
        width: calc(50% - 5px);
    }

    /*Paragraphes*/
    .para-item-paragraphe .container-para {
        flex-direction: column-reverse;
    }

    .para-item-paragraphe .para-desc,
    .para-item-paragraphe .para-photos {
        width: 100% !important;
        margin-right: 0;
    }

    .para-item-paragraphe .para-photos,
    .para-item-paragraphe .para-desc {
        width: 100% !important;
    }

}

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

    .webform-submission-form .form-type-textfield, .webform-submission-form .form-type-email, .webform-submission-form .form-type-tel, .webform-submission-form .form-type-select {
        width: 100%;
    }

    #contact {
        padding-top: 80px;
    }

    footer .logo {
        margin-bottom: 0;
    }

    footer .menu-footer {
        margin: 0 auto 30px;
        flex-direction: column;
        align-items: center;
    }

    .block-realisations .liste-realisations .block-realisation a.first .overlay {
        padding: 10px;
    }

    .block-realisations .liste-realisations .block-realisation {
        width: 100%;
    }

    #block-equipe .block-flex .content h2,
    .block-bg .container-small h2,
    .block-realisations h2,
    #block-atec44-theme-webform .block-contenu h2 {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 15px;
    }

    /*PARAS*/
    .galerie-paragraphe .grid__item {
        margin-bottom: 10px;
    }

    .galerie-paragraphe .grid__item,
    .galerie-paragraphe .grid__col-sizer {
        width: calc(50% - 5px);
    }

    .galerie-paragraphe .grid__gutter-sizer {
        width: 10px;
    }
}

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

    /*Paragraphes*/
    .pos-photo-1 .para-photos,
    .pos-photo-2 .para-photos {
        flex-direction: column;
    }

    .pos-photo-1 .para-photos .para-photo,
    .pos-photo-2 .para-photos .para-photo {
        margin: 5px 0;
        display: flex;
    }

    .pos-photo-1 .para-photo-img,
    .pos-photo-2 .para-photo-img {
        width: 100%;
    }

    .pos-photo-1 .para-photos .para-photo a,
    .pos-photo-1 .para-photos .para-photo img,
    .pos-photo-2 .para-photos .para-photo a,
    .pos-photo-2 .para-photos .para-photo img {
        display: inline-block;
        width: auto;
        height: auto;
    }

}