* {
  margin: 0;
  padding: 0;
}

/* Balises d'éléments principaux */

body {
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.5em;
  background-color: #ffffff;
  color: #333333;
}

footer {
  height: 80px;
  padding: 0;
  border-top: 1px solid #aaaaaa;
  color: #333333;
  text-align: center;
}

/* Balises de texte */

p {
  font-size: 1em;
  line-height: 1.5em;
  margin-bottom: 25px;
}

h1 {
  color: #ffffff;
  text-align: center;
  font-size: 4em;
  font-weight: normal;
  font-family: "Gentium Basic", serif;
  text-shadow: 2px 2px 2px #333333;
}

h2 {
  color: #a60024;
  font-size: 40px;
  font-weight: normal;
  padding: 10px 0px 15px 0;
  margin: 0 0 40px 0;
  border-bottom: 1px solid #bbbbbb;
  font-family: "Gentium Basic", serif;
}

h5 {
  font-size: 0.85em;
  font-weight: normal;
}

/* Balises de listes et navigation */

div.menu ul {
  display: flex;
  list-style-type: none;
}

li a {
  color: #333333;
  float: left;
  display: inline;
  padding: 10px 20px 10px 20px;
  margin: 0;
}

li a:hover {
  background-color: #a60024;
  color: #ffffff;
}

a {
  font-size: 15px;
  text-decoration: none;
  color: #333333;
}

th {
  background-color: #555555;
  border-style: solid;
  border-width: 1px;
  border-color: #4a061d;
  padding: 10px 30px 10px 30px;
  text-align: left;
}

tr {
  background-color: #8a0622;
}

td {
  padding: 10px 30px 10px 30px;
  text-align: left;
  border-style: solid;
  border-width: 1px;
  border-color: #4a061d;
}

input {
  width: 680px;
  height: 25px;
  margin: 0 0 10px 0;
  padding: 20px;
  border: 1px solid #ccc;
  font-size: 16px;
}

textarea {
  display: block;
  margin-bottom: 10px;
  width: 680px;
  height: 150px;
  padding: 20px;
  border: 1px solid #ccc;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}

button {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  background-color: #a60024;
  color: #ffffff;
  border: 0;
  margin-top: 5px;
  margin-right: 300px;
  padding: 10px 20px;
}

button:hover {
  background-color: #610116;
  cursor: pointer;
}

/* Éléments uniques */

.links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

#gmap_canvas {
  height: 350px;
  width: 680px;
}

#gmap_canvas img {
  max-width: none !important;
  background: none !important;
}

.inner-menu {
  display: flex;
  flex-direction: column;
  width: 1200px;
}

#menu_fixe {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  height: 250px;
  width: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
}

#banniere {
  background: url("../images/image_banniere2.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  margin-bottom: 40px;
  height: 350px;
  line-height: 340px;
}

#apropos:before {
  display: block;
  content: " ";
  margin-top: -190px;
  height: 190px;
  visibility: hidden;
}

#cours:before {
  display: block;
  content: " ";
  margin-top: -190px;
  height: 190px;
  visibility: hidden;
}

#tarifs:before {
  display: block;
  content: " ";
  margin-top: -190px;
  height: 190px;
  visibility: hidden;
}

#contact:before {
  display: block;
  content: " ";
  margin-top: -190px;
  height: 190px;
  visibility: hidden;
}

/* Classes */

.lien {
  color: #a60024;
  float: none;
  display: inline-table;
  padding: 0;
  margin: 0;
  font-size: 1em;
}

.lien:hover {
  background-color: #ffffff;
  color: #004e9c;
}

.t_tarifs {
  margin: 0 0 25px 0;
  color: #ffffff;
  border-width: 1px;
  border-style: solid;
  border-color: #4a061d;
  border-collapse: collapse;
}

.portrait {
  border: 1px solid #888888;
}

.icone {
  margin-right: 5px;
  margin-top: 10px;
}

.texte_formulaire {
  line-height: 25px;
}

.puces {
  list-style-type: disc;
  margin: 30px 0 30px 20px;
}

.puces li {
  margin: 5px 0 5px 0;
}

.carte {
  margin: 30px 0 20px 0;
  height: 350px;
  width: 680px;
}

.actif {
  background-color: #610116;
  color: #ffffff;
}

.vide {
  height: 30px;
}

.vcenter {
  display: table-cell;
  vertical-align: middle;
  width: 1100px;
}

.logo {
}

.menu {
}

@media screen and (max-width: 1024px) {
  .logo {
    margin-left: 50px;
    float: none;
  }

  .menu {
  }

  .cadre {
    margin-left: 50px;
    margin-right: 50px;
  }

  #banniere {
    background: url("../images/image_banniere2.jpg") no-repeat center center
      fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 250px;
    line-height: 240px;
  }

  h1 {
    font-size: 3em;
  }

  li a {
    padding: 10px 20px 10px 20px;
  }
}

@media screen and (max-width: 780px) {
  .logo {
    margin-left: 30px;
    float: none;
  }

  .portrait {
    width: 200px;
  }

  .cadre {
    margin-left: 30px;
    margin-right: 30px;
  }

  .grid-container {
    top: 0px;
  }

  .deux_lignes {
    display: block;
  }

  .flex {
    flex-wrap: wrap;
  }

  .menu {
    margin-left: 30px;
    margin-top: 30px;
  }

  .links-container {
    justify-content: initial;
    margin-top: 40px;
    margin-left: 30px;
  }

  #banniere {
    background: url("../images/image_banniere2.jpg") no-repeat center center
      fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-bottom: 30px;
    margin-top: 30px;
    height: 200px;
    line-height: 50px;
  }

  h1 {
    margin-top: 40px;
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  li a {
    padding: 10px 20px 10px 20px;
  }

  .carte {
    margin: 30px 0 20px 0;
    height: 200px;
    width: 380px;
  }

  input {
    height: 25px;
    float: left;
    margin: 0 0 10px 0;
  }

  textarea {
    height: 150px;
  }

  #gmap_canvas {
    height: 200px;
    width: 380px;
  }
}

@media screen and (max-width: 540px) {
  body {
    display: contents;
  }

  .logo {
    float: left;
    margin-left: 15px;
  }

  .portrait {
    width: 150px;
  }

  .links-container {
    margin-left: 20px;
    margin-top: 0;
    justify-content: flex-start;
  }

  #menu_fixe {
    margin-top: 20px;
    height: auto;
    width: inherit;
    position: initial;
  }

  .grid-container {
    top: 0 !important;
    max-width: 100%;
    width: 100%;
  }

  .inner-menu {
    width: 100%;
  }

  .flex {
    flex-direction: column;
  }

  .menu {
    margin-top: 15px;
    margin-left: 0;
  }

  div.menu ul {
    flex-direction: column;
    margin-left: 20px;
    margin-top: 20px;
  }

  .links-item {
    border: none;
    width: 30px;
    margin-right: 15px;
    border-radius: 15px;
  }

  .cadre {
    margin-left: 15px;
    margin-right: 15px;
  }

  #banniere {
    background: url("../images/image_banniere2.jpg") no-repeat center center
      fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-bottom: 30px;
    margin-top: 30px;
    height: 150px;
    line-height: 30px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
    margin-bottom: 20px;
  }

  li a {
    padding: 10px 10px 10px 10px;
    width: 100px;
  }

  .carte {
    margin: 30px 0 20px 0;
    height: 200px;
    width: 380px;
  }

  input {
    width: 100%;
    height: 25px;
    float: left;
    margin: 0 0 10px 0;
  }

  textarea {
    width: 100%;
    height: 150px;
  }

  #gmap_canvas {
    height: 200px;
    width: 100%;
  }
}

.ombre_image {
  box-shadow: 5px 5px 5px #c1c1c1;
}

.gauche {
  float: left;
}

.droite {
  margin: 0 0 30px 30px;
  float: right;
}

.center {
  text-align: center;
}

.clearfix {
  overflow: auto;
}

.flex {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.grid-container {
  top: 280px;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-container * {
  box-sizing: border-box;
}

.row:before,
.row:after {
  content: "";
  display: table;
  clear: both;
}

[class*="col-"] {
  float: left;
  min-height: 1px;
  width: 33.33%;
  padding: 12px;
}

.col-1 {
  width: 25%;
}

.col-2 {
  width: 33.33%;
}

.col-3 {
  width: 50%;
}

.col-4 {
  width: 100%;
}

.col-5 {
  width: 66.66%;
}

label {
  font-weight: 600;
  display: block;
  text-transform: uppercase;
  margin-bottom: 10px;
}

div.menu li a {
  font-size: 16px;
}

.links-item {
  border: none;
  width: 50px;
  margin-right: 30px;
  border-radius: 26px;
}

.links-item:nth-child(3) {
  margin-right: 0;
}

.links-item:hover {
  box-shadow: 0 0 3px 3px rgba(166, 0, 36, 0.25);
}
