.blocker {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 999;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.75);
  text-align: center;
}
.blocker:before{
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.05em;
}
.blocker.behind {
  background-color: transparent;
}
.modal {
    display: none;
    vertical-align: middle;
    z-index: 9999;
    box-sizing: border-box;
    height: auto !important;
    position: relative;
    background: white;
    z-index: 99;
    margin: 0 auto;
  text-align:left;
    max-width: 900px;
  border-radius:20px;
}
.modal .fl {
  height:100%;
  width:100%;
}

.modal .img {
  height: 100%;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 430px;
}
.modal img {
  height: 100%;
  object-fit: cover;
  width:100%;
}
.modal .thank {
  padding:30px 0
}
.modal .thank img {
  width:auto;
  margin-bottom:20px;
  text-align:center;
}


.modal .thank {
  text-align:center;
}

.modal .forma {
  padding: 40px 80px;
}
.modal .title {
  font-size:22px;
  font-weight:500;
}

.modal .title+p {
  max-width: 370px;
  font-size: 15px;
  margin: 20px 0 30px 0;
}

.modal .form {
    text-align: left;
}

.modal .form-group {
  margin-bottom:20px;
}

.modal .but {
  width:100%;
  
}

.modal .but button {
  width:100%;
  font-weight:500;
  text-transform:none;
  font-size:18px;
  text-align: center;
  display: block;
}

.modal .agree {
  font-size:14px;
  margin-top:20px;
}


.modal .agree a {
  color:var(--prime)
}

.modal input {
  border:1px solid #ddd;
  border-radius:15px;
  padding:15px 20px;
  display:block;
  width:100%;
}
.modal a.close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    display: block;
    width: 26px;
    height: 26px;
    z-index: 999;
    text-indent: -9999px;
    background: url(../img/close.svg) no-repeat center center/24px;
    border-radius: 0%;
}



.modal-spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  padding: 12px 16px;
  border-radius: 5px;
  background-color: #111;
  height: 20px;
}
.modal-spinner > div {
  border-radius: 100px;
  background-color: #fff;
  height: 20px;
  width: 2px;
  margin: 0 1px;
  display: inline-block;

  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.modal-spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.modal-spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.modal-spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}



@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.5) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.5);
    -webkit-transform: scaleY(0.5);
  }  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}


@media (max-width:667px) {
    .modal {
        position: fixed;
        width: 100%;
    }

  .modal .forma {
    padding: 20px 30px;
}

  .modal .img {
  height: 190px;
  object-fit: cover;
  }
    
    
.modal a.close-modal {
    position: absolute;
    top: 8px;
    right: 10px;
}

    
}