.custom-modal-open {
  overflow: hidden
}

.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, .4);
  overflow: auto;
  z-index: 100
}

.custom-modal .custom-modal__dialog {
  position: relative;
  margin: 80px auto;
  padding: 70px;
  width: 100%;
  max-width: 560px;
  background: #222222;
  color: #757575;
  text-align: center;
  border-radius: 24px
}

.custom-modal .custom-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  z-index: 10;
  cursor: pointer
}

.custom-modal .btn.btn_green,
.custom-bttn.btn.btn_green {
  display: flex;
  align-items: center;
  gap: 20px;
}

.custom-bttn {
  margin: 20px auto 0;
}


.custom-modal .custom-modal__close::after,
.custom-modal .custom-modal__close::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2px;
  width: 34px;
  background: #ffffff
}

.custom-modal .custom-modal__close::before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  -ms-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg)
}

.custom-modal .custom-modal__close::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  -ms-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg)
}


@media only screen and (max-width:600px) {
  .custom-modal .custom-modal__dialog {

    padding: 100px 20px;
    height: 100%;
    border-radius: 0;
    margin: 0
  }
}
