﻿.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 5; /* 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 */
    background-color: #e9f6fe;
}

/* Modal Content/Box */
.modal-content {
    background-color: #e9f6fe;
    margin: 70px auto; /* 15% from the top and centered */
    padding: 20px;
    border: none;
    width: 100%;
    max-width: 1650px;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
}

@media (max-width:576px) {
    .modal-content {
        padding: 0 20px;
    }
}

/* 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;
    }

.modalSearchBar {
    background-color: #f4f6f9;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 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
    }
}