/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    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 */
}

/* Modal Header */
.modal-header {
    padding: 2px 16px;
    background-color: #FFFF00;
    color: black;
    font-weight: bold;
    min-height: 30px;
}

.modal-title { font-size: 1.4em; }

/* Modal Body */
.modal-body {
    padding: 2px 16px;
    min-height: 150px;
}

/* Modal Footer */
.modal-footer {
    margin-top: 55px;
    padding: 10px;
    /* background-color: #3800cc; */
    color: white;
    min-height: 15px;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    border: 1px solid #888;
    width: 850px;
    font-size: 120%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from { top: -300px; opacity: 0; }
    to { top: 0; opacity: 1; }
}

@keyframes animatetop {
    from { top: -300px; opacity: 0; }
    to { top: 0; opacity: 1; }
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
/* The alert message box */
.alert { font-size: 110%; padding: 15px; background-color: #f44336; /* Red */ color: white; margin-bottom: 15px; opacity: 1; transition: opacity 0.6s; /* 600ms to fade out */ }
.alert.success { background-color: #4CAF50; }
.alert.info { background-color: #2196F3; }
.alert.warning { background-color: #ff9800; }
/* The close button */
.closebtn { margin-left: 15px; color: white; font-weight: bold; float: right; font-size: 22px; line-height: 20px; cursor: pointer; transition: 0.3s; }

    /* When moving the mouse over the close button */
    .closebtn:hover { color: black; }