
#formulaire_recherche form {padding:0;margin:0;}


header #header, header #header nav {height:130px;} 

header #header nav{
 /* position: relative;*/
  z-index: 99;
  width: 100%;
 /* background: #dfd9d9d4; */
}
header #header nav .wrapper{
  position: relative;
  max-width: 80em;
 /* width:1280px; */
  padding: 0px 0px 0px 0px;
  height: 140px;
  line-height: 10px;
  margin: 0 auto;
  display: flex;
   flex-wrap: wrap;
  align-items: center;
  justify-content: start;
}

@media (max-width: 767px) {
	
header #header nav .wrapper{ 
padding: 0px 20px 0px 20px;
justify-content: space-between;

 }
 .wrapper .btn {margin-left:0;}
 
}
.wrapper .logo a{
  color: #0D0D0D;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}
.wrapper .nav-links{
  display: flex;
    align-items: center;
  justify-content: center;
    flex-direction: row; 
  flex-wrap: wrap;
}

.wrapper .nav-links > * {
        flex: 1 0 auto;
      }

.nav-links li{
  list-style: none;
}
.nav-links li a{
  color: #2e3842;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 12px 23px 12px;
  transition: all 0.3s ease;
}



.nav-links li a.caps {
	text-transform: uppercase;
	letter-spacing: .05em;
}

@media screen and (max-width: 1024px) {
.nav-links li a{  font-size: 16px;}
nav .wrapper{max-width: 100%;}
.wrapper .btn {margin-left:20em;}
}

.nav-links li a:hover{
  background: transparent;
  border-top:0.1rem  solid #52a774;
}
.nav-links li.menu-item.on a.desktop-item{
  background: transparent;
  border-top:0.1rem  solid #0e5aa3;
}

.nav-links .mobile-item{
  display: none;
}
.nav-links .drop-menu{
  position: absolute;
  background: #dae1df;
  width: 360px;
  line-height: 45px;
  top: 130px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  top: 130px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a{
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 0px;
}
.drop-menu li a:hover{
border-top:none;
}


.mega-box{
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 30px;
  top: 185px;
  opacity: 0;
  visibility: hidden;
}
.mega-box .content{
  background: #e3e3e3;
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.mega-box .content .row{
  width: calc(25% - 30px);
  line-height: 45px;
}


.content .row img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .row header{
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}
.content .row .mega-links{
  margin-left: -40px;
  border-left: 1px solid rgba(255,255,255,0.09);
}
.row .mega-links li{
  padding: 0 20px;
}

.row .mega-links li a{

  padding: 0 20px;
  color: #80b525;
  font-size: 17px;
  display: block;
}
.row .mega-links li a:hover{
  color: #f2f2f2;
}
.wrapper .btn{
  color: #80b525;
  font-size: 20px;
  cursor: pointer;
  display: none;
   margin-right:0.8em;
}
.wrapper .btn.close-btn{
  position: absolute;
  right: 30px;
  top: 10px;
 
}

@media screen and (max-width: 970px) {
	
#formulaire_recherche #recherche {width:100px;height:20px;}
body.rubrique, body.article .wrapper .btn {margin-right:2.0em;}	
 
#header .wrapper .spip_logo {height: auto!important;width:130px!important;} 
/*#topnav{position:fixed;z-index:100;top:0;left:0;width:100%;} */
/* header #header nav {position:fixed;top:48px;} */
.arrow {display:block;float:left; visibility:visible;margin-top:-8px;font-size:14px;}
.arrow:before{content: ' \25B7';color:#000000;}

  .wrapper .btn{
    display: block;
  }
  .wrapper .nav-links{
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 48px;
	margin-top:0px;
    left: -100%;
    background: #ffffff;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }
  #menu-btn:checked ~ .nav-links{
    left: -6%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }
  .nav-links li{
    margin: 15px 10px;
  }
  .nav-links li a{
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .drop-menu{
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu, #showDrop1:checked ~ .drop-menu, #showDrop2:checked ~ .drop-menu, #showDrop3:checked ~ .drop-menu,#showDrop4:checked ~ .drop-menu,#showDrop5:checked ~ .drop-menu,#showDrop6:checked ~ .drop-menu,#showDrop7:checked ~ .drop-menu,#showDrop8:checked ~ .drop-menu,#showDrop9:checked ~ .drop-menu,#showDrop10:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box, #showMega1:checked ~ .mega-box, #showMega2:checked ~ .mega-box{
    max-height: 100%;
  }
  /* transform: rotate(45deg);  display:none!important;*/
  #showMega1:checked ~ .arrow, #showMega2:checked ~ .arrow {transform: rotate(45deg);}
  #showDrop1:checked ~ .arrow, #showDrop2:checked ~ .arrow, #showDrop3:checked ~ .arrow, #showDrop4:checked ~ .arrow, #showDrop5:checked ~ .arrow, #showDrop6:checked ~ .arrow, #showDrop7:checked ~ .arrow, #showDrop8:checked ~ .arrow, #showDrop9:checked ~ .arrow, #showDrop10:checked ~ .arrow {transform: rotate(45deg);}
  
  
  .nav-links .desktop-item.rubactus{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    background: #ffffff;
  }
  .drop-menu li{
    margin: 0;
  }
  .drop-menu li a{
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box{
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content{
    box-shadow: none;
    flex-direction: column;
    padding: 0px 0px 0px 10px;
  }
  .mega-box .content .row{
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2){
    border-top: 0px;
  }
  .content .row .mega-links{
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li{
    margin: 0;
  }


  .content .row header{
    font-size: 19px;
  }
}

@media screen and (max-width: 767px) {
 .wrapper .btn {margin-left:0;}
  .wrapper .nav-links{left: -120%;}
  .search {padding: 0.5em 0;}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
 .wrapper .btn {margin-left:20em;}
}
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
	header #header nav .wrapper{  padding: 0px 0px 0px 6px;}	
	 .wrapper .btn {margin-left:26em;}
	 .nav-links li a {font-size:16px;padding: 23px 8px;}
	}
@media screen and (min-width: 810px) and (max-width: 1080px) and (orientation: landscape) {
	 .nav-links li a {font-size:14px;padding: 23px 8px;}	
}	
@media screen and (min-width: 1024px) and (max-width: 1680px) and (orientation: landscape) {
	.nav-links {margin-left:0!important;}
	.nav-links li.menu-item a {font-size:16px;padding: 23px 8px;}	
	.nav-links li.sous-menu-item a {font-size:13px;padding: 0 0 0 15px;line-height: 30px;}
	 img.spip_logo {width:159px!important;height:auto!important;}
	 #formulaire_recherche {margin-right:1em;}
}	



nav input{
  display: none;
}

.body-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 30px;
}
.body-text div{
  font-size: 45px;
  font-weight: 600;
}
