/* 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: 8px 25px;
}

/* Equalize Simple List Blocks*/

/* Change item class here */
.items_faf75b774b694a31993e44f415e1a0cf { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}

/* Change item class here */
.items_faf75b774b694a31993e44f415e1a0cf  > .item {
	display: flex;
	flex-direction: column;
}

/* Homepage - Mobile Hero Styling */

@media only screen and (max-width: 768px) {
    div.blockWrap_b68f013fcc4844e590bbd0d984a5100f {
        padding-top: 50px;
    }
    .blockWrap_b68f013fcc4844e590bbd0d984a5100f .contentTitle {
    font-size: 40px;
    }
}

/* Flip 50-50 Stacking Order in Mobile */

.block_b68f013fcc4844e590bbd0d984a5100f {
    display: flex;
    flex-flow: wrap-reverse;
}

/* Mobile Hero Sizing */

@media only screen and (max-width: 767px) {
    div.blockWrap_b68f013fcc4844e590bbd0d984a5100f {
    padding-top: 30px;
    }
    div.blockWrap_b68f013fcc4844e590bbd0d984a5100f .blockInnerContent {
    padding-bottom: 30px;
}
}

/* 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: url(https://static.mywebsites360.com/d9fd0e364e3548b0b5177fbcc0abc832/i/d77f77901205434894ae41ef02caf47e/2/5feFb8zhrk/popup-bg-light.jpg) center / cover no-repeat;
    min-width: 500px;
    text-align: center;
    padding:30px;
}

.popup-img {
    margin-bottom: 15px;
}

.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: #222;
}

.mad-popup-wrap p.popup-subheader {
    margin: 0;
    font-size: 25px;
    text-align: center;
    margin-bottom: 15px;
    color: #222;
}

@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);*/
/*}*/