.popup-open {
  display: flex;
}

.popup-close {
  display: none !important;
}

.overlay-show {
  display: block;
}

.overlay-hidden {
  display: none !important;
}

.modal-container {
  display: flex;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.50);
  z-index: 100;
}

.modal-container-close {
  display: none;
} 

.modal-search {
  box-sizing: border-box;
  border-radius: 8px;
  width: 550px;
}

@media (width < 768px) {
  .modal-search {
    width: 320px;
  }
}

.modal {
  margin: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  padding: 79px 58px 30px;
  background-color: #ffffff;
}

@media (width < 768px) {
  .modal {
    padding: 79px 40px 30px;
  }
}


.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.btn-close {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 4px;
  font-size: 24px;
  margin-top: 1em;
  border: none;
  background-image: url("../img/icon-cross-close.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.btn-close:hover {
  cursor: pointer;
  opacity: 0.8;
}

.btn-close-wrapper {
  padding-top: 22px;
  padding-bottom: 25px;
  width: 320px;
  margin-top: 48px;
}

.modal-close-button {
  border-radius: 4px;
  display: flex;
  position: absolute;
  right: 30px;
  top: 0;
}

@media (width < 768px) {
  .modal-close-button {
    right: 15px;
    top: -5px;
  }
}

.popup-header {
  margin: 0;
  margin-bottom: 30px;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 27px;
  text-transform: uppercase;
  color: #000000;
}

@media (width < 768px) {
  .popup-header {
    font-size: 18px;
    line-height: 22px;
  }
}

.popup-header-center {
  text-align: center;
}

.popup-comment {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
}


@media (width < 768px) {
  .popup-comment {
    font-size: 18px;
    line-height: 22px;
  }
}

.common-container-popup {
  margin-top: 1em !important;
  padding-left: 2em;
  padding-right: 2em;
  margin-bottom: 2em;
}

.terms-of-use-popup {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #CACACA;
}

.text-field {
  margin-bottom: 17px;
}

.modal-button {
  width: 434px;
  height: 56px;
  margin-top: 10px;
}

@media (width < 768px) {
  .modal-button {
    width: 240px;
    height: 52px;
    margin-top: 0;
  }
}












/* <div class="modal-block">


<div class="modal getcall">
          <button class="btn-close" onclick="closeModal()">⨉</button>
      <div class="common-container-popup">
        <form class="getcallform">
          <input type="hidden" name="header" value="Запрос звонка">
          <div class="popup-input">
            <p class="popup-header">Укажите контактные данные</p>
            <div class="text-field">
              <label class="text-field-label label-popup" for="fio-1">Как к вам обращаться?</label>
              <input required class="text-field-input input-popup" type="text" name="name" id="fio-1"
                     placeholder="Ваше имя">
            </div>
            <div class="text-field">
              <label class="text-field-label label-popup" for="phone-1">Введите телефон</label>
              <input required class="text-field-input input-popup" type="tel" name="phone" id="phone-1"
                     placeholder="+7 (9**) ***-**-**">
            </div>
            <div class="text-field">
              <label class="text-field-label label-popup" for="comment-1">Хотите что-то добавить?</label>
              <input class="text-field-input input-popup" type="text" name="comment" id="comment-1"
                     placeholder="Ваш комментарий">
            </div>
          </div>
        </form>
          <button class="button" onclick="submit('getcallform')">Заказать звонок</button>

        <p class="terms-of-use-popup">Нажимая на кнопку, вы даете согласие на обработку персональных данных и принимаете
          Пользовательское соглашение</p>
      </div>
    </div>

    </div> */
