﻿.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* 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: var(--primLightBlue) !important;
}

/* Modal Content/Box */
.modal-content {
    background-color: var(--primLightBlue) !important;
    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
    }
}

.mm {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    font-size: .9375rem;
}

.mm-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(13rem, 1fr));
    gap: 2rem;
}

.mm-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mm-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .5rem;
}

    .mm-links a {
        color: #5f6368;
        text-decoration: none;
    }

        .mm-links a:hover, .mm-links a:focus-visible {
            color: #111;
            text-decoration: underline;
        }

@media (max-width: 900px) {
    .mm {
        grid-template-columns: 1fr;
    }

    .mm-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .mm-columns {
        grid-template-columns: 1fr;
    }
}