/* Add here all your CSS customizations */

/*Remonté contact*/

div:target,
section:target {
    padding-top: 170px !important;
}

/*Sélection du texte*/

::-moz-selection {
    background-color: #C88F86;
    color: white;
}

::selection {
    background-color: #C88F86;
    color: white;
}

::-moz-selection {
    background-color: #C88F86;
    color: white;
}

/*img-fluid afficherArticles*/
.articleTexte img {
    max-width: 100%;
}

/*WCB*/
.fl-fl {
    background: #875c5b;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 4px;
    width: 285px;
    position: fixed;
    right: -200px;
    z-index: 1000;
    float: left;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
    border-radius: 40px 0px 0px 40px;
    -webkit-animation-name: clignote;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
}

.fassss {
    font-size: 50px;
    color: #fff;
    padding: 10px 0;
    width: 50px;
    margin-left: 20px;
    margin-right: 10px;
    margin-top: 5px;
    float: left;
}

.d-md-flex .fl-fl:hover {
    right: 0;
}


.fl-fl #contentAjaxWCB {
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    vertical-align: top !important;
}

.float-fb {
    bottom: 130px;
}



.faq-container {
    max-width: 100%;
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.question {
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    color: #c78e85 !important;
    margin-bottom: 10px;
}
.reponse {
    font-size: 12px;
    font-style: italic;
    display: none;
    padding-left: 20px;
    border-left: 2px solid #ff6b6b;
    margin-bottom: 15px;
}



@-webkit-keyframes clignote {
    0% {
        -webkit-box-shadow: 0px 0px 15px #875c5b;
        box-shadow: 0px 0px 15px #875c5b;
    }

    50% {
        -webkit-box-shadow: 0px 0px 0px #875c5b;
        box-shadow: 0px 0px 0px #875c5b;
    }

    100% {
        -webkit-box-shadow: 0px 0px 15px #875c5b;
        box-shadow: 0px 0px 15px #875c5b;
    }
}


/*OVERFLOW SM*/
@media (max-width: 1090px) {

    .modal {
        height: 750px;
        /* Set a default max height of the modal (adjusted later)*/
        position: fixed;
        /* Display modal in the centre of your screen */
        overflow-y: scroll;
        /*  Ensure that the modal is scroll-able */
        -webkit-overflow-scrolling: touch;
        /* Avoid having to use 2 finger scroll on iOS    */
    }

    .modal.fade.in {
        top: 5px;
        /* Use more screen real estate */
    }

    .modal-body {
        /* Increase the max height of the modal body to try & avoid both it,
             * and the modal container having scroll bars which results in odd behavior */
        max-height: 2400px;
    }
}

@media (max-width: 480px) {

    .modal {
        height: 500px;
        /* Set a default max height of the modal (adjusted later)*/
        position: fixed;
        /* Display modal in the centre of your screen */
        overflow-y: scroll;
        /*  Ensure that the modal is scroll-able */
        -webkit-overflow-scrolling: touch;
        /* Avoid having to use 2 finger scroll on iOS    */
    }

    .modal.fade.in {
        top: 5px;
        /* Use more screen real estate */
    }

    .modal-body {
        /* Increase the max height of the modal body to try & avoid both it,
             * and the modal container having scroll bars which results in odd behavior */
        max-height: 2400px;
    }
}

/* Now adjust the height so it handles various screen sizes & orientations */
/* You could make this as granular as you like, or have it more granular at common screen sizes
     * but it should start at the height we set on .modal (i.e. 500px) & work down */
@media (max-width: 480px) and (max-height: 500px) {
    .modal {
        height: 450px
    }
}

@media (max-width: 480px) and (max-height: 450px) {
    .modal {
        height: 400px
    }
}

@media (max-width: 480px) and (max-height: 400px) {
    .modal {
        height: 350px
    }
}

@media (max-width: 480px) and (max-height: 350px) {
    .modal {
        height: 300px
    }
}

@media (max-width: 480px) and (max-height: 300px) {
    .modal {
        height: 250px
    }
}

@media (max-width: 480px) and (max-height: 250px) {
    .modal {
        height: 200px
    }
}

@media (max-width: 480px) and (max-height: 200px) {
    .modal {
        height: 150px
    }
}


/*Textes éditables*/
.editB p {
    font-size: 1.2em;
    /*	line-height: 1.8;*/
    opacity: 1 !important;
    color: #fff;
}

.editB h2 {
    font-size: 2rem;
    color: #fff;
}

.edit p {
    font-size: 1.2em;
    /*	line-height: 1.8;*/
    opacity: 1 !important;
}


.edit h2 {
    font-size: 2rem;
}

.edit h1 {
    font-size: 3.5rem ;
}

.titreG {
    color: #ccc;
}

/*Liens second menu*/
.menu2 a:hover h6{
    color:#C88F86;
}

/*Scrool bar*/

.bar{
   height:45em;
}

.scrollbar
{
	margin-left: 30px;
	float: left;
	height: 300px;
	width: 65px;
	background: #F5F5F5;
	overflow-y: scroll;
	margin-bottom: 25px;
}

.force-overflow
{
	min-height: 450px;
}

#style-1::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px #fff5f7;
    box-shadow: inset 0 0 6px #fff5f7;
	border-radius: 10px;
	background-color: #ccc;
}

#style-1::-webkit-scrollbar
{
	width: 12px;
	background-color: #090a0b;
}

#style-1::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-color: #875c5b;
}


/*Couleur accordion devis*/
.accordion:not(.accordion-minimal):not(.accordion-style-1):not(.accordion-style-2) .accordion-header a.collapsed{
/*    background-color: #ffd2c9;*/
     background-color: #f1f3f7;
    border: 1px solid #c78e85;
    border-radius: 10px;
}

.accordeonDevis a{
	color: #fff !important;
}


/*Première étape devis*/
.form-style-4 .form-control{
    background-color: #f1f3f7;
    border: 1px solid #c78e85;
    border-radius: 10px;
}

/*Contour 2ème étape devis*/
/*
.bordureDevis{
    border: 1px solid #ccc;
    border-radius: 10px;
}

.bordureDevis:active{
    border: 3px solid #c78e85;
}
*/

input[type="checkbox"][id^="cb"] {
  display: none;
}

.labelD{
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 10px;
/*  padding: 10px;*/
  display: block;
  position: relative;
/*  margin: 10px;*/
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

:checked+.labelD {
  border: 2px solid #c78e85;
}

div[id^="nb"]{
    display: none;
}

/*Fond vert de validation formulaires devis*/
.fondVert {
    background-color: #ffe5e1;
    border-color: #c78e85;
}


.nav-tabs .nav-item .nav-link.active{
    background-color: #2E3237 !important;
    color: #fff;
}

@media (min-width: 992px){
    .align-items-lg-unset{
        align-items: unset !important;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
 * Styles des liens/boutons stylisés (TinyMCE)
 * Créés via le bouton "Style du lien" dans l'éditeur
 * ============================================ */

/* Bouton stylisé - Base */
a.btn-link-styled {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    margin: 0.25rem 0;
}

/* Bouton avec cadre (outline) */
a.btn-link-styled.btn-outline {
    background: transparent;
    border: 2px solid var(--btn-color, #c78e85);
    color: var(--btn-color, #c78e85);
}

a.btn-link-styled.btn-outline:hover {
    filter: brightness(0.85);
    transform: translateY(-1px);
}

/* Bouton avec fond (filled) */
a.btn-link-styled.btn-filled {
    background-color: var(--btn-color, #c78e85);
    border: 2px solid var(--btn-color, #c78e85);
    color: #ffffff;
}

a.btn-link-styled.btn-filled:hover {
    filter: brightness(0.85);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive - boutons sur mobile */
@media (max-width: 576px) {
    a.btn-link-styled {
        display: block;
        text-align: center;
        margin: 0.5rem 0;
    }
}

/* ============================================
 * Correction scrollbar horizontale dans les colonnes étroites
 * Évite les scrollbars sur les éléments de texte (paragraphes, headings, div)
 * Inclut les <pre> qui peuvent être générés par erreur par TinyMCE
 * IMPORTANT: Ne pas appliquer aux éléments de carousel (owl-carousel)
 * car ils nécessitent overflow:hidden pour fonctionner
 * ============================================ */
.section p,
.section h1,
.section h2,
.section h3,
.section h4,
.section h5,
.section h6,
.section pre {
    overflow: visible !important;
    overflow-x: visible !important;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Pour les divs, exclure les éléments de carousel et slider */
.section div:not(.container):not(.row):not([class*="col-"]):not([class*="owl-"]):not([class*="slider"]):not([class*="carousel"]) {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Correction spécifique pour les <pre> utilisés comme texte normal */
.section pre {
    white-space: pre-wrap !important;
    font-family: inherit;
    font-size: inherit;
    margin: 0 0 1rem 0;
    padding: 0;
    background: transparent;
    border: none;
}