/*
Theme Name: VSL
*/


.wrapper_modal{
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 5%;
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

.modal{
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 60px 0;max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.modal__title {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

a.modal__close {
    font-size: 25px;
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    margin: -15px -15px 0 auto;
    cursor: pointer;
    border: 2px solid #000;
    border-radius: 6px;
}

.wrapper_modal_backdrop{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.49);
    z-index: 99998;
}

span.wpcf7-not-valid-tip {
    display: none !important;
}

.wpcf7-not-valid {
    background: #ffeaea;
}


@media (min-width: 1024px) {
    #modal_form.wrapper_modal{
        max-width: 400px;
        left: 50%;
        margin-left: -200px;
    }

    .modal__title {
        font-size:  min(calc(40 / 1650 * 100vw), 40px);
        margin-bottom: min(calc(20 / 1650 * 100vw), 20px);
    }

    .modal__content p{
        margin-top: min(calc(16 / 1650 * 100vw), 16px);
    }
    .modal__content{
        font-size:  min(calc(16 / 1650 * 100vw), 16px);
        line-height: normal;
    }
}