/*
Theme Name: InternetRocket
Template: Divi
Author: InternetRocket
Author URI: https://www.internetrocket.fr
*/
.image-slide-block:after {
  cursor: pointer;
}
.divi-swiper-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Le swiper occupe toute la largeur */
.divi-swiper-container .divi-swiper {
  width: 100%;
  overflow: hidden;
}

/* Wrapper flex Swiper */
.divi-swiper-container .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

/* Chaque slide : centrage Divi préservé */
.divi-swiper-container .swiper-slide {
  box-sizing: border-box;
  width: 100% !important;   /* override Swiper fade qui force position absolute */
  display: flex;
  justify-content: center;
}

/* La row Divi reste centrée avec sa largeur standard */
.divi-swiper-container .swiper-slide .et_pb_row {
  width: 80% !important;
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* Clearfix pour les colonnes Divi flottantes */
.divi-swiper-container .swiper-slide .et_pb_row::after {
  content: "";
  display: table;
  clear: both;
}

/* ── Pagination ──────────────────────────────────────────── */
.divi-swiper-container .swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  margin-top: 24px;
  text-align: center;
  line-height: 1;
}

.divi-swiper-container .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #D9D9D9;
  opacity: 1;
  margin: 0 5px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.divi-swiper-container .swiper-pagination-bullet-active {
  background: #4C4C4C;   /* orange du site */
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .divi-swiper-container .swiper-slide .et_pb_row {
    width: 90% !important;
  }
}

@media (max-width: 767px) {
   .divi-swiper .swiper-wrapper{
        align-items: flex-start;
    }

    .divi-swiper .swiper-slide{
        height:auto !important;
    }
  .divi-swiper-container .swiper-slide .et_pb_row {
    width: 95% !important;
  }

  /* Forcer une hauteur fixe sur mobile si besoin */
  .divi-swiper-container .divi-swiper {
    height: auto !important;   /* laisser le contenu définir la hauteur */
  }

  /* Les colonnes Divi passent en colonne sur mobile */
  .divi-swiper-container .swiper-slide .et_pb_row .et_pb_column {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px;
  }

  /* Image prend toute la largeur sur mobile */


  /* Texte sous l'image sur mobile */
  .divi-swiper-container .swiper-slide .et_pb_row .et_pb_column:last-child {
    padding: 0 15px;
  }
}
/* 
** CENTRER DU CONTENU VERTICALEMENT 
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
*/
sup, sub {
    font-size: 70%;
}

/*
** REGLAGE SECTION FIL D'ARIANE
*/

#section-breadcrumbs {
  padding: 20px 0 20px 0 !important;
}
#section-breadcrumbs .et_pb_row {
  padding: 0 !important;
}
