/*Mad Accordion*/
.madwire-accordion {
    margin: 30px 0;
}

.madwire-accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.madwire-accordion-title {
    background: #ec1c26; /* 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;
}

/*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;
}

.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%);
    }
}

/*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);*/
/*}*/
/* 2 Column Form */

div#madHero {
    text-align: center;
    padding: 15px;
}

div#madHero > div.madHero-item{
    flex: 1 1 0;
    margin-bottom: 20px;
}

.madTitle {
    font-size: 1.8rem; /*accepts decimals*/
    /*color: #000;*/ /*use to change color*/
}

.madContent {
    font-size: 1.1rem; /*accepts decimals*/
    /*color: #000;*/ /*use to change color*/
}


@media only screen and (min-width: 768px) {
    div#madHero {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        text-align: left;
    }
}