#credit {
  position: relative;
  padding: 60px 0;
}

.single-slider {
  background-size: cover;
}

.contact-list {
  height: 100%;
  padding: 80px 30px 40px 30px;
}

/*======Попапы*/

/*Фикс бага со скачком шапки при открытии fancybox*/
body.compensate-for-scrollbar {
  overflow: auto !important;
}

.compensate-for-scrollbar {
  margin-right: 0 !important;
}

.fancybox-container {
  z-index: 99999;
}

.overlay {
  z-index: 999;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; }

.pop-up {
  position: absolute;
  width: auto;
  height: auto;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  padding: 40px;
  background-color: #FFF;
  text-align: center;
  }

@media (max-width: 520px) {
  .pop-up {
    width: 90%;
    height: auto; } }

.close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 23px;
  height: 23px;
  cursor: pointer; }

.close-popup:before {
  content: '';
  background-color: #000;
  position: absolute;
  height: 1px;
  width: 31px;
  top: 11px;
  left: -4px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg); }

.close-popup:after {
  content: '';
  background-color: #000;
  position: absolute;
  height: 1px;
  width: 31px;
  top: 11px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  left: -4px; }

.js-thank-you h2 {
  font-size: 24px;
  text-align: center;
  padding-top: 15px; }

.js-thank-you__text {
  text-align: center;
  padding-top: 10px;
  font-size: 18px; }

.popup {
  display: none; }

.popup__show {
  display: block; }

.popup__wrap {
  position: fixed;
  z-index: 9999;
  height: 540px;
  max-height: 100%;
  width: 500px;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: #f7f7f7;
  border-radius: 15px; }

.popup__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  text-align: center;
  padding: 70px 50px 50px; }

.popup__close {
  position: absolute;
  z-index: 999999;
  top: 7%;
  right: 5%;
  width: 24px;
  height: 24px;
  font-size: 0;
  background-color: transparent;
  border: 0;
  cursor: pointer; }

.popup__close:focus {
  outline: none; }

.popup__close::before,
.popup__close::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: #102209;
  -webkit-transition: background-color 0.3s linear;
  -o-transition: background-color 0.3s linear;
  transition: background-color 0.3s linear; }

.popup__close::before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg); }

.popup__close::after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg); }

.popup__close:hover::before,
.popup__close:focus::before,
.popup__close:hover::after,
.popup__close:focus::after {
  background-color: #102209; }

p.form-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.03em;
  padding-bottom: 20px; }

p.form-subtitle {
  font-size: 16px;
  margin: 10px 0; }

input.form-popup__input {
  width: 100%;
  max-width: 320px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

select.form-popup__select {
  width: 100%;
  max-width: 320px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

textarea.form-popup__textarea {
  max-width: 320px;
  width: 100%;
  height: 150px;
  border: none;
  border-radius: 20px;
  background: #eaeaea;
  padding: 15px 25px;
  margin: 10px 0;
  font-weight: 500;
  font-size: 16px;
  color: #000; }

.form-popup__submit {
  max-width: 320px;
  width: 100%;
  padding: 15px 25px;
  margin: 15px 0;
  font-weight: 500;
  font-size: 16px; }

.popup__buy1click {
  height: 560px; }

@media screen and (max-width: 768px) {
  .popup__wrap {
    width: 80%; }
  .popup__content {
    padding: 30px; } }

@media screen and (max-width: 576px) {
  .popup__wrap {
    width: 100%;
    height: 100%;
    border-radius: 0; }
  .popup__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; }
  .popup__close {
    top: 3%;
    right: 1%; } }


.success-img img {
    max-width: 94px;
    margin-bottom: 15px;
}

span.pop-up__title {
    font-weight: 600;
    font-size: 21px;
    color: #212529;
}

.js-thank-you__text p {
    font-size: 16px;
}

.politic-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  text-align: left; }

.politic-container span {
  font-size: 14px; }

.politic-container span a {
  font-size: 14px;
  text-decoration: underline; }


  .switch {
      display: inline-block;
      height: 26px;
      position: relative;
      width: 46px;
      margin-right: 15px;
      margin-bottom: 0;
  }
    
    .switch input {
      display: none; }
    
    .slider-checkbox {
      width: 46px;
      background-color: #ccc;
      bottom: 0;
      cursor: pointer;
      left: 0;
      position: absolute;
      right: 0;
      top: 0;
      -webkit-transition: .4s;
      -o-transition: .4s;
      transition: .4s; }
    
    .slider-checkbox:before {
      background-color: #fff;
      bottom: 3px;
      content: "";
      height: 20px;
      left: 4px;
      position: absolute;
      -webkit-transition: .4s;
      -o-transition: .4s;
      transition: .4s;
      width: 20px; }
    
    input:checked + .slider-checkbox {
      background-color: #ff4b57; }
    
    input:checked + .slider-checkbox:before {
      -webkit-transform: translateX(18px);
          -ms-transform: translateX(18px);
              transform: translateX(18px); }
    
    .slider-checkbox.round-checkbox {
      border-radius: 34px; }
    
    .slider-checkbox.round-checkbox:before {
      border-radius: 50%; }