.leasing-modal-content table {
    width: 100%;
    margin: 2rem 0;
}

.leasing-modal-content th, .leasing-modal-content td {
    text-align: center;
    border: 1px solid #e3e3e3;
    padding: 1rem;
}

#open-modal {
    margin-top: 1rem;
}

.custom-leasing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.leasing-modal-content {
    background-color: #fff !important;
    padding: 20px !important;
    border-radius: 5px !important;
    width: 50% !important;
    max-height: 80% !important;
    text-align: center !important;
}

.close-modal {
    float: right !important;
    cursor: pointer !important;
    font-size: 20px !important;
}

.leasing-info {
    text-align: left;
    font-size: 14px;
}

@media screen and (max-width:720px) {
    .leasing-modal-content {
        width: 100% !important;
        overflow-y: scroll !important;
    }

    .leasing-modal-content table, .leasing-modal-content thead, .leasing-modal-content tbody, .leasing-modal-content th, .leasing-modal-content td, .leasing-modal-content tr {
        display: block;
        width: 100%;
    }

    .leasing-modal-content thead {
        display: none;
    }

    .leasing-modal-content tr {
        border-top: 1px solid #73b131;
    }

    .leasing-modal-content td {
        display: block;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .leasing-modal-content td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
    }
}

@media screen and (min-width:721px) and (max-width:1200px) {
    .leasing-modal-content {
        width: 80% !important;
    }
}