/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
*{
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  height: 100%;
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  background-color: #151d29;
  font-family: 'Montserrat', sans-serif;
}
body{
  width: 100%;
  background-color: #151d29;
  position: relative;
  background: url('../img/bg_jean.jpg') no-repeat center fixed;
  box-sizing: border-box;
  -webkit-animation: slide 2s ease-in-out;
  background-size: cover;
}
@-webkit-keyframes slide {
    from { background-position: -500% 50%; }
    to { background-position: 50% 50%; }
}
@media screen and (min-height: 940px){
  body{
    height: 100vh;
  }
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles LAETI
   ========================================================================== */
.animated {
  animation-duration: 1.5s;
  animation-fill-mode: both;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.fadeInDown {
  animation-name: fadeInDown;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.fadeInUp {
  animation-name: fadeInUp;
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInLeft {
  animation-name: fadeInLeft;
}
#content{
  max-width: 1400px;
  width: 100%;
  margin: auto;
}
#wrapper{
  max-width: 600px;
  width: calc(100% - 40px);
  z-index: 10;
  padding: 170px 20px 0;
}
#wrapper header h1{
  margin: 0;
}
#wrapper header img{
  max-width: 600px;
  width: 100%;
}
#wrapper #container .block_tag{
  position: relative;
  height: 180px;
}
#wrapper #container .block_tag .tag{
  position: absolute;
  width: 720px;
  left: 110px;
  display: flex;
  align-items: baseline;
  
}
#wrapper #container .tag .tag-text{
  color: #cda787;
  font-style: italic;
  font-size: 45px;
  text-align: right;
  letter-spacing: 0.1em;
  margin: 45px 0 0;
  /*  */
  display: inline-block;
  font-weight: normal;
}
#wrapper #container .tag .tag-body{
  text-transform: uppercase;
  font-weight: 600;
  font-style: normal;
  font-size: 55px;
  letter-spacing: -0.02em;
  color: #fff;
  position: relative;
  margin: 0 0 0 20px;
  /*  */
  display: inline-block;
}
#wrapper #container .tag .bar{
  position: absolute;
  width: 70px;
  height: 8px;
  background-color: #fff;
  -webkit-animation: slideBar 5s ease-in-out infinite; /* Safari 4.0 - 8.0 */
  animation: slideBar 5s infinite;
}


/* Safari 4.0 - 8.0 */
@-webkit-keyframes slideBar {
    0%   {right: 0px;}
    50%  {right: 90px;}
    100% {right: 0px;}
}
/* Standard syntax */
@keyframes slideBar {
    0%   {right: 0px;}
    50%  {right: 90px;}
    100% {right: 0px;}
}
#wrapper #container .mobileBg{
  display: none;
}
#wrapper #container .launching{
  color: rgba(255, 255, 255, 0.15);
  text-align: right;
  font-style: normal;
  font-size: 32px;
  letter-spacing: 0;
  font-weight: 500;
}

.logo-bloc{
  /* width: 200px; */
  position: absolute;
  bottom: 10px;
  left: 20px;;
  color: #707072;
}
.logo-bloc a {
  text-decoration: none;
}
.logo-bloc a img{
  width:200px;
  vertical-align: top;
}

.logo-bloc i{
  color: #707072;
  font-size: 4px;
  margin: 0 10px
}

.logo-bloc #terms,
.logo-bloc #policy{
  color: #707072;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;

}

.logo-bloc p{
  display: inline;
}
.logo-bloc #separate_bloc{
  display: inline;
}

/* cookie*/

#cookie-law{
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  color: #fff;
  display: flex;
  align-items: center;
  font-weight: lighter;
  width: 100%;
  margin:auto;
  padding: 10px 0;
}

#cookie-law p{
  margin: auto;
  padding: 0 20px;
}

#cookie-law a{
  color: #fff
}
#cookie-law a .fa-times-circle{
  text-decoration: none;
  color: #fff
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translate3d(0, 25%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.fade_logo {
  animation-name: fade;
}
/* JEREMIE */

/* FORM */
#myForm label.alert-danger{
  position: absolute;
  bottom: 0;
  right: 0;
  color: red;
  font-size: 12px
}
/* MODAL - POPUP */
.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform .3s ease-out;
       -o-transition:      -o-transform .3s ease-out;
          transition:         transform .3s ease-out;
  -webkit-transform: translate(0, -25%);
      -ms-transform: translate(0, -25%);
       -o-transform: translate(0, -25%);
          transform: translate(0, -25%);
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
       -o-transform: translate(0, 0);
          transform: translate(0, 0);
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
          box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}
.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}
.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: .5;
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
.modal-header .close {
  margin-top: -2px;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 15px;
}
.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}


#wrapper #container .form form .validate-checkbox{
  margin: 0;
  padding: 50px 0 0;
  color: #cda687;
  font-weight: lighter;
}
#wrapper #container .form form .validate-checkbox a{
color: #fff;
line-height: 20px;
}
#wrapper #container .form form .validate-checkbox #valid_term-error {
  font-weight: normal;
}

#wrapper #container .form form .validate-checkbox .terms-text {
  font-size: 13px;
  margin: 0 30px;
}



/* **************** */

/*-------------------
  #checkbox-s style
  ------------------*/

  #check_terms {
  /* opacity: 0; */
  /* visibility: hidden; */
  z-index: -1;
  display: none;
}

#check_terms + #lbl_checkbox {
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  margin: auto;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  text-indent: -999px;
  overflow: hidden;
  border: 1px solid #fff;
  cursor: pointer;
}

#check_terms + #lbl_checkbox {
    position: absolute;
    bottom: 0;
    border: 1px solid #fff;
    background: tranparent;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
  }
  
 #check_terms + #lbl_checkbox:before {
    content: '';
    width: 10px;
    height: 10px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    margin: auto;
    background: #161C28;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    transition: 0.4s ease all;
    -moz-transition: 0.4s ease all;
    -webkit-transition: 0.4s ease all;
  }
  
  #check_terms:checked + #lbl_checkbox:before {
    background: #fff;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
  }
  
  
/* **************** */


@media screen and (max-width: 900px){
  body{
    background: inherit;
  }
  #wrapper{
    margin: auto;
    padding: 100px 20px 0;
  }
  #wrapper #container .block_tag{
    height: 100px;
  }
  #wrapper #container .block_tag .tag{
    position: inherit;
    width: 400px;
    margin: auto;
    left: 0;
  }

  #wrapper #container .block_tag .tag h2{
    margin: 35px auto 0;
  }
  #wrapper #container .tag .tag-text{
    font-size: 25px;
    text-align: center;
    letter-spacing: 0.1em;
    margin: 0;
  }
  #wrapper #container .tag .tag-body{
    font-size: 30px;
    letter-spacing: -0.02em;
    color: #fff;
    font-weight: normal;
  }
  #wrapper #container .tag .bar{
    position: absolute;
    width: 50px;
    height: 5px;
    background-color: #fff;
    -webkit-animation: slideBar 5s ease-in-out infinite; /* Safari 4.0 - 8.0 */
    animation: slideBar 5s infinite;
  }
  #wrapper #container .mobileBg{
    display: block;
    /* width: calc(100% + 40px); */
    width: 100%;
    /* margin-left: -20px; */
  }
  #wrapper #container .launching{
    text-align: center;
    font-size: 28px;
    padding: 40px 0 0;
  }
  
  
  .logo-bloc{
    position: unset;
    width: 100%;
    text-align:center;
    margin-bottom: 20px;
  }
  /* Safari 4.0 - 8.0 */
  @-webkit-keyframes slideBar {
    0%   {right: 0px;}
    50%  {right: 40px;}
    100% {right: 0px;}
  }
  /* Standard syntax */
  @keyframes slideBar {
    0%   {right: 0px;}
    50%  {right: 40px;}
    100% {right: 0px;}
  }

  .logo-bloc p{
    display: block;
  }
  .logo-bloc #separate_bloc{
    display: none;
  }
  #wrapper #container .form form .validate-checkbox #valid_term-error {
    font-weight: normal;
    bottom: -20px;
  }
  
  
}
@media screen and (max-height: 800px) and (min-width: 900px){
  #wrapper{
    max-width: 500px;
    width: calc(100% - 80px);
    padding: 120px 40px 0;
  }
  #wrapper header img{
    max-width: 500px;
    width: 100%;
  }
  #wrapper #container .block_tag{
    height: 120px;
  }
  #wrapper #container .block_tag .tag{
    width: 600px;
    left: 100px;
  }
  #wrapper #container .tag .tag-text{
    font-size: 35px;
    margin: 35px 0 0;
  }
  #wrapper #container .tag .tag-body{
    font-size: 45px;
  }
  #wrapper #container .launching{
    font-size: 28px;
  }
}
@media screen and (max-width: 500px){
  #wrapper #container .block_tag{
    height: 140px;
  }
  #wrapper #container .block_tag .tag{
    /* width: 350px; */
    flex-direction: column;
    width: unset;
  }
  
  #wrapper #container .tag h2{
    margin: auto;
    text-align: center;
  }
  #wrapper #container .tag .tag-text{
    margin: auto;
    /* margin-top: 45px; */
    display: block;
  }
  #wrapper #container .tag .tag-body{
    margin: auto;
    display: block;
  }

  .logo-bloc a img{
    width: 175px
  }

   /* Safari 4.0 - 8.0 */
   @-webkit-keyframes slideBar {
    0%   {right: 100px;}
    50%  {right: 130px;}
    100% {right: 100px;}
  }
  /* Standard syntax */
  @keyframes slideBar {
    0%   {right: 100px;}
    50%  {right: 130px;}
    100% {right: 100px;}
  }
}
@media screen and (max-height: 600px) and (min-width: 900px){
  #wrapper{
    max-width: 400px;
    width: calc(100% - 160px);
    padding: 100px 80px 0;
  }
  #wrapper header img{
    max-width: 400px;
    width: calc(100% - 40px);
    padding: 0 20px;
  }
  #wrapper #container .block_tag{
    height: 100px;
  }
  #wrapper #container .block_tag .tag{
    width: 500px;
    left: 50px;
  }
  #wrapper #container .tag .tag-text{
    font-size: 20px;
    margin: 25px 0 0;
  }
  #wrapper #container .tag .tag-body{
    font-size: 30px;
  }
  #wrapper #container .tag .bar{
    width: 60px;
    height: 6px;
    background-color: #fff;
    -webkit-animation: slideBar 5s ease-in-out infinite; /* Safari 4.0 - 8.0 */
    animation: slideBar 5s infinite;
  }
  #wrapper #container .launching{
    font-size: 24px;
  }
  
}
@media screen and (max-width: 500px){
  #wrapper{
    max-width: 400px;
    width: 100%;
    padding: 20px 0 0;
  }
  #wrapper header img{
    max-width: 400px;
    width: calc(100% - 40px);
    padding: 0 20px;
  }
}
#wrapper #container .form {
  padding: 0 0 40px;
}
#wrapper #container .form form input[type=text]{
  width: 100%;
  outline: 0;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #cda787;
  color: #ffffff;
  padding: 50px 0 5px;
}




#wrapper #container .form form .form-bottom{
  display: flex;
  margin: 50px 0 0;
}
#wrapper #container .form form .form-bottom .line{
  width: calc(100% - 340px);
  height: 1px;
  background-color: #cda787;
  margin: 25px 0 0;
}
/* ********** SOCIALS ********** */
#wrapper #container .form form .form-bottom .socials{
  padding: 0 10px;
  display: flex;
}
#wrapper #container .form form .form-bottom .socials .btn{
  background-size: cover;
  width: 40px;
  height: 40px;
  transition: .2s ease-in-out;
  margin: 5px;
}
#wrapper #container .form form .form-bottom .socials .btn:hover{
  background-image: url(../img/social_fb_hov.png);
  cursor: pointer;
}
/* ********** FB ********** */
#wrapper #container .form form .form-bottom .socials .fb{
  background-image: url(../img/social_fb.png);
}
#wrapper #container .form form .form-bottom .socials .fb:hover{
  background-image: url(../img/social_fb_hov.png);
}
/* ********** INSTA ********** */
#wrapper #container .form form .form-bottom .socials .insta{
  background-image: url(../img/social_insta.png);
}
#wrapper #container .form form .form-bottom .socials .insta:hover{
  background-image: url(../img/social_insta_hov.png);
}
/* ********** TWITTER ********** */
#wrapper #container .form form .form-bottom .socials .twitter{
  background-image: url(../img/social_twitter.png);
}
#wrapper #container .form form .form-bottom .socials .twitter:hover{
  background-image: url(../img/social_twitter_hov.png);
}
/* JEREMIE */
#envoyer{
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  padding: 0 14px;
  height: 45px;
  border-radius: 10px;
  background-color: #cda787;
  border: inherit;
  outline: 0;
  cursor: pointer;
}
@media screen and (max-width: 400px){
  #wrapper #container .block_tag{
    height: 140px;
  }
  #wrapper #container .tag .tag-text{
    margin: auto;
    /* margin-top: 25px; */
  }
  #wrapper #container .tag{
    width: unset !important;
    left: 0 !important;
  }
  #wrapper #container .block_tag .tag{
    left: 0;
  }
  form#myForm{
    padding: 0 20px;
  }
  #envoyer{
    font-size: 16px;
  }


   
}


@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }
  .modal-sm {
    width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}

.modal-header:before,
.modal-header:after,
.modal-footer:before,
.modal-footer:after {
  display: table;
  content: " ";
}

.modal-header:after,
.modal-footer:after {
  clear: both;
}

#myModal .close{
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: .2;
}

#myModal .btn{
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

#myModal .btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}


/* END JEREMIE */
#cover{
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
