body {
  margin: 30px;
  font-size: 0.85em;
}
header {
  padding-top: 20px;
  margin-bottom: 50px;
}
h1,h2,h3 {
  margin: 0;
  padding: 0;
}
h2 {
  font-size: 1.4em;
  text-transform: uppercase;
  text-decoration: underline;
}
h3 { 
  font-style: italic;
  font-size: 1.2em;
}
h2,h3 {
  margin-bottom: 15px;
}
a {
  color:  #808080;
  text-decoration: none;
}
a:hover, a:focus {
  color:  #9D162E;
  text-decoration: none;
}
.text-center {
  text-align: center;
}
.text-bold {
  font-weight: bold;
}
.flags {
  text-align: right;
  margin-top: 15px;
}
.blur {
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
}
.margin-title {
  margin-top: 15px;
}
.container {
  width: 110%;
  border: 1px solid red;
  padding: 0;
  margin: 0;
}
.curved-corner-topleft, .curved-corner-bottomleft, .curved-corner-topright, .curved-corner-bottomright {
  z-index: 999;
  width: 30px;
  height: 30px;
  overflow: hidden;
  position: absolute;
}
.curved-corner-topleft:before, .curved-corner-bottomleft:before, .curved-corner-topright:before, .curved-corner-bottomright:before {
  content: "";
  display: block;
  width: 200%;
  height: 200%;
  position: absolute;
  border-radius: 50%;
}
.curved-corner-topleft:before {
  top: 0;
  left: 0;
  box-shadow: -30px -30px 0 0 white;
}
.curved-corner-bottomleft:before {
  bottom: 0;
  left: 0;
  box-shadow: -30px 30px 0 0 white;
}
.curved-corner-topright:before {
  top: 0;
  right: 0;
  box-shadow: 30px -30px 0 0 white;
}
.curved-corner-bottomright:before {
  bottom: 0;
  right: 0;
  box-shadow: 30px 30px 0 0 white;
}
.bottom-corner-left {
  position: absolute; 
  bottom: 30px;
}
.top-corner-right {
  position: absolute; 
  top: 0;
  right: 30px;
}
.bottom-corner-right {
  position: absolute; 
  bottom: 30px;
  right: 30px;
}
.bottom-corner-wid {
  position: absolute; 
  bottom: -1px;
  right: -1px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("/resources/images/corner-wid.png");
  z-index: 1000;
  width: 175px;
  height: 105px;
}
.content {
  margin: 0;
  padding: 0;
}
.content-text {
  background-color: #ebebeb;
  background-attachment: scroll;
  padding: 40px 50px 30px 50px;
  margin: 0 -1px;
  text-align: justify;
  height: 100vh;
  overflow-y: auto;
  z-index: 1;
}
.content-image {
  height: 100vh;
  position: relative;
  padding: 0;
  margin: 0;
}
/* start lag with chrome on mobile */
.carousel-wrapper { 
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}
.owl-carousel .owl-wrapper-outer{
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}
.owl-item { 
  transform: translateZ(0);
 -webkit-transform: translateZ(0); 
 -ms-transform: translateZ(0); 
}
/* end lag with chrome on mobile */
.background-image {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
.image-credits {
  position: absolute;
  font-size: 12px;
  line-height: 15px;
  padding: 5px;
  height: 25px;
  bottom: 0;
  background: #808080;
  opacity: 0.7;
  color: white;
}
.credits-left {
  left: 0;
}
.credits-right {
  right: 0;
}
#image-1 {
  background-image: url("/resources/images/anselme-guillaume.jpg");
}
#image-2 {
  background-image: url("/resources/images/guillaume.jpg");
}
#image-3 {
  background-image: url("/resources/images/bouchons.jpg");
}
#image-4 {
  background-image: url("/resources/images/bouteille-wid.jpg");
}
.dots-container {
  z-index: 999; 
  margin: 0 auto; 
  text-align: center; 
  position: relative; 
  bottom: 30px; 
  width: 100%; 
  height: 30px;
}
#gallery-modal .dots-container {
  bottom: 10px; 
}
.ambassadors {
  text-align: center;
  font-weight: bold;
  margin-top: 30px;
}
#image-galerie {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url("/resources/images/galerie.jpg");
  height: 200px;
  position: relative;
  border-radius: 25px;
  color: white;
  text-align: center;
  font-size: 2em;
  padding-top: 75px;
}
.spacer {
  margin-top: 80px;
}
.modal-carousel {
  background-color: transparent;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
#gallery-modal .modal-title {
  color: white;
}
.carousel-gallery .modal-body {
  overflow: hidden;
}
.owl-prev {
  width: 50px;
  height: 100px;
  position: absolute;
  top: 40%;
  left: -20px;
  display: block !important;
  border:0px solid black;
}
.owl-next {
  width: 50px;
  height: 100px;
  position: absolute;
  top: 40%;
  right: -25px;
  display: block !important;
  border:0px solid black;
}
.owl-prev i, .owl-next i {
  transform: scale(3,6); 
  color: #ccc;
}
.background-image-gallery {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: relative;
}
#image-gallery-1 {
  background-image: url("/resources/images/carousel/carousel-selosse-1.jpg");
}
#image-gallery-2 {
  background-image: url("/resources/images/carousel/carousel-selosse-2.jpg");
}
#image-gallery-3 {
  background-image: url("/resources/images/carousel/carousel-selosse-3.jpg");
}
#image-gallery-4 {
  background-image: url("/resources/images/carousel/carousel-selosse-4.jpg");
}
#image-gallery-5 {
  background-image: url("/resources/images/carousel/carousel-selosse-5.jpg");
}
#image-gallery-6 {
  background-image: url("/resources/images/carousel/carousel-selosse-6.jpg");
}
#image-gallery-7 {
  background-image: url("/resources/images/carousel/carousel-selosse-7.jpg");
}
#image-gallery-8 {
  background-image: url("/resources/images/carousel/carousel-selosse-8.jpg");
}
#image-gallery-9 {
  background-image: url("/resources/images/carousel/carousel-selosse-9.jpg");
}
#image-gallery-10 {
  background-image: url("/resources/images/carousel/carousel-selosse-10.jpg");
}
footer {
  overflow-x: hidden;
  margin: -30px;
  height: 200px;
  background-color: #ebebeb;
}
.footer-top {
  height: 80px;
}
.footer-top img {
  padding-top: 35px;
}
.designed {
  padding-right: 50px;
  padding-top: 25px;
  color: #808080;
  font-size: 0.9em;
  text-align: right;
}
.social {
  padding-top: 10px;
  text-align: center;
  color: #808080;
}
hr {
  border-top: 1px solid #808080;
}
.owl-dot-custom {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #9D162E;
}
#checkbox-age {
  width: 10%;
  padding-top: 15px;
  text-align: center;
}
#label-age {
  width: 90%;
}
#button-age-modal {
  visibility: hidden;
  height: 0px;
  display: none;
}
@media (max-width: 1024px) {
  .content-text {
    padding: 30px;
  }
}
@media (max-width: 768px) {
  body {
    margin: 30px;
    font-size: 0.84em;
  }
  header {
    padding-top: 20px;
    margin-bottom: 30px;
  }
  .flags {
    text-align: center;
  }
  .re-order .row {
    display: flex;
    display: -ms-flex;
    flex-direction: column;
  }
  .re-order .row .first {
    order: 2;
  }
  .re-order .row .second {
    order: 1;
  }
  .content-text {
    padding: 20px;
  }
  .bottom-corner-wid {
    width: 150px;
    height: 89px;
  }
  .designed {
    padding-right: 0px;
    padding-top: 10px;
    text-align: center;
  }
  .social {
    padding-top: 0px;
  }
  .curved-corner-topleft, .curved-corner-bottomleft, .curved-corner-topright, .curved-corner-bottomright {
    width: 0;
    height: 0;
  }
}
@media (max-height: 1000px) and (min-width: 1200px) {
  body {
    font-size: 1em;
  }
}
@media (max-height: 1000px) and (max-width: 1024px) {
  body {
    font-size: .9em;
  }
}
@media (max-height: 1000px) and (max-width: 768px) {
  body {
    font-size: 1em;
  }
}
@media (max-height: 800px) {
  body {
    font-size: .86em;
  }
}