/*
Theme Name: Theme de base Moduloo
Text Domain: moduloo
Version: 2.2
Tested up to: 6.2
Requires at least: 4.7
Requires PHP: 5.2.4
Author URI: https://wordpress.org/
Theme URI: https://wordpress.org/themes/twentytwenty/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

HTML {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
font-size: 62.5%;  
}

BODY{
	position:relative;
	width: 100%;
  margin: 0;
  padding: 0;	
	font-size: 1.6rem;  
	color:black;
background:white;
	line-height:1.4;
font-family: "Roboto", sans-serif;
	}
IMG{
max-width:100%;
height:auto;
}

*{
box-sizing: border-box;
}
/* =========================================================
             HEADER
 ========================================================= */
#site-header{
	width:100%;
	height:113px;
	background:white;
	box-shadow: 0px 3px 6px #00000029;
}
#site-header>div{
	max-width:1366px;
	position:relative;
	margin:0 auto;
}
.site-logo{
padding: 4px 0 0px 35px;
}


/* =========================================================
             MENU PRINCIPAL
 ========================================================= */
.primary-menu{
position:absolute;
top:30px;
right:50px;
}
.primary-menu>ul{
margin:0 auto;
padding:0;
display: block;
text-align:center;
}
.primary-menu li{
display:inline-block;
list-style: none;
margin:0;
padding:0;
}

.primary-menu li a{
display: inline-block;
  padding: 12px 50px;
  color: black;
  text-decoration: none;
  font-size: 2.2rem;
  font-weight: bold;
  text-transform:uppercase;
}	
.primary-menu li.current_page_item a, .primary-menu li:hover a {
color: #0000CE ;
text-decoration:underline;
}
#menu-item-21 a{
  padding: 12px 50px;
color: #FFFFFF;
background: #0000CE ;
text-transform:none;
}
	
#menu-item-21 a:hover{
opacity:0.60 !important;
text-decoration:none;
}
.primary-menu li:hover > .sub-menu {
  animation: apparitionSousMenu 1s forwards;
}
.sub-menu{
position:absolute;
background:white;
overflow: hidden;
max-height: 0;
padding:0;
z-index:50;
}
.sub-menu li{
display:block;
text-align:left;
list-style: none;
margin:0;
padding:0;
}
.sub-menu li A{
	display:block;
	width:100%;
margin:0;
padding:15px 20px;
border:0 none;
font-size: 1.8rem;
font-weight: normal;
}
.sub-menu li A:hover{
background:white;
color:#009f3c;
}
@keyframes apparitionSousMenu {
  0% {
    box-shadow: 0px 3px 3px 1px rgba(0,0,0,0);
    border-top: 3px solid white;
  }
  30% {
    box-shadow: 0px 3px 3px 1px rgba(0,0,0,0.3);
  }
  100% {
    max-height: 50em;
    border-top: 3px solid white;
    box-shadow: 0px 3px 3px 1px rgba(0,0,0,0.3);
  }
}

 
/* =========================================================
             MENU SMARTPHONE
 ========================================================= */ 
#bouton_menu{
	display:none;
width: 40px;
  height: 40px;
  position: absolute;
  top: 20px;
  left: calc(50% - 20px);
  cursor: pointer;
  background: url(/wp-content/themes/cfl/assets/images/bt_menu.png) no-repeat center center;
  border-radius: 5px;
}	
#menu_smartphone{
	display:none;
	width:100%;
	background:white;
	position:absolute;
	top:70px;
	left:0;
	z-index:50;
	padding:0 0 50px 0;
	box-shadow: 0px 3px 6px #00000029;
}
#bt_fermer{
width: 48px;
  height: 40px;
  position: absolute;
  top: -49px;
  left: calc( 50% - 22px );
  cursor: pointer;
  background: url(/wp-content/themes/cfl/assets/images/bt_fermer.png) no-repeat center center white;
  border-radius: 5px;
}
 #menu_smartphone li{
	 list-style:none;
 }
  #menu_smartphone li A{
	color:black;
	font-size:1.8rem;
	text-decoration:none;
	display:block;
padding: 0 10px 16px calc(50% - 30px);
	text-transform:uppercase;
	font-family: "Roboto Condensed", sans-serif;
	font-weight:900;
 }
#menu_smartphone li A:active  {
color: #0000CE ;
text-decoration:underline;
}
  #menu_smartphone  .sub-menu {
  max-height: none;
  padding:10px 0 20px 30px;
  position:relative;
  left:0;
  top:0;
 }
  #menu_smartphone .sub-menu li A{
  max-height: none;
  padding:10px 0;
  text-transform:none;
 }
#menu_smartphone .sub-menu li A:hover{
	   color:white;
	   background:transparent;
   }
#menu_smartphone  .second-menu_smartphone li A{
	text-transform:none;
 }
 #menu_smartphone  .second-menu_smartphone{
margin:30px 0  0 0;
 }
 /* =========================================================
             FOOTER
 ========================================================= */ 
#site-footer{
background: #0000CE ;
padding:25px 0;
color:white;
text-align:center;
font-family: "Roboto Condensed", sans-serif;
font-size:1.6rem;
font-weight:500;
}	
#site-footer p.titre{
font-weight:800;
margin:3px;
}
menu-footer
.menu_pied{
background:black;
text-align:center;
padding: 1px;
}
.menu_pied ul{
margin:10px 0;
}
.menu_pied li{
display:inline-block;
}
.menu-footer a{
color: white;
text-decoration:underline;
}

 /* =========================================================
     GENERALITES
 ========================================================= */ 
main{
	margin:0 auto;
	max-width:1100px;
	padding: 20px;
}
.main_opaque{
opacity:0.2;
}
article{
max-width:750px;
margin:0 auto;
}  
.clear{
clear:both;
width: 100%;
height: 1px;
}
.hautdepage{
position:fixed;
bottom:20px;
right:20px;
}

 .deux_colonnes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 50px;
  row-gap: 30px;
  padding: 10px 0 40px 0;
} 
.trois_colonnes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 50px;
  row-gap: 30px;
  padding: 10px 0 40px 0;
} 
.quatre_colonnes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 16px;
  row-gap: 25px;
} 
.lien_bloc{
display:block;
text-decoration:none;
color:black;
font-size:1.6rem;
padding:5px;
border:2px solid black;
}	
.lien_bloc:hover H3{
opacity:0.6;
}
.lien_bloc h3{
text-decoration:none;
color:#0000CE;
font-size:2rem;
margin:0;
text-decoration:underline;
}	

.lien_galerie{
display:block;
position:relative;
text-decoration:none;
color:black;
font-size:1.6rem;
}	
.image-container {
  position: relative;
  width: 100%; /* La largeur du conteneur peut être ajustée selon vos besoins */
  padding-bottom: 65%; /* 4/3 en pourcentage (3 / 4 * 100) */
  margin:0;
  background:#F0F0F0;
}
.image-carre {
position: relative;
  width: 70px;
  padding-bottom: 70px;
  margin: 0 10px 0 0;
  background: #F0F0F0;
  float:left;
}
.image-rectangle{
position: relative;
  width: 210px;
  padding-bottom: 140px;
  margin: 0 30px 0 0;
  background: #F0F0F0;
  float: left;
}

.image-container img, .image-carre img, .image-enquete img , .image-rectangle img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajuste l'image pour remplir la zone définie */
}
.letitre{
opacity:0;
background:rgb(255,255,255,0.5);
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
padding: 26% 10px;
  font-size: 3.1rem;
font-family: "Roboto Condensed", sans-serif;
font-weight:bold;
text-align:center;
color:black;
transition: all 1s;
}
.lien_galerie:hover .letitre{
opacity:1;
} 
 /* =========================================================
            PAGE ARTICLE 
 ========================================================= */  
section{
background:white;
padding: 30px 0;
}


H1{
font-family: "Roboto Condensed", sans-serif;
font-size: 8rem;
margin: 0 0 20px 0;
line-height: 1.3;
text-transform:uppercase;
font-weight:800;
text-align:center;
}
h2, h3, h4, h5, h6{
font-family: "Roboto Condensed", sans-serif;
font-size: 3.6rem;
margin: 40px 0 20px 0;
line-height: 1.3;
font-weight:600;
}
h3{
margin: 20px 0 20px 0;
font-weight:500;
font-size: 3.2rem;
}
h4{
font-weight:400;
margin: 20px 0 20px 0;
font-size: 2.8rem;
}
h5{
font-weight:400;
margin: 20px 0 20px 0;
font-size: 2.4rem;
}
h6{
margin: 20px 0 20px 0;
font-size: 8rem;
}
A{
color: #0000CE ;
text-decoration:underline;
}
table{
font-size: 1.7rem;
margin:15px 0;
}
table tr:nth-child(even){
background:#f9f9f9;
}
table td {
border-top:1px solid #ddd;
padding:6px;
vertical-align: middle;
}


.iframe_video{
width:100%;padding-bottom:56%;overflow:hidden;position:relative;z-index:5;
}
.iframe_video iframe{
	width:100% !important;height:100% !important;position:absolute;left:0;
}







 /* =========================================================
            FORMULAIRE, BOUTON, etc...
 ========================================================= */  
button, .bouton, .bouton_blanc, .wp-block-button__link, .elementor-button-link, #bouton_contact{
	display:inline-block;
	color:white !important;
background: #0000CE  !important;
border: 1px solid #0000CE  !important;
text-decoration:none !important;
padding: 20px 30px !important;
margin:30px !important;
font-family: "Roboto Condensed", sans-serif !important;
	font-size: 3rem !important;
	font-weight:800 !important;
	transition:all 1s !important;
}
button:hover, .bouton:hover, .wp-block-button__link:hover, .elementor-button-link:hover{
opacity:0.60 !important;
}

#bouton_contact{
position:absolute;	
	display:none;
top: 20px;
  right: 20px;
  margin: 0 !important;
  padding: 10px 20px !important;
  font-size: 1.6rem !important;
	}






@media screen and (max-width: 1000px) {
.primary-menu li a {
  display: inline-block;
  padding: 12px 20px;
  }
 } 
/* max-width pour  résolutions en dessous de 900px*/
@media screen and (max-width: 800px) {
#site-header {
  height: 78px;
  }
	.second-menu, .primary-menu{
	display:none;
	}	
	#bouton_menu,#bouton_contact{	
	display:block;
	}
  .site-logo {
    width: 90px;
    padding: 7px 0 11px 30px;
  }
	.quatre_colonnes, .trois_colonnes {
	  grid-template-columns: repeat(2, 1fr);
	}
	H1{
	font-size: 5rem;
	}
}


@media screen and (max-width: 700px) {
	.deux_colonnes, .trois_colonnes {
	  grid-template-columns: 1fr;
	}
}
/* max-width pour  résolutions en dessous de 500px*/
@media screen and (max-width: 500px) {
	H1 {
	  font-size: 3rem;
	  margin: 0 0 20px 0;
	  line-height: 1.1;
	}
	H2 {
	  font-size: 2.4rem;
	  }
	H3 {
	  font-size: 2.1rem;
	  }
	H4 {
	  font-size: 1.8rem;
	  }
	H5 {
	  font-size: 1.6rem;
	  }	  
	.quatre_colonnes {
	  grid-template-columns: 1fr;
	  row-gap: 10px;
	}
	button, .bouton, .bouton_blanc, .wp-block-button__link, .elementor-button-link{
		font-size: 1.6rem !important;
	}	
	.letitre{
	opacity:1;
	}
}
