/* The Modal (background) */

.modal {
    display: none;
    position: fixed;
    z-index: 9999999999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.4);
}

#tourModal,
#courseModal {
    display: none;
}

.modal-content {
    position: relative;
    z-index: 99999999999;
    background-color: #FFFFFF;
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: 800px;
    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.5s;
    animation-name: animatetop;
    animation-duration: 0.5s;
}

@media screen and (max-width: 830px) {
    .modal {
        padding-top: 0px;
    }
    .modal-content {
        width: 100%;
        max-width: 100%;
    }
}

.modal input {
    height: 55px;
    line-height: 55px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border: 1px solid #CCCCCC;
}

/* 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: #999999;
    float: right;
    font-size: 50px;
    padding-top: 10px;
}

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

.modal-header {
    padding: 16px 20px;
    background-color: #FFFFFF;
    color: white;
    border-bottom: 3px solid #eaeaea;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #FFFFFF;
    color: white;
}