/* Nav Dropdowns */

.navContent ul li ul a {
    white-space: normal !important;
    overflow: visible !important;
}

@media only screen and (min-width: 768px) {
    .navContent ul li ul {
        min-width: 250px !important;
        right: auto !important; 
    }
}
/* Sitewide Banner */

.blockWrap_dcb366a7d0d44a1fa494a4bd59e881e6{
background-color: #007041;
color: #ffffff; 
text-align: center;
padding: 10px;
}

.headerAndNavContainer{
    padding-top: 0px !important;
}
/*Popup CSS*/
.mad-popup-wrap {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 76%);
    z-index: 9999;
}

.mad-popup-wrap.show {
    display: block;
}

.mad-popup-content img {
    max-width: 100%;
    width: 100%;
}

.mad-popup-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    
    /* Width & Height Adjustments */
    width: 80%; /* Responsive width */
    max-width: 600px; /* Prevents it from being too wide */
    height: auto; /* Allows flexibility */
    max-height: 80vh; /* Ensures it doesn't get too tall */
    
    text-align: center;
    padding: 20px;
    box-sizing: border-box; /* Prevents width/height issues */
    overflow-y: auto; /* Adds scroll inside popup if needed */
}

.mad-popup-wrap .close {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 30px;
    cursor: pointer;
}

.mad-popup-text {
    padding: 15px;
}

.mad-popup-wrap p.popup-header {
    margin: 0;
    font-size: 30px;
    text-align: center;
    color: #000000; 
}

.mad-popup-wrap p.popup-subheader {
    margin: 0;
    font-size: 25px;
    text-align: center;
    color: #000000; 
}

/* Mobile adjustments */
@media screen and (max-width: 550px) {
    .mad-popup-box {
        width: 90%; /* Takes up most of the screen */
        max-width: 90%;
        max-height: 80vh; /* Prevents excessive height */
        top: 20vh; /* Moves it up to avoid needing to scroll */
        transform: translate(-50%, 0); /* Fixes off-screen positioning */
    }
}

/*uncomment to change color of the popup text*/
/*p.popup-header, p.popup-subheader {*/
/*    color: black;*/
/*}*/

/*uncomment to change close button to white*/
/*.close svg {*/
/*    filter: invert(1);*/
/*}*/