/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

/* Modal Header */
.modal-header {
    padding: 2px 16px;
    color: white;
}

/* Modal Body */
.modal-body {
    max-height: calc(100% - 48px);
    overflow: auto;
    padding: 0;
}

/* Modal Footer */
.modal-footer {
    display: none;
    text-align: right;
    padding: 5px 16px;
    color: white;
}

/* Modal Content */
.modal-content {
    position: relative;
    margin: 2% auto;
    padding: 0;
    border: 1px solid #5695af;
    width: 640px;
    max-width: 80%;
    height: 500px;
    max-height: 80%;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-content table tr:nth-child(even) {
    background-color: #EFEFEF;
}

/* The Close Button */
.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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

/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}