.error {
    color: red;
}

.modal-overlay {
    z-index: 90000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: none;
    background-color: rgba(0,0,0,0.85);
}

.modal-dialog {
    width: 100vw;
    display: flex;
    justify-content: space-around;
    margin: 0;
}

.modal-custom.visible ~ .modal-overlay {display: block; }

.modal-custom {
    display: block;
    top: 50%;
    transform: translateY(100vh);
    transition: 0.4s transform ease;
    z-index: 100000;
    height: auto;
    position: fixed;
}

.modal-custom.visible {  transform: translateY(-50%); }

.modal-content {
    border: 0.5px solid #eee;
    border-radius: 0;
}

.modal-custom .form__title:before {display: none;}

.modal-custom .contact__form .form__labels, .modal-custom .section__title {padding-left: 0;}

.modal-custom .section__title {padding-top: 20px;}

.modal-custom .contact__form .form__content {width: 80%;}

.modal-custom .contact__form .form__labels {width: 100%;}

.modal-custom .modal-content {
    max-width: 400px;
    margin: 0 auto;
}

.modal-custom .form__policy {
    font-size: 14px;
}

.modal-custom .close {
    right: -25px;
    position: absolute;
    top: -30px;
    font-size: 40px;
    opacity: 0.7;
    color: white;
}

.modal-dialog {
    margin-top: 40px;
}

.g-recaptcha {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

@media(max-width: 480px) {
    .modal-content {width: 80%;}
    .modal-custom .form__policy {
        font-size: 12px;
    }
    .modal-custom .contact__form .form__btn {
        padding: 12px;
    }
    .modal-dialog {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .modal-custom .section__title {padding-top: 0;}
    .modal-custom #feedback-button {margin-bottom: 30px;}
    .g-recaptcha {
        transform:scale(0.77);
        transform-origin: center;
    }
}