.testfinder .ai-label {
    font-size: 0.85rem;
    color: white;
    text-transform: uppercase;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    display: inline-block;

}

.ais-SearchBox-form .input-wrapper {
    position: relative;
}

.testmenu-wrapper.testfinder {
    margin-bottom: 4em
}

@media screen and (max-width: 767px) {
    .testmenu-wrapper.testfinder {
        overflow-x:visible
    }
}

.testmenu-wrapper.testfinder .testmenu-container {
    height: 428px
}

@media screen and (max-width: 767px) {
    .testmenu-wrapper.testfinder .testmenu-container {
        height:700px
    }
}

.testmenu-wrapper.testfinder .testmenu-container .testmenu-image {
    height: 428px
}

@media screen and (max-width: 767px) {
    .testmenu-wrapper.testfinder .testmenu-container .testmenu-image {
        height:700px
    }
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content {
    top: -350px
}

@media screen and (max-width: 767px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content {
        display:grid;
        top: -600px
    }

    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content .testmenu-header {
        padding: 0;
        text-align: center;
        width: 100%
    }

    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content .testmenu-subheader {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        background: none;
        color: #fff;
        order: 1;
        padding-top: 0
    }
}

@media screen and (max-width: 767px)and (max-width:767px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content .testmenu-subheader:has(~#tmc_search.has-results) {
        display:none
    }
}

@media screen and (min-width: 768px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content .testmenu-subheader {
        width:75%
    }
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .filter-list {
    margin-top: 3em
}

@media screen and (max-width: 991px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .filter-list {
        margin-top:1.5em
    }
}

@media screen and (max-width: 767px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .filter-list {
        -webkit-box-orient:horizontal;
        -webkit-box-direction: normal;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: row;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 3em;
        padding-top: 1em
    }

    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options {
        background: none;
        padding: 0
    }
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form {
    display: grid;
    grid-template-areas: "testfinder spacer search";
    grid-template-columns: 262px 5% 52.5%;
    max-width: 750pt
}

@media screen and (max-width: 767px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form {
        gap:2em 0;
        grid-template-areas: "testfinder" "search";
        grid-template-columns: 1fr
    }
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .search-wrapper {
    grid-area: search
}

@media screen and (max-width: 767px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .search-wrapper {
        text-align:center
    }
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .testfinder-wrapper {
    grid-area: testfinder
}

@media screen and (max-width: 767px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .testfinder-wrapper {
        background:#6c2fac;
        border-radius: 9pt;
        margin-top: 1em;
        padding: 1.5em;
        text-align: center
    }
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form span.separator {
    display: grid;
    grid-area: spacer;
    justify-items: center
}

@media screen and (max-width: 767px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form span.separator {
        display:none
    }
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form span.separator:after {
    background: #d3d3d3;
    content: "";
    display: block;
    height: 68px;
    width: .5%
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .ai-modal-btn {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #fff;
    border: 2px solid #d3d3d3;
    border-radius: 30px;
    color: #6c2fac;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 7px 18px 7px 6px
}

@media screen and (min-width: 768px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .ai-modal-btn {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .ai-modal-btn {
        margin:0 auto
    }
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .ai-modal-btn:focus,.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .ai-modal-btn:hover {
    cursor: pointer
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .ai-modal-btn .ai-icon {
    aspect-ratio: 1/1;
    background-color: #6c2fac;
    background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.3281 4.03125L18 3L18.9844 0.375C19.0312 0.140625 19.2656 0 19.5 0C19.6875 0 19.9219 0.140625 19.9688 0.375L21 3L23.625 4.03125C23.8594 4.07812 24 4.3125 24 4.5C24 4.73438 23.8594 4.96875 23.625 5.01562L21 6L19.9688 8.67188C19.9219 8.85938 19.6875 9 19.5 9C19.2656 9 19.0312 8.85938 18.9844 8.67188L18 6L15.3281 5.01562C15.1406 4.96875 15 4.73438 15 4.5C15 4.3125 15.1406 4.07812 15.3281 4.03125ZM9.60938 3.46875L12.0469 8.8125L17.3906 11.25C17.6719 11.3906 17.8594 11.6719 17.8594 11.9531C17.8594 12.2344 17.6719 12.5156 17.3906 12.6094L12.0469 15.0938L9.60938 20.4375C9.46875 20.7188 9.1875 20.9062 8.90625 20.9062C8.625 20.9062 8.34375 20.7188 8.25 20.4375L5.76562 15.0938L0.421875 12.6562C0.140625 12.5156 0 12.2344 0 11.9531C0 11.6719 0.140625 11.3906 0.421875 11.25L5.76562 8.8125L8.25 3.46875C8.34375 3.1875 8.625 3 8.90625 3C9.1875 3 9.46875 3.1875 9.60938 3.46875ZM18 18L18.9844 15.375C19.0312 15.1406 19.2656 15 19.5 15C19.6875 15 19.9219 15.1406 19.9688 15.375L21 18L23.625 19.0312C23.8594 19.0781 24 19.3125 24 19.5C24 19.7344 23.8594 19.9688 23.625 20.0156L21 21L19.9688 23.6719C19.9219 23.8594 19.6875 24 19.5 24C19.2656 24 19.0312 23.8594 18.9844 23.6719L18 21L15.3281 20.0156C15.1406 19.9688 15 19.7344 15 19.5C15 19.3125 15.1406 19.0781 15.3281 19.0312L18 18Z" fill="white"/></svg>');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-size: 40%;
    border-radius: 100%;
    display: inline-block;
    margin-right: 15px;
    width: 50px
}

.testmenu-wrapper.testfinder .testmenu-container~.testmenu-content #tmc_search .tm-search-options .tm-search-input-container .ais-SearchBox-form .ai-modal-btn .beta {
    background: #f0eaf7;
    border-radius: 4px;
    color: #6c2fac;
    font-size: .65em;
    font-weight: 600;
    margin-left: 8px;
    padding: 0 5px
}

.disableAISection .quicklink-content.tabcontainer a.ai-modal {
    display: none
}

.disableAISection .ai-label,.disableAISection .ai-modal-btn,.disableAISection .ai-section,.disableAISection .ais-SearchBox-form span.separator,.disableAISection .testfinder-wrapper {
    display: none!important
}

.disableAISection .testmenu-container,.disableAISection .testmenu-container .testmenu-image {
    height: 450px!important
}

.disableAISection .testmenu-content {
    top: -350px!important
}