html {
  height: 100%;
}
body {
  height: 100%;
  margin-right: 6em;
  margin-left: 6em;
}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
  margin: auto;
  margin-bottom: 2em;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
pre {
  border-style: none;
  margin: auto;
}
.event{
  font-size: 1.4em;
  display: flex;
  justify-content: center;
  margin-bottom: 1em;
}
.entry-content{
    width: 85%;
    margin: auto;
}
#page{
  box-shadow:none;
}

.slick-slide {
  max-width: 700px;
}

/* Page 404 */
#error-type {
  color: #A9AC22;
}

/* Toutes les pages */
hr#header-border{
  display: none; 
}
h1.page-title{
  display: none;
}
.titre-page{
  text-align: right;
  color: #A9AC22;
}

/* Page d'accueil */
.titre-video{
  margin-top: 2em;
  color: #A9AC22;
  text-align: center;
}
.videoaccueil{
	width: 85%;
  margin: auto;
  margin-bottom: 5em;
}
p.site-description{
  font-weight: bold;
  color: #A9AC22;
  font-size: 1em;
}
img.logo-menu{
  padding-left: 3em;
}
h1.site-title{
  display: none;
}
.menu-img{
  text-align: right;
}
.img-bandeau{
    height: auto;
    max-width: 100%;
    display: flex;
    margin: auto;
}
.intro, .intro2{
  width: 85%;
  margin: auto;
  margin-bottom: 1em;
}
.intro2{
  margin-bottom: 3em;
}
.amr_widget{
  background-color: #A9AC22;
  color: white;
  padding: 2em;
  width: 85%;
  margin: auto;
  margin-bottom: 5em;
}
h3.widget-title {
  display: block !important;
  color: white;
  font-weight: bold;
  font-size: 1.8em;
}
.rpwwt-post-title{
  color: white;
  font-weight: bold;
  font-size: 1.2em;
}
.rpwwt-post-excerpt > a{
  color: rgba(255, 255, 255, 0.6) !important;
}
.wp-block-gallery{
	display: -webkit-flex;
}

/* Titres des autres pages */
h1.page-title{
	text-align: center;
}
h1.page-title:after{
	margin: auto;
  padding-top: 0.6em;
}

/* Page événement */
h3.widget-title{
  display: none;
}
.article-titre{
  color: #A9AC22;
  font-size: 1.5em;
}
/*.article-conteneur, .post{
  width: 85%;
  margin: auto;
}*/
/* Page a propos */
.apropos{
    margin: auto;
    width: 85%;
    margin-bottom: 2em;
}
.apropos.definition{
  font-size: 0.8em;
}

/* Galerie */
a.voirplus{
  font-weight: bold;
}

/* Articles mise en forme */
.entry-meta{
  display: none;
}
blockquote {
    border-left: 0.5rem solid #A9AC22;
}
.date-block, #related-posts-heading, #related-posts, .post-navigation, #comments, #related-post-footer{
  display: none;
}
.col-lg-4{
  display: none;
}
div#primary.content-area.col-lg-8{
  max-width: 100%;
  flex: 0 0 100%;
}
.retour {
  margin-left: 2em;
  font-weight: bold;
}
.retour.erreur{
    margin-left: 0em;
}
.entry-title{
  color: black;
  font-size: 2em;
}
.entry-header{
  width: 85%;
  margin: auto;
}

/* Footer */
#site-footer{
  border-top: 1px solid #A6A727;
}
.separateur{
  margin: 1em;
}

/* Mentions légales */
.wp-image-591{
  margin-left: 2em;
  margin-right: 2em;
}
/* Nos partenaires */
.wp-image-1010{
   margin-left: 1.5em;
}

/* hover */
a:visited, a:hover, a:focus, a:active {
    color: #A6A727;
}
::-moz-selection { /* Code for Firefox */
  color: white;
  background: #A6A727;
}
::selection {
  color: white;
  background: #A6A727;
}

/* Responsive */
@media screen and (max-width: 959px )
{
  .videoaccueil{
    width: 100%;
    margin: auto;
    margin-bottom: 5em;
  }
  img.logo-menu{
    padding-left: 2em;
    width: 10em;
    padding-bottom: 2em;
  }
   	#page{
  	box-shadow:none;
    width: 80%;
    position: absolute;
    left:50%;
		transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
	}
  .wp-block-envira-envira-gallery{
  	width: 80% !important;
    margin: auto;
	}
  .apropos{
      margin: auto;
      width: 100%;
      margin-bottom: 2em;
  }
  .amr_widget{
    background-color: #A9AC22;
    color: white;
    padding: 2em;
    width: 100%;
    margin: auto;
    margin-bottom: 5em;
  }
  .article-conteneur, .post {
     width: 100%;
     margin: auto;
  }
}


@media screen and (max-width: 479px )
{
  img.logo-menu{
    padding-left: 1em;
    width: 6em;
    padding-bottom: 1em;
  }
	li.blocks-gallery-item.menu-img{
		display: contents;
	}
 	#page{
  	box-shadow:none;
    width: 100%;
    position: absolute;
    left:50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
	}
  .wp-block-gallery{
    width: 60%;
    margin: auto;
  }
  img.custom-logo{
    height: auto;
    max-width: 75%;
  }
  .intro, .intro2{
  width: 90%;
  margin: auto;
  margin-bottom: 1em;
	}
  .intro2{
    margin-bottom: 3em;
  }
  .wp-image-591{
    margin-left: 0em;
    margin-right: 0em;
    margin-top: 1em;
    margin-bottom: 1em;
	}
  #copyright{
    display: flex;
    flex-direction: column;
  }
  .separateur{
    display: none;
  }
  #copyright>a{
    margin-bottom: 1em;
  }
  .wp-image-1010{
     margin-left: 0.5em;
  }
}
@media screen and (max-width: 800px )
{
  .wp-image-486{
    margin-bottom: 2em;
    margin-top: 1em;
  }
}
@media screen and (min-width: 1281px )
{
  #page{
    width: 70%;
    position: absolute;
    left:50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
  }
  img.custom-logo{
    height: auto;
    max-width: 100%;
  }
  .apropos{
    margin: auto;
    width: 75%;
    margin-bottom: 2em;
  }
  .amr_widget{
    background-color: #A9AC22;
    color: white;
    padding: 2em;
    width: 75%;
    margin: auto;
    margin-bottom: 5em;
  }
  .videoaccueil{
    width: 75%;
    margin: auto;
    margin-bottom: 5em;
  }
}