@media (min-width:1000px) {
    #faq-filter-wrapper {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 15px;
    }
}
#faq-filter-wrapper {
    display: grid;
    grid-gap: 25px;
}

.faq-filters {
    position: relative;
}

.faq-filters .filter-label {
    position: absolute;
    color: #6d6d6d;
    font-size: 11px;
    line-height: 24px;
    z-index: 2;
    pointer-events: none;
    left: 10px;
    top: 8px;
    line-height: normal;
}

.faq-filters .filter-string {
    position: absolute;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: #0e2030;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    z-index: 2;
    bottom: 10px;
    left: 16px;
    max-width: calc(100% - 60px);
    pointer-events: none;
}


.faq-filters input[type="text"] {
    flex: 1 1 200px;
    padding: 10px;
    font-size: 14px;
    border-width: 0px;
    border-bottom: 1px solid #99999A;
    border-radius: 0;
    background-color: #fff;
}
input#faq-search {  
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'><path d='M24.2234 23.9984L19.2523 19.0273M21.9378 12.5706C21.9378 17.6197 17.8447 21.7129 12.7956 21.7129C7.74645 21.7129 3.65332 17.6197 3.65332 12.5706C3.65332 7.52147 7.74645 3.42834 12.7956 3.42834C17.8447 3.42834 21.9378 7.52147 21.9378 12.5706Z' stroke='%23326EEF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") 
              no-repeat right;
    padding-right: 30px;
}

button#apply-filters.is-disabled {
    cursor: not-allowed;      /* Disabled cursor */
    opacity: 0.5;             /* Slight transparency */
    pointer-events: none;    
}

#apply-filters {
    background-color: #326eef;
    color: #fff;
    margin-right: 10px;
}
button#apply-filters:focus {
    background-color: #326eef !important;
}

#reset-filters {
    background-color: #fff;
    color: #000;
}

.faq-filters button {
    padding: 10px 20px!important;
    font-size: 16px!important;
    line-height: 20px!important;
    border: solid 1px #326eef!important;
    border-radius: 6px!important;
    cursor: pointer;
    font-weight: 700!important;
    margin-bottom: 10px;
    min-width: 120px!important;
}
.faq-filters button:hover {
    background-color: #326eef !important;
    color: #fff !important;
    opacity: .87;
}

.faq-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


#faq-accordion .faq-item:not(:last-child) {
    border-bottom: 1px solid #326EEF;
}

.faq-item.active .faq-title {
    color: #000;
}

.faq-title {
    padding: 20px 30px 20px 0px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    color: #00000080;
    position: relative;
}

.faq-content {
    display: none;
    padding: 0px 30px 20px 0px;
    animation: slideDown 0.3s ease-out forwards;
    font-size: 16px;
    line-height: 20px;
    color: #000;
}

.faq-item.active .faq-content {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Arrow Indicator */
.faq-item.active .faq-title::after {
    transform: rotate(90deg);
}

.faq-title::after {
    transform: rotate(0deg);
    transition: transform 0.3s;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'><path d='M5.85791 0.606018L9.30566 4.05377L5.85791 7.50153' stroke='%23326EEF' stroke-linecap='round' stroke-linejoin='round'/><path d='M0.80249 4.05371L9.30591 4.05371' stroke='%23326EEF' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    position: absolute;
    right: 12px;
}

.faq-filters .ts-wrapper {
    /* padding-top: 19px !important; */
    font-size: 16px;
    border: solid 1px #D9D9D9 !important;
    border-radius: 7px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%236D6D6D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 6px) calc(0% - -13px) !important;
}
.faq-filters .ts-wrapper .ts-control {
    cursor: pointer;
    padding: 19px 25px 5px 4px!important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.faq-filters .ts-wrapper .ts-control > div {
    display: block;
    line-height: 25px;
}

.faq-filters .ts-wrapper.focus {
    border-color: #326eef !important;
}

.faq-filters .ts-wrapper.multi .ts-control>div {
    background-color: #fff;
}

.faq-filters .ts-wrapper.multi .ts-control>div.active {
    background: #fff;
    color: #343a40;
}

.faq-filters .ts-wrapper .ts-control .item+input[type="text"] {
    display: none !important;
}

.faq-filters .ts-wrapper .ts-control input[type="text"] {
    min-height: 29px !important;
    padding-left: 5px !important;
    cursor: pointer;
}

.faq-filters .ts-control>*:not(:nth-last-child(2))::after {
    content: ",";
}
.faq-filters .ts-dropdown{
    background-color: #fff;
}

.faq-filters .ts-dropdown-content .option {
    position: relative;
    padding-left: 40px;
}

.faq-filters .ts-dropdown-content .option:not(.selected)::before {
    background-image: none;
    background-color: #fff;
}

.faq-filters .ts-dropdown-content .option::before {
    position: absolute;
    content: "";
    width: 22px;
    height: 22px;
    background-color: #326eef;
    border-radius: 6px;
    display: inline-block;
    left: 7px;
    top: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    border: solid 1px #326eef;
}

.faq-filters .focus .ts-control {
    border-width: 0 !important;
    box-shadow: none !important;
}

.faq-filters input.tomselect-checkbox {
    display: none;
}

@media (max-width:999px) {
    .faq-filters:nth-child(3) {
        grid-row: 1;
    }
}