/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.2s;
    animation-name: fadeIn;
    animation-duration: 0.2s
}

/* Modal Content */
.modal-content {
    position: fixed;
    bottom: 0;
    left: 50%; /* transform: translateX(-50%);*/
    background-color: #fefefe;
    border: 1px solid black;
    width: 50%; max-width: 400px;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.2s;
    animation-name: slideIn;
    animation-duration: 0.2s
}

/* The Close Button */
.close {
    color: orange;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header { 
    padding: 2px 16px;
    background-color: #2B2B2B; /*#F79239;*/
    color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px;
    background-color: white; /*#F79239;*/
    color: black;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}