/* 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; 
    }
}

/*Mad Accordion*/
.madwire-accordion {
    margin: 30px 0;
}

.madwire-accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.madwire-accordion-title {
    background: rgba(25,62,79,0.6); /* 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: #121212; /* color of accordion content */
    padding: 10px 20px;
    background: white;
}

/* Equalize Simple List Blocks HOMEPAGE*/

/* Change item class here */
.items_dd85ea7aafed4aa1b6b6652bc0ccd5e5 { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}

/* Change item class here */
.items_dd85ea7aafed4aa1b6b6652bc0ccd5e5 > .item {
	display: flex;
	flex-direction: column;
}

/* Equalize Simple List Blocks how it works 1*/

/* Change item class here */
.items_ce3adcd336504a19a9bd30aad3baec40 { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}

/* Change item class here */
.items_ce3adcd336504a19a9bd30aad3baec40 > .item {
	display: flex;
	flex-direction: column;
}

/* Equalize Simple List Blocks how it works 2*/

/* Change item class here */
.items_ea2e21840c37417e929acd35074d1c50 { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}

/* Change item class here */
.items_ea2e21840c37417e929acd35074d1c50 > .item {
	display: flex;
	flex-direction: column;
}


/* --- Animated Counter Styles --- */


/* The main container for the counter */
.counter-wrapper {
  background-color: #1A3E4F;  /* New background color */
  border-radius: 15px;         /* New rounded corners */
  text-align: center;
  padding: 2rem 1rem;
  font-family: sans-serif;   /* Or your site's font */
}

/* The number that will count up */
.counter {
  font-size: 4rem;
  font-weight: 700;
  color: #FFFFFF;              /* New: White text */
  display: inline-block;
  vertical-align: middle;
}

/* The '+' sign next to the number */
.counter-suffix {
  font-size: 4rem;
  font-weight: 700;
  color: #FFFFFF;              /* New: White text */
  display: inline-block;
  vertical-align: middle;
}

/* The text label below the number */
.counter-label {
  font-size: 1rem;
  font-weight: 400;
  color: #FFFFFF;              /* New: White text */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.5rem;
  opacity: 0.9;                /* Optional: Makes the label slightly less bright */
}

/*Simple List Lightbox */
    
.block_ed82b4f7bd2b471db0fdce8319b41066 .itemInnerContent {
    display: none;
}

.block_ed82b4f7bd2b471db0fdce8319b41066 .item{
    cursor:pointer;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 50%);
    z-index: 99;
}

.iframe-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 0;
    overflow: hidden;
    padding-bottom: 28.25%;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.popup-overlay span.close {
    position: absolute;
    top: 20%;
    right: 20%;
    cursor: pointer;
    width: 45px;
    filter: invert(1);
}

@media screen and (max-width: 1200px){
   .popup-overlay span.close {
        top: 28%;   
    }    
}

@media screen and (max-width: 991px){
    .popup-overlay span.close {
        top: 33%;   
    }
}

@media screen and (max-width: 600px){
    .iframe-wrapper {
        width: 88%;
        padding-bottom: 49.25%;
    }
    .popup-overlay span.close {
        position: absolute;
        right: 5%;
    }
}
/*Simple List Lightbox */
    
.block_ed394311845046c194fb6b42f51fd0e4 .itemInnerContent {
    display: none;
}

.block_ed394311845046c194fb6b42f51fd0e4 .item{
    cursor:pointer;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 50%);
    z-index: 99;
}

.iframe-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 0;
    overflow: hidden;
    padding-bottom: 28.25%;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.popup-overlay span.close {
    position: absolute;
    top: 20%;
    right: 20%;
    cursor: pointer;
    width: 45px;
    filter: invert(1);
}

@media screen and (max-width: 1200px){
   .popup-overlay span.close {
        top: 28%;   
    }    
}

@media screen and (max-width: 991px){
    .popup-overlay span.close {
        top: 33%;   
    }
}

@media screen and (max-width: 600px){
    .iframe-wrapper {
        width: 88%;
        padding-bottom: 49.25%;
    }
    .popup-overlay span.close {
        position: absolute;
        right: 5%;
    }
}

/* Homepage - Mobile Hero Styling */

@media only screen and (max-width: 768px) {
    div.blockWrap_ca1ee18fdbce4f3aa90e5a9067086564 {
        padding-top: 50px;
    }
    .blockWrap_ca1ee18fdbce4f3aa90e5a9067086564 .contentTitle {
    font-size: 40px;
    }
}