/* 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 Home Hero Styling */

@media only screen and (max-width: 767px) {
    div.blockWrap_ca1ee18fdbce4f3aa90e5a9067086564 {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .blockWrap_ca1ee18fdbce4f3aa90e5a9067086564 .contentTitle {
        font-size: 45px; 
    }
}

/* Responsive Home CTA Styling */

@media only screen and (max-width: 767px) {
    div.blockWrap_dfdd1df00af04b488d6d93f916b01593 {
        padding-top: 5px;
        padding-bottom: 60px;
    }
    
    .blockWrap_dfdd1df00af04b488d6d93f916b01593 .contentTitle {
        font-size: 36px; 
    }
}

/* Equalize Simple List Blocks*/

/* Change item class here */
.items_db0ddef2ee5d486d8d7874bcf6532277 { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}

/* Change item class here */
.items_db0ddef2ee5d486d8d7874bcf6532277 > .item {
	display: flex;
	flex-direction: column;
}

/* Full Width Gallery Images in Mobile */

@media only screen and (max-width: 767px) {
     .blockContent.cols2 .imgGridItem {
        width: 100%;
        margin: 0;
        padding: 10px;
    }
    .blockContent.cols3 .imgGridItem {
        width: 100%;
        margin: 0;
        padding: 10px;
    }
    .blockContent.cols4 .imgGridItem {
        width: 100%;
        margin: 0;
        padding: 10px;
    }
}

/********************
ACCORDION BASE STYLES
-edit look of accordion here
********************/
.mwd-header {
  font-size: 30px;
}

.mwd-accordion {
  margin: 30px 0;
}

.mwd-accordion .mwd-accordion-item {
  border: 2px solid #ffffff;
  margin-bottom: 20px;
  background-color: #ffffff;
}
.mwd-accordion .mwd-accordion-item .mwd-accordion-title {
  font-size: 24px;
  background: #0c6eb9;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
}
.mwd-accordion .mwd-accordion-item .mwd-accordion-content {
  color: black;
  padding: 20px 20px 0 20px;
}
.mwd-accordion .mwd-accordion-item .mwd-accordion p {
  margin: 0;
}

/* Home Page Equalize Simple List Blocks*/

/* Change item class here */
.items_f432cce192974cf5ae75ec0ae1af40c8 { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}

/* Change item class here */
.items_f432cce192974cf5ae75ec0ae1af40c8 > .item {
	display: flex;
	flex-direction: column;
}

/********************
  BASE +/- STYLES
  ********************/
.mwd-accordion-content {
  display: block;
  overflow: hidden;
  max-height: 100%;
  transition: all 0.3s ease-in-out;
}

.mwd-accordion-title > :first-child {
  max-width: 90%;
}

.mwd-accordion-title {
  position: relative;
}
.mwd-accordion-title .mwd-accordion-icon {
  position: absolute;
  background: white;
  width: 20px;
  height: 3px;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
}
.mwd-accordion-title .mwd-accordion-icon:after {
  content: "";
  position: absolute;
  background: white;
  width: 3px;
  height: 20px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
}

.active .mwd-accordion-icon:after {
  transform: translateY(-50%) rotate(90deg);
}

/*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;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.5),
        rgba(0,0,0,.5)
        ),url(https://static.mywebsites360.com/f0019b3db7d14d608a6a767b9e0a7e6d/i/d14e4b0bdc6646ed83d445ba441fea50/2/5feFb8zhrk/pop-up.png);
    background-position: center;
    background-size: cover;
    padding: 50px 15px;
    border: 7px solid;
    border-top-color: #0D6DB9;
    border-right-color: #0D6DB9;
    border-bottom-color: #CA1D23;
    border-left-color: #CA1D23;
    border-radius: 10px;
}

.mad-popup-wrap .close {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 30px;
    cursor: pointer;
}

.mad-popup-text {
    padding: 15px;
}

p.popup-body {
    margin: 15px 0;
}

.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);
}