.callback-modal {
    background: #fff;
    color: #001c34;
    padding-top: 50px;
    position: relative;
}

.callback-modal--hidden {
    display: none;
}

.callback-modal__header {
    text-align: center;
}

.callback-modal__close {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: url('./images/modal-close.png');
    cursor: pointer;
    transition: 300ms linear all;
}

.callback-modal__title {
    font-family: gothampro-bold;
    font-size: 20px;
    margin-top: 5px;
}

.callback-modal__subtitle {
    margin-bottom: 15px;
}

.callback-modal__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    padding-bottom: 60px;
    width: 300px;
    margin: 0 auto;
}

.callback-modal__form-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.callback-modal__input-field {
    background-color: #e3e3e5;
    border: 0;
    color: #0a1e2d;
    font-size: 14px;
    height: 50px;
    line-height: inherit;
    padding: 10px 18px 10px 68px;
    position: relative;
    width: 100%;
}

.callback-modal__form-group {
    position: relative;
    width: 100%;
}

.callback-modal__form-group .help-block {
    padding: 7px 0;
}

.callback-modal__form-group::before {
    content: '';
    height: 48px;
    width: 48px;
    background-color: #d8d8d9;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 2;
    position: absolute;
    left: 1px;
    top: 1px;
}

.callback-modal__form-group--submit {
    padding-left: 0;
}

.callback-modal__form-group--submit::before {
    content: none;
}

.callback-modal__form-group--name::before {
    background-image: url(./images/name-inp.png);
}

.callback-modal__form-group--telephone::before {
    background-image: url(./images/phone-inp.png);
}

.callback-modal__submit {
    transition: 300ms ease all;
    border: 2px solid transparent;
    width: 300px;
    background: #f3a93a;
    color: #0a1e2d;
}

.callback-modal__submit:hover {
    border-color: #f3a93a;
    background: transparent;
    color: #f3a93a;
}

@media screen and (max-width: 500px) {
    .callback-modal__line {
        width: 100%;
    }
    .callback-modal__submit {
        width: 100%;
    }
    .callback-modal__input-field {
        width: 100%;
    }
    .callback-modal__form {
        padding: 0 15px 60px;
    }
}

.callback-modal__form-group.has-error input {
    border: 1px solid #e20932;
}

.callback-modal__form-group.has-success input {
    border: 1px solid #228b22;
}

.callback-modal__form-group.has-error .help-block {
    color: #e20932;
}

.callback-modal__form-group.has-success .help-block {
    color: #228b22;
}