/** END FONCTIONS **/
.fond_etoile.ismobile {
  background-image: url(../images/etoile_mobile.jpg);
  background-size: 1024px;
  background-position: center top;
}
#malt {
  height: 600px;
  padding-top: 110px;
  text-align: center;
  position: relative;
}
#malt .visuel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-repeat: no-repeat;
}
#malt .visuel.ismobile {
  background-image: url(../images/main_mobile.png);
  background-size: 1024px;
  background-position: top right -140px;
}
#malt .titre {
  width: 300px;
  margin: 0 auto;
  text-align: center;
  text-shadow: -10px 20px 177px #2a2b2f, -10px 20px 177px #2a2b2f;
}
#malt .titre p {
  color: #fff;
  font-family: 'Abril Fatface', cursive;
  font-size: 70px;
  line-height: 1;
}
#malt .titre p strong {
  color: #e7c08a;
  font-weight: 400;
}
#malt .grains {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
#malt .grains img {
  position: absolute;
}
#malt .grains img.grain1 {
  top: 260px;
  left: 20px;
}
#malt .grains img.grain2 {
  top: 370px;
  right: 100px;
}
#malt .grains img.grain3 {
  top: 390px;
  left: 40px;
}
#malt .grains img.grain4 {
  top: 510px;
  left: 50%;
  transform: translateX(-100px);
}
#madein {
  text-align: center;
}
#madein .texte {
  color: #eadac3;
  margin-bottom: 30px;
  font-weight: 300;
}
#madein .owl-carousel {
  position: relative;
}
#madein .owl-carousel .owl-controls {
  margin: 0;
}
#madein .owl-carousel .owl-controls .owl-nav {
  margin: 0 auto;
  position: absolute;
  width: 1300px;
  transform: translate(-50%, -50%);
  top: 50%;
  right: 0;
  left: 50%;
}
#madein .owl-carousel .owl-controls .owl-nav [class*=owl-] {
  margin: 0;
  width: 46px;
  height: 46px;
  padding: 0;
  font-size: 0;
  position: absolute;
  transform: translateY(-50%);
  background-color: #e31818;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#madein .owl-carousel .owl-controls .owl-nav [class*=owl-]:after {
  content: "";
  padding: 0;
  display: block;
  width: 7px;
  height: 7px;
  position: relative;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}
#madein .owl-carousel .owl-controls .owl-nav [class*=owl-].owl-prev {
  left: 0;
}
#madein .owl-carousel .owl-controls .owl-nav [class*=owl-].owl-prev:after {
  transform: rotate(225deg);
}
#madein .owl-carousel .owl-controls .owl-nav [class*=owl-].owl-next {
  right: 0;
}
#madein .owl-carousel .owl-controls .owl-nav [class*=owl-].owl-next:after {
  transform: rotate(45deg);
}
#categories {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
#categories a {
  width: calc(50% - 5px);
  border: 2px solid #e7c08a;
  background-color: #e7c08a;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 0 10px;
}
#categories a span {
  font-size: 16px;
  line-height: 1;
  color: #fff;
}
#categories a.active {
  background-color: transparent !important;
  border-color: #e7c08a;
}
#categories a.active span {
  color: #e7c08a;
}
#products {
  text-align: left;
  margin-top: 30px;
}
#products .product {
  text-align: center;
}
#products a {
  background-color: #fff;
  border-radius: 12px;
  display: inline-block;
  overflow: hidden;
  width: 200px;
  position: relative;
  text-align: left;
}
#products a .img {
  width: 100%;
  height: 140px;
  background-color: #f0e5d5;
}
#products a .content {
  padding: 15px;
  padding-bottom: 50px;
  position: relative;
}
#products a .content:after {
  content: '';
  position: absolute;
  top: -40px;
  right: 0;
  left: 0;
  height: 50px;
  background-image: url(../images/fondu_chiffre.png);
  background-size: 280px;
  background-repeat: no-repeat;
  background-position: center;
}
#products a .titre {
  font-family: 'Abril Fatface', cursive;
  font-size: 18px;
  color: #323236;
  margin-bottom: 10px;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}
#products a .description {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.2;
  color: #323236;
}
#products a:after {
  content: '+';
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #323236;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}
#products a:hover .titre {
  color: #e31818;
}
#products a:hover:after {
  background-color: #e31818;
}
#story_chiffres {
  margin-top: 100px;
  position: relative;
}
#story_chiffres .grains {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 5;
  max-width: 100%;
  overflow: hidden;
}
#story_chiffres .grains img {
  position: absolute;
}
#story_chiffres .grains img.grain5 {
  top: 10px;
  left: 50%;
  transform: translateX(-100px);
}
#story_chiffres .grains img.grain6 {
  top: 170px;
  right: -25px;
}
#story_chiffres .chevaux {
  height: 300px;
  width: 100%;
  background-image: url(../images/chevaux_mobile.png);
  background-size: 1024px;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}
#story_chiffres .conteneur {
  background-color: #ffe7c1;
  padding-bottom: 200px;
}
#story_chiffres .conteneur.ismobile:before {
  content: '';
  position: absolute;
  bottom: calc(100% - 50px);
  right: 0;
  left: 0;
  height: 700px;
  background-image: url(../images/fondu_story_mobile.png);
  background-position: bottom center;
  background-size: 1024px;
  background-repeat: no-repeat;
}
#story_chiffres .conteneur .row {
  position: relative;
  z-index: 1;
}
#story {
  text-align: center;
}
#story .texte p {
  font-weight: 300;
  margin-bottom: 1.2em;
}
#chiffres {
  padding-top: 80px;
  text-align: center;
}
#chiffres .chiffre {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
  max-width: 280px;
  text-align: left;
  margin-right: auto;
  margin-left: auto;
  box-shadow: -10px 20px 30px 0 rgba(42, 43, 47, 0.2);
}
#chiffres .chiffre .img {
  width: 100%;
  height: 140px;
  background-color: #f0e5d5;
}
#chiffres .chiffre .content {
  padding: 15px;
  padding-bottom: 50px;
  position: relative;
}
#chiffres .chiffre .content:after {
  content: '';
  position: absolute;
  top: -40px;
  right: 0;
  left: 0;
  height: 50px;
  background-image: url(../images/fondu_chiffre.png);
  background-size: 280px;
  background-repeat: no-repeat;
  background-position: center;
}
#chiffres .chiffre .titre {
  font-size: 50px;
  line-height: 1;
  font-family: 'Abril Fatface', cursive;
  text-transform: uppercase;
}
#chiffres .chiffre .texte {
  text-transform: uppercase;
  font-weight: bold;
}
#chiffres .chiffre .btn {
  margin-top: 10px;
  height: 28px;
  line-height: 24px;
  padding: 0 15px;
  font-size: 12px;
}
#chiffres .chiffre:nth-of-type(1) .titre {
  color: #7e4924;
}
#chiffres .chiffre:nth-of-type(2) .titre {
  color: #b87333;
}
#chiffres .chiffre:nth-of-type(3) .titre {
  color: #c3a056;
}
#news {
  text-align: center;
  position: relative;
}
#news.ismobile::before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 0;
  left: 0;
  height: 850px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../images/fondu_news.png);
  background-size: 1024px;
}
#news .texte {
  margin-bottom: 1.2em;
}
#news #actus {
  margin-top: 50px;
}
#partof {
  text-align: center;
  background-image: url(../images/cadre_partenaires.jpg);
  background-repeat: no-repeat;
  background-position: center 100px;
  background-size: 304px;
  padding-bottom: 100px;
}
#partof .titre {
  width: 150px;
  display: inline-block;
  position: relative;
  line-height: 0.8;
  padding-top: 20px;
  margin-bottom: 0;
  z-index: 10;
}
#partof .titre.separateur:after {
  margin-top: 20px;
}
#partof .titre:before {
  content: '';
  z-index: -1;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 320px;
  height: 100px;
  background-image: url(../images/epis_titre.jpg);
  background-size: 310px;
  background-repeat: no-repeat;
  background-position: center;
}
#partof .partenaires a {
  margin-top: 60px;
  display: block;
}
#partof .partenaires a img {
  display: inline-block;
}
#contact {
  position: relative;
  padding-bottom: 90px;
  background: linear-gradient(180deg, #ffffff 0%, #f4ebdf 100%);
}
#contact .stitre {
  font-family: 'Abril Fatface', cursive;
  font-size: 24px;
  color: #b87333;
}
#contact .carte {
  width: 212px;
  margin: 0 auto;
  margin-bottom: 100px;
}
#contact .adresses {
  margin-top: 10px;
}
#contact .adresses .adresse {
  padding-bottom: 10px;
  margin-bottom: 10px;
}
#contact .adresses .adresse:not(:last-of-type) {
  border-bottom: 1px solid #b87333;
}
#contact .adresses .adresse .nom {
  text-transform: uppercase;
  position: relative;
  font-weight: bold;
}
#contact .adresses .adresse .nom:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #e31818;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}
#contact .adresses .adresse .tel {
  margin-top: 5px;
}
#contact .mail {
  color: #b87333;
  display: block;
  line-height: 34px;
  margin-top: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: left;
}
#contact .mail i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #b87333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
#contact .epis {
  position: absolute;
  bottom: 0;
  right: 0;
}
/* Version 768 */
@media (min-width: 768px) {
  #malt .visuel {
    background-position: top right 0;
  }
  #madein .titre,
  #madein .texte {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  #story {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Version > 1024 */
@media (min-width: 1024px) {
  #categories {
    justify-content: center;
  }
  #categories a {
    width: calc(16.66% - 5px);
    position: relative;
    margin: 0 2px;
  }
  #chiffres .chiffre {
    margin: 0 10px;
    width: 280px;
    display: inline-block;
  }
  #news .texte {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  #partof {
    background-image: url(../images/cadre_partenaires_large.png);
    background-size: 1110px;
    background-position: center 40px;
  }
  #partof .titre {
    width: auto;
    padding-left: 110px;
    padding-right: 110px;
  }
  #partof .titre:before {
    background-image: url(../images/epis_titre_gauche.jpg), url(../images/epis_titre_droit.jpg);
    background-size: 80px, 90px;
    background-position: left center, right center;
    max-width: 100%;
    top: -40px;
  }
  #partof .partenaires {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
  }
  #partof .partenaires a {
    margin-top: 40px;
  }
  #contact {
    max-width: 1060px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 120px;
    padding-top: 150px;
  }
  #contact .row {
    display: flex;
    align-items: center;
  }
  #contact .row .col {
    width: 50%;
  }
  #contact .carte {
    width: 424px;
    margin: 0;
  }
  #contact .adresses {
    width: 330px;
  }
}
/* Version > 1200 */
@media (min-width: 1200px) {
  #main {
    background-image: url(../images/fond.jpg);
    background-size: 1920px;
    background-position: center top;
    background-repeat: no-repeat;
  }
  #malt {
    padding-top: 310px;
    height: 810px;
  }
  #malt .titre {
    width: auto;
  }
  #malt .grains img.grain1 {
    top: 420px;
    left: 50%;
    transform: translateX(-390px);
  }
  #malt .grains img.grain2 {
    top: 500px;
    right: 50%;
    transform: translateX(90px);
  }
  #malt .grains img.grain3 {
    top: 530px;
    left: 50%;
    transform: translateX(-120px);
  }
  #malt .grains img.grain4 {
    top: 600px;
    left: 50%;
    transform: translateX(-30px);
  }
  #madein {
    position: relative;
    overflow: hidden;
  }
  #madein h1 {
    margin-bottom: 15px;
  }
  #madein .texte {
    margin-bottom: 0;
    height: 120px;
  }
  #madein .grains img {
    position: absolute;
  }
  #madein .grains img.grain5 {
    top: 540px;
    left: 50%;
    transform: translateX(-790px);
  }
  #madein .grains img.grain6 {
    top: 190px;
    left: 50%;
    transform: translateX(700px);
  }
  #categories {
    padding: 0 10px;
  }
  #categories a {
    height: 44px;
    position: relative;
  }
  #categories a:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin: 0 auto;
    opacity: 0;
  }
  #categories a:before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: #323437;
    margin: 0 auto;
    opacity: 0;
  }
  #categories a.active {
    border-color: #fff !important;
  }
  #categories a.active span {
    color: #fff !important;
  }
  #categories a.active:after,
  #categories a.active:before {
    opacity: 1;
  }
  #products {
    margin-top: 50px;
  }
  #products a {
    width: 280px;
  }
  #products a .content:after {
    top: -60px;
    background-size: 280px;
    height: 80px;
  }
  #story_chiffres {
    overflow: hidden;
    height: 770px;
  }
  #story_chiffres .chevaux {
    width: 1920px;
    left: 50%;
    background-size: 1920px;
    transform: translateX(-50%);
    background-image: url(../images/chevaux.png);
  }
  #story_chiffres .conteneur {
    background-color: transparent;
    padding-bottom: 60px;
  }
  #story_chiffres .row {
    display: flex;
  }
  #story_chiffres .row .col {
    width: 50%;
  }
  #story {
    text-align: left;
    max-width: 500px;
  }
  #chiffres {
    height: 650px;
    padding-top: 0;
    position: relative;
    margin-top: -240px;
  }
  #chiffres .img {
    height: 160px;
  }
  #chiffres .chiffre {
    position: absolute;
  }
  #chiffres .chiffre .content {
    padding-top: 10px;
  }
  #chiffres .chiffre:nth-of-type(1) {
    top: 60px;
    left: 0;
    z-index: 1;
  }
  #chiffres .chiffre:nth-of-type(2) {
    top: 0px;
    right: 0;
  }
  #chiffres .chiffre:nth-of-type(3) {
    top: 315px;
    left: 200px;
  }
  #news {
    text-align: left;
  }
  #news .infos {
    padding-left: 440px;
    margin-bottom: -120px;
    position: relative;
  }
  #news .texte {
    margin-left: 0;
  }
  #news .cuilliere {
    position: absolute;
    top: -270px;
    right: 50%;
    transform: translateX(960px);
  }
  #news .epi {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-1030px);
  }
  #epis {
    position: absolute;
    top: 2590px;
  }
  #partof {
    margin-top: 90px;
    height: 310px;
  }
  #contact {
    background: none;
    height: 830px;
  }
}
