/**************** Caroussel page Prestataire ******************/
@import url("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css");

/*******************************************************************************************************************************************************/
/*********************************************************            Pour tout le site                 ************************************************/
/*******************************************************************************************************************************************************/

/****************   PARAMETRES GENERAUX   *****************/

/*** Titre h1 centré RESPONSIVE MOBILE ***/
@media (max-width: 768px) {
.heading-cms {
    font-size: 1.25rem;
    text-transform: capitalize;
    letter-spacing: 2px;
    color: #000;
    font-weight: normal;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}
}

/**************   BANDEAU Slider pleine page   **************/

#_desktop_logo {
    background-color: #20364d;
}

#index #wrapper {
    margin-top: 0px;
    background: #000;
}

.carousel {
    background-color: rgba(0, 0, 0, 0);
    padding-left: 0px !important;
    position: relative;
    top: 0px;
    margin-top: -100px;
    padding-right: 0px !important;
    margin-right: -15px !important;
    margin-left: -15px !important;
    margin-bottom: 13px;
    cursor: pointer;
}

/* Fil d'Ariane : cacher uniquement sur la home en mobile */
@media (max-width: 767px) {
    /* Fil d'Ariane visible sur mobile partout */
    .breadcrumb.hidden-sm-down {
        display: block !important;
    }

    /* Cacher le fil d'Ariane uniquement sur la home */
    body#index .breadcrumb.hidden-sm-down {
        display: none !important;
    }
}

/*******************************************************************************/
/**********************              Bouton CTA            *********************/
/*******************************************************************************/

.cta a {
    color: #fff;
    text-decoration: none;
}
.cta a:hover {
  color: #fff;
}
.cta{    
  position: relative;
  margin: auto;
  padding: 15px;
  font-size: 17px;
  font-weight: 200;
  background-color: #FC8F00;
  border: 1px solid #FC8F00;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  width: 200px;
  font-weight: 200;
  border-radius: 12px;
}
.cta:hover {
  transform: scale(1.05);
  border-color: #fff9;
}
.cta:hover::before {
  animation: shine 1.5s ease-out infinite;
}
.cta::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}
/********************************************************************************/
/**************                     Home                       ****************/
/********************************************************************************/

/***************   RESPONSIVE Mobile  *************/
@media (max-width: 991px) {
#header .header-nav {
    background: #20364d;
    margin-bottom: 0;
    color: #ffffff;
}

/***  Icone Menu burger  ***/
#header .header-nav #menu-icon .material-icons {
    line-height: 45px;
    color: #fff !important;
}
/**** taille logo ****/
#header .logo {
    padding: 5px;
    margin-left: -35px;
    height: 40px !important;
    max-width: 40%;
}
/*** icone Recherche ***/
#header .search-widget .search_button:before {
    height: 23px !important;
    color: #fff !important;
}
/*** Caroussel ***/
figure {
    margin: 50px 0 0rem;
}

.carousel {
    margin-top: -7px;
    margin-bottom: 153px;
}

.carousel .carousel-item img {
    width: 100%;
    animation: fadeIn 2s;
    margin-left: 0;
    margin-bottom: 100px;
}

.carousel .carousel-item .caption {
    bottom: 15px !important;
    left: 70px !important;
    font-size: 16px !important;
    max-width: 250px;
}

.display-1 {
    font-size: 17px;
    font-weight: 600;
}
}

/***************   RESPONSIVE Tablette  *************/
@media (min-width: 768px) and (max-width: 991px) {
	#header .logo {
    padding: 5px;
    margin-left: -35px;
    height: 70px !important;
    max-width: 100%;
}

#index .container {
    margin-top: -5px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.carousel {
    background-color: rgba(0, 0, 0, 0);
    padding-left: 0px !important;
    position: relative;
    top: 0px;
    margin-top: 150px;
    padding-right: 0px !important;
    margin-right: -15px !important;
    margin-left: -15px !important;
    margin-bottom: 13px;
    cursor: pointer;
    padding-bottom: 80px;
}
}

/******************************************************************************************/
/************************      Position Logo page ACCUEIL       ***************************/
/******************************************************************************************/
#_desktop_logo {
    position: relative;
    text-align: left !important;
    z-index: 1000;
    padding-bottom: 0px;
    min-height: 75px;
    padding-left: 100px;
}

/* ==========================
   TABLETTE UNIQUEMENT
========================== */
@media (min-width: 768px) and (max-width: 991px) {
	
    #header .logo {
        max-height: 75px !important;
    }
	
   #_desktop_logo {
    width: 100%;
    text-align: center !important;
    display: block;
	padding-left: 0px;
	padding-bottom: 0px;
  }

  #_desktop_logo a {
    display: inline-block;
	
  }
  
  #_desktop_logo {
    background-color: #20364d;
}

  #_desktop_logo img {
    display: block;
    margin: 0 auto;
  }

#index  .lewabelka {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.lewabelka {
    width: 100%;
    border-top: solid 0px #e5e5e5;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.belka {
    position: relative !important;
    width: 100%;
    z-index: 1001 !important;
    margin-bottom: 30px;
}

.carousel {
    background-color: rgba(0, 0, 0, 0);
    padding-left: 0px !important;
    position: relative;
    top: 0px;
    margin-top: 180px;
    padding-right: 0px !important;
    margin-right: -15px !important;
    margin-left: -15px !important;
    margin-bottom: 13px;
    cursor: pointer;
}

.display-1 {
    font-size: 30px;
    font-weight: 600;
    width: 400px;
}

/** Footer **/
#footer .col-md-6 {
    float: left;
    width: 55% !important;
    margin-left: 5% !important;
}

.col-md-3 {
    float: left;
    width: 35% !important;
}
}

/* ==========================
   MOBILE UNIQUEMENT
========================== */

@media (min-width: 767px) {
    #header .logo {
	  max-height: 85px;
	}
}
.lewabelka {
    width: 100%;
    border-top: solid 0px #e5e5e5;
    display: flex;
    justify-content: center;
}

/*******************icones*******************/
#header .header-nav .right-nav {
    padding: 30px 15px 10px 0px;
    line-height: 0.625rem;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-lines: single;
    -moz-box-lines: single;
    box-lines: single;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: end;
    -moz-box-pack: end;
    box-pack: end;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center;
}
.login-icons:after {
    content: "\f2bd";
    color: #fff !important;
    text-align: center;
    cursor: pointer;
    z-index: 1001;
    font-family: "FontAwesome";
    font-size: 28px;
    display: inline-block;
    top: 0px;
    left: 0px;
    width: 60px;
    position: relative;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.cart-products-count {
    color: #000 !important;
    position: relative;
    top: -15px;
    z-index: 1002 !important;
    display: block;
    text-align: center;
    padding-top: 3px;
    font-size: 11px !important;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.cart-icons:after {
    content: "\f290";
    color: #fff !important;
    text-align: center;
    cursor: pointer;
    z-index: 1001;
    font-family: "FontAwesome";
    font-size: 28px;
    display: inline-block;
    top: 0px;
    left: 0px;
    width: 60px;
    position: relative;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#header .search-widget .search_button:before {
    display: block;
    font-size: 0;
    text-align: center;
    cursor: pointer;
    color: #fff;
    z-index: 9;
    content: "\f002";
    display: inline-block;
    font-family: "FontAwesome";
    font-size: 28px;
    top: -2px;
    width: 50px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#index  #header .header-nav .right-nav {
    margin-top: -22px !important;
}

/*****************Bandeau Menu****************/
#index .fixed_menu {
    position: fixed !important;
    top: 0;
    left: auto;
    right: auto;
    /*background: #000;*/
	background-image: url("https://horsilab.fr/img/cms/Bandeau/minibandeau2.jpg");
	background-position: center;
    z-index: 2000 !important;
    transition: top 1s ease-out;
}
.fixed_menu {
    position: fixed !important;
    top: 0;
    left: auto;
    right: auto;
    /*background: #000;*/
	background-image: url("https://horsilab.fr/img/cms/Bandeau/minibandeau2.jpg");
	background-position: center;
    z-index: 999 !important;
    border-bottom: 1px solid #999999;
    transition: top 1s ease-out;
}

/*****************************************************************************************/
/********************                MENU PERSONNALISE              **********************/
/*****************************************************************************************/
/* === MENU PRINCIPAL === */
.top-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  background: transparent; /* ✅ Fond transparent */
  position: relative;
  z-index: 9999;
}

.menu-item {
  position: relative;
}

/* Liens principaux */
.menu-item > a {
  position: relative;
  text-decoration: none;
  padding: 12px 20px;
  display: block;
  /*color: #fff;*/
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

/* === Soulignement orange animé === */
.menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px; /* distance du texte */
  width: 0;
  height: 2px;
  background: #FC8F00;
  transition: width 0.3s ease;
}

/* Survol : texte orange + soulignement */
.menu-item > a:hover {
  color: #FC8F00;
}
.menu-item > a:hover::after {
  width: 100%;
}

/* Flèche pour les sous-menus */
.menu-item.has-submenu > a::after {
  bottom: 6px;
}
/*.menu-item.has-submenu > a::before {
  content: "▼";
  font-size: 10px;
  margin-left: 6px;
  color: #fff;
  transition: color 0.3s ease;
}*/
.menu-item.has-submenu:hover > a::before {
  color: #FC8F00;
}

/* === SOUS-MENU === */
.submenu {
  display: block;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0,0,0,0.7);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  min-width: 220px;
  z-index: 1000;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 4px;
  z-index: 99999 !important;
  
}

/* Apparition fluide du sous-menu */
.menu-item.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Liens du sous-menu */
.submenu li a {
  display: block;
  padding: 8px 15px;
  color: #fff; 
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease, background 0.3s ease;
  position: relative;
}

/* Soulignement orange au survol des sous-menus */
.submenu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #FC8F00;
  transition: width 0.3s ease;
}

.submenu li a:hover {
  color: #FC8F00;
}
.submenu li a:hover::after {
  width: 100%;
}
#_desktop_top_menu {
  position: relative;
  z-index: 9999;
}
/* === RESPONSIVE === */
@media (max-width: 991px) {
  .top-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
  }

  .menu-item > a::after,
  .submenu li a::after {
    display: none; 
  }
}
/* Forcer le texte du menu en blanc */
#_desktop_top_menu .top-menu a,
#_desktop_top_menu .top-menu .menu-item > a {
  color: #fff !important;
  opacity: 1 !important; /* annule toute transparence */
  font-size: 20px !important;
}

/* Garder le hover orange */
#_desktop_top_menu .top-menu a:hover,
#_desktop_top_menu .top-menu .menu-item > a:hover {
  color: #FC8F00 !important; 
}
/**********Menus Vos besoins et La boutique inactifs******************/
.menu-disabled {
  pointer-events: none;      /* empêche le clic */
  opacity: 0.4;              /* visuel grisé */
  cursor: not-allowed;       /* curseur interdit */
}

/********************************************************************************************/
/*************************              Fenêtre POPUP                ************************/
/********************************************************************************************/
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none; /* La popup est cachée par défaut */
    align-items: center;
    justify-content: center;
    z-index: 20000;
}

.popup-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 420px;
    width: 90%;
    text-align: center;
	font-size: 17px;
}

.btn-popup {
    display: block;
    background: #FC8F00;
    color: #fff;
    padding: 12px;
    margin: 20px 0;
    text-decoration: none;
    border-radius: 5px;
}
.btn-popup:hover {
    color: #000;
}
.close-btn {
    padding: 10px 18px;
    border: 1px solid #333;
    background: white;
    cursor: pointer;
}


/**************************************caroussel boutons cachés****************************************/
.carousel .carousel-control .icon-next {
    opacity: 0;
    right: 7rem;
    display: none;
}
.carousel .carousel-control .icon-next i, .carousel .carousel-control .icon-prev i {
    font-size: 60px;
    text-align: center;
    background: rgba(255,255,255,0.5);
    text-shadow: none !important;
    color: #333333;
    display: none;
}

/******************************************************************************************************/
/**************************               bandeau cookies             *********************************/
/******************************************************************************************************/
.ets_cookie_banner_content {
    line-height: 1.6;
    font-size: 15px;
}
a.btn.ets-cb-btn-ok {
    font-weight: normal;
    text-transform: none;
    border-radius: 12px;
    font-size: 15px;
}
.btn.btn-primary.full-left.ets-cb-btn-not-ok {
    margin-top: 0;
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc;
    text-transform: none;
    font-weight: normal;
    border-radius: 12px;
    font-size: 15px;
}
span.close_cookie:hover::before, span.close_cookie:hover::after {
	background: #FC8F00;
}
.btn.btn-primary.full-left.ets-cb-btn-not-ok:hover {
    background: #FC8F00 !important;
    color: #fff !important;
    border-color: #FC8F00 !important;
}

/**************************************************************************************/
/********************              Footer Parallax              ***********************/
/**************************************************************************************/
#custom-text-parallax .text-background {
    background: #000;
    padding: 150px 25px 150px 25px;
    opacity: 0.7;
    display: none;
}
#custom-text p, #custom-text-parallax p {
    color: #ffffff;
    font-weight: 400;
    font-size: 1.1em;
    width: 80%;
    margin: auto;
    font-size: 20px;
}
#custom-text .dark, #custom-text-parallax .dark {
    color: #ffffff;
    font-size: 25px;
    font-weight: 400;
    line-height: 3;
}
#custom-text-parallax .text-background {
    background: #000;
    padding: 150px 25px 150px 25px;
    opacity: 0.7;
}

/************************************************************************************/
/************************            Fil d'Ariane             ***********************/
/************************************************************************************/
#wrapper .breadcrumb a:hover {
    color: #FC8F00;
}

/**************************************************************************************/
/************************         Formulaire contact          *************************/
/**************************************************************************************/
.contact-rich {
    color: #FC8F00;
    padding-top: 1rem;
    font-size: 14px;
    display: none;
}
.contact-form form h3:before {
    font-family: "FontAwesome";
    content: "\f2b6";
    font-size: 26px;
    color: #FC8F00;
    margin-right: 10px;
    vertical-align: middle;
    text-align: center;
    display: inline-block;
}
.btn.btn-primary:hover {
    color: #ffffff !important;
	background-color: #FC8F00;
	border-color: #FC8F00;
}
.card {
	border: 1px solid #FC8F00;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	display: block;
	margin-bottom: 10px;
	margin-top: 15px;
	position: relative;
	width: 100%;
	background: #fff;
}

/*****  Texte RGPD et case à cocher  ******/
/* Conteneur RGPD aligné avec textarea */
body#contact .rgpd-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 10px 0; /* pas besoin de gros décalage, aligné avec textarea */
}

/* Case personnalisée */
body#contact .rgpd-consent input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.2s;
}

/* Fond orange et check blanc quand cochée */
body#contact .rgpd-consent input[type="checkbox"]:checked {
  background-color: #FC8F00;
  border-color: #FC8F00;
}
body#contact .rgpd-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Texte label aligné */
body#contact .rgpd-consent label {
  cursor: pointer;
  user-select: none;
  line-height: 1.2;
}


/**** Tablette  ****/
@media (min-width: 768px) and (max-width: 991px) {
#contact .col-md-9 {
    float: left;
    width: 100%;
}

#contact .container {
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}
}

/******************************************************************************************/
/**************************             Pied de page             **************************/
/******************************************************************************************/
@media (min-width: 769px) {
#footer .col-md-6 {
    float: left;
    width: 40%;
    margin-left: 19%;
}
}

.block-social li:hover {
    -ms-transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;  
    background-color: #20364d;
}
.block-social {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    height: 70px;
    background: transparent !important;
    margin: 1.5rem 0px;
    z-index: 2002;
    padding-top: 25px;
}
#footer {
    background: #20364d;
    /* background: linear-gradient(#f3f7ff 70%, #bcd7ff); */
    margin-top: -37px;
}
.footer-container {
    overflow: hidden;
    padding-top: 25px;
}

/*********taille logo**********/
#footer .logo {
    display: block;
    text-align: center;
    vertical-align: center;
    margin: 0 auto;
    width: auto;
    max-height: 70px;
    padding-top: 15px;
}
/***********bloc info caché*************/
.block-contact.col-md-4.links.wrapper {
    width: 25%;
    padding: 0px !important;
    display: none;
}
/**********************largeur div presta sur PC***********************/
@media (min-width: 1024px) {
.widthcolpresta {
	width: 100%;
	margin: auto;
}
}

/*************************************   Taille Police Menu Burger   *********************************/
.top-menu a:not([data-depth="0"]) {
    display: block;
    color: #fff;
    font-size: 16px !important;
    font-weight: 400;
}


/***************************************************************************************************************************/
/*******************************                 Page POURQUOI HORSILAB  ID=6               ********************************/
/***************************************************************************************************************************/
body.cms-id-6 .profil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 30px 10%;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

body.cms-id-6 .photo {
  flex: 1 1 300px;
  text-align: center;
  margin-bottom: 30px;
}

body.cms-id-6 .photo img {
  width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-top: 20px;
}
body.cms-id-6 .portraitBR {
   display: block;
   margin: auto;
   width: 170px;
   height: auto;
   margin-top: -120px;
}
body.cms-id-6 .texte {
  flex: 2 1 400px;
  margin-left: 40px;
}
body.cms-id-6 .texte2 {
  margin-right: 40px;
}

body.cms-id-6 h4 {
  font-size: 2.2em;
  margin-bottom: 0.2em;
  color: #2a2a2a;
}

body.cms-id-6 h5 {
  font-size: 1.3em;
  color: #FC8F00;
  margin-bottom: 1em;
  font-weight: 600;
}

body.cms-id-6 p {
  margin-bottom: 1em;
  text-align: justify;
}

body.cms-id-6 .plateforme {
  padding: 60px 10%;
  background-color: #f4efe9;
  text-align: left;
}

body.cms-id-6 .plateforme h5 {
  color: #FC8F00;
  font-size: 1.8em;
  margin-bottom: 1em;
  text-align: center;
}

body.cms-id-6 .plateforme p {
  max-width: 900px;
  margin: 0 auto 1em;
  text-align: justify;
  font-size: 17px;
}

body.cms-id-6 .signature {
  font-weight: 600;
  text-align: center;
  color: #2a2a2a;
  margin-top: 2em;
  font-style: italic;
}
body.cms-id-6 .centrerdiv {
	 margin: 0 auto;
     width: 90%;
}

body.cms-id-6 .imgrejoindrehorsilab {
	float: left;
	padding-right: 40px;
	max-width: 400px;
	height: auto;
}
/**************bandeau vidéo*****************/
body.cms-id-6 .fond-horizontal {
	  background-image: url("https://horsilab.fr/img/cms/nousrejoindre/bandeau-video.webp");
	  background-size: cover;
	  width: 100%;
}

/*******************vidéo*******************/
body.cms-id-6 .video-container {
  max-width: 100%;
  height: auto;
}
body.cms-id-6 .video-container video {
  width: 50%;
  height: auto;
  margin-top: 50px;
}
/******************************** Responsive design MOBILE ****************************/
@media (max-width: 768px) {
 
body.cms-id-6 .profil {
	flex-direction: column;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}
 
body.cms-id-6 .portraitBR {
    display: block;
    margin: auto;
    width: 170px;
    height: auto;
    margin-top: -80px;
}

body.cms-id-6 .texte {
    padding: 0px;
    flex: 2 1 400px;
    margin-left: 0px;
    font-size: 17px;
}

body.cms-id-6 p {
    margin-bottom: 1em;
    text-align: justify;
    font-size: 17px;
}

body.cms-id-6 h2 {
    font-size: 20px;
    text-align: center;
	margin-top: 20px;
}

body.cms-id-6 h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2a2a2a;
}

body.cms-id-6 h5 {
    font-size: 18px;
    color: #FC8F00;
    margin-bottom: 20px;
    font-weight: 600;
}

body.cms-id-6 ul {
    padding-left: 20px;
}

body.cms-id-6 .plateforme {
    padding: 10px;
    background-color: #f4efe9;
    text-align: left;
	font-size: 17px;
}

body.cms-id-6 .plateforme h5 {
    color: #FC8F00;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
    margin-top: 20px;
}
  
body.cms-id-6 .page-content.page-cms {
    background: white;
    padding: 5px;
    text-align: justify;
}

body.cms-id-6 .centrerdiv {
    margin: 0 auto;
    width: 100%;
}

body.cms-id-6 .photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	margin-bottom: 20px;
}

body.cms-id-6 .photo {
    flex: 1 1 260px;
    text-align: center;
    margin-bottom: 0px;
}

body.cms-id-6 .imgrejoindrehorsilab {
    float: left;
    padding-right: 0px;
    max-width: 100%;
    height: auto;
	margin-bottom: 30px;
}

body.cms-id-6 .video-container video {
  width: 90%;
  height: auto;
  margin-top: 50px;
}

}

/******************************** Responsive design TABLETTE ****************************/

@media (min-width: 768px) and (max-width: 991px) {
body.cms-id-6 .profil {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 30px 0%;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px;
	font-size: 17px;
    line-height: 30px;
}

body.cms-id-6 .photo img {
    width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

body.cms-id-6 .portraitBR {
    display: block;
    margin: auto;
    width: 190px;
    height: auto;
    margin-top: -120px;
}

body.cms-id-6 .plateforme {
    padding: 60px 20px;
    background-color: #f4efe9;
    text-align: left;
}

body.cms-id-6 h4 {
    font-size: 2.2em;
    margin-bottom: 0.2em;
    color: #2a2a2a;
    text-align: center;
}

body.cms-id-6 h5 {
    font-size: 1.3em;
    color: #FC8F00;
    margin-bottom: 1em;
    font-weight: 600;
    text-align: center;
}

body.cms-id-6 .texte {
    flex: 2 1 100%;
    margin-left: 0px;
    font-size: 17px;
    line-height: 30px;
}

body.cms-id-6 .plateforme p {
    max-width: 900px;
    margin: 0 auto 1em;
    text-align: justify;
    font-size: 17px;
    line-height: 30px;
}

body.cms-id-6 .video-container video {
    width: 80%;
    height: auto;
    margin-top: 50px;
}

body.cms-id-6 .centrerdiv {
    margin: 0 auto;
    width: 100%;
}

body.cms-id-6 p {
    margin-bottom: 1em;
    text-align: justify;
    font-size: 17px;
    line-height: 30px;
}
body.cms-id-6 .imgrejoindrehorsilab {
    float: left;
    padding-right: 40px;
    max-width: 320px;
    height: auto;
}

}

/******************************************************************************************************************************/
/*******************************                 Page DEVENIR PRESTATAIRE  ID=20               ********************************/
/******************************************************************************************************************************/
body.cms-id-20 .devpresta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 30px 10%;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

body.cms-id-20 .photo {
  flex: 1 1 300px;
  text-align: center;
  margin-bottom: 30px;
}

body.cms-id-20 .photo img {
  width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

body.cms-id-20 .texte {
    flex: 2 1 400px;
    margin-left: 40px;
}

body.cms-id-20 h4 {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #2a2a2a;
}

body.cms-id-20 p {
  max-width: 900px;
  margin: 0 auto 1em;
  text-align: justify;
  font-size: 17px;
}

/******************************** Responsive design MOBILE ****************************/

@media (max-width: 768px) {

body.cms-id-20 .page-content.page-cms {
    background: white;
    padding: 5px;
    text-align: justify;
}

body.cms-id-20 .devpresta {
	flex-direction: column;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

body.cms-id-20 h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2a2a2a;
}

body.cms-id-20 .photo {
    flex: 1 1 260px;
    text-align: center;
    margin-bottom: 0px;
}

body.cms-id-20 .photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	margin-bottom: 20px;
}

body.cms-id-20 .texte {
    flex: 2 1 400px;
    margin-left: 0px;
}

}

/******************************** Responsive design TABLETTE ****************************/

@media (min-width: 768px) and (max-width: 991px) {
body.cms-id-20 .devpresta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 30px 0%;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

body.cms-id-20 .texte {
    flex: 2 1 400px;
    margin-left: 0px;
}

body.cms-id-20 h4 {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #2a2a2a;
    text-align: center;
}

body.cms-id-20 p {
    max-width: 900px;
    margin: 0 auto 1em;
    text-align: justify;
    font-size: 17px;
    line-height: 30px;
	padding: 10px;
}

body.cms-id-20 .photo {
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 50px;
}

body.cms-id-20 .photo img {
    width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
	
}

/********************************************************************************************************************************/
/*******************************                 Page TOUS LES PRESTATAIRES  ID=17               ********************************/
/********************************************************************************************************************************/


@media (max-width: 768px) {

body.cms-id-17 .search-fields {
    gap: 25px;
}

body.cms-id-17 .no-results {
    color: #aaa;
    font-style: italic;
    padding: 20px;
    width: 100%;
    text-align: center;
    font-size: 17px;
}
}

/****************************************************************************/
/***************************          BLOG           ************************/
/****************************************************************************/

section.featured-products.clearfix {
    margin-bottom: 20px;
    padding: 15px 50px 15px;
    position: relative !important;
    display: none;
}
#smartblog_block .sdsblog-box-content #smartblog-carousel .item .blog_post .blog_content .blog_inner .sds_post_title a {
    color: #FC8F00;
    text-transform: uppercase;
    font-size: 16px;
}
/*****contenu article*****/
#sdsblogArticle .page-item-title h1 {
    color: #FC8F00;
    margin: 15px 0 15px;
    padding: 0;
    font-size: 22px;
    text-transform: uppercase;
}
#respond .comment-reply-title {
	color: #FC8F00;
	font-size: 22px;
	text-transform: uppercase;
	float: left;
	margin: 30px 0 30px;
	width: 100%;
}
#smartblog_block .sdsblog-box-content #smartblog-carousel .item .blog_post .blog_content .blog_inner .sds_post_title {
    margin: 0 0 10px;
    font-weight: 500;
    line-height: 0.6;
}

/***********************************************************************************************************/
/********************************               Fiche prestataire               ****************************/
/***********************************************************************************************************/
.centrerdivpresta {
	 margin: 0 auto;
     width: 100%;
}
.titrepresta {
	font-size: 23px;
	color: #fc8f00;
}
#col1presta {
	width: 50%;
	height: auto;
	float: left;
	margin-top: 20px;
	padding: 10px;
	border: 2px solid #FC8F00;
	border-radius: 6px;
	background-color: white;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
#col2photo {
	display: flex;
	justify-content: center;
    align-items: center;
	width: 50%;
	height: auto;
	padding: 20px;
	margin-left: 50%;
}
.imgpresta {
	width: 80%;
	height: auto;
	margin: 0 auto;
	border-radius: 6px;
}
/*********paragraphes********/
/* --- Section principale --- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 50px 80px;
  background-size: cover;
  color: white;
  text-align: justify;
  justify-content: center;
}

/* --- Chaque colonne --- */
.service {
  background: rgba(0, 0, 0, 0.05);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Titres --- */
.service h2 {
  color: #FC8F00; 
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* --- Texte --- */
.service p {
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Responsive tablette --- */
@media (min-width: 768px) and (max-width: 991px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px;
  }
  
 #col1presta {
    width: 100%;
    height: auto;
    float: left;
    margin-top: 20px;
    padding: 10px;
    border: 2px solid #FC8F00;
    border-radius: 6px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#col1presta p {
	font-size: 17px;
	line-height: 30px;
}

#col2photo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 20px;
    margin-left: 0%;
}

.imgpresta {
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
    margin-top: 30px;
	margin-bottom: 20px;
}

.services {
    grid-template-columns: repeat(2, 1fr);
    padding: 0px;
	margin-bottom: 40px;
}

.slider-zone .swiper {
    height: 600px !important;
}
}

/* --- Responsive mobile --- */
@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
    padding: 30px;
  }

}


/* ==================== BANDEAU et Slider ======================= */

/* WRAPPER 2 COLONNES */
.bandeau-slider-wrapper {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

/* COLONNE GAUCHE 30% */
.bandeau-orange {
    width: 30%;
    border: 2px solid #20364d;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.bandeau-orange .bloc-title {
    font-size: 19px;
    font-weight: bold;
}

.bandeau-orange .bloc-text {
    font-size: 16px;
}

/* COLONNE DROITE 70% */
.slider-zone {
    width: 70%;
}

.slider-zone .swiper {
    height: 400px; /* HAUTEUR RÉELLE DU SLIDER */
}

.slider-zone .swiper-wrapper {
    height: 100%;
}

.slider-zone .swiper-slide {
    height: 100%;
}

.slider-zone .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/******* RESPONSIVE ********/
@media (max-width: 992px) {
    .bandeau-slider-wrapper {
        flex-direction: column;
    }

    .bandeau-orange,
    .slider-zone {
        width: 100%;
    }
}
@media (max-width: 1024px) {
    .slider-zone .swiper {
        height: 340px;
    }
}

/************   MOBILE   **************/
@media (max-width: 768px) {
.slider-zone .swiper {
    height: 340px;
}
	
#col1presta {
    width: 100%;
    height: auto;
    float: left;
    margin-top: 20px;
    padding: 10px;
    border: 2px solid #FC8F00;
    border-radius: 6px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#col2photo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 0px;
    margin-left: 0%;
    padding-top: 30px;
}

.imgpresta {
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}

.services {
    grid-template-columns: 1fr;
    padding: 10px;
}

}

/*****************************************************************************************************************/
/**********************************         Page Tous les prestataires          **********************************/
/*****************************************************************************************************************/

/***************Menus déroulants**************/
/* Centrer le contenu de search-global-wrapper */
.search-global-wrapper {
  text-align: center;
  margin-top: 20px;
}

/* Centrer les éléments dans search-fields et ajouter un espace sous */
.search-fields {
  display: flex;
  justify-content: center;
  gap: 15px; 
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Style des menus déroulants */
select {
  padding: 8px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #FC8F00;
  background-color: #f9f9f9;
  width: 250px; /* Largeur par défaut des menus déroulants */
}

/* Ajouter un peu d'espacement au titre */
h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .search-fields {
    flex-direction: column;  /* Empiler les menus verticalement */
    align-items: center;  
    gap: 10px;  /* Espacement réduit entre les menus */
  }

  select {
    width: 80%; 
    max-width: 300px; 
  }
  
.cms-id-17 .page-content.page-cms {
    background: white;
    padding: 0.1rem !important;
    text-align: justify;
}
}

/* MEDIA QUERY pour les écrans très petits (comme les téléphones en mode portrait) */
@media (max-width: 480px) {
  h2 {
    font-size: 20px; 
    margin-bottom: 15px; 
  }

  .search-fields {
    gap: 5px; 
  }

  select {
    width: 90%;  /* Prendre presque toute la largeur de l'écran */
  }
}


/***div scrollable***/
.scrollable-box {
  max-height: 600px;  /* Hauteur maximale visible avant apparition du scroll */
  width: 100%;
  position: relative;
  display: inline-block;
  overflow-y: auto;       /* Scroll vertical seulement quand nécessaire */
  overflow-x: hidden;     /* Pas de scroll horizontal */
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 6px;
  margin-top: 15px;
}

/* Styles du scrollbar (optionnels, pour Chrome/Safari/Edge) */
.scrollable-box::-webkit-scrollbar {
  width: 8px;
}

.scrollable-box::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.scrollable-box::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.scrollable-box::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* Compatibilité Firefox */
.scrollable-box {
  scrollbar-width: thin;
  scrollbar-color: #888 #f0f0f0;
}

.grid-container {
  display: grid;
  grid-template-columns: 40% 100%;
  gap: 20px;
}

/***************************************************************************************/
/****************************         Polaroid            ******************************/
/***************************************************************************************/
.scrollable-box {
    display: flex;
    flex-wrap: wrap;
}

/* Messages */
.no-results {
    color: #aaa;
    font-style: italic;
    padding: 20px;
    width: 100%;
    text-align: center;
}

.result-counter {
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

/* ===== Polaroid ===== */
.polaroid {
    width: 320px;
    background: url('https://horsilab.fr/img/cms/polaroid.png') no-repeat center top;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 25px;
    position: relative;
    margin: 15px;

    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.polaroid.show {
    transform: scale(1);
    opacity: 1;
    margin: 10px auto;

/* ===== Photo ===== */
.polaroid-photo-wrapper {
    width: 92%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    margin-top: -8px;

}

.polaroid-photo {
    width: 94%;
    height: 94%;
    object-fit: cover;
    margin-left: 7px;
}

/* ===== Job (centré EXACTEMENT sur la photo) avec effet scotch ===== */
.polaroid-job {
    color: #FC8F00;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    margin-top: -10px;
}}

/* ===== Infos ===== */
.polaroid-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding-right: 19px;
    padding-left: 12px;
    margin-bottom: 20px;
    margin-top: 4px;
}

.polaroid-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FC8F00;
    color: #fff;

    display: flex;                 /* clé pour centrage */
    align-items: center;
    justify-content: center;

    /* font-style, font-weight et font-size sont inutiles avec SVG */
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.3s;
    margin-right: 6px;
}

.polaroid-icon:hover {
    background: #20364d;
}

/* Styles du SVG “i” */
.icon-i {
    width: 40px;
    height: 40px;
    fill: #fff;
    transform: skewX(-8deg);
}

.polaroid-text {
    flex: 1;
    text-align: center;

}

.prestataire-name {
    font-weight: bold;
    font-size: 17px;
}

.polaroid-button {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 5px;
    background-color: #FC8F00;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 17px;
}

.polaroid-button:hover {
    background: #000;
}

/* Logo */
.prestataire-logo {
    width: 50px;
    height: auto;
    flex-shrink: 0;
	margin-left: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .polaroid {
        width: 100%;
        margin: 10px auto;
    }
	
	.prestataire-logo {
        width: 42px;
        height: 42px;
		margin-bottom: 10px;
    }
	
	.polaroid-job {
		color: #FC8F00;
		font-size: 17px;
		margin-bottom: 1px;
		font-weight: bold;
		margin-top: -10px;
}

.polaroid-photo-wrapper {
    width: 92%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    margin-top: -10px !important;
    margin-left: -1px;
}

.polaroid-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FC8F00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.3s;
    margin-right: 6px;
    margin-bottom: 10px;
}
}

/**********************************************************************************************/
/*********************                  page création compte               ********************/
/**********************************************************************************************/
/* CSS RGPD fonctionnel Firefox + Chrome */

.custom-checkbox {
    position: relative;
    display: inline-block;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.custom-checkbox span {
    pointer-events: none; /* le span ne bloque plus le clic */
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: top;
    border: 1px #414141 solid;
}

.custom-checkbox span .checkbox-checked {
    display: none;
    margin: -.25rem -.125rem;
    font-size: 25px;
    color: #FC8F00 !important;
}

.custom-checkbox label {
    text-align: left;
    width: 90%;
    cursor: pointer;
}




/**********************************************************************************************/
/*********************                    page MON COMPTE                  ********************/
/**********************************************************************************************/

#alerts-link .material-icons {
  color: inherit !important;
}


/**********************************************************************************************/
/*********************                page Anaïs Weinmann ID13             ********************/
/**********************************************************************************************/
/* Conteneur centré */
.cms-id-13 .video-row {
  display: flex;
  justify-content: center; /* centre horizontalement */
  gap: 50px;
  flex-wrap: wrap;
  max-width: 900px; /* largeur globale du bloc */
  margin: 0 auto; /* centre le bloc */
  padding-top: 50px;
}

/* Vidéos */
.cms-id-13 .video-item {
  flex: 0 1 320px; /* largeur fixe propre */
  display: flex;
}

/* Vidéo responsive */
.cms-id-13 .video-item video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
  .cms-id-13 .video-row {
    max-width: 100%;
  }

  .cms-id-13 .video-item {
    flex: 1 1 100%;
  }
}