/* Components */

.input_wrapper {
  font-family: "Roboto Slab";
  font-size: 14px;
  line-height: 22px;
  color: #EFEFEF;

  position: relative;
  width: auto;
  height: 28px;
  margin-bottom: 40px;

  border-bottom: 0.5px solid #636368;
}

.input_wrapper label {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;

  position: absolute;
  top: 10px;
  left: 0;
  display: inline;
  transition: var(--transition);
}

.input_wrapper input[type="text"],
.input_wrapper input[type="email"],
.input_wrapper input[type="tel"],
.input_wrapper input[type="password"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;

  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  padding-bottom: 5px;
  transition: var(--transition);
}

.input_wrapper .icon {
  position: absolute;
  bottom: 8px;
  right: 0;
  display: block;
  width: 18px;
  height: 18px;
  background-size: contain;
}

/* .input_wrapper input[type="text"]:not(.browser-default):focus:not([readonly]) + label ,
.input_wrapper input[type="email"]:not(.browser-default):focus:not([readonly]) + label ,
.input_wrapper input[type="tel"]:not(.browser-default):focus:not([readonly]) + label ,
.input_wrapper input[type="password"]:not(.browser-default):focus:not([readonly]) + label {
  
} */

.input_wrapper input:focus-visible {
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.input_wrapper.valid svg * {
  fill: #7DA334;
}

.input_wrapper.invalid input,
.input_wrapper.invalid svg * {
  color: #E34E4E;
  fill: #E34E4E;
}

.input_wrapper.dark {
  color: #1B1C21;
}

.input_wrapper.select {
  font-family: 'Museo Sans Cyrl';
  font-weight: 500;
  font-size: 15px;
  line-height: 21px;
  border: none;
  color: #000000;
}
.input_wrapper.select .icon {
  cursor: pointer;
  z-index: 4;
  transition: var(--transition);
}
.input_wrapper.select ul {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  transition: var(--transition);
  list-style: none;
  border-bottom: 0.5px solid #000000;
  background: #fff;
  z-index: 2;
}
.input_wrapper.select ul li {
  height: 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition);
}
.input_wrapper.select ul li:hover {
  opacity: 0.5;
}

.input_wrapper.select.open ul {
  height: 125px;
}
.input_wrapper.select.open .icon {
  transform: rotateZ(180deg);
}

.input_wrapper.file {
  border-bottom: none;
}
.input_wrapper.file input[type="file"] {
  display: none;
  position: absolute;
  visibility: hidden;
}
.input_wrapper.file span {
  position: relative;
  font-family: 'Museo Sans Cyrl';
  font-weight: 500;
  cursor: pointer;
}
.input_wrapper.file span::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  display: block;
  width: 100%;
  height: 0;
  border: 1px dashed #000000;
}

.input_wrapper.slider {
  margin-top: 15px;
  border-bottom: none;
}

.input_wrapper.slider .noUi-target {
  height: 1px !important;
  background: #000000;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.input_wrapper.slider .noUi-connect {
  background: #F6C57C;
}

.input_wrapper.slider .noUi-handle::before,
.input_wrapper.slider .noUi-handle::after {
  display: none;
}
.input_wrapper.slider .noUi-handle {
  width: 50px;
  height: 31px;

  border: none;
  background: #F6C57C;
  box-shadow: 0px 2px 2px rgba(179, 127, 49, 0.4);
  border-radius: 2px;
  cursor: pointer;
}
.input_wrapper.slider .noUi-handle.noUi-handle-upper {
  top: -16px;
  right: 1px;
}
.input_wrapper.slider .noUi-handle.noUi-handle-lower {
  top: -16px;
  right: -51px;
}

.input_wrapper.slider .noUi-handle.noUi-handle-upper .noUi-touch-area,
.input_wrapper.slider .noUi-handle.noUi-handle-lower .noUi-touch-area {
  font-family: 'Catorze27 Style 1';
  font-size: 13px;
  text-align: center;
  color: #1C1E24;

  display: flex;
  align-items: center;
  justify-content: center;
}




/* Modal */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  z-index: 110;
  transition: var(--transition);
}
.modal-wrapper.active {
  height: 100vh;
}

.modal-wrapper__modal {
  position: relative;
  
  width: 780px;
  padding: 60px 100px;
  color: #000000;
  background-color: #fff;
}
.modal-wrapper__modal.small_padding {
  padding-top: 40px;
  padding-bottom: 0;
}
.modal-wrapper__modal.small_padding .modal-wrapper__modal__calcProject {
  padding-bottom: 45px;
}

.modal-wrapper__modal-close {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 100%;
  background: #fff;
  border-left: 0.5px solid #C6C6C6;
}

.modal-wrapper__modal-close .icon {
  margin-bottom: 20px;
}

.modal-wrapper__modal-close span {
  font-family: 'Roboto Slab';
  font-size: 11px;
  line-height: 17px;
  color: #828282;
  transform: rotate(90deg);
}

.modal-wrapper__modal-title {
  text-align: center;
  margin-bottom: 45px;
}

.modal-wrapper__modal-label {
  font-family: 'Roboto Slab';
  font-size: 11px;
  line-height: 17px;

  color: #000000;
  margin-bottom: 15px;
}

.modal-wrapper__modal .btn {
  width: 100%;
}

.modal-wrapper[data-step="calc_project"] {
  height: 540px;
}

.modal-wrapper__modal__calcProject-wrapper {
  position: relative;
  display: flex;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.modal-wrapper__modal__calcProject {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-width: 100%;
  height: 100%;
  transition: var(--transition);
}

.modal-wrapper__modal__calcProject-checkboxWrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.modal-wrapper__modal__calcProject .check_box {
  width: 50%;
}
.modal-wrapper__modal__calcProject .min_padding .check_box {
  width: auto;
}
.modal-wrapper__modal__calcProject .check_box p {
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
  white-space: nowrap;
}
.modal-wrapper__modal__calcProject .check_box p.f-gray {
  font-weight: 400;
  font-size: 11px;
}

.modal-wrapper__modal__calcProject input {
  font-weight: 500;
}
.modal-wrapper__modal__calcProject-btn {
  width: 280px !important;
  margin: 0 auto;
}

.modal-wrapper__modal__calcProject-buttonWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-wrapper__modal__calcProject-buttonWrapper .btn {
  width: 180px;
  margin: 0 10px;
}

.modal-wrapper__modal__calcProject[data-step="contact_you"] .big_padding {
  margin-top: 110px;
  margin-bottom: 90px;
}
.modal-wrapper__modal__calcProject[data-step="contact_you"] .flex_center {
  margin-bottom: 22px;
}

.modal-wrapper__modal__calcProject[data-step="application_sent"] {
  height: 460px;
}
.modal-wrapper__modal__calcProject[data-step="application_sent"] .flex_center {
  height: 100%;
}
.modal-wrapper__modal__calcProject[data-step="application_sent"] .modal-wrapper__modal-title {
  margin: 0;
}


.modal-wrapper__modal.image_slider {
  position: relative;
  height: 460px;
  padding: 0;
  margin-bottom: 20px;
}
.modal-wrapper__modal.image_slider .modal-wrapper__modal-close {
  background: rgba(0, 0, 0, 0.44);
  border-left: 0.5px solid #C6C6C6;
  z-index: 2;
}
.modal-wrapper__modal.image_slider .modal-wrapper__modal-close .icon {
  filter: invert(100%) grayscale(0);
}
.modal-wrapper__modal.image_slider .modal-wrapper__modal-close span {
  color: #ececec;
}

.image_slider-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.image_slider-block {
  width: 100%;
  height: 100%;
  display: flex;
  transition: var(--transition);
}
.image_slider-block img {
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-position: center;
}
.image_slider-select {
  display: flex;
  align-items: center;
  width: 780px;
  height: 100px;
}
.image_slider-select .image {
  width: 180px;
  height: 100px;
  margin-right: 20px;
  cursor: pointer;

  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  transition: var(--transition);
}
.image_slider-select .image:last-child {
  margin-right: 0;
}
.image_slider-select .image:hover {
  background-size: 105%;
}
.image_slider-select .image.current {
  border: 1px solid #7DA334;
}






/* check box */
.check_box {
  font-size: 11px;
  line-height: 15px;
  color: #828282;
}
.check_box input[type="checkbox"]:not(:checked),
.check_box input[type="checkbox"]:checked {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check_box label span {
  position: relative;

  display: inline-block;
  width: 15px;
  min-width: 15px;
  height: 15px;
  min-height: 15px;

  
  border-radius: 2px;

  margin-right: 6px;
  user-select: none;
  cursor: pointer;
}
.check_box input[type="checkbox"] + span:not(.lever)::before,
.check_box input[type="checkbox"]:not(.filled-in) + span:not(.lever)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;

  width: 15px;
  height: 15px;

  background: #1C1D21;
  background: transparent;
  border: 0.5px solid #1E1E1E;
  border-radius: 2px;

  -webkit-transition: .2s;
  transition: .2s;
  z-index: 0;
}

.check_box.gray_border input[type="checkbox"] + span:not(.lever)::before,
.check_box.gray_border input[type="checkbox"]:not(.filled-in) + span:not(.lever)::after {
  border: 0.5px solid #515156;
}

.check_box input[type="checkbox"] + span:not(.lever)::before {
  background-image: url('../img/icon/check.svg');
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: center;
  background-color: #1C1D21;
  z-index: 5;
  opacity: 0;
}

.check_box input[type="checkbox"]:checked + span:not(.lever)::before {
  opacity: 1;
}

.check_box label {
  display: flex;
  align-items: center;
}
.check_box p {
  font-family: 'Roboto Slab';
  font-size: 11px;
  line-height: 15px;
  cursor: pointer;
}
.check_box p > i {
  font-style: normal;
  text-decoration: underline;
  color: inherit;
}


.btn {
  font-family: 'Catorze27 Style 1';
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  color: #EFEFEF;

  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 50px;
  background: #7DA334;

  transition: var(--transition);
  cursor: pointer;
}
.btn:hover {
  background: #9DC05C;
}
.btn.white {
  color: #828282;
  border: 1px solid #828282;
  background: #fff;
}
.btn.yellow {
  background: #F6C57C;
}


.navigation-site {
  position: fixed;
  top: 0;
  left: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 15px;
  z-index: 50;
  transform: rotateZ(90deg);
}
.navigation-site__block {
  display: inline-flex;
  align-items: center;
}
.navigation-site__line {
  display: flex;
  align-items: center;
  width: 0;
  height: 1px;
  margin: 0;
  background: #F6C57C;

  transition: var(--transition);
}
.navigation-site__paragraph {
  font-family: 'Roboto Slab';
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.1em;
  color: #F6C57C;
  white-space: nowrap;

  display: inline-flex;
  align-items: center;
  margin: 0 10px;
  cursor: pointer;
}
.navigation-site__paragraph span {
  transition: var(--transition);
  overflow: hidden;
}
.navigation-site__paragraph span:first-child {
  max-width: 15px;
}
.navigation-site__paragraph span:last-child {
  max-width: 0;
}

.navigation-site__block.active .navigation-site__line {
  margin: 0 10px;
  width: 40px;
}
.navigation-site__block.active .navigation-site__paragraph {
  color: #EFEFEF;
}
.navigation-site__block.active .navigation-site__paragraph span:first-child {
  max-width: 0;
}
.navigation-site__block.active .navigation-site__paragraph span:last-child {
  max-width: 80px;
}
