html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.shade-finder .slick-arrow {
  outline: 0 !important;
  border: 0px !important;
}
.shade-finder button {
  outline: 0 !important;
  border: 0px !important;
}
.shade-finder {
  /* max-height: 456px;*/
  display: block;
  transition: all ease-in-out 0.8s;
  overflow: hidden;
}

/*-------------------------*/
/*------bouton expand -----*/
/*-------------------------*/
.shade-finder__btn {
  color: #333;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Gotham SSm book A", "Gotham SSm book B", "Gotham Book",
    Helvetica, Arial, sans-serif;
  font-size: 20px;
  border-bottom: 1px solid;
  display: inline-block;
  position: relative;
  margin: 0;
  margin-top: 50px;
}
.shade-finder__btn::after {
  content: " ";
  width: 40px;
  height: 40px;
  background-image: url(images/button-expand.svg);
  background-size: 40px 40px;
  display: block;
  position: absolute;
  top: calc(50% - 20px);
  right: -50px;
  transition: transform ease-in-out 0.5s;
  transform: rotate(180deg);
}
.shade-finder[data-open="1"] .shade-finder__btn::after {
  transform: rotate(0deg);
}
/*-------------------------*/

/*.shade-finder[data-open="1"] {
  max-height: 1525px;
}*/
.shade-finder__header {
  height: 456px;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

/*--------------------------------------------*/

.shade-finder {
  background: linear-gradient(to bottom, #faece2, #f8dfd6);
  width: 100%;
  margin: 0 auto;
}
.shade-finder__header {
  padding: 0 40px;
  max-width: 1250px;
  margin: 0 auto;
  width: 100%;
  z-index: 2;
  position: relative;
}
.shade-finder__background {
  display: block;
  width: 1250px;
  z-index: 1;
  position: absolute;
  left: calc(50% - 625px);
  top: 0;
}
.shade-finder__background img {
  margin-right: 0;
  margin-left: auto;
  display: block;
}

@media (min-width: 1170px) {
  .shade-finder__base {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
  }
  .shade-finder {
    /*position: absolute;*/
    width: 2000px;
    margin-left: -415px;
  }
}

.shade-finder * {
  box-sizing: border-box;
}

.shade-finder__main-title {
  font-family: "ClarinsRegular", "Clarins";
  font-size: 200px;
  line-height: 0;
  margin: 0;
  font-weight: normal;
  overflow: hidden;
  display: inline-block;
  color: #b17963;
  padding-top: 75px;
}

.shade-finder__main-title span {
  font-size: 0.32em;
  line-height: 1em;
  display: inline-block;
  margin-right: 0.5em;
}

.shade-finder__main-title strong {
  display: block;
  font-weight: normal;
  line-height: 1em;
  margin-top: -0.25em;
  margin-left: 0.6em;
  background: -webkit-linear-gradient(45deg, #e1a48d, #563609);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*-------------------------------------------*/
.shade-finder__push {
  max-width: 1170px;
  margin: 0 auto;
  padding-bottom: 70px;
  position: relative;
  height: 406px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.shade-finder__push-background {
  width: 100%;
  max-width: 1170px;
  z-index: 1;
  position: relative;
}
.shade-finder__push-box {
  background-color: #fff;
  z-index: 2;
  position: relative;
  text-align: center;
  padding: 40px;
  width: 540px;
  height: 230px;
  position: absolute;
  left: calc(50% - 270px);
  top: calc(50% - 115px - 35px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shade-finder__push-title {
  font-size: 35px;
  font-family: "ClarinsRegular", "Clarins";
  line-height: 1em;
  margin: 0;
  font-weight: normal;
  color: #333;
}
.shade-finder__push-text {
  margin: 0px auto;
  margin-top: 20px;
  font-size: 16px;
  font-family: "Gotham SSm medium A", "Gotham SSm medium B", "Gotham Medium",
    "GothamMedium", Helvetica, Arial, sans-serif;
  line-height: 1.4em;
}
.shade-finder__push-cta {
  margin: 0;
  margin-top: 20px;
}
.shade-finder__push-cta a {
  background-color: #fff;
  display: inline-block;
  color: #333;
  padding: 14px 22px;
  text-decoration: none;
  font-size: 14px;
  line-height: 15px;
  font-family: "Gotham SSm medium A", "Gotham SSm medium B", "Gotham Medium",
    Helvetica, Arial, sans-serif;
  cursor: pointer;
  border: 1px solid #e7e4e2;
  min-width: 122px;
  text-align: center;
  border-radius: 5px;
  box-sizing: border-box;
  position: relative;
}

.shade-finder__push-cta a::after {
  content: " ";
  display: block;
  position: absolute;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border: #b40024 solid 2px;
  border-radius: 7px;
  opacity: 0;
  left: -3px;
  top: -3px;
  pointer-events: none;
  box-sizing: border-box;
}

/*------------------------------------------------*/
.shade-finder__push-cta a:focus::after {
  opacity: 1;
}
.shade-finder__push-cta a:hover {
  color: #b40024;
}
.shade-finder__push-cta a:active::after {
  opacity: 1;
}

/*-------responsive-------*/

@media (max-width: 1170px) {
  .shade-finder__main-title {
    font-size: 18vw;
  }
  .shade-finder__push {
    height: auto;
  }
  .shade-finder__background {
    left: 0;
    width: 100%;
  }
  .shade-finder__push-background {
    left: 0;
    width: 100%;
  }
  .shade-finder__background img {
    width: 30%;
  }
  .shade-finder__push-background img {
    width: 100%;
  }
}
@media (max-width: 1023px) {
  .shade-finder[data-open="0"] {
    /* max-height: 386px;*/
  }
  .shade-finder__header {
    height: auto;
  }

  .shade-finder__background {
    width: 100%;
    left: 0;
  }
  .shade-finder__background img {
    transform: scale(0.6);
    transform-origin: top right;
  }

  .shade-finder__main-title {
    font-size: 18vw;
    text-align: left;
    padding-top: 30px;
  }

  .shade-finder__push-box {
    padding: 20px;
    height: calc(100% - 70px);
    top: 0;
    width: 44%;
    left: 28%;
  }
}
@media (max-width: 761px) {
  /*.shade-finder[data-open="0"] {
    max-height: 170vw;
  }
   .shade-finder[data-open="1"] {
    max-height: 700vw;
  }*/

  .shade-finder__header {
    padding: 0;
    height: 40vw;
  }

  .shade-finder__main-title {
    font-size: 24vw;
    text-align: left;
    padding-top: 8vw;
    margin: 0 auto;
  }

  .shade-finder__push {
    height: auto;
    padding: 0;
  }
  .shade-finder__push-box {
    padding: 20px;
    height: 33.33%;
    top: 33.33%;
    width: 100%;
    left: 0;
  }
  .shade-finder__background {
    display: block;
    top: 0;
  }
  .shade-finder__background img {
    transform: none;
    width: 100%;
  }
  .shade-finder__btn {
    margin: 0;
    font-size: 18px;
    position: absolute;
    top: 150vw;
    left: 50%;
    transform: translateX(calc(-50% - 25px));
    white-space: nowrap;
  }
  .shade-finder__text {
    text-align: center;
  }
}
/*---EDITS---*/
.shade-finder__background img {
  width: 40%;
}

.shade-finder__main-title strong {
  margin-left: 0.2em;
}

/*iPad Air Landscape*/
@media only screen
and (min-device-width : 834px)
and (max-device-width : 1112px)
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 2) {
  .shade-finder__background img {
    width: 25%;
    margin-top: 83px;
    margin-right: 25px;
  }

  .shade-finder__background img {
    margin-top: 223px;
    margin-right: 20px;
    width: 21%;
  }
}

@media only screen
and (min-device-width : 834px)
and (max-device-width : 1112px)
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 2) {
  .shade-finder__push-box {
    height: calc(100% - 73px);
  }
}

/*iPhone 6/7/8*/
@media only screen and (max-width : 761px) {
  .shade-finder__main-title {
    font-size: 70px;
  }

  .shade-finder__background img {
    width: 97%;
    margin-left: 2%;
    margin-top: 63%;
  }
}