/* 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;
}


/* Button Padding */
.button {
    padding: 10px 20px;
}
    
.navContent li .button {
    padding: 10px 20px;
}

/* Nav Dropdowns */

.navContent ul li ul a {
    white-space: normal !important;
    overflow: visible !important;
    padding: 15px;
}

@media only screen and (min-width: 768px) {
    .navContent ul li ul {
        min-width: 250px !important;
        right: auto !important; 
    }
}


/* 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%);
    }
}


/* 2 Column Section Base */
.small-feature {
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

/* Left Column Text Content Styles */
.main-heading {
  font-size: 2.9em;
  line-height: 1;
  margin-bottom: 20px;
  font-family: brandongrotesqueblack, Arial, Verdana, sans-serif;
  font-style: normal;
  font-weight: 900;
  color: #115c90;
  letter-spacing: 0.02em;
}

.description {
  color: #333333;
  font-size: 1em;
  line-height: 1.7;
}

/* Right Column Custom Blue Box Styles */
.col-blue-box {
  background-color: #fabc5c; 
  color: #ffffff;
  padding: 45px 40px;
  border-radius: 3px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

/* Form box headings and paragraphs */
.box-heading {
  font-size: 1.6rem;
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 700;
  font-family: brandongrotesqueblack, Arial, Verdana, sans-serif;
}

.box-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* Container hosting third-party elements */
.form-container {
  width: 100%;
  margin-top: 20px;
}

/* Desktop Responsiveness & Overlap settings */
@media (min-width: 992px) {
  .feature-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
  }

  .col-blue-box {
    margin-top: -350px; /* Maintains your original hero-overlap behavior */
    position: relative;
    z-index: 10;
  }
  
  .col-text {
    padding-right: 20px;
  }
}




/*Responsive Homepage Hero*/
/*replace <.block_...> with copyable selector from widget*/

@media only screen and (max-width: 767px) {
    .blockContainer:has.block_f899ca0e1e674ccbbac858950867939b {
        padding-top: 50px;
        padding-bottom: 50px;
        text-align: center;
    }

    .block_f899ca0e1e674ccbbac858950867939b .pageTitle {
        font-size: 35px;
    }

    .block_f899ca0e1e674ccbbac858950867939b .pageSubtitle {
        font-size: 18px;
    }
    
    .blockWrap_d3989d81577644ebac76a5b7f97c4d0f .blockImg {
        display: none !important;
    }
    
}/*Mad Accordion*/
.madwire-accordion {
    margin: 30px 0;
}

.madwire-accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.madwire-accordion-title {
    background: #115D90; /* color of accordion title background */
    font-size: 24px;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.madwire-accordion-title::after {
    content: '+';
    font-size: 38px;
    margin: 0;
    padding: 0;
    line-height: .5;
}

.madwire-accordion-title.open::after {
    content: '-';
    font-size: 55px;
    margin: 0;
    padding: 0;
    line-height: 0;
    position: absolute;
    top: 43%;
    right: 20px;
}


.madwire-accordion-content {
    color: black; /* color of accordion content */
    padding: 10px 20px;
    background: white;
}