/*
 * Layout and typography matched to the RoR site (database.taxsutra.com).
 * Loaded by base_user.html AFTER each page's own CSS, so these rules win.
 * Measured at 1440px: 940px content box (x 250-1190); list pages use a
 * 700px main column + 220px sidebar with 20px gutters, as RoR's span9/span3.
 */

/* ---------- base typography (RoR: Lato 14px / 20px, #333) ---------- */
body {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    color: #333;
}

/* ---------- footer: links on the content's left edge, copyright on its right ---------- */
.footer .container { padding-left: 0; padding-right: 0; }
.footer .row { margin-left: 0; margin-right: 0; align-items: center; }
.footer .row > * { padding-left: 0; padding-right: 0; }
ul.foot-nav { margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 20px; }
ul.foot-nav li { float: none; margin: 0; list-style: none; line-height: 20px; white-space: nowrap; }
/* desktop: all links on one line, copyright pinned right */
@media (min-width: 992px) {
    .footer .row { flex-wrap: nowrap; }
    .footer .row > .col-md-9 { flex: 1 1 auto; width: auto; max-width: none; }
    .footer .row > .col-md-3 { flex: 0 0 auto; width: auto; max-width: none; padding-left: 20px; }
    .footer .copyrights { white-space: nowrap; }
}
.footer .copyrights {
    display: block;
    text-align: right;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 12px;
    color: #333;
}

/* ---------- two-column list pages: news, newsletters, experts, trending ---------- */
.container.ts-page { padding-left: 0; padding-right: 0; }
.ts-page.sideBarDivider { padding: 0 0 70px; }          /* sidebar starts right under the top bar */
.ts-row { display: flex; align-items: stretch; margin-left: -20px; }
.ts-span9 { flex: 0 0 700px; width: 700px; margin-left: 20px; padding-top: 20px; min-width: 0; }
.ts-span3 { flex: 0 0 220px; width: 220px; margin-left: 20px; }

/* page titles */
.ts-page .nl_tab_menu { border-bottom: 1px solid #e5e5e5; margin-bottom: 20px; }
.ts-page .nl_head {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 17.5px;
    line-height: 20px;
    color: #e64a19 !important;
    margin: 10px 0 10px;
}
.ts-page .ts-topcontent {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin: 0 0 20px;
}
.ts-page .ts-topcontent h3 {
    font-family: "Lato", sans-serif; font-weight: 400;
    font-size: 22px; line-height: 24px; color: #222; margin: 0;
}
.ts-page .ts-topcontent select {
    width: 140px; height: 30px; padding: 0 6px;
    font-size: 14px; color: #555;
    border: 1px solid #ccc; border-radius: 0; background-color: #fff;
}
.ts-tabs { list-style: none; margin: 0 0 21px; padding: 0; border-bottom: 1px solid #e5e5e5; }
.ts-tabs li { display: inline-block; }
.ts-tabs a {
    display: block; padding: 0 0 10px;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 16px; line-height: 20px; color: #e64a19; text-decoration: none;
    border-bottom: 2px solid #e64a19; margin-bottom: -1px;
}

/* news / newsletter items */
.ts-page .nl_tab_menu .nl_headline {
    display: block;
    font-family: "Lato", sans-serif; font-weight: 700;
    font-size: 14px; line-height: 20px; color: #1155cc; word-wrap: break-word;
}
.ts-page .cnpContentWrapper { padding-bottom: 30px; margin-bottom: 0; overflow: hidden; }
.ts-page .cnpContentWrapper,
.ts-page .cnpContentWrapper p { font-family: "Lato", sans-serif; font-size: 14px; line-height: 20px; color: #333; }
.ts-page .expertListing > li { padding: 0; background: transparent; }
.ts-page .cnpContentWrapper img { max-width: 100% !important; height: auto; }
.ts-page .viewMore { display: inline-block; color: #e64a19; cursor: pointer; text-decoration: none; margin-bottom: 20px; }
.ts-page .hidden { display: none; }

/* article / judgment lists (experts, trending) */
.ts-page .expertListing { margin: 0; padding: 0; list-style: none; font-family: "Lato", sans-serif; }
.ts-page .expertListing > li { display: block; border-bottom: 1px solid #e5e5e5; margin-bottom: 20px; }
.ts-page .expertListing > li > a {
    display: block; margin-bottom: 10px;
    font-size: 18px; line-height: 20px; font-weight: 400; color: #1155cc; text-decoration: none;
}
.ts-page .expertListing > li > a:hover { color: #0c142e; }
.ts-page .expertListing > li p {
    font-family: "PT Serif", serif; font-size: 13px; line-height: 20px; color: #666; margin: 0 0 5px;
}
.ts-page .expertListing .dateBox {
    display: block; margin-bottom: 15px;
    font-family: "Lato", sans-serif; font-size: 12px; line-height: 20px; color: #666;
}
.ts-page .judgmentText, .ts-page .articleText {
    display: inline-block; margin-bottom: 10px; padding: 5px 10px;
    font-family: "Lato", sans-serif; font-size: 9px; line-height: 20px; color: #666;
    text-transform: uppercase; background: #fffde0;
}
.ts-page .articleText { background: #e6f2d5; }

/* author row (experts list) */
.ts-page .authorList { margin: 0; padding: 0 0 20px; list-style: none; display: flex; flex-wrap: wrap; }
.ts-page .authorList li { float: none; padding: 0 10px; border-left: 2px solid #e5e5e5; }
.ts-page .authorList li:first-child { border-left: 0; padding-left: 0; }
.ts-page .authorList .authorBox {
    width: 50px; height: 50px; box-sizing: content-box; display: inline-block; vertical-align: middle;
    border: 1px solid #e5e5e5; border-radius: 100px; overflow: hidden;
}
.ts-page .authorList .authorBox img { width: 100%; height: 100%; object-fit: cover; }
.ts-page .authorList .authorName {
    display: inline-block; vertical-align: middle; margin: 5px 0 0 10px;
    font-size: 12px; line-height: 20px; color: #000; text-transform: uppercase;
}

/* sidebar boxes (Top Columns, Top 10 Searches, Most Viewed) */
.ts-page .topColumnsBox { padding: 30px 0; background: transparent !important; border-radius: 0; }
.ts-page .topColumnsBox h5 {
    font-family: "Lato", sans-serif; font-weight: 700;
    font-size: 13px; line-height: 20px; color: #222;
    text-transform: uppercase; margin: 0 0 15px 10px;
}
.ts-page .topColumnsBox .topBox { border-bottom: 1px solid #e5e5e5; font-size: 12px; padding: 0 10px; }
.ts-page .topColumnsBox .topBox ul { margin: 0; padding: 0; list-style: none; }
.ts-page .topColumnsBox a {
    display: block; color: #e64a19; text-decoration: none;
    font-family: "Lato", sans-serif; font-size: 14px; line-height: 20px;
}
.ts-page .topColumnsBox a:hover { text-decoration: underline; }
.ts-page .topColumnsBox .topBox span {
    display: block; text-transform: uppercase; margin-bottom: 15px;
    font-family: "Lato", sans-serif; font-size: 12px; line-height: 17px; color: #333;
}
.ts-page .topColumnsBox .topBox li { margin-bottom: 15px; }

/* ---------- search results page: 220px Refine panel + 700px results, as RoR ---------- */
.container.ts-search { padding-left: 0; padding-right: 0; }
.ts-search > .row { margin-left: 0; margin-right: 0; flex-wrap: nowrap; }
.ts-search .ts-refine-col { flex: 0 0 220px; width: 220px; max-width: 220px; }
.ts-search .ts-results-col {
    flex: 0 0 700px; width: 700px; max-width: 700px;
    margin-left: 20px; padding-left: 0; padding-right: 0;
}
.ts-search .ts-refine-col .card-header,
.ts-search .ts-refine-col .card-body { padding-left: 15px; padding-right: 15px; }
.ts-search .judgment-search-results label { white-space: nowrap; }
.ts-search .listingTitle {
    font-family: "Lato", sans-serif; font-weight: 300;
    font-size: 18px; line-height: 40px; color: #666;
    text-align: center; padding-top: 20px; margin: 10px 0;
}
.ts-search .result-item { padding-top: 10px; }
.ts-search .result-labels { line-height: 20px; }
.bullEyeHelpTextBox.leftSpace6 { margin-left: 78px; width: calc(100% - 78px); }
.bullEyeHelpTextBox p.arrow { margin: 10px 0; }
.tx-search-select { font-size: 14px; text-transform: uppercase; color: #000; }

/* ---------- detail pages: judgment, article, act, rule, DTAA, circular, notification ----------
   RoR: 700px text column (x 250-950) + 220px sidebar (x 970-1190, text from 986). */
.container.searchDetails { padding-left: 0; padding-right: 0; }
.searchDetails > .row { margin-left: 0; margin-right: 0; }
.searchDetails > .row > .col-lg-12,
.searchDetails > .row > .col-md-12 { padding-left: 0; padding-right: 0; }
.searchDetails > .row > .col-lg-9,
.searchDetails > .row > .col-md-9 {
    flex: 0 0 700px; width: 700px; max-width: 700px; padding-left: 0; padding-right: 0;
}
.searchDetails > .row > .col-lg-3,
.searchDetails > .row > .col-md-3 {
    flex: 0 0 220px; width: 220px; max-width: 220px;
    margin-left: 20px; padding-left: 16px; padding-right: 16px;
}

/* header block under the title: citations, court, bench, judges, case no., parties */
.searchDetails div.detailsContent { text-align: center; }
.searchDetails div.detailsContent p {
    font-family: "PT Serif", serif; font-size: 17px; line-height: 30px; color: #555;
    text-transform: uppercase; text-align: center; margin: 0 0 15px;
}
/* labelled fields: small grey label, serif value */
.searchDetails .detailListContent .detailsTitle {
    font-family: "Lato", sans-serif; font-weight: 400; font-size: 12px; line-height: 20px;
    color: #999; text-transform: uppercase; text-align: left; padding: 0; margin: 10px 0 5px;
}
.searchDetails p.detailsContent,
.searchDetails .detailListContent p {
    font-family: "PT Serif", serif; font-size: 17px; line-height: 30px; color: #555;
    text-align: left; text-transform: none; margin: 0 0 15px;
}
/* the judgment / document text */
.searchDetails .col-lg-9 [id$="Text"] p,
.searchDetails .col-md-9 [id$="Text"] p {
    font-family: "PT Serif", serif; font-size: 17px; line-height: 28px; color: #444;
}

/* sidebar: Highlights, Related Tags, Similar Cases */
.searchDetails .highlightsRight h5 {
    font-family: "Lato", sans-serif; font-weight: 700; font-size: 13px; line-height: 20px;
    color: #000; text-transform: uppercase; padding: 13px 0; margin: 0;
}
.searchDetails .highlightsRight a.d-block,
.searchDetails .highlightsRight .similar-case a {
    font-family: "Lato", sans-serif; font-size: 12px; line-height: 17px;
    color: #1155cc; text-decoration: none; margin-bottom: 12px;
}
.searchDetails .highlightsRight a.d-block:hover { text-decoration: underline; }
.searchDetails .highlightsRight .related-tag {
    display: block; font-family: "Lato", sans-serif; font-size: 12px; line-height: 17px;
    color: #e64a19; margin-bottom: 4px;
}
.searchDetails .highlightsRight .related-tag a { color: inherit; text-decoration: none; }
.searchDetails .highlightsRight .related-tag a:hover { text-decoration: underline; }
/* page navigation under the title: "1 of 47"  ...  JUMP TO [  ] */
.searchDetails .pagination-bar { font-size: 14px; line-height: 20px; }
.searchDetails .pagination-bar #pageInfo { font-size: 14px; color: #000; }
.searchDetails .pagination-bar label {
    font-size: 10px; line-height: 14px; text-transform: uppercase; color: #444; margin-right: 0;
}

/* narrow screens: stack the sidebar under the content */
@media (max-width: 991.98px) {
    .ts-row { display: block; margin-left: 0; }
    .ts-span9, .ts-span3 { width: auto; margin-left: 0; padding-left: 12px; padding-right: 12px; }
    .ts-page.sideBarDivider:before, .ts-page.sideBarDivider:after { display: none; }
    .footer .copyrights { text-align: left; margin-top: 10px; }
    ul.foot-nav { flex-wrap: wrap; gap: 6px 20px; }
    .ts-search > .row { flex-wrap: wrap; }
    .ts-search .ts-refine-col, .ts-search .ts-results-col { flex: 0 0 100%; width: 100%; max-width: 100%; margin-left: 0; }
    .bullEyeHelpTextBox.leftSpace6 { margin-left: 0; width: 100%; }
    .searchDetails > .row > .col-lg-9, .searchDetails > .row > .col-lg-3,
    .searchDetails > .row > .col-md-9, .searchDetails > .row > .col-md-3 {
        flex: 0 0 100%; width: 100%; max-width: 100%; margin-left: 0; padding-left: 12px; padding-right: 12px;
    }
}

/* ===== Home page (RoR home: news / newsletter / most viewed / expert column / top searches) ===== */
.ts-home .ts-span9 { padding-top: 0; }
.ts-home .sub-ttl {
    font-family: "Lato", sans-serif; font-weight: 700; font-size: 14px; line-height: 20px;
    color: #000; text-transform: uppercase; margin: 0 0 10px;
}
.ts-home .clearfix > .sub-ttl { float: left; }
.ts-home .mostViewedCntent { margin-top: 20px; border-bottom: 1px solid #ccc; }
.ts-home .news-column.mostViewedCntent { margin-top: 40px; }
.ts-home .newsBox,
.ts-home .ts-expert-boxes {
    list-style: none; padding: 0; margin: 30px 0 0 -20px;
    display: flex; flex-wrap: wrap;
}
.ts-home .expert-box { width: 220px; margin-left: 20px; }
.ts-home .newsBox p { margin: 0 0 15px; font-size: 12px; line-height: 20px; color: #132762; }
.ts-home .newsBox p.headline { line-height: 16.8px; }
.ts-home .newsBox p.headline a {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    max-width: none; margin: 0; font-size: 12px; line-height: 16.8px; color: #1155cc; text-decoration: none;
}
.ts-home .judgmentList { width: 620px; margin: 0; padding: 0 0 20px; list-style: none; }
.ts-home .judgmentList li { margin-bottom: 10px; }
.ts-home .judgmentList li a {
    display: block; font-size: 12px; line-height: 20px; color: #1155cc;
    text-transform: uppercase; text-decoration: none;
}
.ts-home .expert-column { margin-top: 20px; }
.ts-home .expert-column .cancel-btn {
    float: right; margin: 0 10px 10px 0; font-size: 14px; line-height: 20px; color: #e64a19; text-decoration: none;
}
.ts-home .ts-expert-boxes .expert-box { text-align: center; }
.ts-home .ts-expert-boxes img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.ts-home .ts-expert-boxes strong {
    display: block; margin: 10px 0; font-weight: 400; font-size: 12px; line-height: 20px;
    color: #000; text-transform: uppercase;
}
.ts-home .ts-expert-boxes p { margin: 0 0 15px; font-size: 12px; line-height: 20px; color: #132762; }
.ts-home .ts-expert-boxes p a { color: #e64a19; text-decoration: none; }
.ts-home .ts-empty { margin-left: 20px; font-size: 12px; color: #999; }
.ts-home .top-search { margin-top: 40px; padding-left: 20px; }
.ts-home .top-search ul { list-style: none; margin: 0; padding: 0; }
.ts-home .top-search li { margin-bottom: 10px; padding-right: 20px; line-height: 20px; word-break: break-all; }
.ts-home .top-search li a {
    font-size: 12px; line-height: 20px; color: #e64a19; text-transform: capitalize;
    padding-bottom: 2px; text-decoration: none;
}
.ts-home .top-search li a:hover { color: #ca5b01; border-bottom: 1px solid #ca5b01; }
@media (max-width: 991.98px) {
    .ts-home .expert-box { width: calc(33.333% - 20px); }
    .ts-home .judgmentList { width: auto; }
}

/* News / Newsletter collapsed items: RoR shows ~100px of text and puts "View More" inside the 30px bottom padding */
.ts-page .cnpContentWrapper p { margin: 0 0 10px; }
.ts-page .cnpContentWrapper[id^="short-"] { clip-path: inset(0 0 30px 0); }
.ts-page .cnpContentWrapper[id^="short-"]:not(.hidden) ~ .viewMore { display: block; width: max-content; position: relative; margin-top: -20px; }

/* stacked sidebar boxes (trending): RoR puts both lists in one box, 10px apart */
.ts-page .topColumnsBox + .topColumnsBox { margin-top: -20px; }

/* ===== Search: Refine sidebar (RoR advanceSearchForm metrics) ===== */
.ts-refine-col .card-header { padding: 0 15px; }
.ts-refine-col .card-header h3 {
    font-family: "Lato", sans-serif; font-weight: 400; font-size: 14px; line-height: 40px;
    color: #000; text-transform: uppercase; margin: 10px 0 20px;
}
.ts-refine-col .card-header .btn-link {
    font-size: 12px; line-height: 20px; color: #444; text-decoration: none; padding: 0; border: 0;
}
.ts-refine-col .card-header .btn-link:hover { color: #e64a19; }
.ts-refine-col .card-header .refineBtn { margin-top: 0 !important; }
.ts-refine-col .card-body { padding: 0 15px; }
.ts-refine-col .card-body .sub-head {
    font-family: "Lato", sans-serif; font-weight: 400; font-size: 12px; line-height: 20px;
    color: #000; text-transform: uppercase; margin: 0 0 5px;
}
.ts-refine-col .card-body .form-control {
    font-family: "Lato", sans-serif; font-size: 13px; line-height: 20px; color: #000;
    height: auto; padding: 10px; margin-bottom: 10px !important;
    border: 1px solid #ccc; border-radius: 8px; box-shadow: none;
}
.ts-refine-col .card-body .form-control:focus { border-color: #e64a19; }
.ts-refine-col .card-body .row .form-control { margin-bottom: 0 !important; }
.ts-refine-col .card-body small {
    display: inline; font-family: "Lato", sans-serif; font-size: 11px; line-height: 15.7px; color: #666 !important;
}
.ts-refine-col .card-body hr { border: 0; opacity: 0; margin: 0 0 20px; }
.ts-refine-col .card-body .form-check-label { font-size: 12px; line-height: 17px; color: #444; text-transform: uppercase; }

/* ===== CMS pages (/cms/pages/<slug>): About Us, Disclaimer, Terms of use … =====
   Content comes from CKEditor, so style plain tags inside .cms-content. */
.cms-page .cms-wrap { padding: 30px 60px 60px; }
.cms-page .cms-head {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    border-bottom: 1px solid #e5e5e5; margin-bottom: 24px; padding-bottom: 12px;
}
.cms-page .cms-title {
    margin: 0; font-family: "Lato", sans-serif; font-weight: 700;
    font-size: 22px; line-height: 30px; color: #e64a19;
}
.cms-page .cms-edit { font-size: 13px; color: #e64a19; text-decoration: none; white-space: nowrap; }
.cms-page .cms-edit:hover { text-decoration: underline; }

.cms-content {
    font-family: "Lato", sans-serif; font-size: 14px; line-height: 24px; color: #444;
    overflow-wrap: break-word; word-break: normal;
}
.cms-content p { margin: 0 0 14px; }
.cms-content p:empty { display: none; }
.cms-content strong, .cms-content b { color: #222; font-weight: 700; }
.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4 {
    font-family: "Lato", sans-serif; font-weight: 700; color: #132762; margin: 26px 0 10px;
}
.cms-content h1 { font-size: 20px; } .cms-content h2 { font-size: 18px; }
.cms-content h3 { font-size: 16px; } .cms-content h4 { font-size: 15px; }
.cms-content a { color: #e64a19; text-decoration: none; }
.cms-content a:hover { text-decoration: underline; }
.cms-content ul, .cms-content ol { margin: 0 0 16px; padding-left: 26px; }
.cms-content ul { list-style: disc; }
.cms-content ol { list-style: decimal; }
.cms-content ol ol { list-style: lower-alpha; margin: 8px 0 8px; }
.cms-content ol ol ol { list-style: lower-roman; }
.cms-content li { margin-bottom: 8px; padding-left: 4px; }
.cms-content li::marker { color: #e64a19; }
.cms-content li > p { margin-bottom: 6px; }
.cms-content li > p:last-child { margin-bottom: 0; }
.cms-content hr { margin: 28px 0; border: 0; border-top: 1px solid #e5e5e5; opacity: 1; }
/* the Rails editor saved some pages inside <pre>: show them as normal, wrapped text */
.cms-content pre {
    margin: 0 0 14px; padding: 0; border: 0; background: none;
    font-family: inherit; font-size: inherit; line-height: inherit; color: inherit;
    white-space: pre-line; overflow: visible;
}
.cms-content table { width: 100%; margin: 0 0 18px; border-collapse: collapse; }
.cms-content th, .cms-content td { padding: 8px 10px; border: 1px solid #e5e5e5; vertical-align: top; }
.cms-content th { background: #f6f7fa; color: #132762; }
.cms-content img { max-width: 100%; height: auto; }

@media (max-width: 767.98px) {
    .cms-page .cms-wrap { padding: 20px 16px 40px; }
    .cms-page .cms-title { font-size: 19px; }
}

/* keep the footer at the bottom of the window on short pages (CMS pages, login …) */
body.ts-site { display: flex; flex-direction: column; min-height: 100vh; }
body.ts-site > .footer { margin-top: auto; }

/* ===== Search loader (ts_loader.js) — same look as RoR's .pageOverlay:
   the page washed out in white with an orange (Taxsutra #e64a19) 12-bar wheel in the middle ===== */
#ts-loader {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .8);
    opacity: 0; visibility: hidden;
    transition: opacity .15s ease, visibility 0s linear .15s;
    cursor: progress;
}
#ts-loader.is-visible { opacity: 1; visibility: visible; transition: opacity .15s ease; }
#ts-loader .ts-loader-wheel {
    width: 100px; height: 100px; opacity: .9;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.083'%20transform='rotate(0%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.167'%20transform='rotate(30%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.250'%20transform='rotate(60%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.333'%20transform='rotate(90%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.417'%20transform='rotate(120%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.500'%20transform='rotate(150%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.583'%20transform='rotate(180%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.667'%20transform='rotate(210%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.750'%20transform='rotate(240%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.833'%20transform='rotate(270%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='0.917'%20transform='rotate(300%2050%2050)'/%3E%3Crect%20x='45'%20y='6'%20width='10'%20height='26'%20rx='5'%20fill='%23e64a19'%20opacity='1.000'%20transform='rotate(330%2050%2050)'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: ts-wheel 1s steps(12) infinite;
}
#ts-loader .ts-loader-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
@keyframes ts-wheel { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    #ts-loader .ts-loader-wheel { animation-duration: 2.4s; }
}

/* ===== Results: "Sort By" / "Category" (RoR .resultSelectBox / .sortBySelect):
   each is one 182px bordered box — small grey label + black value + arrow —
   lined up with the REFINE SEARCH heading on the left ===== */
.tx-result-selects { gap: 15px !important; margin: 14px 0 6px !important; }
.tx-result-select {
    position: relative; gap: 4px !important;
    min-width: 182px; height: 32px; padding: 0 0 0 10px;
    border: 1px solid #e5e5e5; border-radius: 5px; background: #fff;
    transition: border-color .15s;
}
.tx-result-select:hover { border-color: #cfcfcf; }
.tx-result-select:focus-within { border-color: #e64a19; }
.tx-result-select label {
    margin: 0; font-family: "Lato", sans-serif; font-size: 11px; line-height: 30px;
    color: #666; text-transform: uppercase; white-space: nowrap; cursor: pointer;
}
.tx-result-select .form-select {
    flex: 1 1 auto; min-width: 0; height: 30px; padding: 0 30px 0 0;
    border: 0; border-radius: 5px; box-shadow: none !important; background-color: transparent;
    background-position: right 10px center; background-size: 11px 9px;
    font-family: "Lato", sans-serif; font-size: 11px; line-height: 30px; color: #000;
    text-transform: uppercase; cursor: pointer;
}
.tx-result-select .form-select:focus { outline: 0; }
