/** END FONCTIONS **/
#slider_home .carousel__slide {
  width: 100%;
}
#slider_home .content {
  height: calc(100vh - 200px);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
  margin: 0px auto;
}
#slider_home .titre {
  font-size: 30px;
  text-transform: uppercase;
  color: #000;
  font-weight: 700;
  line-height: 1.2;
  font-family: montserrat, sans-serif;
}
#slider_home .soustitre {
  color: #000;
  font-size: 18px;
  margin-top: 30px;
  line-height: 1.8;
  font-weight: 300;
  font-family: montserrat, sans-serif;
}
#slider_home .btn {
  margin-top: 30px;
  height: auto;
}
#visuelprincipal .visuel {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 80vw;
  margin: 0 30px;
  display: flex;
  align-items: center;
}
#visuelprincipal .titre {
  margin-left: -20px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 30px;
  font-family: montserrat, sans-serif;
}
#santementale {
  padding: 30px;
}
#santementale .left {
  text-align: center;
  position: relative;
  padding: 50px 0;
}
#santementale .left::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 50%;
  width: 2px;
  background-color: #000;
}
#santementale .left * {
  position: relative;
}
#santementale img {
  margin: 0px auto;
  width: 185px;
  border: 20px solid #fff;
  border-bottom-width: 30px;
  box-sizing: content-box;
}
#santementale .titre {
  margin: 0 auto;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  transform: translateY(calc(-50% - 30px));
  font-family: montserrat, sans-serif;
}
#blocs {
  padding: 30px;
}
#blocs .bloc {
  margin-bottom: 30px;
}
#blocs .bloc .contenu {
  padding: 0 20px;
}
#blocs .bloc .titre {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 24px;
  margin-top: -45px;
  min-height: 60px;
  line-height: 1.2;
  font-family: montserrat, sans-serif;
}
#blocs .bloc .texte {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 20px;
}
#section_actus {
  padding: 50px 30px;
}
#section_actus .editor-titre {
  text-align: center;
}
#contact {
  padding: 50px 30px;
}
#contact [itemprop="name"] {
  text-transform: uppercase;
  font-family: montserrat, sans-seri;
}
#map {
  filter: grayscale(1);
}
/* Version 768 */
@media (min-width: 768px) {
  #visuelprincipal .visuel {
    height: 60vw;
  }
  #visuelprincipal .titre {
    font-size: 50px;
  }
  #santementale .row {
    display: flex;
  }
  #santementale .row .left {
    width: 280px;
  }
  #santementale .row .right {
    flex: 1;
  }
  #blocs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  #blocs .bloc {
    width: calc(50% - 20px);
  }
  #blocs .bloc:nth-of-type(2) {
    margin-top: 150px;
  }
  #blocs .bloc:nth-of-type(3) {
    margin-top: -150px;
  }
}
/* Version > 1024 */
@media (min-width: 1024px) {
  #contact .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #contact .row .left {
    width: 300px;
  }
  #contact .row .right {
    flex: 1;
  }
}
/* Version > 1200 */
@media (min-width: 1200px) {
  #visuelprincipal .visuel {
    margin-right: 70px;
    margin-left: 70px;
    max-height: 780px;
  }
  #visuelprincipal .titre {
    font-size: 70px;
    margin-left: -50px;
  }
  #santementale,
  #blocs,
  #section_actus,
  #contact {
    padding-right: 70px;
    padding-left: 70px;
  }
  #santementale {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  #santementale img {
    width: 370px;
    margin: 0;
    margin-right: 100px;
    border-left-width: 0;
    border-right-width: 0;
    border-top-width: 50px;
    border-bottom-width: 100px;
  }
  #santementale .titre {
    padding-right: 100px;
    font-size: 40px;
    transform: translateY(calc(-50% - 100px));
  }
  #santementale .row {
    max-width: 1170px;
    margin: 0 auto;
  }
  #santementale .row .left {
    width: initial;
    padding-top: 130px;
  }
  #santementale .row .left:before {
    left: 185px;
    right: initial;
  }
  #santementale .row .right {
    padding-top: 80px;
  }
  #blocs .bloc {
    width: calc(50% - 25px);
  }
  #blocs .bloc:nth-of-type(2) {
    margin-top: 400px;
  }
  #blocs .bloc:nth-of-type(3) {
    margin-top: -300px;
  }
  #blocs .bloc:nth-of-type(4) {
    margin-top: 100px;
  }
  #blocs .bloc .contenu {
    padding-top: 50px;
    position: relative;
  }
  #blocs .bloc .titre {
    font-size: 50px;
    position: absolute;
    bottom: calc(100% + -30px);
  }
  #blocs .bloc .texte {
    margin-top: 0;
    position: relative;
    padding-left: 100px;
  }
  #blocs .bloc .texte:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 70px;
    height: 1px;
    background-color: #000;
  }
  #blocs .bloc .lien {
    margin-left: 100px;
  }
  #section_actus {
    margin-top: 100px;
    max-width: 1200px;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
  }
  #section_actus .editor-titre {
    position: relative;
  }
  #section_actus .editor-titre:before {
    content: '';
    width: 2px;
    height: 100px;
    background-color: #000;
    position: absolute;
    right: 50%;
    bottom: calc(100% + 30px);
  }
  #contact .row .left {
    width: 450px;
  }
  #contact #map iframe {
    height: 550px;
  }
}
/* Version > 1600 */
@media (min-width: 1600px) {
  #visuelprincipal .visuel {
    margin-right: 130px;
    margin-left: 130px;
  }
  #visuelprincipal .titre {
    margin-left: -60px;
    font-size: 80px;
  }
  #santementale,
  #blocs,
  #contact {
    padding-right: 130px;
    padding-left: 130px;
  }
  #blocs .bloc .contenu {
    padding-right: 120px;
    padding-left: 120px;
  }
}
