/* Equalize Simple List Blocks*/

/* Change item class here */
.items_d0423acc8ffc445b84b137000bf06599 { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}

/* Change item class here */
.items_d0423acc8ffc445b84b137000bf06599 > .item {
	display: flex;
	flex-direction: column;
}

/* Full Width Gallery Images in Mobile */

@media only screen and (max-width: 767px) {
    .blockContent.cols3 .imgGridItem{
        width: 100%;
        margin: 0;
        padding: 10px;
    }
}
@media only screen and (max-width: 767px) {
    .blockContent.cols4 .imgGridItem{
        width: 100%;
        margin: 0;
        padding: 10px;
    }
}
/* 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; 
    }
}
/* Responsive Inline Simple List */

@media only screen and (max-width: 767px) {
    #page_b91280fb60784e7fb84b29d0239fef98 .listView.vAlgn1 .itemPreview.hasImg, 
    #page_b91280fb60784e7fb84b29d0239fef98 .listView.vAlgn2 .itemPreview.hasImg {
        display: block;
    }
    
    #page_b91280fb60784e7fb84b29d0239fef98 .listView .itemPreview.hasImg .itemImg {
        width: 100%;
        margin-bottom: 20px;
    }
    
    #page_b91280fb60784e7fb84b29d0239fef98 .listView .itemPreview.hasImg .itemContent {
        width: 100%;
    }
}

/*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 {
    padding: 15px;
}

.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%);
    }
}