.modal-content {
    overflow-x: scroll;
    display: flex;
    flex-direction: column;
}

#jobs tr {
    user-select: none;
    cursor: default;
}

#close-modal-button {
    margin-top: 18px;
    align-self: end;
}

#close-modal-button--mobile {
    display: none;
    width: 36px;
    height: 36px;
    align-self: end;
}


/***** MODAL DIALOG ****/
#modal {
    /* Underlay covers entire screen. */
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;

    /* Flexbox centers the .modal-content vertically and horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;
}

#modal > .modal-underlay {
    /* underlay takes up the entire viewport. This is only
    required if you want to click to dismiss the popup */
    position: absolute;
    z-index: -1;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#modal > .modal-content {
    /* Position visible dialog near the top of the window */
    margin-top: 10vh;

    /* Sizing for visible dialog */
    width: 80%;
    max-width: 1200px;

    /* Display properties for visible dialog*/
    border: solid 1px #999;
    border-radius: 8px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    background-color: white;
    padding: 20px;

}

.modal-header {
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;
    flex-wrap: wrap;
}

@media screen and (max-width: 900px) {
    .property-column {
        display: none;
    }
}

@media screen and (max-width: 610px) {
    #close-modal-button--mobile {
        display: flex;
    }

    #close-modal-button {
        display: none;
    }

    #modal > .modal-underlay {
        display: none;
    }

    #modal > .modal-content {
        margin-top: 0;
        width: 100%;
        border: 0;
        border-radius: 0;
        height: 100vh;
    }
}