/* CSS Document */

@media screen and (max-width: 1900px) {
    .view-slider-accueil {
        & .bloc-titre {
            width: 100%;
            padding: 0 30px;
            h1 {
                font-size: 40px;
                line-height: 50px;
            }
        }
    }
}

@media screen and (max-width: 1750px) {
    .view-slider-accueil {
        .swiper-slide {
            min-height: 600px;
            img {
                height: 600px;
                object-fit: cover;
            }
        }
        .bloc-logo-titre {
            img {
                max-width: 300px;
            }
        }
    }
    .view-slider-accueil {
        .bloc-logo {
            max-width: 100px;
            left: 20px;
        }
    }
}

@media screen and (max-width: 1550px) {
    #superfish-main > li {
        margin-right: 0;
        > a {
            font-size: 18px;
        }
    }

    .accueil-categories {
        & .liste-blocs {
            & .bloc {
                &.bloc-texte {
                    max-width: 355px;
                    padding: 30px;
                    .texte {
                        line-height: 26px;
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 1450px) {
    #block-raub-theme-webform {
        .entete-contact {
            flex-direction: column;
            .contenu {
                max-width: none;
            }
        }
    }
}

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

    /*Accueil*/
    .liste-prestations {
        & .bloc-prestation {
            a.titre {
                min-height: 105px;
                font-size: 16px;
                line-height: 20px;
            }
        }
    }

    /*Header*/
    #block-raub-theme-navigationprincipale {
        gap: 20px;
        .labels {
            gap: 15px;
            img {
                max-height: 40px;
            }
        }
        #superfish-main > li > a {
            padding: 0 15px;
        }
        #superfish-main > li .sf-sub-indicator {
            font-size: 10px;
            right: 2px;
            top: 40px;
        }
    }
}

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

    .accueil-categories {
        .liste-blocs {
            gap: 30px;
            flex-wrap: wrap;
            .bloc {
                width: calc(50% - 15px);
                max-width: none;
                &.bloc-texte, &.image-2 {
                    max-width: none;
                    img:not(.pin) {
                        width: 100%;
                    }
                }
            }
        }
    }

    .view-slider-accueil {
        .bloc-logo {
            display: none;
        }
    }
    .frontpage header:not(.sticky-desktop) #block-raub-theme-logoheader a {
        display: block;
    }
    /*Header*/
    header .region-header {
        height: 68px;
        padding: 0 25px 0 20px;
        #block-raub-theme-logoheader {
            left: 20px;
            z-index: 1000;
            a {
                display: block;
                max-width: 60px;
            }
        }
        #superfish-main {
            display: none;

        }
        #block-raub-theme-navigationprincipale {
            flex-direction: row-reverse;
        }
        #superfish-main-accordion {
            top: 0 !important;
            padding-top: 130px !important;
            background: #111839 !important;
            > li {
                li.sf-clone-parent a {
                    color: #fff;
                    text-decoration: none;
                    margin-left: 15px;
                    &:before {
                        content: '> ';
                    }
                }
                margin-bottom: 10px;
                > a {
                    display: inline-block;
                    color: #fff;
                    font-size: 20px;
                    padding: 10px 40px;
                    text-decoration: none;
                    text-transform: uppercase;
                    font-weight: 700;
                    font-family: 'PT Sans', sans-serif;
                    .sf-sub-indicator {
                        font-size: 10px;
                        right: 24px;
                        top: 22px;
                        padding-bottom: 5px;
                    }
                }
                .sous-menu-prestations {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    padding: 20px 40px;
                    gap: 16px;
                    .lien-prestation {
                        position: relative;
                        padding: 0;
                        gap: 10px;
                        width: 100%;
                        display: flex;
                        align-items: center;
                        color: #fff;
                        text-decoration: none;
                        .titre {
                            font-size: 18px;
                            line-height: 16px;
                            font-family: 'PT Sans', sans-serif;
                        }
                    }
                }
            }
        }
    }

    .not-frontpage main {
        padding-top: 68px;
    }
}

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

    .bloc-filiales {
        gap: 30px;
    }

    /*Map accueil*/
    #block-raub-theme-mapfooter {
        display: flex;
        flex-direction: column-reverse;
        .block-info-map {
            height: auto;
            padding-right: 30px;
            position: relative;
            top: 0;
            transform: none;
            min-width: 0;
            text-align: center;
            align-items: center;
            padding: 20px 25px;
            .titre {
                font-size: 26px;
            }
            .sous-titre {
                font-size: 30px;
            }
        }
        #blockMap {
            min-height: 400px;
        }
    }

    /*Footer*/
    .footer-contenu {
        gap: 20px;
        padding: 30px 0;
        flex-wrap: wrap;
        .logo {
            display: none;
        }
        .menu {
            width: calc(50% - 10px);
        }
        .contacts {
            .btns {
                .default-btn {
                    font-size: 16px;
                    padding: 10px 20px;
                }
            }
        }
    }
}

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

    #block-raub-theme-webform {
        & .entete-contact {
            gap: 20px;
            .contenu {
                line-height: 22px;
            }
            .agences {
                flex-direction: column;
                gap: 15px;
                .agence {
                    padding: 20px;
                }
            }
        }
    }

    .node--type-prestation {
        .bloc-contacts {
            flex-direction: column;
        }
    }

    /*Accueil*/
    .accueil-presentation {
        .bloc {
            gap: 25px;
            flex-direction: column;
            padding: 0 30px;
            &.interventions {
                flex-direction: column;
            }
            .image {
                width: 100%;
                max-width: 800px;
            }
            .contenu {
                width: 100%;
                max-width: 800px;
            }
        }
    }
}

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

    .liste-prestations {
        margin: -30px auto 50px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        .prestation {
            max-width: calc(50% - 10px);
            .titre {
                font-size: 15px;
                line-height: 20px;
                min-height: 0;
                padding: 10px 10px;
            }
            .picto {
                max-width: 40px;
                height: 40px;
                margin-top: -25px;
                img {
                    max-width: 70%;
                    max-height: 70%;
                }
            }
        }
    }

    .accueil-categories {
        .liste-categories {
            gap: 20px;
            margin-bottom: 50px;
            flex-direction: column;
            align-items: center;
            & .lien-cat {
                height: auto;
                .image {
                    display: flex;
                    max-width: 120px;
                }
                .contenu {
                    padding: 10px 20px;
                    .titre {
                        font-size: 24px;
                        line-height: 24px;
                    }
                    .sous-titre {
                        font-size: 16px;
                        line-height: 22px;
                    }
                }
            }
        }
    }

    /*Filiales*/
    .bloc-filiales {
        padding: 40px 0;
        flex-wrap: wrap;
        .bloc-groupe {
            padding: 15px 20px;
            .logo {
                max-width: 50px;
            }
            & .texte {
                .ligne-1 {
                    font-size: 16px;
                    line-height: 22px;
                    span {
                        font-size: 22px;
                    }
                }
                .ligne-2 {
                    font-size: 16px;
                    line-height: 22px;
                }
            }
        }
        .bloc-logos {
            gap: 15px;
            img {
                width: 100%;
                max-width: 108px;
                max-height: 80px;
            }
        }
    }

    /*Page Contact*/
    #block-raub-theme-webform {
        .entete-contact {
            gap: 40px;
            margin-bottom: 40px;
            flex-direction: column;
            .contenu {
                & .btns {
                    .default-btn {
                        font-size: 16px;
                        padding: 10px 15px;
                    }
                }
            }
            .agences {
                .agence {
                    font-size: 14px;
                    line-height: 18px;
                }
            }
        }
        #blockMap {
            min-height: 300px;
        }
        .webform-submission-form .form-type-textfield,
        .webform-submission-form .form-type-email,
        .webform-submission-form .form-type-tel,
        .webform-submission-form .form-type-select,
        .webform-submission-form .form-type-date {
            width: 100%;
            margin-bottom: 15px;
        }
        .webform-submission-form input[type="text"],
        .webform-submission-form input[type="email"],
        .webform-submission-form input[type="tel"],
        .webform-submission-form input[type="number"],
        .webform-submission-form input[type="date"],
        .webform-submission-form select {
            height: 40px;
            line-height: 40px;
        }
        h2#formulaire {
            padding-top: 70px;
            font-size: 20px;
            line-height: 24px;
        }
        .webform-submission-form {
            margin-top: 20px;
        }
    }

    /*Acuueil*/
    #block-accueil-prestations {
        .liste-prestations {
            margin-bottom: 40px;
            justify-content: space-between;
            max-width: 900px;
            gap: 16px;
            .bloc-prestation {
                width: calc(50% - 8px);
            }
        }
    }

    .block-reassurance {
        margin-top: 40px;
        .liste-reassurance {
            width: calc(100% - 30px);
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 25px 10px;
            padding: 40px 0;
            .bloc-reassurance {
                width: calc(50% - 5px);
                .picto {
                    min-height: 50px;
                    img {
                        max-height: 50px;
                        max-width: 120px;
                    }
                }
                .titre {
                    font-size: 16px;
                }
                .sous-titre {
                    .russo {
                        font-size: 25px;
                        line-height: 28px;
                    }
                    sup {
                        font-size: 14px;
                    }
                }

            }
        }
    }

    .page-realisations {
        .liste-realisations {
            gap: 16px;
            .bloc-realisation {
                width: calc(50% - 8px);
                max-width: none;
                &:nth-child(3) {
                    display: none;
                }
            }
        }
    }

    footer .gl-copy {
        margin: 0;
    }

    .footer-contenu {
        & .content {
            margin-top: 0;
            .agences {
                display: none;
            }
            & .secteurs {
                margin-bottom: 0;
                & .secteur {
                    .header-secteur {
                        flex-direction: column;
                        align-items: flex-start;
                        gap: 10px;
                    }
                    .prestations {
                        flex-direction: column;
                    }
                }
            }
        }
    }

}

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

    .accueil-presentation {
        padding-bottom: 0;
        .logo {
            display: none;
        }
        .contenu {
            padding-top: 40px;
            h2 {
                font-size: 20px;
                line-height: 26px;
                margin-bottom: 10px;
            }
            ul {
                column-count: 1;
                li {
                    margin-bottom: 0;
                }
            }
            h3 {
                font-size: 18px;
                line-height: 26px;
                margin-top: 24px;
                margin-bottom: 10px;
            }
        }
    }

    /*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) {

    .page-realisations {
        .bloc-filtres {
            margin-bottom: 30px;
            gap: 15px;
            .filtres {
                gap: 8px;
            }
        }
        .liste-realisations {
            gap: 25px;
            padding-bottom: 60px;
            flex-direction: column;
            .bloc-realisation {
                width: 100%;
            }
        }
    }

    .node--type-contenu {
        .entete-contenu {
            position: relative;
            padding: 60px 0 40px;
            background: #111839;
            margin-bottom: 35px;
            & .container-medium {
                .line {
                    left: -15px;
                    width: 5px;
                }
            }
            h1 {
                font-size: 22px;
                line-height: 28px;
            }
        }
    }

    .node--type-prestation {
        & .bloc-contacts {
            gap: 35px;
            padding-bottom: 30px;
            .zone-intervention {
                padding: 15px 25px 10px;
                .titre {
                    margin: 15px 0 10px;
                }
            }
            & .contacts {
                gap: 10px;
                h2 {
                    font-size: 24px;
                    line-height: 28px;
                }
                .agences {
                    flex-direction: column;
                    align-items: center;
                }
            }
        }
    }

    .node--type-secteur-activite {
        .entete-secteur {
            padding: 70px 0 90px;
            & .container-medium {
                h1 {
                    font-size: 22px;
                    line-height: 30px;
                    margin-bottom: 20px;
                    &:before {
                        left: -15px;
                        width: 5px;
                    }
                }
                .baseline {
                    font-size: 22px;
                    line-height: 26px;
                    &:after {
                        width: auto;
                        left: 0;
                        right: 0;
                    }
                }
            }
        }
    }

    .default-btn {
        padding: 6px 25px;
    }

    .accueil-secteurs {
        .bloc-secteur {
            padding: 40px 0;
            & .container-large {
                & .bloc-titre {
                    h2 {
                        font-size: 20px;
                        line-height: 28px;
                    }
                    .sous-titre {
                        font-size: 20px;
                        line-height: 22px;
                    }
                }
                .texte {
                    padding-left: 25px;
                    margin: 15px 0;
                }
                .btns {
                    gap: 10px;
                    .default-btn {
                        width: 100%;
                    }
                }
                .baseline {
                    font-size: 23px;
                    line-height: 25px;
                    & .underline {
                        &:after {
                            width: auto;
                            height: 55px;
                            left: 0;
                            right: 0;
                            bottom: -29px;
                        }
                    }
                }
            }
            &.isolation {
                & .container-large {
                    & .baseline {
                        & .underline {
                            &:after {
                                width: auto;
                            }
                        }
                    }
                }
            }
        }
    }

    .accueil-categories {
        padding-bottom: 40px;
        .liste-blocs {
            gap: 15px;
            & .bloc {
                &.bloc-texte, &.image-2 {
                    width: 100%;
                    max-width: none;
                    height: auto;
                    .pin {
                        margin: 10px 0 3px;
                    }
                }
                &.image-1, &.image-3 {
                    width: 100%;
                    height: auto;
                    img {
                        width: 100%;
                        height: auto;
                        object-fit: initial;
                    }
                }
                &.bloc-texte {
                    padding: 25px;
                    .texte {
                        font-size: 14px;
                    }
                }
            }
        }
    }

    /*Prestation*/
    .node--type-prestation {
        .entete-prestation {
            padding: 60px 0 25px;
            margin-bottom: 35px;
            & .container-medium {
                .line {
                    position: absolute;
                    left: -15px;
                    top: 0;
                    bottom: 0;
                    width: 5px;
                }
            }
            .image-banniere {
                position: relative;
                max-width: 100%;
                margin-top: 20px;
                &:before {
                    top: 0;
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    height: 65%;
                    background: linear-gradient(to bottom, #F0F0F0, transparent);
                }
            }
            h1 {
                width: 100%;
                max-width: none;
                font-size: 24px;
                line-height: 28px;
                margin-bottom: 10px;
            }
            .block-system-breadcrumb-block {
                max-width: 100%;
                margin: 0;
            }
            &:after {
                height: 90px;
                background: url(../images/interface/overlay-peinture-blanche.png) no-repeat center bottom / cover;
            }
        }
        .types-projet {
            .liste-types {
                gap: 16px;
                justify-content: space-between;
                .bloc-type {
                    width: calc(50% - 8px);
                    padding: 10px;
                    .titre {
                        padding-top: 8px;
                        font-size: 14px;
                    }
                }
            }
        }
        .bloc-contact {
            margin-top: 40px;
            padding: 30px 0;
            h2 {
                font-size: 24px;
                line-height: 28px;
                margin-bottom: 10px;
            }
            .texte {
                margin-bottom: 15px;
            }
        }
        .autres-prestations {
            padding: 40px 0;
            margin-top: 30px;
            > h2 {
                margin-bottom: 15px;
                font-size: 22px;
                line-height: 28px;
                margin-bottom: 35px;
            }
            .liste-prestations {
                gap: 16px;
                .bloc-prestation {
                    width: calc(50% - 8px);
                    h2 {
                        margin-bottom: 0px;
                    }
                }
            }
        }
    }

    .paragraphes .para-item.full-width {
        padding: 50px 0;
    }

    .page-prestations {
        .bloc-prestation-large {
            gap: 20px;
            flex-direction: column;
            &:nth-child(even) {
                flex-direction: column;
            }
            .contenu {
                max-width: 536px;
                h2 {
                    a {
                        display: inline-block;
                        font-size: 24px;
                        line-height: 28px;
                        text-decoration: none;
                        color: #0E334A;
                        margin-bottom: 10px;
                        text-transform: uppercase;
                        font-family: 'Russo One', sans-serif;
                    }
                }
            }
        }
    }

    /*Paragraphes*/
    .paragraphes p, .paragraphes li, .intro p, .layout-content ul li, body p {
        font-size: 14px;
        line-height: 24px;
    }

    .paragraphes h2 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 15px;
    }

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

    .paragraphes .para-item {
        margin: 0 auto 30px;
    }

    /*Page Title*/
    .title-content {
        position: relative;
        padding: 30px 0 90px;
        &:after {
            height: 90px;
            background: url(../images/interface/overlay-peinture-blanche.png) no-repeat center top / cover;
        }
    }

    .block-page-title-block h1 {
        font-size: 24px;
        line-height: 28px;
    }

    /*Default BTN*/
    .default-btn, .form-submit {
        min-width: 220px;
        padding: 10px 25px;
        font-size: 15px;
    }

    /*Accueil*/
    #block-raub-theme-navigationprincipale {
        .phone-header span {
            display: none;
        }
    }

    .view-slider-accueil {
        .swiper-slide {
            min-height: 500px;
            img {
                height: 500px;
                object-position: right;
            }
        }
        & .bloc-titre {
            h1 {
                font-size: 24px;
                line-height: 30px;
            }
            .zones-geo {
                font-size: 14px;
                margin: 10px 0 35px;
            }
            .baseline {
                font-size: 32px;
                &:after {
                    bottom: -44px;
                    width: 335px;
                    height: 60px;
                }
            }
        }
    }

    #block-accueil-prestations {
        .blo-cta {
            gap: 20px;
            .texte {
                font-size: 14px;
                line-height: 22px;
            }
        }
    }

    .liste-prestations {
        .bloc-prestation {
            a.titre {
                min-height: 75px;
                font-size: 12px;
                line-height: 16px;
                padding: 5px;
                gap: 5px;
            }
        }
    }

    .miniature-avis .note-date {
        flex-direction: column;
        gap: 5px;
    }

    .miniature-avis .note-date .note {
        margin-right: 0;
    }

    .miniature-avis .initiales-nom {
        margin-bottom: 0;
    }

    .accueil-presentation {
        gap: 40px;
        margin-bottom: 30px;
        h2 {
            font-size: 24px;
            line-height: 28px;
            margin-bottom: 15px;
        }
    }

    #block-accueil-avis-google {
        padding-top: 40px;
        padding-bottom: 40px;
        background: #F0F0F0;
        & .entete-avis {
            h2 {
                font-size: 24px;
            }
            .intro-avis {
                line-height: 28px;
                font-size: 16px;
                margin: 10px auto 20px;
            }
        }
    }

    #block-accueil-avis-google {
        &:before {
            height: 65px;
            background: url(../images/interface/overlay-peinture-blanche-top.png) no-repeat center bottom / cover;
        }
    }

    .block-swiper-avis #slider-avis {
        padding-right: 30px;
        .swiper-button-prev,
        .swiper-button-next {
            width: 26px;
            height: 40px;
            margin-top: -20px;
        }
    }
    .block-swiper-avis .swiper-slide {
        max-width: none;
    }

    /*Header*/
    #block-raub-theme-navigationprincipale {
        .labels {
            display: none;
        }
        .phone-header {
            padding: 8px 15px 7px;
            font-size: 18px;
        }
    }

    /*Paragraphes*/
    .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;
    }

}