    :root {
        --aemc-yellow: #FFDE00;
        --aemc-black: black;
    }
    .distro-card p {
        color: #676767;
        line-height: 100%;
        font-size: 16px;
        font-family: HelveticaRoman, sans-serif;
        font-weight: 500;
        padding-bottom: 0;
    }

    .top-content {
        display: flex; 
        flex-direction: column;
        width: 100%;   
    }

    #pd-copy{
        padding: 0 22px;
    }
    
    .a-flexEnd {
        align-content: flex-end;
        margin-left: auto;
        margin-right: 18px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .prem-title {
        padding: 18px 18px 18px 0;
        font-size: 48px;
        line-height: 1.2;
    }

    .lc-div {
        display: flex;
        width: 100%;
        gap: 10px;
        margin-bottom: 18px;
        align-items: stretch;
    }

    .landing-cards {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        text-align: center;
        width: 100%;
        border: 1px solid lightgray;
        border-radius: 5px;
        box-shadow: 1px 4px 8px lightgray;
        padding: 8px 12px;
    }

    .logo-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        width: 100%;
        border: 1px solid lightgray;
        border-radius: 5px;
        box-shadow: 1px 4px 8px lightgray;
        scale: .98;
        transition: scale 0.7s ease;
    }

    .logo-card:hover {
        scale: 1.05;
        text-decoration: none;
        cursor: pointer;
    }

    .lc-title {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }

    .hr-top {
        margin-bottom: 16px;
    }

    .select-other-distros {
        display: flex;
        width: 100%;
        margin-bottom: 20px;
    }

    .other-dist {
        display: flex;
        width: auto;
        align-items: flex-start;
        margin-left: auto;
    }

    .select-dist {
        display: flex;
        width: auto;
    }

    #selects {
        display: flex;
        gap: 10px;
        padding: 6px 18px 18px 0px;
    }

    .sod-title .contentTitle {
        margin-bottom: 10px;
    }

    .cscl {
        font-size: 14px;
        /*margin-left: 16px;*/
    }

    .selectContainer {
        display: flex;
        gap: 12px;
    }

    .selectDiv {
        display: flex;
        flex-direction: column;
    }

    .btn {
        margin-top: 20px;
    }

    .tier {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        margin: 2px 18px;
    }

    .hr-fmt {
        display: flex;
        height: 3px;
        background-color: var(--aemc-yellow);
        margin: 18px auto;
        padding: 4px 0;
        border: none;
        width: 90%;
    }

    .submit-btn {
        padding: 6px;
        color: var(--aemc-yellow);
        background-color: var(--aemc-black);
        border: none;
        border-radius: 10px;
        cursor: pointer;
    }

    .card-container {
        display: grid;
        grid-template-columns: repeat(5,minmax(0,1fr));
        gap: 12px;
        padding-left: 12px;
        padding-bottom: 32px;
    }

    .distro-card {
        display: flex;
        flex-direction: column;
        box-shadow: 0 5px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
        padding: 12px;
        border-radius: 6px;
        border-top: 7px solid #eee;
        width: auto;   
        text-align: center;
    }

    .ds-title,
    .location {
        font-size: 16px;
        line-height: 19px;
        font-weight: 600;
        padding: 0;
    }

    .ds-title { color: #002856; }
    .ds-title2{
        padding-top: 4px;
        padding-bottom: 0;
    }

    .location { color: #0066B3; }

    .address1,
    .address2,
    .city,
    .phone {
        color: #676767;
        font-family: HelvecticaRoman, sans-serif;
        font-weight: normal;
        line-height: 120%;
        font-size: 16px;
    }

    .ds-btm .phone2 {
        padding-bottom: 0 !important;
    }

    .ds-btm .fax {
        padding-top: 5px !important;
        padding-bottom: 10px !important;
    }

    .ds-btm .website,
    .ds-btm .email {
        color: #0066CC;
        text-decoration: none;
        cursor: pointer;
    }

    .ds-btm .email { font-size: 0.8rem !important;}

    .ds-btm .phone { padding-bottom: 10px !important; }

    .ds-btm .website { display: flex;  }

    .pdl-btm { margin-top: 2rem;}

    #tpdjm-services {
        padding-bottom: 18px;
    }

    .wpdul-tp {
        width: 100%;
       
    }

    .wpdul-tp li {  
        list-style-type: disc; 
        line-height: 1.2;
    }

    .wpdul li b,
    .wpdul-tp li b {
        font-family: HelveticaRoman, sans-serif;
    }

    .t-pdl-mid {
        display: flex;
        width: 100%;
        gap: 24px;
    }

    #t-pd-te .t-pdl-mid,
    #t-pd-ted .t-pdl-mid,
    #t-pd-m .t-pdl-mid {
        margin-top: 25px;
    }

    .t-pdl-cards {
        width: 63%;
    }

    .t-pdl-cards-pd {
        width: 100%;
    }

    .t-pdl-right {
        width: 37%;
    }

    #tpdte-about p:last-child {
        margin-bottom: 10px;
    }

    .t-div {
        margin-top: 30px;
    }

    .landing-cards-pd {
        display: grid;
        grid-template-rows: 55px 105px 1fr;
        align-items: start;
        text-align: center;
        flex: 1 1 0;
        min-width: 0;
        box-sizing: border-box;
        border: 1px solid lightgray;
        border-radius: 5px;
        box-shadow: 1px 4px 8px lightgray;
        padding: 6px 10px;
        gap: 10px;
    }

    .cc-title,
    .cc-img,
    .pd-c-tx {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
        min-width: 0;
    }

    .cc-img {
        width: 100%;
        height: 105px;
    }

    .pd-img {
        display: block;
        max-width: 100px;
        max-height: 100px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .pd-c-tx p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 0;
        padding-bottom: 6px;
    }

    .pd-c-t {
        font-size: 17px;
        line-height: 1.2;
        margin: 0;
    }

    .ds-btm .prd-btn {
        background: var(--aemc-yellow);
        border-radius: 4px;
        color: var(--aemc-black);
        float: right;
        font-family: HelveticaRoman, sans-serif;
        padding: 6px;
        border: none;
        cursor: pointer;
        margin: auto;
        transition: background 0.7s ease, color 0.7s ease;
    }

    .prd-btn:hover {
        background: var(--aemc-black);
        color: var(--aemc-yellow);
    }

    .distro-img {
        display: flex;
        width: 20rem;
        height: auto;
    }

    .img {
        padding: 2px 18px;
        width: 100%;
        height: 7rem;
        object-fit: contain;
        margin-top: 20px;
    }

    .img-ctr {
        display: flex;
        justify-content: center;
        text-decoration: none !important;
    }

    .distro-container { 
        display: flex; 
        flex-direction: column;
        gap: 12px;  
        margin-bottom: 18px;
        width: 100%;
    }

    .ds-top,
    .ds-mid,
    .ds-btm {
        text-align: center;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .ds-btm button {margin-top: 6px;}

    .logo-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        row-gap: 24px;
        margin: 48px 0;
    }

    #be-dist {
        margin: 24px 0;
    }

    .t-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 24px;
    }

    .t-table th,
    .t-table td {
        border: 2px solid black;
        padding: 12px;
        text-align: left;
    }

    .t-table th {
        padding: #f2f2f2;
    }

    #bdc-perks,
    #bdc-wwlf {
        margin-bottom: 24px;
    }

    #bdc-perks li,
    #bdc-wwlf li {
        list-style-type: disc;
    }

    #bdc-perks ul,
    #bdc-wwlf ul {
        padding-left: 8px;
    }

    .bd-title {
        margin-top: 12px;
        padding-bottom: 0;
    }

    .bd-link {
        margin-bottom: 12px !important;
        padding-bottom: 0;
    }

    .pd-p-top {
        padding-top: 0;
    }

    .dse-div {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
        margin-right: 20px;
        padding-left: 12px;
    }

    .dse-div .distro-card {
        max-width: 250px;
    }

    .cs-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .dist-ft {
        margin-top: 20px;
    }


    /*Accordion stuff*/
    
    .test-accordion {
        background-color: rgb(236, 236, 236);
        color: rgb(103, 103, 103);
        cursor: pointer;
        padding: 18px;
        width: 80%;
        text-align: left;
        border: 1px solid rgb(204, 204, 204);
        outline: none;
        transition: 0.4s;
        font-family: HelveticaRoman, sans-serif;
        font-size: 18px;
    }

    .test-accordion:after {
        content: '\02795\FE0E';
        font-size: 18px;
        color: rgb(103, 103, 103) !important;
        float: right;
        margin-left: 8px;
    }

    .isActive, .test-accordion:hover {
        background-color: rgb(0, 0, 0);
        color: #FFDE00;
    }

    .test-accordion.isActive:after {
        content: '\2796\FE0E';
        color: #FFDE00 !important;
    }

    .ra-container {
        padding: 0 18px;
        background-color: rgb(236, 236, 236);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
        margin-bottom: 18px;
        width: 80%;
    }

/* media queries */

@media screen and (max-width: 900px) {
    
    .tier {
        grid-template-columns: repeat(2, 1fr);
        margin: unset;
    }

    .card-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 12px;
        padding: 0 18px 20px;
        justify-items: center;
    }

    .distro-img {
        margin: auto;
    }

    .distro-container {
        flex-direction: column;
    }

    .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 16px;
    }

    .btn {
        margin-top: 10px;
    }

    .t-pdl-mid {
        flex-direction : column;
    }

    .t-pdl-cards {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .lc-div {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .t-pdl-right {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

        .bd-resp {
        display: grid;
        justify-items: center;
    }

    .test-accordion,
    .ra-container {
        width: 100%;
    }

}

@media screen and (max-width: 768px) {

    .prem-title {
        line-height: 120%;
    }

    #selects,
    .selectContainer {
        flex-direction: column;
        width: 100%;
        margin: auto;
    }

    .hr-fmt { margin-bottom: 36px; }

    .card-container { display: flex; flex-direction: column; }

    .distro-container {
        flex-direction: column;
        gap: 24px;
    }

    .distro-img,
    .distro-card {
        margin: auto;
    }

    .distro-img { padding-top: 18px; }

    .logo-grid {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 16px;
    }

    .logo-card p:last-child {
        margin-bottom: unset;
    }

    .logo-grid .img {
        padding: 8px 18px;
    }

    .t-pdl-mid {
        flex-direction : column;
    }

    .t-pdl-cards {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .lc-div {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-cards-pd {
        grid-template-rows: 35px 90px 1fr;
    }

    .t-pdl-right {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .dse-div {
        flex-direction: column;
        align-items: center;
    }

    /*Turn TestEquity table into cards for sm. mobile*/

    .t-table,
    .t-table tbody,
    .t-table tr,
    .t-table td { 
       display: block;
       width: 100%;
    }

    .t-table thead {
        display: none;
    }

    .t-table tr {
        margin-bottom: 20px;
        border: 2px solid black;
    }

    .t-table td {
        border: none;
        border-bottom: 1px solid #ddd;
        padding: 12px;
        box-sizing: border-box;
    }

    .t-table td:first-child {
        background: #f2f2f2;
        font-weight: bold;
        border-bottom: 2px solid black;
    }

    .t-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .t-table td:last-child {
        border-bottom: none;
    }

}

@media screen and (max-width: 555px) {
    
    .select-other-distros {
        flex-direction: column-reverse;
    }

    .lc-div {
        grid-template-columns: repeat(1, 1fr);
    }

    .distro-img, .distro-card {
        margin: unset;
    }
}