li.highlight {
    background-color: #ffffcc
}

ul.tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    font-family: "Outfit";
    font-size: 28px;

    font-weight: 700;
}

ul.tabs li a {
    color: #000;
    font-size: 22px;
    display: block;
}

ul.tabs li:nth-child(2n) {
    border-radius: 0px 5px 0 0;

}

ul.tabs li {
    padding: 14px 20px 20px 40px;
    background: #E8E3DF;
    width: 50%;
    display: inline-block;
    margin-bottom: 0;
    margin-top: 10px;
    border-radius: 5px 0px 0 0;
}

ul.tabs li.active {
    border: 1px solid #EFEFEF;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background-color: #FFFFFF;
    /* box-shadow: 0 0px 40px 0 rgba(0,0,0,0.07); */
    padding: 20px 20px 20px 40px;
    margin: 0;
}

.topic-form,
.legislation-form {
    border: 1px solid #D2D2D2;
    background: #F7F7F7;
    padding: 20px 40px 40px 40px;
    border-radius: 5px;
    margin-bottom: 40px;
}

.topic-form label,
.legislation-form label {
    font-family: "Outfit";
    color: #000;
    font-weight: 600;
}

.form-button {
    margin-top: 25px;
    padding-top: 15px;
}

.download-button {
    margin-top: 25px;

    padding: 15px 0 0 0 !important;
}

.download-link {
    text-decoration: underline;
    font-weight: 600;
    margin-top: 13px;
    display: block;
}

.download-link:hover {
    text-decoration: none;
}

.download-link i {
    margin-left: 4px;
}

.clear-selections-link {
    color: #041C2C;
    font-weight: 600;
    margin-top: 13px;
    display: block;
}

.ajax-progress {
    display: none !important;
}

.index_of_reasons_surround {
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.07);
    padding: 15px;
    border: 1px solid #EFEFEF;
    border-top: 0;
    border-radius: 0 0 4px 4px;
}

.index_of_reasons_surround .button,
.clear-selections-link,
.download-link {
    font-family: "Outfit";
}

.index_of_reasons_surround label {
    display: block;
}

table.index_of_reasons {
    border: 0;
    margin-bottom: 100px;
}

table.index_of_reasons th:first-child {
    border-bottom-left-radius: 4px;
}

table.index_of_reasons th:last-child {
    border-bottom-right-radius: 4px;
}

table.index_of_reasons tr:nth-child(even) {
    background-color: #F8F8F8;
}

table.index_of_reasons tr td:nth-child(2) {
    width: 10%;
}

table.index_of_reasons tr td:nth-child(3) {
    width: 35%;
}

table.index_of_reasons tr td:last-child {
    width: 25%;
}

html .chosen-container-single .chosen-single {
    border-color: #D9D9D9;
    background: #FFF !important;
    box-shadow: none !important;
    height: 40px;
    padding: 5px 0px 5px 8px;
}

.chosen-container-single .chosen-single div b {
    background: url('chevron-down.svg') !important;
    background-repeat: no-repeat !important;
    background-position: -3px 8px !important;
    background-size: 20px 20px !important;
}

html .chosen-container-active.chosen-with-drop .chosen-single div b {
    transform: rotate(180deg) !important;
    background-position: 0px 8px !important;
}

table.index_of_reasons td,
table.index_of_reasons td:last-child {
    border: 0;
    position: relative;
}

table.index_of_reasons td::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 0;
    bottom: 15px;
    width: 1px;
    background-color: #E2E2E2;
}

table.index_of_reasons td:last-child::after {
    background: none;
}

.result_surround {
    width: 100%;
    height: 14px;
    border-bottom: 1px solid black;
    text-align: center;
    margin-bottom: 40px;
}

.result_text {
    padding: 0 40px;
    background: #FFF;
    font-size: 16px;
    font-weight: bold;
}

.matter_name {
    font-family: "Outfit";
    font-weight: bold;
    /* color: #000; */
    font-size: 20px;
    /* text-decoration: none; */
}

.matter_name:hover {
    color: #00718B;
}

.taxonomy_surround {
    display: block;
    border-radius: 22px;
    border: 1px solid #D8D8D8;
    padding: 7px 10px;
    width: 100%;
    margin-bottom: 10px;
}

.taxonomy_surround a {
    display: flex;
    font-size: 12px;
    font-family: "Outfit";
    font-weight: bold;
}

.left,
.right {
    width: 50%;
}

.left {
    justify-content: flex-start;
}

.right {
    justify-content: flex-end;
    font-weight: normal;
}

.show_more,
.show_less {
    color: #000;
    font-weight: 600;
    font-size: 12px;
    display: block;
}

.show_more:after,
.show_less:after {
    background-image: url(chevron-down.svg);
    background-repeat: no-repeat;
    background-position: 0px 5px;
    background-size: 16px 16px;
    height: 16px;
    width: 16px;
    content: "";
    display: inline-block;
}

.show_less:after {
    transform: rotate(180deg);
    background-position: 0px -5px;
}

.show_less {
    display: none;
}

.search-input::placeholder {
    opacity: 1;
}

.search-input {
    width: 100%;
    border: 1px solid #CECECE !important;
    color: #FFF;
    background: transparent;
    text-align: left;
    border-radius: 4px;
    padding: 6px 36px 6px 12px;
    min-height: 32px;
    font-size: 16px;
    font-weight: 300;
    font-family: "Outfit", "noto-sans", sans-serif;
}

.search-container {
    position: relative;
}

.search-button {
    position: absolute;
    right: 10px;
    /* Adjust this value as needed for positioning */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

header .search-button {
    color: #fff;
}

.error {
    border: 1px solid red !important;
}

.error-message {
    color: red;
    display: block;
    padding-top: 10px;
    font-size: 12px;
}

.scroll .search-button {
    color: #000;
}

.scroll .search-input::placeholder,
.scroll .search-input {
    color: #000;
}

.info_text {
    display: flex;
    align-items: flex-start;
    border: 1px solid #D2C9C9;
    border-radius: 5px;
    padding: 25px 35px 15px 35px;
    font-size: 16px;
    margin-bottom: 30px;
    font-family: "Outfit";
}

.info_text_icon {
    margin-right: 20px;
    margin-top: 15px;
}

.info_text_icon i {
    margin-top: -15px;
    font-size: 50px;
    color: #380000;
}

.info_text h2 {
    color: #380000;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

span.disc {
    color: #b20e00;
    margin-left: 10px;
    cursor: pointer;
}

.toc-tree ol>li {
    font-weight: bold;
}

.toc-tree ol>li>ol {
    display: none;
}

.toc-tree ol>li li {
    font-weight: normal;

}

@media only screen and (max-width: 767px) {
    .results {
        padding: 0;
    }

    ul.tabs li a {
        font-size: 18px;
        line-height: 28px;
    }

    .index_of_reasons_surround {
        overflow-x: scroll;
    }

    .matter_name {
        font-size: 16px;
    }

    .taxonomy_surround a {
        display: block;
    }

    .left,
    .right {
        display: block;
        width: 100%;
    }

    .form-button {
        margin-top: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
    body .chosen-container-single .chosen-drop {
        max-height: 160px;
    }

    body .chosen-container .chosen-results {
        max-height: 120px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) {
    body .chosen-container-single .chosen-drop {
        max-height: 160px;
    }

    body .chosen-container .chosen-results {
        max-height: 120px;
    }
}

@media screen and (max-width: 360px) {
    .topic-form,
    .legislation-form {
        padding: 1rem;
    }
    .download-button {
        padding: unset;
    }
}
