.modal { 
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    padding-top: 15px;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

.close:hover {
    background: #00d9ff;
}

.modal-header {
    display: flex;
    flex-direction: row;
    padding-left: 12px;
    padding-right: 12px;
/*    background-color: rgb(56, 146, 206);*/
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    justify-content: center;
}

.modal-header h2{
    font-size: 13pt;
}

.modal-body {
    display: flex;
    flex-direction: column;
    padding-left: 25px;
    padding-right: 25px;
}

.modal-body p{
    font-size: 10.5pt;
}

.modal-footer {
    /* margin-top: 8px; */
    display: flex;
    flex-direction: row;
    justify-content: right;
    padding: 10px 24px;
    /*    background-color: rgb(56, 146, 206);*/
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.modal-footer button{
    margin-right: 5px;
    width: auto;
    padding: 4px;
    font-size: 11pt;
    border-radius: 7px;
    color: white;
    background-color: rgb(0, 0, 0);
    font-weight: bolder;
}

.modal-footer h2{
    font-size: 12pt;
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    border-radius: 25px;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    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;
}

/* Animation */

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

@keyframes animatebottom {
    from {
        top: 0;
        opacity: 1
    }
    to {
        top: -300px;
        opacity: 0
    }
}
