/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

/* Modal Content */
.modal-content {
    position: fixed;
    top: 0;
    background-color: #fefefe;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 1px 15px;
    background-color: #bdb052;
    color: white;
}

.modal-header h2 {
    text-align: center;
}

.modal-body {
    padding: 2px 16px;
}

.modal-body p {
    text-align: center;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from { top: -300px; opacity: 0 } 
    to { top: 0; opacity: 1 }
}

@keyframes slideIn {
    from { top: -300px; opacity: 0 }
    to { top: 0; opacity: 1 }
}

@-webkit-keyframes fadeIn {
    from { opacity: 0 } 
    to { opacity: 1 }
}

@keyframes fadeIn {
    from { opacity: 0 } 
    to { opacity: 1 }
}