/* -------------------------------- 

Primary style

-------------------------------- */
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.img-replace {
  /* replace text with an image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
}

/* -------------------------------- 

Main components 

-------------------------------- */

.cd-popup-trigger {
  display: block;
}
@media only screen and (min-width: 1170px) {
  .cd-popup-trigger {
    margin:auto;
  }
}

/* -------------------------------- 

xpopup 

-------------------------------- */
.cd-popup {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0,0,0, 0.8);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
  position: relative;
  width: 90%;
  max-width: 600px;
  margin: 4em auto;
  padding-bottom: 20px;
  background: #FFF;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translateY(-40px);
  -moz-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  -o-transform: translateY(-40px);
  transform: translateY(-40px);
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.cd-popup-container p {
  padding: 2em 2em 0em 2em;
  font-size: 14px;
}
.cd-popup-container .cd-buttons:after {
  content: "";
  display: table;
  clear: both;
}

.cd-popup-container .cd-popup-close {
  position: absolute;
  top: 25px;
  right: 28px;
  width: 40px;
  height: 40px;
  border: 2px solid rgb(255,235,0);
  border-radius: 20px;
}
.cd-popup-container .cd-popup-close::before, .cd-popup-container .cd-popup-close::after {
  content: '';
  position: absolute;
  top: 16px;
  width: 14px;
  height: 3px;
  background-color: rgb(255,235,0);
}
.cd-popup-container .cd-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 11px;
}
.cd-popup-container .cd-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 11px;
}
.is-visible .cd-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
@media only screen and (min-width: 1170px) {
  .cd-popup-container {
    margin: 8em auto;
  }
}

.boxDeConnexion > .titrePopup { background-color: rgb(255,235,0); }
.boxDeConnexion > .titrePopup > h1 { color: rgb(90,76,64); }

.boxDeConnexion { margin-top: 25%; margin-bottom: 25%; }
@media (max-height: 900px) {
  .boxDeConnexion { margin-top: 10%; margin-bottom: 10%; }
}

.popup { 
    border-bottom-left-radius: 20px; 
    border-bottom-right-radius: 20px;
    padding: 10% 20%;
    background-color: #FFF;
}
.titrePopup {
    width: 100%;
    height: 90px;
    background-color: rgb(90,76,64); 
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
.cd-popup-container > .titrePopup > h1 { 
    color: rgb(255,235,0);
    font-family: 'Weber-Regular',sans-serif;
    font-weight: normal;
}

.contenuPopup { margin: 20px 40px 20px 40px; }

.picto-popup { 
    position: absolute;
    top:25px;
    left:30px;
}





















