/*
 Theme Name:   Debarras
 Description:  Debarras
 Author:       Debarras
 Template:     generatepress
 Version:      1.0
*/

/* General */
:where(.wp-block-columns){
    margin-bottom: 0;
}

.mb-0{
    margin-bottom: 0;
}

.wp-block-column p:last-child{
    margin-bottom: 0;
}

.entry-content > .wp-block-columns, body.error404 #content .wp-block-columns{
    padding: 40px 0;
}

.entry-content > .wp-block-columns.alignfull{
    padding-left: 40px;
    padding-right: 40px;
}

.btn-red a{
    transition: all ease 300ms;
    color: #fff;
}

.btn-red a:hover{
    background-color: var(--darkred);
    color: #fff;
}

.alignfull  > .wp-block-column.wp-container{
    max-width: 1140px;
    margin: 0 auto;
}

h2{
    font-size: 26px;
    line-height: 1.2em; 
}

h2.h1-size{
    font-size: 32px;
    line-height: 1.2em; 
}

h2.h3-size{
    font-size: 18px;
    margin-bottom: 10px;
}

h3{
    font-size: 18px;
    margin-bottom: 10px;
}

h3.h2-size{
    font-size: 26px;
    line-height: 1.2em;
    margin-bottom: 20px;
}

.wpcf7-not-valid-tip{
    font-size: 0.75em;
}
/* END General */

/* Header */
#masthead .site-logo{
    width: 45%;
}

#header-icon{
    width: 55%;
    margin-bottom: 0;
    gap: 1em;
    margin-left: auto;
}

#header-icon #hours{
    min-width: 215px;
}

#header-icon .wp-block-getwid-icon-box__icon-wrapper{
    padding: 10px;
}

#header-icon .wp-block-getwid-icon-box p{
    margin: 0;
}

#header-icon .wp-block-getwid-icon-box p:first-child{
    font-size: 14px;
    line-height: 16px;
}

#header-icon .wp-block-getwid-icon-box p a{
    color: inherit;
    text-decoration: none;
}

.main-navigation .main-nav > ul > li > a{
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all ease 300ms;
}

.main-navigation .main-nav > ul > li.menu-button{
    margin-left: 40px;
}

.main-navigation .main-nav > ul > li.menu-button > a{
    background: var(--red);
    font-weight: bold;
    line-height: 40px;
    color: #fff;
    border: solid 2px #fff;
}

/* END Header */

/* Home */
#hero-slider{
    padding: 0;
}

#hero-slider > .wp-block-column{
    position: relative;
}

#hero-slider .wp-block-getwid-images-slider.has-captions .wp-block-getwid-images-slider__item figcaption{
    font-size: 28px;
    font-weight: bold;
    padding: 40px 20px 30px;
}

#hero-slider .slick-next, #hero-slider .slick-prev{
    width: 40px;
    height: 40px;
}

#hero-slider .slick-next::before, #hero-slider .slick-prev::before{
    font-size: 40px;
    transition: all ease 300ms;
}

#hero-slider h1{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #fff;
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0) 100%);
    margin: 0;
    padding-bottom: 20px;
    text-shadow: 0 0 5px #555;
}

#home-presentation .wp-block-getwid-images-stack__wrapper{
    overflow: visible;
}

#home-presentation .wp-block-getwid-images-stack .wp-block-getwid-images-stack__media{
    border: solid 5px #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

#block-services h2{
    margin-bottom: 40px;
}

#block-services .row-services{
    margin-bottom: 20px;
}

#block-services .row-services > .wp-block-column{
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    padding: 15px;
}

#block-services .wp-block-getwid-icon-box__icon-container{
    margin-bottom: 10px;
}

#block-services .wp-block-getwid-icon-box__icon-wrapper{
    font-size: 50px;
    padding: 0 10px 10px;
}

#block-services .service-title{
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 18px;
}

#block-services .service-title a{
    color: inherit;
    text-decoration: none;
    transition: all ease 300ms;
}

#block-services .service-title a:hover{
    color: var(--darkred);
}

#block-services .service-content{
    font-size: 14px;
}

#home-counter{
    background-color: var(--darkred);
}

#home-counter h2{
    color: #fff;
    margin-bottom: 40px;
}

#home-counter .wp-block-getwid-counter__number{
    font-size: 48px;
    line-height: 48px;
    font-weight: 600;
    color: #fff;
}

#home-counter .wp-block-getwid-counter__suffix{
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    font-weight: 600;
}

#home-counter a{
    color: #fff;
}

#block-avis.home{
    background-color: #f7f7f7;
}

.wp-block-getwid-image-hotspot .wp-block-getwid-image-hotspot__dot-content{
    font-size: 10px;
}

.wp-block-getwid-image-hotspot .wp-block-getwid-image-hotspot__dot-icon{
    width: 10px;
    height: 10px;
    line-height: 10px;
}

.wp-block-getwid-image-hotspot__tooltip{
    padding: 5px;
}

.wp-block-getwid-image-hotspot__tooltip-title a{
    text-transform: uppercase;
    font-size: 14px;
}

.wp-block-getwid-image-hotspot__tooltip-title a:hover{
    text-decoration: none;
}

details{
    pointer-events: none;
}

summary{
    list-style: none
}
/* END Home */

/* Base template */
#hero{
    padding: 80px 0;
    background: url("/wp-content/uploads/2024/02/banner-1.jpg") center center no-repeat;
    background-size: cover;
    position: relative;
}

#hero::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    top: 0;
    left: 0;
    z-index: 1
}

#hero > .wp-block-column{
    position: relative;
    z-index: 1;
}

#hero > .wp-block-column > :last-child{
    margin-bottom: 0;
}

#hero-breadcrumb, #hero-breadcrumb a{
    margin-bottom: 25px;
    transition: all ease 300ms;
    text-decoration: none;
}

#hero-breadcrumb a:hover{
    text-decoration: underline;
    color: #ccc;
}

#hero-title{
    text-transform: uppercase;
    color: #fff;
}

#hero-intro{
    color: #ddd;
    /* font-style: italic; */
    font-size: 18px;
    line-height: 1.5em;
}

#hero-cta{
    max-width: 60%;
    margin: 40px auto 0;
}

#hero-cta .btn-red a{
    font-size: 24px;
    font-weight: bold;
    padding: 15px 25px 18px;
}

#hero-cta p{
    background-color: var(--darkblue);
    color: #fff;
    padding: 20px; 
    margin: 20px 0 0;
}

#hero-cta p a{
    color: #ddd;
    transition: all ease 300ms;
    font-size: 20px;
}

#hero-cta p a:hover{
    color: #fff;
    text-decoration: none;
}

#before-after{
    background-color: var(--base);
}

#before-after #photos{
    max-width: 900px;
    margin: 0 auto;
    gap: 1em;
}

#before-after #photos img{
    border: solid 8px #fff;
    border-radius: 5px;
    transition: all ease 300ms;
}

#before-after #photos img:hover{
    opacity: 0.7;
}

#before-after .legend-before-after{
    margin: 5px 0 0;
    font-size: 14px;
    font-style: italic;
}

#testimonials{
    background-color: var(--darkblue);
}

#testimonials > .wp-block-column > .wp-block-columns{
    gap: 15px;
}

#testimonials > .wp-block-column > .wp-block-columns > .wp-block-column,
#testimonials .wp-block-getwid-content-slider-slide{
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    margin: 0 15px;
}

#testimonials .testi-name{
    text-transform: uppercase;
    font-size: 16px;
}

#testimonials p{
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4em;
}

#testimonials .testi-header p {
    margin-bottom: 10px;
}

#testimonials .stars{
    flex-basis: 100px;
    flex-grow: 0;
}

.slick-dots li button::before{
    color: #fff;
    opacity: 0.5;
}

.slick-dots li.slick-active button::before{
    color: #fff;
    opacity: 1;
}

.wp-block-getwid-tabs__nav-link.ui-tabs-active, .wp-block-getwid-tabs__tab-content{
    background-color: #f7f7f7;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper{
    background-color: #ffffff;
}

.wp-block-getwid-accordion__content{
    background-color: #ffffff;
}

.wp-block-getwid-tabs__title-wrapper a{
    color: var(--contrast);
}

#content-links-child{
    color: #fff;
    background-color: var(--darkred);
}

#content-links-child h3{
    color: #fff;
}

#content-links-child ul{
    margin: 0 0 0 2em;
}

#content-links-child ul a{
    color: #ffffff;
    transition: all ease 300ms;
}

#content-links-child ul a:hover{
    opacity: 0.6;
}

.form-contact .wp-block-column{
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.form-contact .title-form{
    background: var(--darkblue);
    color: #fff;
    padding: 15px;
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.form-contact .wp-block-column h2{
    margin: 20px 20px 0;
    font-size: 18px;
}

.form-contact .wpcf7{
    padding: 30px;
}

.form-contact .form-2{
    display: flex;
    flex-flow: row wrap;
    gap: 2em;
}

.form-contact .form-2 .textarea{
    flex-grow: 1;
}

.form-contact .form-2 .textarea textarea{
    height: 235px;
}

.form-contact .rgpd{
    text-align: center;
    margin: 10px 0;
}

.form-contact .submit{
    text-align: center;
}

.form-contact .submit p, .form-contact .rgpd p{
    margin-bottom: 0;
    line-height: 1em;
}

.form-contact .submit input[type="submit"]{
    background-color: var(--red);
    padding: 10px 20px;
    border: none;
    transition: all ease 300ms;
}

.form-contact .submit input[type="submit"]:hover{
    background-color: var(--darkred);
}

.wp-block-getwid-accordion__header-wrapper.ui-accordion-header-active{
    background-color: var(--darkblue);
    
}

.wp-block-getwid-accordion__header-wrapper a{
    color: var(--contrast);
}

.wp-block-getwid-accordion__header-wrapper.ui-accordion-header-active a{
    color: #fff;
}

#cta-block{
    padding: 30px;
    /* border-radius: 10px; */
    margin: 40px 0;
}

#cta-block .cta-content{
    margin-bottom: 0;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2em;
}

#cta-block .cta-btn{
    flex-basis: 190px;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: bold;
}

#content-links-sisters{
    padding-top: 0;
}

#content-links-sisters a {
    font-size: 14px;
    padding: 5px 15px;
    border-width: 2px;
  }
/* END Base template */

/* Other pages */

.service-icon .title{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    margin: 0 0 10px; 
}

#spot-contact{
    margin-top: 40px;
}

#spot-contact .title{
    margin-bottom: 10px;
    text-transform: uppercase;
}

#spot-contact .wp-block-getwid-icon-box{
    margin-bottom: 10px;
}

#contact-form .form-2{
    flex-direction: column;
    gap: 0;
}

#contact-form .fields > p{
    margin-bottom: 15px;
}

#contact-form input[type="email"], 
#contact-form input[type="text"]{
    width: 100%;
}

#contact-form textarea{
    height: 135px;
}

.wp-block-getwid-recent-posts__post-wrapper{
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    border: solid 2px rgba(0,0,0,0.1);
}

.wp-block-getwid-recent-posts__content-wrapper{
    padding: 5px 20px 20px;
}

.wp-block-getwid-recent-posts__post-title{
    text-transform: uppercase;
    font-size: 16px;
}

.wp-block-getwid-recent-posts__post-title a{
    text-decoration: none;
    transition: all ease 300ms;
}

.wp-block-getwid-recent-posts__post-content{
    margin-top: 10px;
    font-size: 14px;
    line-height: 22px;
}

.has-cropped-images .wp-block-getwid-recent-posts__post-thumbnail a{
    padding-top: 0;
}

.has-cropped-images .wp-block-getwid-recent-posts__post-thumbnail, .has-cropped-images .wp-block-getwid-recent-posts__post-thumbnail img{
    height: 200px;
}

body.single .wp-block-separator{
    margin: 0 0 40px;
    border-color: rgba(0,0,0,0.1);
    background-color: none;
}
/* END Other pages */

/* Cocon Semantique */
#header-cocon{
    margin: 10px 0;
}

body.right-sidebar #content{
    align-items: flex-start !important;
}

body.right-sidebar h1{
    font-size: 32px;
}

#right-sidebar{
    position: sticky;
    top: 30px;
    margin-bottom: 20px;
}

.widget-area .widget{
    padding: 0;
}

.sidebar-block{
    border: solid 1px rgba(0,0,0,0.1);
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    background-color: rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar-block p{
    margin: 0;
}

.sidebar-block p.sidebar-title{
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
}

.sidebar-block a.wp-block-button__link{
    background: var(--red);
    font-weight: bold;
    color: #fff;
    margin: 5px 0;
}
/* END Cocon Semantique */

/* Footer */
#footer{
    background-color: var(--darkblue);
    color: #fff;
    padding: 20px;
}

#footer p.links{
    color: rgba(255,255,255,0.2);
    word-spacing: 3px;
    font-size: 14px;
    margin: 20px 0 0;
}

#footer .links p a{
    color: #fff;
    text-decoration: none;
    transition: all ease 300ms;
}

#footer .links p a:hover{
    text-decoration: underline;
    opacity: 0.7;
}

#footer .widget-title{
    text-transform: uppercase;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

#footer ul{
    list-style: none;
    text-align: center;
    margin: 0;
}

#footer a{
    color: #fff;
    transition: all ease 300ms;
    text-decoration: none;
}

#footer a:hover{
    opacity: 0.7;
}

#copyright{
    padding: 10px;
    background: #23293a;
    color: #fff;
}

#copyright p{
    margin: 0;
    font-size: 14px;
}

#fixed-icons{
    display: none;
}
/* END Footer */

/* Responsive */
@media all and (max-width: 767px){
    #masthead{
        width: 200px;
        float: left;
    }

    #masthead .site-logo{
        width: 100%;
    }

    #site-navigation:not(.toggled){
        float: right;
        clear: none;
        margin: 10px;
    }

    #site-navigation.toggled .inside-navigation{
        justify-content: flex-end;
    }

    #site-navigation .menu-toggle{
        line-height: 40px;
        padding: 2px 15px 0;
        background-color: var(--darkred);
    }

    #site-navigation .menu-toggle .mobile-menu{
        display: none;
    }

    .nav-below-header .main-navigation .inside-navigation.grid-container{
        padding: 0;
    }

    #page{
        clear: both;
    }

    

    /* #header-icon{
        width: 100%;
    }

    #header-icon.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column{
        flex-basis: 40% !important;
    } */

    #header-icon{
        display: none;
    }

    /* #header-icon #contact .wp-block-buttons{
        justify-content: center;
    } */

    #hero{
        padding: 25px 15px;
    }

    #hero-title{
        font-size: 30px;
        margin-bottom: 10px;
    }

    #hero-intro{
        font-size: 15px;;
        line-height: 1.4em;
    }

    #hero-cta{
        max-width: 100%;
        margin: 20px auto 0;
    }

    #hero-cta p{
        padding: 10px;
        margin: 15px 0 0;
        font-size: 13px;
        line-height: 1.5em;
    }

    #hero-cta p{
        font-size: 14px;
    }

    #hero-cta .btn-red a{
        font-size: 16px;
        padding: 10px 15px;
    }

    #cta-block .cta-content{
        text-align: center;
        font-size: 17px;
    }

    .entry-content > .wp-block-columns{
        padding: 20px 0;
    }

    .entry-content > .wp-block-columns.alignfull{
        padding-left: 15px;
        padding-right: 15px;
    }

    h2{
        font-size: 20px;
        line-height: 1.1em;
        margin-bottom: 15px;
    }

    #before-after #photos{
        gap: 0.5em
    }

    #before-after #photos img{
        border-width: 3px;
    }

    ol, ul{
        margin: 0 0 1.5em 2em;
    }

    .wp-block-getwid-tabs__title-wrapper a {
        font-size: 12px;
        padding: 5px !important;
    }

    .wp-block-getwid-tabs__tab-content{
        padding: 15px;
    }

    #content-links-child .wp-block-columns{
        gap: 0;
    }

    #content-links-sisters{
        gap: 0.5em;
    }

    #content-links-sisters .wp-block-buttons{
        justify-content: center;
    }

    .form-contact .wpcf7{
        padding: 20px;
    }

    .form-contact .form-2{
        gap: 0;
        flex-direction: column;
    }

    .form-contact p{
        font-size: 14px;
    }

    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="text"],
    input[type="url"],
    select,
    textarea{
        width: 100%;
    }

    .form-contact .form-2 .textarea textarea{
        height: 150px;
    }

    .wpcf7-spinner{
        display: none;
    }

    #cta-block{
        gap: 1em;
        padding: 20px;
        margin: 20px 0;
    }

    #cta-block h2{
        text-align: center;
        font-size: 18px;
    }

    #cta-block .cta-btn{
        font-size: 18px;
    }

    #cta-block .cta-btn .wp-block-buttons{
        justify-content: center;
    }

    body{
        padding-bottom: 40px;
    }

    #home-presentation .wp-block-columns{
        gap: 10px;
    }

    h1{
        font-size: 26px;
    }

    h2.h1-size{
        font-size: 22px;
    }

    #home-counter h2{
        margin-bottom: 25px;
    }

    #home-counter .wp-block-getwid-counter__number{
        font-size: 26px;
        line-height: 26px;
    }

    #home-counter .wp-block-columns{
        gap: 15px;
    }

    #block-services h2{
        margin-bottom: 20px;
    }

    #fixed-icons{
        display: flex;
        position: fixed;
        width: 100%;
        left: 0;
        bottom: 0;
        background: var(--darkred);
        z-index: 10;
        gap: 0;
    }

    #fixed-icons > .wp-block-column{
        width: 50%;
    }

    #fixed-icons > .wp-block-column:first-child{
        border-right: solid 1px rgba(255,255,255,0.2);
    }

    #fixed-icons a{
        color: #fff;
        display: block;
    }

    #fixed-icons a i{
        margin: 0 auto;
    }

    #hero-slider h1{
        font-size: 22px;
        padding-bottom: 10px;
    }

    #hero-slider .wp-block-getwid-images-slider__item{
        height: 250px !important;
    }

    #hero-slider .wp-block-getwid-images-slider.has-captions .wp-block-getwid-images-slider__item figcaption{
        font-size: 18px;
        padding: 20px 10px 10px;
        line-height: 22px;
    }

    #hero-slider .slick-next, #hero-slider .slick-prev{
        width: 20px;
        height: 20px;
    }

    #hero-slider .slick-next::before, #hero-slider .slick-prev::before{
        font-size: 20px;
    }

    .wp-block-image .alignright{
        margin: 10px auto;
        font: none;
    }

    .main-navigation .main-nav > ul > li.menu-button{
        margin-left: 0;
    }

    .main-navigation .main-nav > ul > li.menu-button > a{
        border-left: none;
        border-right: none;
    }

    .wp-block-getwid-image-hotspot .wp-block-getwid-image-hotspot__dot-content{
        font-size: 8px;
    }
    
    .wp-block-getwid-image-hotspot .wp-block-getwid-image-hotspot__dot-icon{
        width: 8px;
        height: 8px;
        line-height: 8px;
    }
}
/* END Responsive */
