/* === === === === === === === === === === === === === === === === === === */
/* Author : Aurélien BOBENRIETH === */
/* Author URI : aurelienbobenrieth.fr === */
/* Author Email : hello@aurelienbobenrieth.fr === */
/* Last update : 10/07/2017 === */
/* === === === === === === === === === === === === === === === === === === */
/* === === === LAYOUT === === === */
.space-30 {
  margin-bottom: 30px;
}

/* === === === === === === === === === === === === === === === === === === */
/* === === === HOME PAGE === === === */
/* === === === === === === === === === === === === === === === === === === */
/* === === === HEADER === === === */
.btnsHeader {
  /*  display : flex;  */
}

/* === === === SLIDER === === === */
.advanced-slide-product {
  height: auto !important;
}

.advanced-slide-product a {
  padding-bottom: 10px !important;
}

.advanced-slide-product p.grid-link__meta {
  font-size: 18px !important;
}

.slider-advanced {
  height: 425px;
}

.flexslider.slider-advanced p.grid-link__meta {
  color: #fff;
}


/* === === === PRODUCT SHOWCASE === === === */
.related-products-section>div>div>a p.grid-link__meta,
div#shopify-section-1482014497127 .grid-uniform>div>div>a p.grid-link__meta,
div#shopify-section-1488989491664 .grid-uniform>div>div>a p.grid-link__meta,
.advanced-slide-product>a p.grid-link__meta {
  position: relative;
  right: 0;
  bottom: 0px;
  font-size: 18px;
  color: #393B47;
}

.product .grid-link__meta {
  color: #393B47;
}

.related-products-section a.grid-link p,
div#shopify-section-1482014497127 a.grid-link p,
div#shopify-section-1488989491664 a.grid-link p,
.advanced-slide-product a.grid-link p {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 10px;
}

.grid-link__sale_price {
  opacity: 0.65;
  filter: alpha(opacity=65);
}

.related-products-section>div>div,
.related-products-section>div>div>a,
div#shopify-section-1482014497127 .grid-uniform>div>div,
div#shopify-section-1482014497127 .grid-uniform>div>div>a,
div#shopify-section-1488989491664 .grid-uniform>div>div,
div#shopify-section-1488989491664 .grid-uniform>div>div>a,
.advanced-slide-product,
.advanced-slide-product a {
  height: auto !important;
}



/* === === === === === === === === === === === === === === === === === === */
/* === === === CONTACT PAGE === === === */
/* === === === === === === === === === === === === === === === === === === */
/* === === === CONTACT FORM === === === */

#contactKitboisConsoleEBF {
  width: 100%;
  max-width: 100%;
}

#contactKitboisConsoleEBFSurMesure {
  width: 100%;
  height: 100vh;
}

/* === === === === === === === === === === === === === === === === === === */
/* === === === 404 / UNDER CONSTRUCTIONS === === === */
/* === === === === === === === === === === === === === === === === === === */
.btn-equal .btn:first-child {
  margin-right: 10px;
}

.btn-equal .btn {
  margin-bottom: 10px;
}


/**
*	Projet sur mesure
*/

/**
*  ALL
*/

/* Fonts */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 1.5em;
}

p.success-message {
  display: inline-block;
  padding: 15px;
  border: solid 1px #30aa53;
  background: #30aa53cd;
  border-radius: 3px;
  color: #fff;
  font-size: var(--font-size);
    margin-top: 30px;
    }
p.success-message.error {
  border: solid 1px #be261c;
  background: #e02b20;
}
.one-half .success-message {
  width: 75%;
  margin: 30px auto;
  display: block;
}

.hidden,
.hidden-inputs {
  display: none !important;
}

.grid {
  margin-left: -30px;
}

.grid-item {
  margin-left: 30px;
}

.one-whole {
  width: 100%;
}

.one-half {
  width: 50%;
  overflow-x: hidden;
  position: relative;
}

.one-quarter {
  width: 25%;
}

.sticky-elem.active {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 100%;
}

.squared-elem {
  position: relative;
  height: 0 !important;
  padding-top: 100%;
}

.squared-elem img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/* Loader */

.sending-loader,
.newimg-loader {
  pointer-events: none;
  opacity: 0;
  transition: 0.25s ease-in-out;
  position: relative;
}

.newimg-loader .loadingCanvas {
  position: absolute !important;
}

.showbox {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5%;
}

.loader {
  position: relative;
  margin: 0 auto;
  width: var(--width);

    }

.loader:before {
  content: '';
  display: block;
  padding-top: 100%;
}

.circular {
  animation: rotate 2s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
  stroke-linecap: round;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}

@keyframes color {

  100%,
  0% {
    stroke: var(--green);
      }

  40% {
    stroke: var(--charcoal);
      }

  66% {
    stroke: var(--green);
      }

  80%,
  90% {
    stroke: var(--charcoal);
      }
}

.loadingCanvas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  z-index: 999999;
}



/**
*  KITBOIS
*/

/* *** *** CONTACT *** *** */
.kb-form {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
}

.kb-input,
.kb-textarea {
  padding: 10px;
  color: #333 !important;
  border: solid 1px #ddd;
  display: block;
  max-width: 100%;
  font-size: 16px;
  margin-bottom: 15px !important;
  margin-left: 15px !important;
}

.kb-textarea {
  min-height: 200px;
}

.kb-button {
  background: #30aa53;
  color: #fff;
  padding: 8px 16px;
  text-transform: uppercase;
  transition: 0.25s ease-in-out;
  border: 0;
  outline: 0;
  cursor: pointer;
  margin-left: auto !important;
}

.kb-button:hover {
  opacity: 0.6;
}

.kb-half {
  width: calc(50% - 15px) !important;
}

.kb-quarter {
  width: calc(25% - 15px) !important;
}

.kb-whole {
  width: calc(100% - 15px) !important;
}

.message {
  font-size: 16px;
  line-height: 18px;
  margin-top: 30px;
  color: #555;
}

/* *** *** SUR MESURE *** *** */

.advanced-form {
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .1);
  box-sizing: border-box;
  width: 75%;
  margin: 0 auto;
}

.advanced-form-module {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.advanced-form-module .right-part {
  padding: 60px 30px;
  margin-left : auto;
}

.advanced-form-module * {
  font-family: var(--main-font);
    box-sizing: border-box;
    }

.image-container {
  position: relative;
  display: flex;
  height: 100vh;
  width: 100%;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50%;
  padding-right: 30px;
}

.image-container span {
  position: absolute;
  bottom: 0;
  padding: 10px;
  border-radius: 3px;
  background: #fff;
  width: calc(100% - 60px);
  margin: 15px;
  box-shadow: 0 0.1rem 3rem rgba(0, 0, 0, 0.15);
}

.advanced-form .fieldset-tweak {
  margin-bottom: 60px;
  padding: 0;
  border: none;
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  position : relative;
  z-index : 0;
}

.advanced-form .fieldset-tweak>* {
  padding-left: 15px;
}

.advanced-form .fieldset-tweak>.field-container {
  display: flex;
  flex-wrap: wrap;
}

.advanced-form .fieldset-tweak legend {
  padding: 0;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 30px;
  padding-left: 45px;
  position: relative;
  line-height: 1.5em;
  color: var(--black);
    width: 100%;
    z-index : 2;
    }

.advanced-form .fieldset-tweak legend:before {
  content: attr(data-nth);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  color: var(--white);
    font-family: var(--secondary-font);
      font-size: 60px;
      font-weight: bold;
      z-index: -1;
      }

.advanced-form .fieldset-tweak p,
.advanced-form .fieldset-tweak input,
.advanced-form .fieldset-tweak label {
  color: var(--black);
    font-size: var(--font-size);
      }

.advanced-form label {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
}

.advanced-form label .image-container {
  position: relative;
  height: 0;
  padding: 50%;
  margin-bottom: 10px;
}

.advanced-form label .image-container img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 25%;
  border: solid 1px var(--white);
    }

.advanced-form input[type="submit"] {
  width: 100%;
  border: none;
  padding: 15px;
  outline: none;
  text-transform: uppercase;
  font-size: 18px;
  font-family: var(--secondary-font);
    background: var(--main-color);
      cursor: pointer;
      transition: 0.25s ease-in-out;
      }

.file-input-field button:hover,
.advanced-form input[type="submit"]:hover {
  background: var(--secondary-color);
    }

.field-container {
  margin-bottom: 20px;
}

.constructions-container {
  margin-left: -30px;
}

.constructions-container .one-quarter {
  padding-left: 30px;
  transition: 0.25s ease-in-out;
}

.constructions-container .one-quarter * {
  transition: 0.25s ease-in-out;

}

.constructions-container div:not(#precision-field) input {
  display: none;
  margin-left: -30px;
}

.constructions-container label {
  cursor: pointer;
}

.constructions-container input:checked+label img {
  background: var(--main-color);
    }

#precision-field {
  display: none;
}

#precision-field.active {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.range-slider {
  display: flex;
  flex-direction: column;
}

.range-slider label {
  margin-right: auto;
}

#precision-field label {
  transition: 0.25s ease-in-out;
  bottom: 0;
}

#precision-field.is-focused-not-empty label {
  bottom: 25px;
}

.text-container label {
  position: absolute;
  pointer-events: none;
  transition: 0.25s ease-in-out;

}

.text-container input {
  border: 0;
  border-bottom: solid 1px #33333333;
  width: 100%;
  outline: none;
  margin: 0;
  padding-top: 0;
  transition: 0.25s ease-in-out;
}

.text-container.is-focused-not-empty input,
.text-container.is-focused-not-empty textarea {
  margin-top: 30px;
}

.text-container.is-focused-not-empty label {
  opacity: 0.6;
}

.text-container textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  outline: 0;
  transition: 0.25s ease-in-out;
  border: solid 1px #33333333;
}

.textarea-container {
  margin-top: 15px;
  position: relative;
}

.textarea-container label {
  transition: 0.25s ease-in-out;
  left: 15px;
  top: 0;
}

.textarea-container:not(.is-focused-not-empty) label {
  top: 10px;
  left: 30px;
}

#nomail {
  display: none;
}

.email-toggle {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.email-toggle label {
  cursor: pointer;
  position: relative;
  margin: auto 0;
}

.email-toggle .toggle-box-label {
  display: block;
  width: 50px;
  height: 28px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.25s ease-in-out;
  background-color: #f6f6f6;
  overflow: hidden;
  user-select: none;
  border: solid 1px #33333333;
  margin-right: 10px;
}

.toggle-box-label::before {
  content: "";
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 2px;
  width: 20px;
  height: 20px;
  border: solid 1px #33333333;
  background-repeat: no-repeat;
  background-size: cover;
  transition: 500ms;
}

#nomail:checked+.toggle-box-label {
  background-color: var(--main-color);
    }

#nomail:checked+.toggle-box-label::before {
  content: "";
  left: 100%;
  transform: translateX(calc(-100% - 3px));
}

#disable-mail.disabled {
  opacity: 0.25;
  transition: 0.25s ease-in-out;
}

#disable-mail.disabled input {
  transition: 0.25s ease-in-out;
  background: none;
}

.call-container>* {
  width: 50%;
}

.livraison-container>label,
.call-container>label {
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
}

.livraison-container> :first-child {
  width: 40%;
}

.livraison-container> :last-child {
  width: 60%;
}

.livraison-container {
  flex-wrap: nowrap !important;
}

.radio-container,
.checkbox-container {
  display: flex;
  margin-left: 10px;
  width: calc(50% - 10px);
  border: solid 1px #33333333;
}

.radio-container label,
.checkbox-container label {
  width: calc(100% / 3);
  cursor: pointer;
  padding: 10px;
  text-transform: uppercase;
  transition: 0.25s ease-in-out;
  margin : 0;
}

.radio-container label {
  width: calc(100% / 2);
}

.radio-container label:nth-of-type(2),
.checkbox-container label:nth-of-type(2) {
  border-left: solid 1px #33333333;
  border-right: solid 1px #33333333;
}

.radio-container label:nth-of-type(2) {
  border-right: none;
}

.radio-container input,
.checkbox-container input {
  display: none;
}

.radio-container input:checked+label,
.checkbox-container input:checked+label {
  background-color: var(--main-color);
    }

.rangeslider {
  margin: auto 20px;
  position: relative;
  cursor: pointer;
  width: 100%;
}

.range-values {
  display: flex;
}

.selected-value {
  margin: 0 auto;
  margin-top: 5px;
  font-size: var(--font-size);
    padding: 5px 10px;
    background: #f6f6f6;
    border-radius: 5px;
    }

.rangeslider.rangeslider--horizontal {
  height: 3px;
  background-color: #33333333;
  border-radius: 0;
}

.rangeslider.rangeslider--horizontal.rangeslider--active .rangeslider__handle {
  background-color: var(--main-color);
    }

.rangeslider .rangeslider__fill {
  height: 3px;
  background-color: var(--main-color);
    border-radius: 0;
    }

.rangeslider .rangeslider__handle {
  width: 16px;
  height: 16px;
  border: 3px solid var(--main-color);
    background-color: var(--main-color);
      border-radius: 50%;
      position: absolute;
      top: -7px;
      }

input[type="range"] {
  width: 100%;
}

.file-input-field {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.file-input-field label {
  display: none;
}

.file-input-field button {
  font-size: var(--font-size);
    text-transform: none;
    width: 40%;
    margin: 0 auto;
    border: none;
    padding: 10px;
    font-family: var(--main-font);
      background: var(--main-color);
        cursor: pointer;
        transition: 0.25s ease-in-out;
        position: absolute;
        z-index: 2;
        left: 30%;
        top: 90px;
        outline: none;
        box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1);
        }

.file-input-field button::before {
  content: "";
  background: url('//cdn.shopify.com/s/files/1/1642/5841/files/picto-upload.png?8242759010154106190');
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: absolute;
  width: 40px;
  height: 40px;
  object-fit: contain;
  outline: none;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
}

.input-file-field-rect {
  margin-top: 15px;
}

.input-file-field-rect .form-control-file {
  position: relative;
  width: 100%;
  visibility: hidden;
  cursor: pointer;
  height: 190px;
  padding : 0;
  margin : 0;
}

.input-file-field-rect .form-control-file:before {
  content: attr(data-title);
  position: absolute;
  width: 100%;
  height: 190px;
  opacity: 1;
  visibility: visible;
  text-align: center;
  border: 2px dashed #33333333;
  transition: 0.25s ease-in-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  font-size: var(--font-size);
    background: var(--white);
      padding-top: 125px;
      }

.phrase-container {
  position: relative;
  margin-bottom: 60px;
}

.phrase-container .backphrase {
  left: 0;
  transform: translateX(0) translateY(-50%);
  z-index: 0;
  color: var(--white) !important;
    text-transform: uppercase;
    font-size: 120px;
    position: absolute;
    top: 50%;
    text-align: center;
    white-space: nowrap;
    max-width: calc(100vw - 40px);
    overflow: hidden;
    }

.phrase-container h2 {
  color: var(--black) !important;
    font-size: 50px;
    width: 75%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    }

.grey-text {
  background: var(--white);
    padding: 20px;
    border-left: solid 4px var(--main-color);
      width: 75%;
      margin: 0 auto;
      color: var(--black);
        margin-bottom: 60px;
        }
.popup-bg{
  position : fixed;
  z-index : 99999999999999 !important;
  top : 0;
  left : 0;
  bottom : 0;
  right : 0;
  pointer-events : all;
  opacity : 1;
  transition : 0.25s ease-in-out;
}

.popup-bg.disabled{
  pointer-events : none;
  opacity : 0;
}

.success-message {
  border: solid 2px #049372;
  background: #30aa53;
  border-radius: 3px;
  color: #fff;
  font-size: var(--font-size);
    font-family: 'Helvetica', 'Helvetica Neue', sans-serif;
    margin-bottom: 30px;
    display: flex;
    position: fixed;
    top: 20%;
    transform: translateX(-50%) translateY(-50%);
    left: 50%;
    }

.success-message.error{
  border: solid 1px #be261c;
  background: #e02b20;
}
.success-message p{
  padding: 15px;
  margin : 0;
}

.success-message span{
  color: white;
  cursor: pointer;
  padding : 15px;
}

.advanced-form .g-recaptcha{
  margin-bottom : 30px;
  margin-top : -30px;
}

.kb-form .g-recaptcha{
  margin-left : 15px;
}

@media screen and (max-width: 1024px) {
  .one-half {
    width: 100%;
  }

  .squared-elem {
    padding-top: 50%;
    margin-bottom: 30px;
  }

  .image-container img {
    padding-right: 0;
  }

}

@media screen and (max-width: 635px) {

  .one-half .success-message,
  .grey-text,
  .phrase-container h2,
  .advanced-form {
    width: 100%;
  }
}

:root {
  --main-color: #30AA53;
    --secondary-color: #94c6a0;
    --black: #393c48;
    --white: #f6f6f6;
    --main-font: 'Helvetica', 'Helvetica Neue', sans-serif;
    --secondary-font: 'Helvetica', 'Helvetica Neue', sans-serif;
    --font-size: 16px;
    --green: #30aa53;
    --charcoal: #393B47;
    --width: 75px;
  }