.modal {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10001;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.75);
    opacity: 0;
    visibility: hidden;
    appearance: none;
    transition: all .5s ease;
}

.modal-content-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.modal-row {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: var(--black);
}

.modal-col.image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.modal .form-section {
    margin-bottom: 0;
}

.modal-body {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--black);
    max-width: 780px;
    margin: 0 auto;
    padding-top: 80px;
}

.modal-close {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 20px;
    height: 20px;
    color: var(--white);
    border: 0;
    outline: 0;
    background-color: transparent;
    /*background-image: url('/wp-content/themes/kalyna/assets/img/icons/xmark-solid.svg');*/
    /*background-size: cover;*/
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body .content {
    max-height: 95vh;
    padding: 20px 20px 50px;
    overflow: auto;
}

.modal-body .content::-webkit-scrollbar {
    width: 3px;
}

.modal-body .content::-webkit-scrollbar {
    background: transparent;
}

.modal-body .content::-webkit-scrollbar-thumb {
    background: var(--white);
    width: 3px;
    border-radius: 3px;
}

.modal-form-title {
    margin-bottom: 20px;
    text-transform: uppercase;
}

.modal-form-desc {
    margin-bottom: 40px;
    font-weight: 500;
}

.modal-body .wpcf7-list-item label {
    font-size: 12px;
}

.modal-body .form-section .wpcf7-form-control-wrap .wpcf7-checkbox {
    gap: 10px;
}

.agree-text {
    font-size: 16px;
    font-weight: 300;
    text-align: right;
    text-transform: uppercase;
}

@media(max-width: 1500px) {
    .modal-row {
        grid-template-columns: 0.8fr 1fr;
    }
}

@media(max-width: 1024px) {
    .modal {
        overflow-y: auto;
    }
    .modal-content-wrap {
        height: auto;
    }
    .modal-row {
        display: flex;
        flex-direction: column-reverse;
        height: auto;
    }
    .modal-body .content {
        max-height: unset;
        overflow: unset;
    }
}
