/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 20 version
*/

body.has-modal {
  /* overflow: hidden; */
  /* padding-right: 17px; */
}
/* body.has-modal #header.fixed {
  padding-right: 17px;
} */

.modal {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 1000;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  visibility: hidden;
  opacity: 0;
  z-index: -1;
}
.modal hr {
  height: 1px;
  border: 0px;
  opacity: 0.1;
  background-color: #1a1919;
  margin: 30px 0;
}
.modal.active {
  z-index: 1000;
}
.modal.active,
.modal.active .modal-content,
.modal.active .modal-background {
  visibility: visible;
  opacity: 1;
}
.modal.active .modal-background {
  opacity: 0.8;
}

.modal .scrollbar {
  max-height: 180px;
}

.modal-background {
  z-index: 0;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #1a1919;
  cursor: pointer;
  -webkit-transition: all 0.3s ease 0.1s;
  -o-transition: all 0.3s ease 0.1s;
  transition: all 0.3s ease 0.1s;
  visibility: hidden;
  opacity: 0;
}
.modal-content {
  position: relative;
  z-index: 1;
  background-color: white;
  width: 100%;
  max-width: 720px;
  -webkit-transition: all 0.3s ease 0.3s;
  -o-transition: all 0.3s ease 0.3s;
  transition: all 0.3s ease 0.3s;
  visibility: hidden;
  opacity: 0;
  padding: 20px;
  /* max-height: calc(100% - 50px); */
}

.modal .btn-close {
  right: 20px;
  top: 20px;
  z-index: 1;
}
.modal .btn-close svg {
  width: 20px;
  height: 20px;
}
.modal-title {
  text-align: center;
  margin: 40px auto 20px;
  text-transform: lowercase;
  font-weight: 500;
  letter-spacing: 0.87px;
  color: #000000;
}
.modal-title-img {
  margin: 10px auto 0 !important;
  float: none !important;
  position: relative !important;
  max-width: 100%;
}
.modal-body {
  text-transform: none;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-align: center;
  color: #535353;
  overflow: hidden;
}

/* modal_iterations */
/* modal_iterations */
/* modal_iterations */

#modal_iterations .modal-content {
  margin: 30px 20px;
  height: calc(100% - 60px);
  padding: 0;
}

#modal_iterations .custom_select_wrapper {
  position: relative;
  display: inline-block;
  text-align: left;
  margin-bottom: 25px;
}
#modal_iterations .custom_select_wrapper:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  /* #modal_iterations .select2-container .select2-choice .select2-arrow b { */
  background: url(../dist/assets/img/more.png) no-repeat 0 1px;
  background-position: center center;
  z-index: 10;
  pointer-events: none;
}
#modal_iterations .custom_select_wrapper select {
  /* #modal_iterations .select2-container .select2-choice { */
  height: 51px;
  background: #f7f7f7;
  border: 1px solid #c4c4c4;
  font-weight: 700;
  font-size: 15px;
  line-height: 12px;
  color: #000000;
  font-family: 'SackersGothic';
  display: flex;
  align-items: center;
  padding: 0 40px 0 15px;
  appearance: none;
  position: relative;
  border-radius: 0 !important;
  outline: none !important;
}

#modal_iterations .custom_select_wrapper select option {
  text-transform: uppercase;
  font-family: 'SackersGothic', Arial, sans-serif;
}

#modal_iterations .modal-body {
  text-align: left;
}

#modal_iterations .modal-title {
  font-size: 25px;
  line-height: 19px;
  font-weight: 700;
  font-family: 'SackersGothic';
  color: #000000;
  text-align: left;
  text-transform: none;
  margin-bottom: 25px;
  margin-top: 0;
}

#modal_iterations .modal-body h3 {
  font-weight: 700;
  font-size: 15px;
  line-height: 12px;
  color: #000000;
  font-family: 'SackersGothic';
  padding-bottom: 10px;
}

#modal_iterations .modal-body .iteration_list {
  font-family: 'Bodoni 72';
  font-style: normal;
  font-size: 25px;
  line-height: 30px;
  color: #000000;
  opacity: 0;
  height: 0;
}
#modal_iterations .modal-body .iteration_list.open {
  opacity: 1;
  height: auto;
}
#modal_iterations .col-right .iteration_img {
  opacity: 0;
  transition: opacity 0.6s ease;
}
#modal_iterations .col-right .iteration_img.open {
  opacity: 1;
}

#modal_iterations .modal-result {
  position: relative;
}

@media (max-width: 699px) {
  #modal_iterations .col-left {
    padding: 50px 30px 20px 30px;
  }
  #modal_iterations .modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: stretch;
  }
  #modal_iterations .col-left {
    flex-shrink: 1;
  }
  #modal_iterations .col-right {
    flex-grow: 1;
    position: relative;
  }
  #modal_iterations .col-right .iteration_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
}
@media (min-width: 700px) {
  #modal_iterations .modal-body {
    display: flex;
    align-items: center;
    height: 100%;
  }

  #modal_iterations .col-left {
    padding: 00px 00px 0px 40px;
  }
  #modal_iterations .col-left {
    flex: 0 0 50%;
    position: relative;
    z-index: 1;
  }

  #modal_iterations .modal-title {
    font-size: 30px;
    line-height: 23px;
    margin-bottom: 30px;
  }

  #modal_iterations .custom_select_wrapper {
    margin-bottom: 40px;
  }

  #modal_iterations .modal-body h3 {
    font-size: 18px;
    line-height: 14px;
  }

  #modal_iterations .modal-body .iteration_list {
    font-size: 40px;
    line-height: 45px;
  }

  #modal_iterations .modal-content {
    width: calc(100% - 40px);
    max-width: 1100px;
    height: 100%;
    max-height: 730px;
    position: relative;
  }
  #modal_iterations .col-right {
    overflow: hidden;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 0;
  }
  #modal_iterations .col-right .iteration_img {
    position: absolute;
    right: 0;
    width: auto;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (min-width: 960px) {
  #modal_iterations select {
    min-width: 280px;
  }
  #modal_iterations .col-left {
    padding: 00px 00px 0px 90px;
  }
}

.modal_step {
  /* display: none; */
  visibility: hidden;
  opacity: 0;
  max-height: 0;
  position: static;
  -webkit-transition: all 0.3s ease 0.1s;
  -o-transition: all 0.3s ease 0.1s;
  transition: all 0.3s ease 0.1s;
}
.modal_step.active {
  position: relative;
  max-height: none;
  /* display: block; */
  visibility: visible;
  opacity: 1;
}

.modal_choices {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  padding: 0px 40px 0;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.modal_choices > div,
.modal_choices > a,
.modal_choices > button {
  flex: 1 0 calc(50% - 25px);
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.4px;
  color: #535353;
}
.modal_choices > div > svg {
  margin-bottom: 10px;
}
.modal_choices > div:nth-child(2) {
  -webkit-box-flex: 0;
  -webkit-flex: 0 1 50px;
  -ms-flex: 0 1 50px;
  flex: 0 1 50px;
  text-transform: uppercase;
  font-family: 'SackersGothic';
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.87px;
}

.js-step {
  cursor: pointer;
}
.modal_step .btn-container {
  cursor: pointer;
  padding: 20px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.modal_step .btn-container svg path,
.modal_step .btn-container svg circle {
  -webkit-transition: fill 0.3s ease;
  -o-transition: fill 0.3s ease;
  transition: fill 0.3s ease;
}
.modal_step .btn-container:hover {
  background-color: #f9f9f9;
  /* color: white; */
}
.modal_step .btn-container:hover svg path,
.modal_step .btn-container:hover svg circle {
  /* fill: white; */
}

.modal .store_list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
  width: -webkit-calc(100% + 20px);
  width: calc(100% + 20px);
}
.modal .store_list a {
  background-color: #f9f9f9;
  padding: 15px;
  margin: 15px;
  /* flex: 0 0 calc(50% - 30px); */
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 -webkit-calc(100% - 30px);
  -ms-flex: 0 0 calc(100% - 30px);
  flex: 0 0 calc(100% - 30px);
  text-align: center;

  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: none;
}

.modal .store_list a.open {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.modal .store_list a:hover {
  background-color: #d9d9d9;
}
.modal .store_list img {
  max-width: 75%;
  max-height: 120px;
}

.modal .custom_select_wrapper {
  letter-spacing: 0.69px;
  text-transform: uppercase;
  font-family: 'SackersGothic';
  font-size: 11px;
  font-weight: 700;
  position: relative;
}

.store_list_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom_select {
  font-family: 'SackersGothic', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  /* appearance: none; */
  /* -webkit-appearance: none; */
  background-color: white;
  letter-spacing: 0.69px;
  text-transform: uppercase;
  color: #000000;
  border: 0;
  position: relative;
  outline: none !important;
  /* background-position: 100% 5px;
  background-repeat: no-repeat;
  background-size: 9px 6px; */
  /* padding-right: 15px; */
  /* background-image: url(../svg/down.svg); */
}

.custom_select option {
  text-transform: uppercase;
  font-family: 'SackersGothic', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 699px) {
  .modal-content {
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: space-evenly;
    -webkit-justify-content: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
  }
}

@media (min-width: 400px) {
  .modal .store_list a {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 -webkit-calc(50% - 30px);
    -ms-flex: 0 0 calc(50% - 30px);
    flex: 0 0 calc(50% - 30px);
  }
}

@media (min-width: 700px) {
  .modal-content {
    padding: 50px;
    max-height: -webkit-calc(100% - 50px);
    max-height: calc(100% - 50px);
  }
  .modal .store_list a {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 -webkit-calc(33.333334% - 30px);
    -ms-flex: 0 0 calc(33.333334% - 30px);
    flex: 0 0 calc(33.333334% - 30px);
  }
}
