#perezvonit {
  padding-right: 0px !important;
}

#perezvonit .modal-dialog {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  /* top: 50%;
    transform: translate(0,-50%); */
  margin: 0px auto;
  margin: auto;
}

@media (min-width:320px) {
  #perezvonit .modal-dialog {
    max-width: calc(100vw - 20px);
  }
}

@media (min-width:420px) {
  #perezvonit .modal-dialog {
    max-width: calc(100vw - 20px);
  }
}

@media (min-width:480px) {
  #perezvonit .modal-dialog {
    max-width: calc(100vw - 20px);
  }
}

#perezvonit .modal-dialog .zagol3 {
  font-size: 26px !important;
  margin: 20px 0 16px !important;
}

#perezvonit .description p,
div[id^="buildersuccess-modal"] .modal-body p {
  text-align: center;
}

.consult {
  position: relative;
  padding: 0px;
}

.consult>p {
  padding: 0px 15px;
}

.consult p {
  text-align: center;
}

.consult input.error_number {
  border-color: #f5572a;
}

.consult .result_form {
  position: absolute;
  width: 100%;
  text-align: center;
  left: 0px;
  bottom: 40px;
}
#perezvonit .buttons {
  margin-bottom:30px
}
.consult .buttons button {
  width: 120px;
  height: 36px;
  margin: 0 auto !important;
  display: block;
  float: none !important;
  background: #ddd;
  font-size: 18px;
  font-weight: bold;
  border: 0px;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  padding: 0px;
  background: var(--primary);
  border: 1px solid var(--primary);
}

.consult .buttons button:hover,
.consult .buttons button:focus {
  background: var(--primary-hover);
  border: 1px solid var(--primary-hover);
}

#buildersuccess-modal1 .modal-body p {
  text-align: center;
}

.consult .result_form.attantion1+form {
  visibility: hidden;
}

.buttons {
  margin-top: 0px;
}

/*perezvonit-END*/



.overlay {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 110;
  transition: 1s;
  background: rgba(000, 000, 000, 0.5);
}

.fadeIn {
  opacity: 1;
  visibility: visible;
}

.fadeIn,
.fadeOut {
  transition: 1s;
  animation-timing-function: ease-out;
}

#perezvonit,
div[id^="buildersuccess-modal"] {
  /* top: 50%;
    transform: translate(0,-50%);     */
  overflow: visible;
  overflow-y: auto;
}

.in#perezvonit {
  align-items: center;
  flex-direction: column;
  /* justify-content: center; */
  display: flex !important;
}

.checkbox-block,
.feedback2 {
  text-align: left
}

.has-error .checkbox span a {
  color: #a94442
}

.has-error .checkbox label span,
.has-error .checkbox label span a {
  color: #000
}

input[value="validate_captcha"] + .text-danger {
  margin-bottom:13px;
}