/* --------------------------------------------------------------

   layout.css
   Disposition des blocs principaux
   cf.: https://romy.tetue.net/structure-html-de-base

-------------------------------------------------------------- */

body {
  text-align: center;
  background: #F8F6F8;
  scroll-behavior: smooth;
}

.page {
  position: relative;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.main {
  padding: 1.2em 0;
}

.footer {
  clear: both;
  margin-bottom: 50px;
}

.wrapper {
  clear: both;
  float: left;
  width: 72%;
  overflow: hidden;
}

.content {
  min-height: 350px;
}

.aside {
  float: right;
  width: 27.3%;
  overflow: hidden;
  padding: 2.4%;
  background: #FFF;
  margin-bottom: 3%;
  box-shadow: 0 3px 10px 0 rgba(0,0,0,0.15);
}

/* Entete et barre de navigation */
.footer .colophon {
  float: left;
  height: 40px;
  width: 70%;
  margin: 0;
}

.footer .generator {
  float: right;
}

.footer .generator a {
  padding: 0;
  background: none;
}

.video-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.video-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

/* Affichage sur petits écrans */
@media (max-width: 750px) {
  body,
  .page,
  .header,
  .main,
  .footer,
  .wrapper,
  .content,
  .aside {
    width: auto !important;
    margin: auto !important;
  }

  .page {
    margin: 0;
    padding: 0;
  }

  .content,
  .aside {
    clear: both;
    float: none !important;
    width: auto !important;
  }

  .nav ul li a {
    float: none;
    border: 0;
  }

  #formulaire_recherche {
    display: none;
    position: static;
    text-align: center;
  }

  .footer .colophon {
    width: auto;
    float: none;
  }

  .footer .generator {
    display: none;
  }

  textarea,
  table,
  td,
  th,
  code,
  pre,
  samp {
    word-wrap: break-word;
  }

  code,
  pre,
  samp {
    white-space: pre-line;
  }

  table.fc-header td {
    display: block;
    text-align: left;
  }
}

.entete_noire1 {
  background: #000 url('../css/img/bandeau.jpg') center top no-repeat;
  background-size: cover;
  padding: 1.25em 0 0 0;
  margin-bottom: 0;
  overflow: hidden;
}

.entete_noire2 {
  min-width: 20px;
  max-width: 1260px;
  margin: 0 auto 0 auto;
}

.corps1 {
  background: url(img/back_vert.png) repeat-x;
  overflow: hidden;
}

.corps2 {
  min-width: 20px;
  max-width: 1260px;
  width: 98%;
  margin: 0 auto;
}

.pied {
  min-width: 20px;
  max-width: 1260px;
  clear: both;
  margin: 0 auto 50px auto;
  overflow: hidden;
  box-shadow: 0 3px 10px 0 rgba(0,0,0,0.15);
}

.pied2 {
  padding: 2.4%;
  background: #FFF;
  text-align: left;
}

.bloc_contenu {
  padding: 3.4%;
  margin-bottom: 1%;
  background: #FFF;
  overflow: hidden;
  box-shadow: 0 3px 10px 0 rgba(0,0,0,0.15);
}

.bloc_contenu2 {
  padding: 2% 2% 0 2%;
  margin-bottom: 1%;
  background: #FFF;
  overflow: hidden;
  box-shadow: 0 3px 10px 0 rgba(0,0,0,0.15);
}

.slogan_site {
  color: #ECECEC;
  display: inherit;
  vertical-align: bottom;
  font-style: italic;
}

.footer .pied_gauche {
  width: 31.35%;
  float: left;
}

.pied_gauche a:hover img,
.pied_centre a:hover img {
  opacity: 0.7;
}

.footer .pied_centre {
  width: 31.35%;
  float: left;
  margin-left: 3%;
}

.footer .pied_droite {
  width: 31.35%;
  float: right;
}

.introduction {
  margin-bottom: 1%;
}

.bloc_logo_article {
  position: relative;
  float: right;
  margin: 0 0 2% 3%;
  padding: 0;
  width: 35%;
  height: auto;
  border: solid 4px #FFF;
  box-shadow: 0 0 5px 1px #cfcfcf;
}

.bloc_logo_article2 {
  position: relative;
  width: 35%;
  height: auto;
  box-shadow: 0 0 5px 1px #cfcfcf;
}

.bloc_agrandir {
  position: absolute;
  left: 40%;
  top: 40%;
  margin: 0 auto;
}

.icone_agrandir {
  width: 84%;
  height: auto;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.icone_agrandir:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.bloc_logo_site {}
.bloc_logo_site a:hover img {
  opacity: 0.7;
}
.bloc_logo_site a:hover,
.bloc_logo_site a:focus {
  background: transparent !important;
}

.logo_site {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: middle;
}

.comment .spip_logo {
  width: 7%;
}

.menu_select {
  display: none;
  padding: 1% 1% 0 1%;
  background: #8CA429;
  color: #FFF;
  border: 0;
  border-radius: 4px 4px 0 0;
  text-align: center;
  font-size: 1.4em;
  text-transform: uppercase;
}

.select_rub {
  text-align: left !important;
  font-size: 0.8em !important;
  text-transform: none !important;
}

#remonter {
  position: fixed;
  bottom: 5%;
  right: 3%;
  cursor: pointer;
  display: none;
  opacity: 0.3;
  filter: alpha(opacity=30);
}

#remonter:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
}

.image_opacity {
  opacity: 0.7;
  filter: alpha(opacity=70);
}

.image_opacity:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

@media (max-width: 3000px) {
  .ajustable {
    width: 300px !important;
    height: auto;
    border: 0;
  }
}

@media (max-width: 960px),
@media (max-width: 800px),
@media (max-width: 750px),
@media (max-width: 480px),
@media (max-width: 320px) {
  .ajustable {
    width: 86% !important;
    height: auto;
    border: 0;
  }
}

@media (max-width: 800px) {
  .logo_site {
    margin: 0;
    float: left;
    width: 250px;
    height: auto;
  }
  .bloc_logo_site {
    float: none;
    margin: 0 auto;
  }
  .slogan_site {
    display: none;
  }
  #nav-container {
    font-size: 0.9em;
  }
  .footer .pied_gauche,
  .footer .pied_centre,
  .footer .pied_droite {
    width: 100%;
    float: none;
    margin-left: 0;
  }
}

@media (max-width: 750px) {
  .logo_site {
    margin: 0 auto;
    display: block;
    text-align: center !important;
    float: none;
  }
  .menu_select {
    display: block;
    width: 36%;
    margin: 1em auto 0 auto;
    float: none;
  }
  .slogan_site {
    display: none;
  }
  #nav-container {
    display: none;
  }
  #remonter,
  #remonter:hover {
    display: none;
  }
}

@media (max-width: 480px) {
  .bloc_contenu2 {
    padding: 3.4% 3.4% 0 3.4%;
  }
  .menu_select {
    width: 50%;
  }
}

