.member-directory {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 5% !important;
    padding-bottom: 5% !important;
}

.category-grouping {
    padding: 1rem;
}

.category-title {
    width: 100%;
}

.category-title h2 {
    background-color: #ececec;
    font-size: 28px;
    border-radius: 5px;
    padding: 0px 10px 0px 30px; 
    width: 80%;
}

.info {
    padding-top: 20px;
    white-space: pre-line;
}

.member-level {
    float: none;
}

.member-level img {
    margin-top: 0px;
    max-width: 120px;
}

.member {
    border: 2px solid #ececec;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    margin: 5px;
    padding: 30px;
    width: 100%;
}

.member h3 {
    font-size: 24px;
}

.memberlogo {
    margin-bottom: 1rem;
}
.memberlogo img {
    display: block;
    max-width: 100%;
}

.member div {
    padding-top: 15px;
}

.address {
    white-space: pre-line;
}

.email a {
    font-size: 17px;
}

.styled {
    padding-bottom: 10px;
}

.styled summary::-webkit-details-marker {
    display: none;
   }
   
   .styled summary {
    background: #ececec;
    cursor: pointer;
    list-style: none;
    padding: 1em 1.5em 1em 1em;
    position: relative;
     
     &::after {
       content: '';
       border-right: 4px solid;
       border-bottom: 4px solid;
         top: 1.5em;
         position:absolute;
         right: 3em;
       height: .75em;
       width: .75em;
       transform: rotate(45deg) translatey(-.1em);
     }
     
     &:focus {
       outline: 2px solid;
       outline-offset: 1px;
     }
}

/**
* Directory 2 Column Layout on Desktop
*/
@media screen and (min-width: 750px) {
    .category-title {
        width: 100vw;
    }
    
    .category-grouping {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .category-title h2 {
        width: 100%;
    }

    .member-level {
        float: right;
    }
    .member-level img {
        margin-top: -15px;
    }
    .member {
        width: 48%;
        font-size: inherit;
        text-align: left;
    }
    .category-grouping h2 {
        font-size: 32px;
    }
}

@media screen and (min-width: 990px) {
    /* when there is an alert, we need more space so the top categories aren't covered up 
    .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 390px!important;
    } */

    .member-directory {
        padding: 0 10%;
    }
}