.some-form__line {
  display: block;
  position: relative;
  margin-bottom: 15px;
}

.some-form__line-required input[type="text"],
.some-form__line-required input[type="tel"],
.some-form__line-required input[type="email"] {
  border-color: #f45a57;
}
.some-form__line-required .some-form__hint {
  opacity: 1;
  z-index: auto;
}
.some-form__hint {
  z-index: -1;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: -16px;
  padding: 0 12px;
  width: 100%;
  background: #f45a57;
  color: #fff;
  font-size: 12px;
  line-height: 1.333333;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

#loading-indicator{
  display: none;
  position: absolute;
  background: rgba(255,255,255,0.7);
  right: 0;
  top: 0;
}

#loading-indicator::before {
  content: url('assets/img/loading.gif');
}

.alert {
    padding: 20px;
    background-color: #52b773;
    color: white;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}


.popup-fade, .answer-server-fade, .answer-fade {
    display: none;
}

.popup-fade:before, .answer-server-fade:before, .answer-fade:before {
    content: '';
    background: #2A3276;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 12;
}

.popup {
    position: fixed;
    top: 10%;
    left: 50%;
    padding: 60px 57px;
    margin-left: -300px;
    background: #fff;
    z-index: 19;
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 486px;
    height: 532px;
    background: #FFFFFF;
    border-radius: 10px;
}

.close {
    cursor: pointer;
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 25;
    color: #6069BB;
    font-size: 33px;
    width: 33px;
    height: 33px;
}

.close:hover {
    color: #F99B30;
}

.popup-text {
    font-weight: bold;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    color: #2A3276;
    margin-bottom: 30px;
}


.form-modal {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-modal input {
    outline: none;
    text-align: start;
    height: 60px;
    left: 477px;
    top: 719px;
    padding: 21px;
    border: 1px solid #ABB1E0;
    box-sizing: border-box;
    border-radius: 16px;
    font-weight: 400;
    font-size: 20px;
    line-height: 37px;
}

.form-modal input::placeholder {
    color: #ABB1E0;
}

.warning-text {
    font-size: 16px;
    line-height: 20px;
    color: #2A3276;
    font-weight: 400;
}

.agree-link {
    font-weight: 500;
    color: #2A3276;
    text-decoration: underline;
}

.form-modal .button {
    text-align: center;
}

.form-modal .button button {
    width: 235px;
    height: 65px;
}

.error {
    color: red;
    margin-left: 5px;
}

label.error {
    display: inline;
}

.answer-fade {
    display: none;
}

.answer, .ajax-response {
    position: fixed;
    top: 20%;
    left: 50%;
    padding: 60px 57px;
    margin-left: -300px;
    z-index: 19;
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 486px;
    height: 150px;
    background: #FFFFFF;
    color: #2A3276;
    border-radius: 10px;
}

