.reg-window, .review-window, .mail-window {
    z-index: 150;
    position: fixed;
    display: none;
    z-index: 99999999999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.21);
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: 0.3s all;
}


.reg-window  button[type="submit"],
.review-window  button[type="submit"],
.mail-window button[type="submit"]{
  width:100%;
}

.review-window .success-message,
.mail-window .success-message{
  color:green;
  text-align: center;
}

.reg-window  button[type="submit"]:disabled,
.review-window  button[type="submit"]:disabled,
.mail-window button[type="submit"]:disabled{
      filter: grayscale(1);
}

.reg-window input[type="checkbox"],
.review-window input[type="checkbox"],
.mail-window input[type="checkbox"]
{
  width:unset;
  height:unset;
  margin-right: 5px;
  cursor: pointer;
}

.review-window label,
.reg-window label,
.mail-window label{
  cursor: pointer;
}

.reg-window .error-message,
.review-window .error-message,
.modal-download .error-message,
.mail-window .error-message{
  color:red;
  text-align: center;
}

.review-window .info-block button,
.reg-window .info-block button{
  width:100%;
  justify-content: center;
}


.review-window input{
  text-align: left !important;
}

.review-window textarea{
  width: 100%;
box-sizing: border-box;
height: 40px;
padding-left: 15px;
padding-right: 15px;
font-family: "Roboto", sans-serif;
font-size: 13px;
font-weight: 300;
border-radius: 5px;
border: 1px solid #d0e0f3;
background-color: #edf4fc;
text-align: left;
padding: 15px;
color: #65a4d7;
}


.modal-download {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  flex: 1;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.modal-download.open {
  display: flex;
}

.modal-download .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: white;
}

.modal-download > .container {
  display: flex;
  background: white;
  padding: 20px;
  box-sizing: border-box;
  width: 900px;
  border-radius: 10px;
  margin: 0 20px;
}

.free-button {
  cursor: pointer;
  color: #fff;
  background: #adb8bd;
  box-shadow: 0 5px 5.88px 1.12px rgba(78, 78, 78, 0.16);
  text-align: center;
  padding: 10px 25px;
  font-size: 16px;
  border: 0;
  margin: 10px 0 0 0;
  border-radius: 10px;
  transition: 0.3s;
}

.free-button:hover {
  box-shadow: none;
}

.pay-button {
  margin: 15px 0 15px;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  color: #ffffff;
  border: none;
  width: 100%;
  height: 53px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(97.18deg, #9aa6ff -0.84%, #7484ff 100.17%);
  box-shadow: 0px 12px 9px -7px rgba(116, 132, 255, 0.24);
  border-radius: 10px;
  transition: 0.3s;
}

.pay-button:hover {
  box-shadow: none;
}

.modal-download > .container label {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.modal-download > .container p {
  font-size: 14px;
  line-height: 21px;
  margin-block-end: 10px;
}

.modal-download > .container h4 {
  font-size: 23px;
  margin: 0 0 10px 0;
}


.modal-download > .container h5 {
position:relative;
}

.modal-download > .container h5::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -146px;
    width: 73px;
    height: 96px;
    background-image: url('/img/arrow-top.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: scaleY(-1) rotate(312deg);
}

@media (max-width:745px;) {
    .modal-download > .container h5::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -180px;
    width: 73px;
    height: 96px;
    background-image: url('/img/arrow-top.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: scaleY(-1) rotate(312deg);
}

}

.modal-download > .container .price {
  margin: 0;
  display: inline-block;
}

.modal-download > .container .pay {
    width: 50%;
    border: 1px solid #7c8bff;
    border-radius: 10px;
    padding: 20px 20px 10px 20px;
    background: #fff;
    box-shadow: 5px 8px 9px -7px rgba(116, 132, 255, 0.24);
}

.modal-download > .container .pay input[type="checkbox"] {
    appearance: none;
    width: 13px;
    height: 13px;
    border: 1px solid red;
    cursor: pointer;
    margin: 0 5px 0 0;
    border-radius: 3px;
    outline: none;
}

.modal-download > .container .pay input[type="checkbox"]:checked {
    border: none;
    background-color: lightgrey;
    appearance: auto;
}

.modal-download > .container label {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin: 0 0 10px 0;
}

.modal-download > .container .free {
  width: 50%;
  padding: 0 0 0 20px;
}

.modal-download .none,
.display-none {
  display: none !important;
}

.modal-download label{
  display: block;
}

.container-payment {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    top: 0px;
    left: 0px;
    z-index: 100000000000;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.container-payment .close {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: gray;
    font-weight: bold;
}

#payment-form {
    min-width: 370px;
}


@media screen and (max-width: 1300px){
  #payment-form {
      overflow: auto;
      min-width: 320px;
      max-height: 489px;
  }
}


.mail-window{
  z-index: 9;
}

.g-recaptcha, .g-recaptcha  div{
  opacity: 1;
visibility: visible;
}

.swal2-container{
  z-index: 99999999999999999999999;
}
