/*
Theme Name: La Compagnie des Mémoires
Description: 
Author: Milega
Template: Divi
*/

@import url("../Divi/style.css");




/***************/
/*  Blog Extra */
/***************/
.et_pb_post_extra.el_dbe_vertical_grid .entry-title {
  	border-bottom-width: 0;
}
.et_pb_post_extra.el_dbe_vertical_grid .post-media img{
  	border-radius: 15px;
}
/*
.et_pb_post_extra.el_dbe_vertical_grid.category-blog .post-media img{
	max-height: 217px;
}
*/

.et_pb_post_extra .et_overlay {
  border-radius: 15px;
}

.et_pb_post_extra.el_dbe_vertical_grid {
  -webkit-box-shadow: 0 0 0 rgba(0,0,0,0);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.single-post .et_pb_title_container{
	margin-bottom: 30px;
}
.single-post .et_pb_title_container h1 {
  font-size: 30px;
}
.single-post .et_pb_title_container .published{
	font-style: italic;
	font-size: 14px;
}
.single-post .et_pb_title_meta_container{
	text-align: right;
}

/*************************/
/*  Module text divider  */
/*************************/
.dsm_text_divider H2.dsm-text-divider-header{
	border-bottom-width: 0;
}

/********************/
/*  Page d'accueil  */
/********************/
/* Timeline */
.dsm-content-timeline-item-wrapper .dsm-timeline-content{
	margin-top: 0 !important
}
.dsm-content-timeline-item-wrapper H3.dsm-title{
	padding-bottom: 4px;
	font-size: 21px;
}
.dsm-content-timeline-items-wrapper.dsm-center .dsm-content-timeline-item-wrapper .dsm-content-timeline-content-wrapper{
	top: -6px !important;
}
.dsm-content-timeline-items-wrapper.dsm-center .dsm-content-timeline-content-wrapper {
  width: calc(50% - 33px) !important;
}

@media only screen and (max-width: 980px) {
	.home .et_pb_section_0 .et_pb_column.et_pb_column_empty{
		display: block;
		height: 200px;			
	}
}
@media only screen and (max-width: 768px) {
	.dsm-content-timeline-items-wrapper.dsm-center .dsm-content-timeline-content-wrapper {
		width: calc(100% - 33px) !important;
	}
	#main-content .dsm-content-timeline-item-wrapper .dsm-timeline-content .dsm-title,
	#main-content .dsm-content-timeline-item-wrapper .dsm-timeline-content .dsm-description P{
		text-align: left !important;
	}
	

}

/************************/
/*  Tarte au citron    */
/************************/
/* panneau de configuration */
#tarteaucitron {
}
/* Bandeau principal*/
#tarteaucitronRoot #tarteaucitronAlertBig {
	background-color: #2f2c34 !important;
	border-top: 1px solid #faf8f5;
}
/* Petit bandeau en bas � droite */
#tarteaucitronAlertSmall {
  display: none !important;    
}
#tarteaucitronAlertBig #tarteaucitronPersonalize2{
	background-color: #99ca3e !important;
	color: #FFF !important;
}
#tarteaucitronRoot #tarteaucitronPercentage{
	background-color: #99ca3e !important;
}

/**************************/
/*  FORMULAIRE DE CONTACT */
/**************************/
.gform_wrapper .gform_fields label.gfield_label{
	font-size: 15px !important;
	color: #777;
	font-weight: normal;
}
.gform_wrapper .gfield_required{
	display: none !important;
}
.gform_wrapper.gravity-theme .gfield input{
	vertical-align: top;
	margin-top: 5px;
}
@media only screen and (max-width: 641px) {
.gform_wrapper .ginput_container span:not(.ginput_price){
	display: none !important;
}
}
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"], 
.gform_wrapper .gform_page_footer input.button, 
.gform_wrapper .gform_page_footer input[type="submit"]{
	border: 1px solid #ccc !important;
	background-color: #333 !important;	
	font-weight: bold;
	color: #FFF !important;
	padding: 12px 26px !important;
	cursor: pointer;
	text-transform: Uppercase;
}

/***************************/
/*    PAGE ACTU        */
/**************************/
/* removing vertical line */
.container:before { background-color:transparent !important; }
.et_pb_widget_area_right { border-left:0 !important; }
.et_pb_widget_area_left { border-right:0 !important; }

/************************/
/*    FONTS + TITRES    */
/************************/
H1, H2, H3, H4, H5, H6{
 }
 H2{
	font-size: 28px;
 }
 H2{
	display: inline-block;
	border-bottom: 1px solid #2f2c34;
	padding-right: 15px;
	padding-bottom: 18px;
	margin-bottom: 30px;
 }
 .et_pb_bg_layout_dark H2{
	border-color: #faf8f5;
 }
 
@media only screen and (max-width: 980px) {
	h3 {
	font-size: 18px;
	}
}



 .et_pb_bg_layout_dark H1,
 .et_pb_bg_layout_dark H2,
 .et_pb_bg_layout_dark H3,
 .et_pb_bg_layout_dark H4,
 .et_pb_bg_layout_dark H5,
 .et_pb_bg_layout_dark .et_pb_text_inner{
	color: #faf8f5;
 }
body{
}

/************************/
/*   COULEUR DE FOND    */
/************************/
body #page-container{
	background-color: #faf8f5;
}

/************************/
/*       HEADER         */
/************************/
#main-header .logo_container{
	background: url(/wp-content/uploads/2025/07/menu-trait.webp) no-repeat 24px bottom;
}
#main-header #logo{
	vertical-align: -moz-middle-with-baseline;
}
#main-header ul#top-menu{
	background-color: #faf8f5;
	position: relative;
	padding-left: 20px;	
}
@media only screen and (min-width: 981px) {
  .et_header_style_left #main-header #et-top-navigation nav > ul > li > a{
    padding-bottom: 5px;
    padding-top: 57px;
	margin-bottom: -10px;
	}
}
/* Fixed header */
#main-header.et-fixed-header .logo_container img {
	content: url(/wp-content/uploads/2025/07/La-Compagne-des-Memoires-biographe-sans-texte.webp);
}
#main-header.et-fixed-header #logo{
	vertical-align: middle;
}

#main-header.et-fixed-header .logo_container{
	background-image: none;
}
#main-header.et-fixed-header{
	border-bottom: 1px solid #dfdfdf;
}
@media only screen and (min-width: 981px) {
  .et_header_style_left #main-header.et-fixed-header #et-top-navigation nav > ul > li > a {
    padding-bottom: 20px;
    padding-top: 5px;
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 980px) {
	.et_header_style_left #et-top-navigation .mobile_menu_bar {
		padding-bottom: 39px;
		padding-top: 15px;
	}
	#main-header #logo {
		max-height: 65%;
		margin-top: -15px;
	}
	#main-header.et-fixed-header #logo {
		max-height: 45%;
	}  
}

@media (max-width: 768px) {
  .et_header_style_left #logo {
    max-width: 78%;
  }
   .et_header_style_left #et-top-navigation .mobile_menu_bar {
    padding-bottom: 35px;
    padding-top: 10px;
  }
  #main-header.et-fixed-header #logo {
	margin-top: 0;
  }
  #main-footer #footer-widgets .footer-widget {
	  height: auto !important;
  }
  #main-footer #footer-widgets .footer-widget:nth-child(2) {
	  justify-content: end;
  }
}


/************************/
/*        MENU          */
/************************/
header#main-header.et-fixed-header, #main-header{
	-webkit-box-shadow:none !important;
	-moz-box-shadow:none !important;
	box-shadow:none !important;
}

#top-menu li a{
} 
#top-menu li a:hover{
}
.et-fixed-header #top-menu a:hover{
}
.et-fixed-header #top-menu li ul li>a:hover{
}

#top-menu li{
/*	padding-right: ;*/
}

#top-menu .menu-item-has-children > a:first-child::after{
	display: none;
}
#top-menu .menu-item-has-children > a:first-child {
	padding-right: 0;
}

#top-menu li.current_page_item>a,
#top-menu li.current-menu-ancestor>a,
#top-menu li.current-page-ancestor>a,
#top-menu li.current-menu-item>a{
	color: #111 !important;
	border-bottom: 1px dotted #111;
} 

/****  Menu mobile  *****/
#main-header .mobile_menu_bar::before{
	/* color: #FFF;	*/
}
#mobile_menu li a{
	/* color: #FFF; */
	font-size: 18px;
}
#main-header #mobile_menu{
	/*background-color: #73b844;*/
}
#mobile_menu{
	/*border-color: #11582f;*/
}


/*adjust Divi Menu module breakpoint*/
/*
@media only screen and (max-width: 1200px) {
    #et-top-navigation #top-menu-nav {
        display: none;
    }
    #et_mobile_nav_menu {
        display: block;
    }
}
*/

/* menu mobile fixe */
@media (max-width: 980px) {
	.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
	   position: fixed;	
	}
}	
.et_mobile_menu {	
	   overflow: scroll !important;	
	   max-height: 83vh;
}

/***** sous-menu  *****/
#main-header .nav li ul{
 /* width: 250px;*/
}
#top-menu li li a {
   /* width: 210px; */
}

@media all and (max-width: 1280px) {

}
@media all and (max-width: 1100px) {
 
}
@media all and (max-width: 980px) {
 
} 
@media all and (max-width: 768px) {
 
}
@media all and (max-width: 480px) {
 
}


/************************/
/*       FOOTER         */
/************************/
#main-footer{
}

#main-footer #footer-widgets{
	background: url(/wp-content/uploads/2025/07/menu-footer-trait.webp) no-repeat 19px top;
    padding: 25px 0 20px;
}

#main-footer #footer-widgets .footer-widget{
	 height: 90px;
	 display: flex;
	 align-items: center;
	 justify-content: center;
}

@media (min-width: 981px) {
  .et_pb_gutters3 .footer-widget {
    margin-bottom: 0;
  }
}

/* Menu du pied de page */
#et-footer-nav{
	background-color: #c5c3c2;
}
#et-footer-nav .container{
	text-align: center
}
#et-footer-nav li{
	font-weight: normal;
	font-style: italic;
	padding-left: 11px;
	padding-right: 0;
}
#et-footer-nav li A{
	color: #565458;
}

#et-footer-nav li:not(:last-child) A:after{
	display: inline-block;
	content: " - ";
	padding-left: 11px;
 }
#et-footer-nav .bottom-nav {
  padding: 10px 0;
}
#footer-bottom{
	display: none;
}


@media only screen and (max-width: 980px) {
	#footer-widgets div:nth-child(3){
		width: 100% !important;
		padding: 0 10px;
		text-align: center;
		font-size: 15px;
		margin: 0 auto !important;
	}
  .footer-widget:nth-child(n) {
		margin-bottom: 10px !important;
  }
  #main-footer #footer-widgets .footer-widget img{
	max-width: 275px !important;
  }
  #main-footer #footer-widgets {
	background-position: 31px top;
 }
}

@media only screen and (max-width: 768px) {
	.bottom-nav li {
	font-size: 12px;
	}
}

/************************/
/*  ICONE HAUT DE PAGE  */
/************************/
.et_pb_scroll_top.et-pb-icon {
	background-color: #333;
	border: 2px solid #faf8f5 !important;
}