/* 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; 
    }
/* Custom CSS to force the Elfsight Translator into a compact button style, left-justified */

/* Targets the main widget container and sets it to left-justify */
.elfsight-app-da697886-ecdf-40e0-8794-dab3cdfcbb54 {
    display: flex !important; 
    justify-content: flex-start !important; /* Forces content to the start (left) */
    align-items: center !important;     
    padding: 0 !important; 
    margin: 0 !important; /* Removes auto margins that cause centering */
    width: fit-content !important; 
    max-width: 100% !important; 
}

/* Hide all individual flag images within the widget */
.elfsight-app-da697886-ecdf-40e0-8794-dab3cdfcbb54 img {
    display: none !important;
}

/* Hide the individual language names if they are separate from the main button text */
.elfsight-app-da697886-ecdf-40e0-8794-dab3cdfcbb54 .eapps-translator-languages__item,
.elfsight-app-da697886-ecdf-40e0-8794-dab3cdfcbb54 li {
    display: none !important;
}

/* Try to target and style the main selector button (Left Justified) */
.elfsight-app-da697886-ecdf-40e0-8794-dab3cdfcbb54 .eapps-translator-selector,
.elfsight-app-da697886-ecdf-40e0-8794-dab3cdfcbb54 .eapps-button { 
    display: block !important; 
    background-color: #2F5597 !important; 
    color: white !important; 
    border: none !important; 
    padding: 10px 20px !important; 
    border-radius: 5px !important; 
    font-size: 1em !important; 
    cursor: pointer !important;
    /* Ensure the button itself is also left-aligned */
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* If the "English / Español" text is part of a span within the button */
.elfsight-app-da697886-ecdf-40e0-8794-dab3cdfcbb54 .eapps-translator-selector__text {
    display: inline !important; 
    white-space: nowrap !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;
    margin-top: 40px;
}

.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;
    min-width: 500px;
    text-align: center;
}

.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;
}

.mad-popup-wrap p.popup-subheader {
    margin: 0;
    font-size: 25px;
    text-align: center;
}

@media screen and (max-width: 550px){
  .mad-popup-box {
        min-width: 90%;
        top: 12rem;
        transform: translate(-50%);
    }
}

/*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);*/
/*}*/