/*
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.
*/
@font-face {
    font-family: 'poppinsbold';
    src: url('/wp-content/themes/poulets/assets/css/fonts/poppins-bold-webfont.woff2') format('woff2'),
         url('/wp-content/themes/poulets/assets/css/fonts/poppins-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppins';
    src: url('/wp-content/themes/poulets/assets/css/fonts/poppins-regular-webfont.woff2') format('woff2'),
         url('/wp-content/themes/poulets/assets/css/fonts/poppins-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinssemibold';
    src: url('/wp-content/themes/poulets/assets/css/fonts/poppins-semibold-webfont.woff2') format('woff2'),
         url('/wp-content/themes/poulets/assets/css/fonts/poppins-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}



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

BODY{
	position:relative;
	width: 100%;
  margin: 0;
  padding: 0;	
	font-size: 2rem;  
	color:black;
	background:white;
	line-height:1.4;
font-family: "poppins", Arial, sans-serif;
	}
	
.page-id-6{
background:#f5fbfb;
}	
	
IMG{
max-width:100%;
height:auto;
}

*{
box-sizing: border-box;
}
/* =========================================================
             HEADER
 ========================================================= */
#site-header{
	width:100%;
	height:400px;
	background:#d8edf0;
	text-align:center;
	padding:50px 20px 0;
}
#site-header>div,nav>div{
	max-width:1110px;
	position:relative;
	margin:0 auto;
}
.site-logo{
margin: 0 0 40px 0;
}
.filters button, .lienbutton{
background:transparent;
border:0;
margin:0 15px;
transition: all 0.5s ease;
font-size: 2rem;
display:inline-block;
color:black;
}
.filters .actif, .filters button:hover, .lienbutton:hover{
position:relative;
top: -7px;
  padding-bottom: 11px;
border-bottom:red 1px solid;
}
/* =========================================================
             MENU PRINCIPAL
 ========================================================= */
.primary-menu{
display:none;
position:absolute;
top:0;
left:0;
	width:100%;
	height:400px;
	background:#38a6b3;
	text-align:center;
	padding:50px 20px 0;
}
.primary-menu>ul{
max-width:1400px;
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;
  margin: 15px 0;
  padding: 0px 20px 0 14px;
  color: white;
  text-decoration: none;
  font-size: 2rem;
  font-weight: normal;
  transition: all 0.5s ease;
}	
.primary-menu li a:hover, .current-menu-item a  {
 position:relative;
top: -7px;
  padding-bottom: 11px;
border-bottom:white 1px solid; 
}

 
#bouton_menu{
  position: absolute;
top: 88px;
  right: 10px;
  width: 71px;
  height: 61px;
  cursor: pointer;
  background: url(/wp-content/themes/poulets/assets/images/bt_menu.png) no-repeat center center #009f3c;
  border-radius: 5px;
}	
#bouton_fermer{
  position: absolute;
top: 88px;
  right: 10px;
  width: 71px;
  height: 61px;
  cursor: pointer;
  background: url(/wp-content/themes/poulets/assets/images/bt_fermer.png) no-repeat center center #009f3c;
  border-radius: 5px;
}	

.page-id-16 .primary-menu, .page-id-6 .primary-menu, .page-id-10 .primary-menu{
display:block;
}
 /* =========================================================
             FOOTER
 ========================================================= */ 
#site-footer{
background: #d8edf0;
padding:30px 0;
color:black;
text-align:center;
 font-size: 1.1rem;
}	
#site-footer img{
position: relative;

  }
.menu-footer{
display:inline-block;
position: relative;
top:-10px;

}
.menu-footer ul{
margin:10px 0;
}
.menu-footer li{
list-style:none;
}
.menu-footer a{
color: white;
  background: #38a6b3;
  font-size: 1.7rem;
  margin: 0 10px 0 0;
  border-radius: 30px;
  display: block;
  padding: 5px 15px;
  width: fit-content;
}

 /* =========================================================
     GENERALITES
 ========================================================= */ 
.clear{
clear:both;
width: 100%;
height: 1px;
}
main{
padding: 0 20px;
  max-width: 1110px;
  margin: 0 auto;
}

/* =========================================================
        HOME PAGE 
 ========================================================= */ 
.grid {
  width: 100%;
   margin-left: -5px;
}
.grid-sizer,
.grid-item {
  width: 50%;
position: relative;
padding:20px;
}
.grid-item A{
display:block;

background: white;
}
.cartouche{
  position: relative;
  width:80%;
   top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cartouche h3{
color:black;
}
.cartouche span{
display:inline-block;
margin:5px;
color:#38a6b3;
font-size:1.5rem;
}
.grid-item:hover .cartouche {
  opacity: 1;
  pointer-events: auto;
}


 /* =========================================================
            PAGE ARTICLE 
 ========================================================= */  
article{
padding:30px 0;
}  

section{
background:white;
padding: 30px 0;
}

H1{
font-size: 3.5rem;
  margin: 0 0 20px 0;
  line-height: 1.3;
  font-family: poppinssemibold;
  text-align: center;
}

H3{
	color:#38a6b3;
	font-size: 2.3rem;
	margin: 25px 0 20px 0;
	line-height: 1.3;
}

.chapo{
font-weight:bold;
}
A{
color:#009f3c;
text-decoration:none;
}
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;
}

.notes{
	font-size:1.6rem !important;
	color:#A0A0A0;
	border:0 none !important;
}

blockquote.gauche{
width:48%;
float:left;
margin:30px 2% 30px 0;
border:1px solid #38a6b3 ;
border-radius:20px 0 0 20px;
background:white;
padding:20px;
}
blockquote.droite{
width:48%;
float:right;
margin:30px 0 30px 2%;
border:1px solid #38a6b3 ;
border-radius:0 20px 20px 0;
background:white;
padding:20px;
}
article::after{
  content: "";
  display: block;
clear:both;
}
 /* =========================================================
            FORMULAIRE, BOUTON, etc...
 ========================================================= */  
.bouton, .bouton_blanc, .wp-block-button__link{
	display:inline-block;
	background:#009f3c;
	color:white;
padding: 5px 15px;
  font-weight: bold;
  margin: 5px 10px;	
}
.bouton, .bouton_blanc{
	background:white;
	color:#009f3c;
}

INPUT, TEXTAREA{
border:0 none;
border-left:1px solid #38a6b3 ;
border-bottom:1px solid #38a6b3 ;
padding:8px;
}
INPUT[type="submit"]{
display: block;
border:0 none;
background: #38a6b3 ;
color:white;
font-family: 'poppinssemibold';
border-radius:30px;
text-align:center;
padding:10px 20px;
line-height:1;
margin:20px auto !important;
}
/* max-width pour  résolutions en dessous de 900px*/
@media screen and (max-width: 900px) {
	main {
	padding: 4px 0;
	}
	#site-header {
	  height: 110px;
	}
	.second-menu, .primary-menu{
	display:none;
	}	
	#bouton_menu{	
	display:block;
	}
	.site-logo {
	  width: 200px;
	  padding: 0 0 11px 50px;
	}	
	.slogan {
	  top: 43px;
	  left: 53px;
	  font-size: 1.8rem;
	  width: auto;
	  padding: 0 10px 0 0;
	}
	.bouton_don {
	  top: 10px;
	  right: 60px;
	}
	#bouton_recherche{
	  top: 10px;
	}	
	.nb_produits {
	  top: 11px;
	  right: 220px;
	}
	.colonnes21 {
	  grid-template-columns: 1fr;
	}	
	.homepage .deux_colonnes {
	  grid-template-columns: 1fr;
	}
	.quatre_colonnes, .trois_colonnes {
	  grid-template-columns: repeat(2, 1fr);
	}
	.homepage section {
	  padding: 10px 30px;
	}
	#fenetre_don {
	  top: 45px;
	  right: 10px;
	}
	article {
	padding: 20px 4%;
	}
	section {
	  padding: 10px 4%;
	}
	.aligne_gauche {
	  float: none;
	  width: 100%;
	  padding: 0;
	}
	aside.colonne_droite {
	  float: none;
	  width: 100%;
	  padding: 0 4%;
	}
	.case-texte{
	width:100%;
	}
}


@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) {
	.homepage section {
	  padding: 10px 20px;
	}	
	H1 {
	  
	  font-size: 3rem;
	  margin: 0 0 20px 0;
	  line-height: 1.1;
	}
	.quatre_colonnes {
	  grid-template-columns: 1fr;
	  row-gap: 10px;
	}
	.journal .petite_couverture {
	  margin: 10px 15px;
	}
	.image-enquete {
	  width: 130px;
	  margin: 0 10px 0 0;
	}
	.numero_enquete {
	  position: absolute;
	top: -13px;
    left: -10px;
	  z-index:10;
	}
	.journal .illustration ,.enquete .illustration {
	  float: none;
	  max-width: 100%;
	  margin: 0 0 20px 0;
	}

	.deux_colonnes H4{
		margin:10px 0;
	}
	.case-date{
  padding: 10px;
  width: 140px;
	}
	.bloc_rdv .image-rectangle{
		width: 140px;
	}
}
