/* 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; 
    }
}

/* Button Padding - Sitewide */

.button, .navContent li .button {
    padding: 15px 35px;
}

/* Homepage Subtitle Spacing */

.blockWrap_f899ca0e1e674ccbbac858950867939b .pageSubtitle {
    margin-top: 25px;
    margin-bottom: 30px !important;
}

/* Homepage - Mobile Hero Styling */

@media only screen and (max-width: 768px) {
    div.blockWrap_f899ca0e1e674ccbbac858950867939b {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .blockWrap_f899ca0e1e674ccbbac858950867939b .pageTitle {
    font-size: 40px;
    }
}

/* Full Width Gallery Images in Mobile */

@media only screen and (max-width: 767px) {
    .blockContent.cols3 .imgGridItem {
        width: 100%;
        margin: 0;
    }
}

/*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;
    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);*/
/*}*/