/********************
BASE +/- STYLES
********************/
.mwd-header {
    font-size: 30px;
}
.mwd-accordion {
    margin: 30px 0;
}
.mwd-accordion .mwd-accordion-item {
    border: 1px solid #1B8FFF ;
    margin: 15px;
}
.mwd-accordion .mwd-accordion-item .mwd-accordion-title {
    font-size: 20px;
    background: #1B8FFF;
    color: white;
    padding: 10px 20px;
}
.mwd-accordion .mwd-accordion-item .mwd-accordion-content{
padding: 20px 20px 0 20px;
}
.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%;
    /* Standard Centering: Pulls the box back by half its own width and height */
    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;
        /* FIX: Center horizontally on mobile, while keeping top position at 12rem */
        transform: translateX(-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);*/
/*}*/