body.modal-open {
    height: 100vh;
    overflow-y: hidden;
}

td {
    border: none;
    padding: .5em .75em .5em .75em;
}

td + td {
    padding: .5em .75em .5em 0;
}

.card {
    padding: 1.5em 2em;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 0;
}

.card:last-child {
    margin-bottom: 2em;
}

.card > *:last-child,
.card > *:last-child > *:last-child,
.card > *:last-child > *:last-child > *:last-child {
    margin: 0;
}

.section-title {
    margin-bottom: .5em;
}

.empty-state {
    opacity: .5;
    margin-bottom: 2em;
}

.link-right {
    display: block;
    margin-top: 2em;
    margin-bottom: 2em;
    overflow: auto;
}

.fc-button {
    width: auto;
    line-height: 1em;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    align-items: center;
    justify-content: center;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    border: 1px solid #888;
    width: 90%; /* Could be more or less, depending on screen size */
    border-radius: .3rem;
}

@media (min-width: 992px) {

    .modal-content {
        width: 50%; /* Could be more or less, depending on screen size */
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted #969696;
    padding: 16px;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-content > div:not(:last-child) {
    border-bottom: 1px dotted #969696;
    padding: 16px;
}

.modal-content > div:last-child {
    padding: 16px;
}

.modal-body > p:last-child {
    margin: 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

.modal-footer > .button:first-child {
    margin: 0 .25rem 0 0;
}

.modal-footer > .button:last-child {
    margin: 0 0 0 .25rem;
}

/* The Close Button */
.close {
    /* Hacky way to increase the "button" clickable size.*/
    padding: 1rem;
    margin: -1rem;

    width: auto;
    height: auto;
    color: #aaa;
    line-height: 24px;
    /*float: right;*/
    font-weight: bold;
    font-size: 1.5rem;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
