@font-face {
  font-family: OpenSans;
  src: url('../fonts/OpenSans.ttf');
}

body {
  background-color: #fff;
  text-align: center;
  font-family: 'OpenSans', sans-serif;
  color: #333;
}

#animation {
  z-index: 1;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.conteneur {
  z-index: 2;
  display: inline-block;
  position: relative;
  top: 40px;
  width: 100%;
}

h1 {
  color: #214478;
  text-align: center;
}

nav {
  display: block;
  position: fixed;
  z-index: 3;
  width: 100%;
  height: 40px;
  background-color: #162d50;
  top: 0;
  left: 0;
}

nav a {
  display: inline-block;
  position: relative;
  padding: 0.5em;
  text-transform: uppercase;
  min-width: 10%;
  color: #fff;
  text-decoration: none;
}

nav img {
  display: none;
}

.conteneur div.menu {
  display: none;
}

header {
  display: block;
  position: relative;
  width: 100%;
  top: 40px;
}

section {
  display: inline-block;
  position: relative;
  width: 100%;
  top: 40px;
}

section article.bandeau {
  color: #214478;
  padding-bottom: 20px;
  text-align: center;
}

section article.bandeau_services {
  width: 100%;
  background-color: #214478;
  color: #fff;
  padding-bottom: 20px;
  text-align: center;
}

#appli {
  background-color: #87aade;
  display: block;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

section article.bandeau img.accueil {
  display: inline-block;
  position: relative;
  max-width: 300px;
}

section article.bandeau p.accueil {
  display: block;
  width: 100%;
  background-color: #87aade;
  padding-bottom: 10px;
  padding-top: 10px;
}

section article.bandeau a {
  color: #3d5171;
}

section article.bandeau h3 {
  display: inline-block;
  position: relative;
  width: 100%;
  padding-top: 20px;
  margin-bottom: 0;
}

section article.bandeau img {
  display: inline-block;
  position: relative;
  max-width: 90%;
}

section article.bandeau p {
  display: inline-block;
  position: relative;
  width: 100%;
}

section.bandeau {
  display: inline-block;
  text-align: center;
  width: 100%;
  background-color: #214478;
}

section.bandeau h3, section.bandeau h1 {
  color: #fff;
}

section.bandeau article.realisation p {
  display: inline-block;
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
}

section.bandeau article.realisation p span.cercle_plein {
  width: 40px;
  height: 40px;
  display: inline-block;
  float: left;
  margin-left: 5%;
  background-color: #fff;
  border-radius: 20px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
}

section.bandeau article.realisation p span.cercle_vide {
  width: 36px;
  height: 36px;
  display:inline-block;
  float: left;
  margin-left: 5%;
  border: solid 2px #fff;
  border-radius: 20px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
}

section.bandeau article.realisation p.realisation {
  display: inline-block;
  max-width: 100%;
  text-align: justify;
  color: #fff;
  padding: 2%;
}

section.bandeau article.realisation p img {
  width: 85%;
  //margin-left: 7%;
  margin-right: 7%;
  margin-bottom: 20px;
}

section.bandeau article.realisation p a {
  color: #fff;
}

section.bandeau article.realisation p a:hover {
  color: #87aade;
}

section article.contenu {
  text-align: left;
}

section article.contenu h2 {
  text-align: center;
}

section article.contenu a {
  text-decoration: none;
  color: #3d5171;
}

section article.contenu a:hover {
  text-decoration: underline;
}

section article img {
  max-width: 100%;
}

header h1 {
  display: inline-block;
  position: relative;
  left: 0;
  width: 100%;
  top: 0;
  font-size: 1.5em;
  color: #3d5171;
}

section form {
  background-color: #87aade;
  padding: 5%;
}

section form h3 {
  color: #fff;
  padding-left: 2%;
}

section form fieldset {
  padding: 2%;;
  border: none;
}

section form label {
  color: #fff;
}

section form legend {
  background-color: #3d5171;
  display: inline-block;
  width: 80%;
  color: #fff;
  padding-left: 20%;
}

section form input {
  display: block;
  float: left;
  width: 200px;
}

section form span.requis {
  display: inline-block;
  position: relative;
  margin-left: 5px;
  color: #d00;
}

section form p {
  margin-left: 2%;
  padding-bottom: 20px;
}

section form p textarea {
  width: 90%;
}

section form .bouton {
  display: inline-block;
  background-color: #3d5171;
  border: none;
  padding: 10px;
  margin-right: 5%;
  margin-bottom: 5%;
  color: #fff;
  font-size: 1.5em;
  text-transform: uppercase;
}

hr {
  color: #87aade;
}

footer {
  display: inline-block;
  position: relative;
  border-top: solid 1px #3d5171;
  margin-top: 1em;
  padding-bottom: 1em;
  padding-top: 1em;
  top: 40px;
  color: #333;
}

footer a {
  color: #333;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #162d50;
}

footer .logos_liens {
  width: 1.5em;
  vertical-align: Bottom;
}

@media (max-width: 991px) {
  .conteneur {
    top: 5px;
  }
  header {
    top: 0px;
    left: 40px;
  }
  header img {
    max-width: 50%;
  }
  section {
    top: 0px;
  }
  section article.bandeau {
    background-color: #214478;
    color: #fff;
  }
  footer {
    top: 20px;
  }
  section article #petit_ecran {
    display: inline-block;
    max-width: 90%;
  }
  
  section article #grand_ecran {
    display: none;
  }
  
  section article.bandeau h3 {
    font-size: 1.2em;
  }
  section article.contenu {
    padding-left: 5%;
    padding-right: 5%;
  }
  /* barre de menu qui apparaît et disparait */
  .conteneur div.menu {
    display: block;
    position: absolute;
    top: 25px;
    left: 20px;
  }
  #barre_nav {
    position: fixed;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #162d50;
    overflow-y: auto;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    z-index: 3;
  }
  
  #barre_nav a {
    display: block;
    border-bottom: 1px solid #d7e3f4;
    color: #d7e3f4;
    padding: 2em;
    text-decoration: none;
  }
  
  .barre_navi a:hover, .barre_navi a:focus {
    background: #3d5171;
  }
  
  .barre_navi:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
  }
  
  /* actions sur le menu */
  
  #fermer {
    display: none;
  }
  
  #barre_nav:target {
    width: 100%;
  }
  
  #barre_nav:target + #conteneur {
    width: 100%;
    transition: all 0.3s ease;
  }
  
  #barre_nav:target + .conteneur div.menu #fermer {
    display: block;
    position: absolute;
    top: 0px;
    z-index: 7;
    transition: all 0.3s ease;
  }
  
  /* conteneur du hamburger et bandeau titre */
  
    /* positionnement du hamburger à gauche */
    nav a img {
      display: inline-block;
      position: absolute;
      top: 5px;
      left: 30px;
      z-index: 4;
      width: 2em;
    }
    #menu_ppal {
      left: 0;
    }
    
    /* fin du menu */
  header h1 {
    padding-left: 0;
  }
  section.bandeau article.realisation p.realisation {
    padding-left: 5%;
    padding-right: 5%;
    max-width: 90%;
  }
  section.bandeau article.realisation p {
    padding: 0;
  }
  section.bandeau article.realisation p img {
    width: 100%;
    margin: 0;
  }
  section.bandeau article.realisation span.cercle_vide {
    width: 26px;
    height: 26px;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
  }
  section.bandeau article.realisation span.cercle_plein {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
  }
  #fleche_d {
    float: right;
    margin-left: -50px;
  }
  #fleche_d, #fleche_g {
    z-index: 2;
    color: #333;
  }
  section form .bouton {
    width: 120px;
    font-size: 1em;
  }
}

@media (min-width: 992px) {
  section article #petit_ecran {
    display: none;
  }
  section article #grand_ecran {
    display: inline-block;
    position: relative;
  }
  section article.bandeau h3 {
    font-size: 2em;
    top: -50px;
  }
  section article.contenu {
    display: inline-block;
    position: relative;
    max-width: 900px;
    text-align: justify;
  }
  section.bandeau article.realisation {
    display: inline-block;
    max-width: 990px;
  }
}
