:root {
    --color-orange: #E44200;
}
/* container - bootstrap */
@media (min-width: 1400px) {
    .container {
        max-width: 1366px;
    }
}
@media (min-width: 1600px) {
    .container {
        max-width: 1606px;
    }
}
/* fonts / colors */
body {
    overflow-x: hidden;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px;
    color: #3F3E3E;
}
.poppins {
    font-family: Helvetica, Arial, sans-serif !important;
}
html,body  {
    overflow-x: hidden;
}
@media (max-width: 991.98px) { 
    h1, .h1 {
        font-size: 42px;
        /* bold */
        font-weight:700;
    }
}
@media (min-width: 992px) { 
    h1, .h1 {
        font-size: 42px;
        /* bold */
        font-weight:700;
    }
}
@media (max-width: 991.98px) { 
    h2, .h2 {
        font-size: 30px;
        /* bold */
        font-weight:700;
    }
}
@media (min-width: 992px) { 
    h2, .h2 {
        font-size: 30px;
        /* bold */
        font-weight:700;
    }
}

h3, .h3 {
    font-size: 24px;
    text-transform: uppercase;
    /* bold */
    font-weight:500;
    color: #000000;
}

strong {
    /* bold */
    font-weight:700;
}

p {
    font-size: 14px;
    /* regular */
    font-weight:400;
    line-height: 1.7;
}

::placeholder {
    font-size: 18px;
    /* regular */
    font-weight:400;
}
small {
    font-size: 12px;
    /* regular */
    font-weight:400;
    display: block;
    line-height: 1.2;
}

label, .label {
    font-size: 14px;
    /* regular */
    font-weight:400;
}

a, a:hover {
    text-decoration: none;
    color: initial;
}

.link-orange a:hover{
    color: var(--color-orange);
}

.pointer {
    cursor: pointer;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}
.bg-grey{
    background-color: #F6F6F6
}
/* couleur */
.maron {
    color: #937457;
}

.card-no-border{
    border: none;
}
/* Checkbox */
input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    border-radius: 4px;
    height: 21px;
    width: 21px;
    background: #fff;
    border: 1px solid #ccc;
    margin-right: 0.5rem;
}
input[type=checkbox]:hover {
    cursor: pointer;
}
input[type="checkbox"]:focus {
    border-color: #CEBB95;
    outline-color: #CEBB95;
}
input[type=radio]:focus {
    outline: none;
    border-color: #CEBB95;
}
input[type="checkbox"]:checked {
    background: #CEBB95 no-repeat center;
    position: relative;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.825' height='11.895' viewBox='0 0 14.825 11.895'%3E %3Cpath id='ok' d='M1507,325.859l3.775,4.131,8.225-9' transform='translate(-1505.587 -319.577)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/%3E %3C/svg%3E");
}
input[type=checkbox] + span  {
    vertical-align: super;
}
/* Checkbox */
input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    border-radius: 100%;
    height: 21px;
    width: 21px;
    background: #fff;
    border: 1px solid #ccc;
    margin-right: 0.5rem;
}
input[type=radio]:hover {
    cursor: pointer;
}
input[type="radio"]:checked {
    background: #CEBB95 no-repeat center;
    position: relative;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.825' height='11.895' viewBox='0 0 14.825 11.895'%3E %3Cpath id='ok' d='M1507,325.859l3.775,4.131,8.225-9' transform='translate(-1505.587 -319.577)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/%3E %3C/svg%3E");
}
input[type=radio] + span  {
    vertical-align: super;
}

/* tag */
/* .tag{
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #EBEBEB;
    font-size: 12px;
    font-weight:300;
    color: #222222;
} */
/* .tag:hover{
    color: rgba(51, 62, 71, 0.5);
}
.tag.active{
    color: #DC0934;
} */
/* tag */
.tag{
    /* padding-right: 20px;
    padding-left: 20px; */
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: transparent;
    font-size: 12px;
    /* light */
    font-weight:300;
    color: #222222;
    cursor: pointer;
    text-transform: uppercase;
    margin-right: 5px;
}
.tag:hover{
    color: #E44200
}
.tag.active, .checkbox-tag:checked + .tag {
    color: #E44200;
}
.checkbox-tag, .checkbox-tagProduit  {
    display: none;
}

.button.active, .checkbox-tagProduit:checked + .button {
    background-color: #FFFFFF;
    color: #E44200;
    border: 1px solid #E44200;

}
/* Vimeo */
.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto; } 
.video-responsive iframe, .video-responsive object, .video-responsive embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
/* Bynder */
a.bynder-widget-media-link {
    margin-left: 0px !important;
    margin-right: 0px !important;
    width: 95% !important;
}

/* Alternance colones */
@media (min-width: 992px){
    .even {
        flex-direction: row-reverse;
    }
}
/* img 100% width */
.img-100 {
    width: 100%;
    height: auto;
}
/* texte sur image */
.text-overlay {
    position: absolute;
    bottom: 0;
    background-color: RGBA(255, 255, 255, 0.6);
    color: #000000;
    padding: 12px 10px;
    width:  100%;
}
/* overlay sur image */
@media (min-width: 768px){
    .overlay-text p, .overlay-text i, .overlay-bg{
        display: none;
    }
    .overlay-bg {
        background-color: rgba(255,255,255,0.7);
        position: absolute;
    }
    .overlay:hover .overlay-bg {
        background-color: rgba(255,255,255,0.7);
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .overlay-text p{
        font-weight: 500;
    }
    .overlay-text {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        display: flex; 
        align-items: center;
        justify-content: center; 
        text-align: center;
    }
    .overlay:hover .overlay-text p, .overlay:hover .overlay-text i {
        display: block;
        -webkit-animation: scale-up-center .9s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-center .9s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }
}

@media (max-width: 767.98px){
    .overlay-bg {
        background-color: rgba(255,255,255,0.7);
        position: absolute;
        display: block;
        bottom: 0;
        left: 0;
        right: 0;
        height: 35px;
    }
    .overlay-text {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        display: flex; 
        align-items: center;
        justify-content: center; 
        text-align: center;
    }
    .overlay-text p {
        margin-bottom: 0;

    }
}
/* ligne de séparation accompagnant titre (Magazine sur homepage par ex) */
.line-inspiration:before, .line-inspiration:after {
    width: 16%;

}
.line-article:before, .line-article:after {
    width: 40%;

}
.line-inspiration:before, .line-inspiration:after, .line-article:before, .line-article:after {
    background-color: #707070;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
}
.line-inspiration:before{
    right: 0.5em;
    margin-left: -16%;
}
.line-inspiration:after {
    left: 0.5em;
    margin-right: -16%;
}
.line-article:before  {
    right: 0.5em;
    margin-left: -40%;
}
.line-article:after {
    left: 0.5em;
    margin-right: -40%;
}
/* barre latéral pour sous titre image produit inspirations... */
.left-barre {
    padding-left: 1rem;
    /*border-left: 2px solid #696969;*/
    color: #3F3E3E;
    font-size: 18px;
    font-weight: 500;
}
.for-hover {
    display: flex;
    flex-direction: column!important;
    /* justify-content: space-between; */
}
.for-hover:hover .left-barre {
    /*padding-left: 1rem;*/
    /*border-left: 2px solid #E44200;*/
    /*color: #E44200;*/
}
/* Hover des images */
.for-hover:hover .img-bg {
    background: rgba(255, 255, 255, 0); /* Couleur semi-transparente */
    /* background-color: rgba(228, 66, 0,0.3); */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0px;
    right: 0px;
}
.for-hover .col-12 {
    overflow: hidden;
}
.for-hover img {
    transition: transform .5s ease;
}
.for-hover:hover img {
    transform: scale(1.2);
}

/* retour en haut de page */

.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 25px;
    display: none;
    z-index: 1;
}
/* Simple zoom on hover des images */
.simple-hover {
    position: relative;
    margin: auto;
    overflow: hidden;
}
.simple-hover img {
    max-width: 100%;
    transition: all 0.6s;
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1);
}
.simple-hover:hover img {
    transform: scale(1.2);
}
/* Menu lateral */

@media (min-width: 576px){
    .sidemenu{
        margin: 0;
        position: fixed;
        top: 40%;
        right: 0;
        width: auto;
        z-index: 101;
    }
    .sidemenu-container {
        position: relative;
        text-align: right;
    }
    .sidemenu-content { 
        position: relative;
        display: block;
        text-align: inherit;
        width: auto;
        margin-bottom: 0.25rem;
    }
    .sidemenu-content a {
        height: 46px;
        position: relative;
        display: inline-block;
        text-align: left;
        width: 50px;
        overflow: hidden;
        border-bottom-left-radius: 5px;
        border-top-left-radius: 5px;
        padding-left: 0px;
        white-space: nowrap;
    }
    .sidemenu, .sidemenu-container, .sidemenu-content, .sidemenu-content a {
        -webkit-transition: width ease-in .5s;
        transition: width ease-in .5s;
    }
    .sidemenu-content a:hover, .devis-start {
        width: 230px !important;
    }
}



@media (max-width: 575.98px){
    .br:after {
        content: "";
        border-right: #FFFFFF 1px solid;
        position: absolute;
        right: 0;
        height: 80%;
        top: 10%;
    }
    .sidemenu{
        margin: 0;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 1011;
    }
    .sidemenu-container {
        display: flex;
        background-color: #EFEFEF;
    }
    .sidemenu-content {
        position: relative;
        display: flex;
        justify-content: space-around;
        text-align: inherit;
        width: 25%;
    }
    .sidemenu-content a {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: right;
        align-items: center;
        width: 100%;
        font-weight: 400;
        font-size: 10px;
        text-transform: none;
    }
    body  {
        margin-bottom: 70px;
    }
}
/* Tous modal */
.modal {
    z-index: 2000;
}
/* VIGNETTES avec modal */
/* The Modal (background) */
.to-modal{
    cursor: zoom-in;
}
/* Zoom image */
#titreModal .bynder-widget-mediaholder img{
    vertical-align: middle !important;
    box-sizing: content-box !important;
    cursor: zoom-out;
}
.modal-zoom {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto !important; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    cursor: zoom-out;
}

/* Modal Content (image) */
.modal-content-zoom {
    margin: auto;
    padding: auto;
    display: block;
    background: transparent;
    width: auto !important;
    height: auto;
    max-height: 70%;
    max-width: 90%;
    padding-top: 75px; /* Location of the box */
}

/* Caption of Modal Image */
.caption-zoom {
    margin: auto;
    text-align: center;
    color: #ccc;
}

/* button of Modal Image */
.btn-modal-zoom {
    color: #ccc;
    border: white 1px solid;
}

/* Add Animation */
.modal-content-zoom, .caption-zoom, .btn-modal-zoom {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.out-zoom {
  animation-name: zoom-out;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(1)}
    to {-webkit-transform:scale(2)}
}

@keyframes zoom {
    from {transform:scale(0.4)}
    to {transform:scale(1)}
}

@keyframes zoom-out {
    from {transform:scale(1)}
    to {transform:scale(0)}
}

/* The Close Button */
.close-zoom {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-zoom:hover,
.close-zoom:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content-zoom {
        width: 100%;
        padding-top: 0;
    }
    .caption-zoom {
        padding-top: 0;
    }
}
/* tooltip */
.tooltip {
    opacity: 1 !important;
    font-family: unset;
    font-weight: unset;
}
.tooltip .tooltip-inner {
    background-color: #FFFFFF;
    color: #000000;
    opacity: 1 !important;
    border-radius: 0;
}
.tooltip.bs-tooltip-right .arrow:before {
    border-right-color: #FFFFFF;
    color: #000000;
}
.tooltip.bs-tooltip-left .arrow:before {
    border-left-color: #FFFFFF;
    color: #000000;
}
.tooltip.bs-tooltip-bottom .arrow:before {
    border-bottom-color: #FFFFFF;
    color: #000000;
}
.tooltip.bs-tooltip-top .arrow:before {
    border-top-color: #FFFFFF;
    color: #000000;
}
/* Custom zoom on hover BO*/
.bo-zoom {
    position: relative;
    margin: auto;
    overflow: hidden;
    display: block;
}
.bo-zoom img {
    max-width: 100%;
    transition: all 0.6s;
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1);
}
.bo-overlay:hover .bo-zoom img {
    transform: scale(1.2);
}

/* overlay sur image */
@media (min-width: 768px){
    .bo-overlay-text p, .bo-overlay-bg{
        display: none;
    }
    .bo-overlay:hover .bo-overlay-bg {
        background: linear-gradient(transparent, rgba(255,255,255,0.8));
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .bo-overlay:hover .bo-overlay-text {
        position: absolute;
        bottom: 50px;
        right: 50px;
    }
    .bo-overlay:hover .bo-overlay-text p {
        display: block; 
        margin-bottom: 0;
    }
    .bo-overlay:hover .bo-overlay-text,.bo-overlay:hover .bo-overlay-text p, .bo-overlay:hover .bo-overlay-bg {
        -webkit-animation: scale-up-center .9s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-center .9s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }
}

@media (max-width: 767.98px){
    .bo-overlay-bg {
        position: absolute;
        display: block;
    }
    .bo-overlay-text {
        background-color: rgba(255,255,255,0.7);
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        display: flex; 
        align-items: center;
        justify-content: center; 
        text-align: center;
    }
    .bo-overlay-text p {
        margin-bottom: 0;

    }
}
.notices div {
    -moz-box-shadow: 0 5px 5px rgba(182, 182, 182, 0.25);
    -webkit-box-shadow: 0 5px 5px rgba(182, 182, 182, 0.25);
    box-shadow: 0 5px 5px rgba(182, 182, 182, 0.25);
    clip-path: inset(0px 1px -5px 1px);
    -webkit-clip-path: inset(0px -5px -5px -5px);
}
.titre-pdf{
    font-weight: 500;
    color: #000000;
}
.texte-pdf {
    font-size: 12px;
}
/* ligne de séparation */
.ligne-separation {
    padding-left: 0;
    position: relative;
}
.ligne-separation span {
    background-color: white;
    padding-right: 1em;
}
.ligne-separation:after {
    content:"";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5em;
    border-top: 1px solid black;
    z-index: -1;
}
/* petit séparateur */
.sepa {
    width: 109px;
    border-top: 1px solid #000000;
}
.shadow-bg-white {
    -moz-box-shadow:0 5px 5px rgba(182, 182, 182, 0.25);
    -webkit-box-shadow: 0 5px 5px rgba(182, 182, 182, 0.25);
    box-shadow: 0 5px 5px rgba(182, 182, 182, 0.25);
    clip-path: inset(0px 1px -5px 1px);
    -webkit-clip-path: inset(0px -5px -5px -5px);
    background-color: #FFFFFF;
}

.color-marche{
    background-color: #516161 !important;
    color:white;
}
.color-produits{
    background-color: #5f1e21 !important;
    color:white;
}
.color-document{
    background-color: #e2a500 !important;
    color:white;
}
.color-magri{
    background-color: #01426A !important;
    color:white !important;
}

.blocs-home{
    min-height: 300px;
    /*padding:30px 30px 120px 30px;*/
    color: white;
    border: 1px solid #D8D8D8;
}
.blocs-home h3, .blocs-home a{
    color:white;
}
.bloc-magri{
    border: 1px solid #D8D8D8;
    padding:25px;
    color:#A7A4A4;
    padding-bottom:50px;
    min-height: 200px;
    height:100%;
}
.title-bloc{
    text-transform: uppercase;
    font-size:1.2em;
    color:black;
}
.bloc-magri li{
    color:black;
}
.bloc-magri .button-link{
    color:white;
    background: #01426A;
    border-radius : 30px;
    padding: 10px 20px;
    position: absolute;
    bottom: 15px;
    transition: all 0.5s ease;
    border: 1px solid #01426A;
}
.bloc-magri .button-right{
    right:30px;
}
.first-actu.bloc-magri {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.title-actu {
    position: absolute;
    left: 0px;
    border-radius: 0px !important;
    bottom:15px;
}
.visuel-blocs {
    height: 100%;
    width: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.bandeau-interne{
    object-fit: cover;
    max-height: 700px;
}

.thumbnail-thm {
    max-height: none; /* Supprime la limite de hauteur */
    height: auto; /* Ajuste la hauteur automatiquement */
    object-fit: cover;
}

/* Conteneur global des cartes */
a.custom-for-hover {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

/* Images avec taille uniforme */
a.custom-for-hover img.thumbnail-thm {
    width: 100%;
    aspect-ratio: 1 / 1; /* Assure un ratio évolutif */
    object-fit: cover;    /* Adapte l'image au conteneur */
    position: relative;
}

/* Fond semi-transparent pour le titre */
a.custom-for-hover .img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%; /* Ajuster selon vos besoins */
    background: rgba(255, 255, 255, 0.3); /* Couleur semi-transparente */
    z-index: 1;
}

/* Titre dans l'image */
a.custom-for-hover h2.left-barre {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 12px;
    font-size: 1.2rem;
    color: black;
    text-transform: uppercase;
    z-index: 2; /* Au-dessus du fond */
}

/* Marges et alignement général */
a.custom-for-hover .row.mt-3 {
    display: none; /* Supprime l'ancien titre si affiché en dehors de l'image */
}

/* Adaptation pour une grille de 3 colonnes */
a.custom-for-hover {
    width: 100%; /* S'adapte à Bootstrap */
}
/* Style général des filtres */
.filter-container {
    position: relative;
    display: inline-block;
    background-color: #01426A; /* Rouge foncé */
    border-radius: 25px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

/* Texte des filtres */
.filter-label {
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin:0;
}

/* Sélecteur masqué mais toujours fonctionnel */
.filter-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Ajout d'icônes flèches (comme sur la maquette) */
.filter-container::after {
    content: " \25BE"; /* Flèche vers le bas */
    color: white;
    font-size: 14px;
    font-weight: bold;
    margin-left: 8px;
}



.deuxtiers-container {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
}

.deuxtiers-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.deuxtiers-description {
    flex: 2;
    padding: 15px;
    /*border: 1px solid #ddd;*/
    /*background-color: #f9f9f9;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.block-deuxtiers{
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 768px) {
    .deuxtiers-image{
        display: none !important;
    }
    .deuxtiers-container .row{
        padding: 0 !important;
    }
    body #contentblockbody {
        margin-top: 0;
    }
    .footer-bloc .mr-5{
        margin-right:5px !important;
    }
}

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-visible {
    opacity: 1;
    transform: translate(0);
}

/* Style personnalisé pour l'infobulle */
.custom-tooltip .tooltip-inner {
    background-color: #343a40; /* Fond foncé */
    color: #fff; /* Texte blanc */
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-tooltip .tooltip-arrow::before {
    border-bottom-color: #343a40 !important; /* Assurer la couleur de la flèche */
}
.button-link.button-right:hover, #_form_172_submit:hover{
    color: #01426A;
    background:white;
}