/*
Theme Name: InternetRocket
Template: Divi
Author: InternetRocket
Author URI: https://www.internetrocket.fr
*/

/* 
** CENTRER DU CONTENU VERTICALEMENT 
*/
.sfsiplus_footerLnk {
    display: none;
}
.header-slider .et_pb_slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transform: scale(1.15);
  opacity: 0;
  z-index: 0;
  /* le reset attend la fin du fondu de sortie de Divi avant de s'appliquer */
  transition: transform 0s linear 0.8s, opacity 0s linear 0.8s;
}

.header-slider .et_pb_slide.et-pb-active-slide::before {
  animation: dezoomSlide 8s ease-out forwards;
  transition: none; /* pas de transition sur l'état actif, seul le keyframe gère */
}

@keyframes dezoomSlide {
  0%   { transform: scale(1.15); opacity: 0; }
  2%   { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
body .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-ancestor>a, body .et_pb_menu_0_tb_header.et_pb_menu ul:not(.sub-menu)>li.current-menu-ancestor>a {
    color: #258ca6 !important;
}
body .et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu li.current-menu-item>a {
    color: #2e2e2e !important;
}
@media(min-width:980px){
	li#menu-item-69 a {
    padding-right: 28px !important;
}
}
ul#menu-nouveau-menu-accueil ul.sub-menu {
    padding-top: 0 !important;
}
ul#menu-nouveau-menu-accueil > li > ul.sub-menu a {
    font-size: 16px !important;
	background: transparent !important;
	opacity:0.7
}
ul#menu-nouveau-menu-accueil li ul.sub-menu a {
    display: block;
    padding: 5px 0px;
}
ul#menu-nouveau-menu-accueil > li > ul.sub-menu li {
    border-bottom: 1px solid #e9e9e9;
}
ul#menu-nouveau-menu-accueil > li > ul.sub-menu li:hover {
	background: rgba(0,0,0,.06)
}

ul#menu-nouveau-menu-accueil > li > ul.sub-menu li:hover a {
	color: #2e2e2e!important;
	opacity:1
}
.dimage .dipl_image_card_image_wrapper{
	position:relative;
}

.dimage .dipl_image_card_image_wrapper:after, .dimage .dipl_image_card_image_wrapper:before
 {
    content: "";
    position: absolute;
    -webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, .6);
    box-shadow: 0 15px 10px rgba(0, 0, 0, .6);
    left: 0px;
    right: 50%;
    bottom: 8px;
    height: 30%;
    z-index: -1;
    border-radius: inherit;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: skewY(-6deg);
    -ms-transform: skewY(-6deg);
    transform: skewY(-6deg);
}
body .dimage .dipl_image_card_image_wrapper:after{
	    left: 50%;
    right: 5px;
    -webkit-transform: skewY(6deg);
    -ms-transform: skewY(6deg);
    transform: skewY(6deg);
    -webkit-transform-origin: 100% 0;
    -moz-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
}
@media(max-width:980px){

	.et_pb_text_0.et_pb_text.et_pb_bg_layout_light.et_pb_module.et_flex_module.mfn-link:after,.et_pb_text_0.et_pb_text.et_pb_bg_layout_light.et_pb_module.et_flex_module.mfn-link:before {
    display:none;
}
}
.dipl_blog_slider_0 .dipl_blog_slider_post:hover h2.dipl_blog_slider_post_title:before {
    transition: linear 0.3s;
    width: 68% !important;
}
h2.dipl_blog_slider_post_title:before {
    content: "";
    width: 0;
    height: 1px;
    background: #85af59;
    position: absolute;
    bottom: 29px;
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active{
	position:relative;
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    content: "";
    background: #2ea3f2;
    width: 8px;
    height: 8px;
    position: absolute;
    transform: rotate(45deg);
    left: 1px;
    top: -4px;
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-radius: 0;
	    height: 7px;
}
@media(max-width:980px){
	body .et_pb_column_0_tb_header.et_pb_column.et_flex_column.et_pb_css_mix_blend_mode_passthrough.mod-1 {
    justify-content: flex-start !important;
    align-items: center;
    flex-direction: column;
    float: left;
    width: 41% !important;
}
	body .et_pb_column_1_tb_header.et_pb_column.et_flex_column.et_pb_css_mix_blend_mode_passthrough.mod-2 {
    float: left;
    width: 50% !important;
}
}
@media(max-width:480px){
	body .et_pb_row_0_tb_header.et_pb_row.et_flex_row.inline-content {
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
body .et_pb_column_1_tb_header.et_pb_column.et_flex_column.et_pb_css_mix_blend_mode_passthrough.mod-2 {
        float: left;
        width: 71% !important;
    }
}
.dipl_blog_0 .et_pb_button_wrapper .et_pb_button {
    border-left: 1px solid #eeeeee!important;
    border-radius: 0 !important;
}
body .dipl_blog_0 .et_pb_button_wrapper .et_pb_button:before {
    font-family: "ETmodules" !important;
    content: "\62";
}
.dipl_blog_post_read_more_link.et_pb_button_wrapper {
    display: flex;
    justify-content: flex-end;
    background: #fafafa;
}
a.more-link:before {
    display: block !important;
    content: "\e08c";
    width: 16px;
    height: 16px;
    position: absolute;
    margin-top: 2px;
    font-family: 'ETmodules';
	margin-left: -18px;
}
.post-content a.more-link:first-letter{
	text-transform:capitalize;
}
.post-content a.more-link {
    background: #f7f7f7;
    display: inline-block !important;
    padding: 8px 15px;
	font-weight: 400;
	padding-left: 32px !important;

}
.blog {
    display: flex;
    align-items: center;
}
.et_pb_column_1.et_pb_column.et-last-child.et_flex_column.et_pb_css_mix_blend_mode_passthrough.et_flex_column_18_24,.et_pb_column_2.et_pb_column.et-last-child.et_flex_column.et_pb_css_mix_blend_mode_passthrough.et_flex_column_18_24 {
    display: block;
}
.tab-content .et_pb_text {
    display: inline-block;
    padding: 47px;
}

.tab-content .et_pb_text_inner {
    white-space: nowrap!important;
	cursor: pointer;
}
.tab-content .et_pb_column {
    display: block!important;
	margin-right: 2px;
}


/*mobile menu*/
.mobilemenu{
	display:none!important
}
@media (max-width: 980px) {
	li#menu-item-11680 {
		text-align: center;
	}
	.mobilemenu{
		display:block!important
	}
		.menu-item i._mi {
		color: #3b589e;
	}
	.header-menu  .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item>a{
		color:white!important;
	}
	    .et_pb_menu_0_tb_header .et_pb_menu__wrap {
        right: 0;
		position: absolute;
    }
	.header-menu .et_pb_menu--style-centered .et_pb_menu__logo-wrap {
		margin-left: 0 !important;
	}
		.header-menu .et_pb_menu.et_grid_module .et_pb_menu_inner_container {
		display: flex;
		width: 100%;
	}
	.header-menu .et_pb_menu_0_tb_header.et_pb_menu ul li a {
		color: #A6A6A6;
	}
	  .header-menu ul#mobile_menu1 li {
		position: relative;
		border-top: 1px solid rgba(255, 255, 255, .03);
	  }
	.header-menu  ul.sub-menu {
		position: relative;
	}
  .header-menu .et_mobile_menu .submenu-toggle {
    position: absolute;
    top: 0;
    right: 10px;
    width: 40px;
    height: 44px; /* ajustez selon la hauteur réelle de vos liens (padding inclus) */
    background: transparent;
    border: none;
    cursor: pointer;
  }
}
@media (max-width: 980px) {
	.header-menu .et_pb_menu .et_pb_menu__search-form {
		background: #474747;
		padding: 15px;
	}
	.et_pb_menu .et_pb_menu__search-input{
		color:white!important;
	}
	.et_pb_menu .et_pb_menu__search-container {
		bottom: -42px !important;
	}
	.header-menu .et_mobile_menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 69% !important;
    height: 100vh !important;
    margin: 0 !important;
    padding-top: 50px !important;
    overflow-y: auto !important;
    z-index: 999999 !important; /* augmenté pour passer au-dessus de la zone recherche */
    display: block !important;
    transform: translateX(100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.35s ease, visibility 0s linear 0.35s !important;
    box-shadow: -2px 0 10px rgba(0,0,0,0.15);
  }

  .header-menu .opened ul#mobile_menu1 {
    transform: translateX(0px) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: transform 0.35s ease, visibility 0s linear 0s !important;
	background: #191919 !important;
  }
.header-menu .et_mobile_menu .submenu-open > .submenu-toggle {
    color: white;
}
	.header-menu .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-ancestor>a, .header-menu .et_pb_menu_0_tb_header.et_pb_menu ul:not(.sub-menu)>li.current-menu-ancestor>a{
		color:white!important;
	}
  /* sous-menus fermés par défaut */
	.header-menu .submenu-open > a {
		color: white !important;
	}
  .header-menu .et_mobile_menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
	 background: rgba(255, 255, 255, .025) !important;
  }
	
  .header-menu .et_mobile_menu li.submenu-open > .sub-menu {
    max-height: 1000px;
  }
  .header-menu .et_mobile_menu li.menu-item-has-children > a {
    position: relative;
  }
  .header-menu .et_mobile_menu .submenu-toggle {
    position: absolute;
    right: 10px;
    top: 0;
    width: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
	color: #A6A6A6;
  }
  .header-menu .et_mobile_menu .submenu-toggle::after {
    content: '+';
    font-size: 18px;
  }
  .header-menu .et_mobile_menu li.submenu-open > .submenu-toggle::after {
    content: '−';
  }

  /* bouton fermer, dans le menu, en haut à droite */
  .header-menu .mobile-menu-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10000;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
	color:white;
  }

  .header-menu .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .header-menu .mobile_nav.opened ~ .mobile-menu-overlay,
  .header-menu .opened .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

/*fin mobil menu*/


@media(min-width:768px){
.et_pb_row.et_pb_row_nested.et_flex_row.tab-content {
    flex-wrap: nowrap;
	margin-bottom: 0 !important;
}
}
/* ===== Mobile : accordéon ===== */
@media (max-width: 768px) {

  [class^="tab"]:not([class*="ct-tab"]),
  [class*=" tab"]:not([class*="ct-tab"]) {
    display: block;
    width: 100%;
    position: relative;
  }

  [class^="tab"]:not([class*="ct-tab"])::after,
  [class*=" tab"]:not([class*="ct-tab"])::after {
    content: "";
    position: absolute;
    right: 12px;
  }
  [class^="tab"]:not([class*="ct-tab"]).actif::after,
  [class*=" tab"]:not([class*="ct-tab"]).actif::after {
    content: "";
  }

  /* accordéon avec hauteur automatique via CSS Grid */
  [class^="ct-tab"],
  [class*=" ct-tab"] {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    padding: 0 12px;
    transition: grid-template-rows 0.25s ease, padding 0.25s ease;
  }
  [class^="ct-tab"] > * {
    min-height: 0;
    overflow: hidden;
  }
  [class^="ct-tab"].show,
  [class*=" ct-tab"].show {
    grid-template-rows: 1fr;
    padding: 14px 12px;
  }
}
html,body{
	overflow-x:hidden;
}
@media (max-width:1330px){
	.vie-principale .et-menu.nav.downwards li a {
		width: 183px!important;}
}
@media(max-width:980px){
	.tab-content .et_pb_text {
		display: block;
		padding: 12px;
	}

	.tab-content .et_pb_text_inner{
		white-space:wrap!important;
	}
	.vie-principale .et_mobile_menu {
    position: relative;
	border-top:none!important;
	box-shadow:none!important;
	border:none!important;
	padding: 0;
    margin-top: -34px;
}
.vie-principale .et_mobile_nav_menu {
    display: block;
    width: 100%;
}
.vie-principale span.mobile_menu_bar {
    display: none;
}
}
/* Forcer le menu mobile à rester visible */
#mobile_menu2.et_mobile_menu {
    display: block !important;
}

/* Optionnel : griser/masquer l'icône hamburger puisqu'elle ne sert plus */
.vie-principale  .mobile_menu_bar {
    pointer-events: none;
    opacity: 0.4;
}

.tab-content .actif {
    background: #f8f8f8;
    color: white;
}
.tab-content .actif .et_pb_text_inner {
    color: #666 !important;
}
.et_pb_row [class*="ct-tab"]{ display: none;margin-top:0!important }
.et-fb [class*="ct-tab"] {
    display: block !important;
}
@media(min-width:980px){
	  .et_pb_row [class*="ct-tab"].show { display: block;margin-top:-6px!important }
}
@media(max-width:980px){
	  .et_pb_row [class*="ct-tab"].show {
		margin-top: 0 !important;
        display: block; 
		padding-top: 0 !important;
	}
}

.vie-principale .et-menu.nav.downwards li a {
    width: 240px;
    display: block;
    padding: 16px 10px;
    margin-bottom: 0px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .04);
    color: #858585;
}

.vie-principale .et-menu.nav.downwards li a:hover{
	background:#1899ba;
	color:white;
}
.vie-principale .et-menu.nav.downwards .current-menu-item a{
	background:#1899ba;
	color:white;
}

.vie-principale .et-menu.nav.downwards{
    display: block;
}

.magazines-wrapper h2 {
  font-size: 28px;
  font-weight: 400;
  color: #222;
  margin: 40px 0 20px;
}
.magazines-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}
.magazine-item {
  display: flex;
  flex-direction: column;
  width: 180px;
}
.magazine-item img {
  width: 100%;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
  display: block;
}
.magazine-item a.pdf-link {
  margin-top: 12px;
  color: #3ab54a;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}
.magazine-item a.pdf-link:hover {
  text-decoration: underline;
}
.notre-interco {
    display: flex;
	margin-bottom: 39px;
}
.notre-interco.eber{
	align-items:center;
}

.tab-arret .dipl_tabs_controls {
    justify-content: left!important;

    background: white;
}
.slide-actu .dipl_blog_slider_content {
    display: none;
}


.btn-mobilite .et_pb_button:before {
     left: 28px;
}


/* slide header*/
@media(max-width:980px){
	.titre-head .et_pb_slide_content {
    width: 100%!important;    
    padding: 16px 14px 30px 14px !important;
    }
}
}
@media(max-width:400px){
	.titre-head .et_pb_slide_content h1 {
    font-size: 14px !important;
}
}
.titre-head .et_pb_slide_content h1 {
    font-size: 19px !important;
    text-align: center;
    font-family: raleway;
    line-height: 24px;
}
.titre-head .et_pb_button_wrapper {
    margin-top: -76px;
}
.titre-head .et_pb_slide_content {
    width: 65%;
    background: #0000008a;
    padding: 46px;
    border-radius: 9px;
    height: auto;
    position: relative;
    left: 50%;
    transform: translate(-50%);
    top: -33px;
}
/* fin slide header*/
.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;
}
