/**
 * @copyright  (C) 2026 JoomlaWorks Ltd. and this project's contributors
 * @copyright  Portions: SqueezeBox 1.3 (C) Harald Kirschner, Rouven Weßling; MooTree (C) Rasmus Schultz; MIT License
 * @copyright  Portions: Chosen 1.6.2 (C) 2011-2016 Harvest; MIT License
 * @license    GNU General Public License version 2 or later; see LICENSE.md
 */

/* --- Modal --- */
#sbox-overlay {position:fixed;top:0;left:0;background-color:#000;}
#sbox-window {position:absolute;padding:10px;background-color:#fff;text-align:left;overflow:visible;border-radius:3px;}
#sbox-window.shadow {box-shadow:0 0 10px rgba(0, 0, 0, 0.7);}
#sbox-window[aria-hidden=true],
#sbox-overlay[aria-hidden=true] {display:none;}
#sbox-btn-close {position:absolute;top:-15px;right:-15px;width:30px;height:30px;background:url(../images/modal/closebox.svg) no-repeat center;border:none;}
#sbox-content {clear:both;width:100%;height:100%;overflow:auto;background-color:#fff;}
.sbox-loading #sbox-content {background-image:url(../images/modal/spinner.svg);background-repeat:no-repeat;background-position:center;}
.sbox-content-image#sbox-content,
.sbox-content-iframe#sbox-content {overflow:visible;}
#sbox-image {display:block;}
.sbox-content-image img {display:block;width:100%;height:100%;}
/* A block: inline, the line it sat on made the box a few pixels taller than the window, and scroll */
.sbox-content-iframe#sbox-content iframe {display:block;}
/* A title and a row of buttons (the options title and buttons): the content takes the height they leave */
#sbox-window.sbox-framed:not([aria-hidden=true]) {display:flex;flex-direction:column;}
.sbox-framed #sbox-content {flex:1 1 auto;min-height:0;height:auto;}
.sbox-framed .sbox-content-iframe#sbox-content iframe {width:100%;height:100%;}
#sbox-title {flex:none;margin:0 0 10px;padding-inline-end:20px;font-size:18px;line-height:24px;text-align:start;}
#sbox-buttons {display:flex;flex:none;flex-wrap:wrap;justify-content:flex-end;gap:5px;padding-top:10px;}
#sbox-buttons .btn {margin:0;}
.body-overlayed {overflow:hidden;}
.body-overlayed embed,
.body-overlayed object,
.body-overlayed select {visibility:hidden;}
#sbox-window embed,
#sbox-window object,
#sbox-window select {visibility:visible;}

@media (max-width: 979px) {
    #sbox-btn-close {top:-10px;right:-10px;}
    /* auto: "scroll" drew scrollbars around a box which fits (see the iframe's size in global.js) */
    #sbox-content.sbox-content-iframe {overflow:auto;}
}

/* --- Tree --- */
.mooTree_node {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:10px;white-space:nowrap;}
.mooTree_text {height:15px;padding-top:3px;cursor:pointer;}
.mooTree_img {float:left;width:18px;height:18px;overflow:hidden;}
[dir="rtl"] .mooTree_img {float:right;}
.mooTree_selected {background-color:#ffc;font-weight:bold;}

/* --- Editor switcher --- */
/* Colours from the template's tokens where it has them (Prothero), else neutral ones */
.editor-switch {display:flex;justify-content:flex-end;margin:0 0 6px;position:relative;z-index:20;font-size:0.875rem;line-height:1.5;}
.editor-switch details {position:relative;}
.editor-switch summary {display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border:1px solid rgba(128, 128, 128, 0.45);border-radius:4px;cursor:pointer;list-style:none;user-select:none;}
.editor-switch summary::-webkit-details-marker {display:none;}
.editor-switch summary::after {content:"";border:4px solid transparent;border-top-color:currentColor;border-bottom:0;margin-top:2px;}
.editor-switch summary:hover,
.editor-switch details[open] summary {background:rgba(128, 128, 128, 0.12);}
.editor-switch summary:focus-visible,
.editor-switch button:focus-visible {outline:2px solid var(--c-accent, #2a69b8);outline-offset:1px;}
.editor-switch .editor-switch-label {opacity:0.7;}
.editor-switch .editor-switch-label::after {content:":";}
.editor-switch ul {position:absolute;inset-inline-end:0;top:calc(100% + 4px);min-width:100%;margin:0;padding:4px;list-style:none;white-space:nowrap;background:var(--c-card, var(--c-bg, #fff));color:var(--c-fg, #222);border:1px solid rgba(128, 128, 128, 0.35);border-radius:6px;box-shadow:0 6px 20px rgba(0, 0, 0, 0.18);}
.editor-switch li {margin:0;padding:0;}
.editor-switch button {display:block;width:100%;margin:0;padding:5px 12px;border:0;border-radius:4px;background:none;color:inherit;font:inherit;text-align:start;cursor:pointer;}
.editor-switch button:hover {background:rgba(128, 128, 128, 0.15);}
.editor-switch button[aria-current] {font-weight:600;cursor:default;opacity:1;}
.editor-switch button[aria-current]::after {content:" \2713";}
.editor-switch.is-switching summary {opacity:0.5;pointer-events:none;}

/* --- Front-end editing --- */
/* The edit buttons stand alone: the site's template may have no Bootstrap or icon font */
.jmoddiv.jmodinside {position:relative;}
.cms-frontedit {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid rgba(0, 0, 0, 0.25);border-radius:4px;background:#fff;color:#222;box-shadow:0 2px 6px rgba(0, 0, 0, 0.2);text-decoration:none;line-height:1;}
.cms-frontedit:hover,
.cms-frontedit:focus-visible {background:#222;color:#fff;}
.jmodedit.cms-frontedit {position:absolute;z-index:1001;}
.cms-frontedit-popup {position:absolute;z-index:1002;margin-top:4px;}
.cms-frontedit-tip {z-index:1003;max-width:280px;padding:6px 10px;border-radius:4px;background:#222;color:#fff;font:13px/1.4 system-ui, sans-serif;}
.cms-frontedit-tip .tip-title:empty {display:none;}

/* --- Language switcher (mod_languages) --- */
div.mod-languages ul {margin:0;padding:0;list-style:none;}
div.mod-languages li {margin-left:5px;margin-right:5px;}
div.mod-languages ul.lang-inline li {display:inline;}
div.mod-languages ul.lang-block li {display:block;}
div.mod-languages img {border:none;}
div.mod-languages a {text-decoration:none;}

/* --- Colour field (layout joomla.form.field.color) --- */
.cms-color {display:inline-flex;align-items:stretch;gap:4px;max-width:100%;vertical-align:middle;}
.cms-color .cms-color-swatch {flex:none;width:2.5em;min-height:30px;height:auto;margin:0;padding:3px;border:1px solid rgba(128, 128, 128, 0.45);border-radius:4px;background:transparent;box-sizing:border-box;cursor:pointer;}
.cms-color .cms-color-swatch:disabled {cursor:default;opacity:0.6;}
.cms-color .cms-color-value {width:8em;min-width:0;margin:0;font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;}
.cms-color .cms-color-value[data-format="rgb"],
.cms-color .cms-color-value[data-format="rgba"],
.cms-color .cms-color-value[data-keywords] {width:13em;}
.cms-color .cms-color-clear {display:inline-flex;align-items:center;justify-content:center;margin:0;padding:0 9px;}
/* Each engine's swatch has its own pseudo-element: in one selector list, the other engine would drop the whole rule */
.cms-color .cms-color-swatch::-webkit-color-swatch-wrapper {padding:0;}
.cms-color .cms-color-swatch::-webkit-color-swatch {border:0;border-radius:2px;}
.cms-color.is-empty .cms-color-swatch::-webkit-color-swatch {background:linear-gradient(to top right, transparent calc(50% - 1px), #d9534f calc(50% - 1px), #d9534f calc(50% + 1px), transparent calc(50% + 1px)), #fff !important;}
.cms-color-simple {display:flex;flex-wrap:wrap;gap:6px;align-items:center;}
.cms-color-break {flex-basis:100%;height:0;}
.cms-color-option {position:relative;display:inline-block;margin:0;padding:0;cursor:pointer;}
.cms-color-option input {position:absolute;top:0;left:0;width:1px;height:1px;margin:0;opacity:0;}
.cms-color-option .element-invisible {position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;}
.cms-color-chip {display:block;width:24px;height:24px;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(128, 128, 128, 0.5);}
.cms-color-chip.is-none {background:linear-gradient(to top right, transparent calc(50% - 1px), #d9534f calc(50% - 1px), #d9534f calc(50% + 1px), transparent calc(50% + 1px)), #fff;}
.cms-color-option input:checked + .cms-color-chip {outline:2px solid currentColor;outline-offset:2px;}
.cms-color-option input:focus-visible + .cms-color-chip {outline:2px dashed currentColor;outline-offset:2px;}
.cms-color-option input:disabled + .cms-color-chip {cursor:default;opacity:0.4;}

/* --- Date field (layout joomla.form.field.calendar) --- */
.cms-date {display:inline-flex;align-items:stretch;gap:4px;max-width:100%;vertical-align:middle;}
.cms-date .cms-date-input {width:auto;min-width:0;margin:0;font-variant-numeric:tabular-nums;}
.cms-date .cms-date-now,
.cms-date .cms-date-clear {display:inline-flex;align-items:center;justify-content:center;margin:0;white-space:nowrap;}
.cms-date .cms-date-clear {padding:0 9px;}
.cms-date .cms-date-input::-webkit-calendar-picker-indicator {cursor:pointer;}
/* Shown as text in the language's format: the browser's input lies invisible under the field, so its picker opens there */
.cms-date.is-text {position:relative;}
.cms-date.cms-date-old {display:block;}
.cms-date.is-text .cms-date-text {width:auto;min-width:0;margin:0;font-variant-numeric:tabular-nums;}
.cms-date.is-text .cms-date-input {position:absolute;top:0;left:0;width:100%;height:100%;padding:0;border:0;opacity:0;pointer-events:none;}
.cms-date .cms-date-pick {display:inline-flex;align-items:center;justify-content:center;margin:0;padding:0 9px;}

/* --- Search tools (the filter bar of lists, CMS.searchtools) --- */
.js-stools {width:100%;}
.js-stools-container-filters {display:none;margin:10px 0;}
.js-stools-container-bar .input-append {margin-bottom:0;}

/* Use up caret to hide the search filters */
.js-stools-container-bar .btn-primary .caret {border-top:0;border-bottom:4px solid #FFF;margin-top:7px;margin-bottom:8px;}
.js-stools .btn-wrapper {display:inline-block;margin:0 5px 0 0;}
/* The search field with its buttons: the field shrinks, the buttons stay in the bar */
.js-stools .btn-wrapper.input-append {display:inline-flex;max-width:100%;}

/* Fixed filter fields (selector) */
.js-stools .js-stools-container-selector {float:left;max-width:100%;margin-right:10px;min-width:220px;}
html[dir=rtl] .js-stools .js-stools-container-selector {float:right;margin-left:10px;margin-right:0;}
.js-stools .js-stools-container-bar {float:left;max-width:100%;}
html[dir=rtl] .js-stools .js-stools-container-bar {float:right;}
.js-stools .js-stools-container-list {float:right;text-align:right;}
html[dir=rtl] .js-stools .js-stools-container-list {float:left;text-align:left;}
.js-stools .chzn-container {text-align:left;}
html[dir=rtl] .js-stools .chzn-container {text-align:right;}
.js-stools .js-stools-container-filters select.active,
.js-stools .js-stools-container-filters .chzn-container.active .chzn-single {border:2px solid #2384D3;}
.js-stools .js-stools-container-filters-visible {display:inline-block;}
.js-stools .chzn-container-single .chzn-single span {overflow:visible;}
.js-stools .js-stools-field-list,
.js-stools .js-stools-field-filter {display:inline-block;max-width:100%;margin:0 5px 5px 0;}
.js-stools .js-stools-container-list .js-stools-field-list:last-child {margin-right:0;}

@media (max-width: 480px) {
    .js-stools-container-filters {display:block;}
    .js-stools-container-filters .btn-group {display:block;}
    .js-stools-container-filters .btn-wrapper {width:100%;}
    .js-stools-container-bar {margin-top:20px;}
}

@media (min-width: 768px) and (max-width: 979px) {
    .js-stools .js-stools-container-bar,
    .js-stools .js-stools-container-list {float:none;display:block;}
}

/* --- Sorting rows (subforms, the Repeatable field, lists sorted by ordering, CMS.sortable) --- */
/* none: a touch on a handle drags the row instead of scrolling the page (touch-action needs a box, not an inline element) */
.group-move,
.sortable-handler {cursor:move;touch-action:none;}
.sortable-handler {display:inline-block;}
/* Its icon on the middle of the line, level with the row's checkbox and buttons (the icon's box sat high on the baseline) */
.sortable-handler [class^="icon-"],
.sortable-handler [class*=" icon-"] {vertical-align:middle;}
/* The row being moved */
.cms-sort-dragging {opacity:0.6;outline:2px dashed var(--c-primary, #2a6fb5);outline-offset:-2px;}
/* Where the row will go: a shadow, as striped tables' backgrounds outrank this rule */
div.cms-sort-placeholder,
li.cms-sort-placeholder {height:4px;margin:4px 0;list-style:none;background:var(--c-primary, #2a6fb5);border-radius:2px;}
/* Items side by side: a frame of the item's size (set by the script) */
.cms-sort-placeholder.is-inline {box-sizing:border-box;background:none;border:2px dashed var(--c-primary, #2a6fb5);border-radius:4px;}
tr.cms-sort-placeholder > td {height:4px;padding:0;border:0;box-shadow:inset 0 0 0 2px var(--c-primary, #2a6fb5);}
/* Handles of lists not sorted by ordering do nothing */
.sortable-handler.inactive {cursor:default;touch-action:auto;}
/* Rows of other groups (another category) while a row is dragged */
.dndlist-group-disabled {opacity:0.3;}
.middle,
.table td.middle,
.table th.middle {vertical-align:middle;}

/* --- Administrator error page without a template's own (layout joomla.system.admin.error, body.tmpl-error) --- */
body.tmpl-error {margin:15px;padding:0;background:#fff;color:#333;font:11px/1.4 Arial, Helvetica, sans-serif;}
body.tmpl-error .outline {max-width:550px;margin:0 auto;padding:2px;border:1px solid #ccc;background:#fff;}
body.tmpl-error .outline td {padding:3px 5px;border:1px solid #bbb;text-align:center;font-size:10px;overflow-wrap:anywhere;}
body.tmpl-error h1 {color:#cc3333;font-size:18px;}
body.tmpl-error .frame {margin:13px 0 25px;padding:8px;border:1px solid #000;background-color:#fefcf3;}
body.tmpl-error .table {margin-top:13px;border-collapse:collapse;}
body.tmpl-error .type {padding:3px;background-color:#cc0000;color:#fff;font-weight:bold;}

/* --- Cropping (CMS.cropper) --- */
.cms-crop {position:relative;display:inline-block;max-width:100%;overflow:hidden;line-height:0;vertical-align:top;cursor:crosshair;touch-action:none;user-select:none;}
.cms-crop:focus {outline:none;}
.cms-crop:focus-visible {outline:2px solid #3b82f6;outline-offset:2px;}
.cms-crop > img {display:block;max-width:100%;height:auto;pointer-events:none;}
.cms-crop-selection {position:absolute;box-sizing:border-box;border:1px dashed #fff;outline:1px solid rgba(0, 0, 0, 0.6);box-shadow:0 0 0 9999px rgba(0, 0, 0, 0.5);cursor:move;}
.cms-crop-handle {position:absolute;box-sizing:border-box;width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid #333;background:#fff;}
.cms-crop-handle[data-dir="nw"] {top:0;left:0;cursor:nwse-resize;}
.cms-crop-handle[data-dir="n"] {top:0;left:50%;cursor:ns-resize;}
.cms-crop-handle[data-dir="ne"] {top:0;left:100%;cursor:nesw-resize;}
.cms-crop-handle[data-dir="e"] {top:50%;left:100%;cursor:ew-resize;}
.cms-crop-handle[data-dir="se"] {top:100%;left:100%;cursor:nwse-resize;}
.cms-crop-handle[data-dir="s"] {top:100%;left:50%;cursor:ns-resize;}
.cms-crop-handle[data-dir="sw"] {top:100%;left:0;cursor:nesw-resize;}
.cms-crop-handle[data-dir="w"] {top:50%;left:0;cursor:ew-resize;}

@media (pointer:coarse) {
    .cms-crop-handle {width:18px;height:18px;margin:-9px 0 0 -9px;}
}

/* --- Bootstrap 2's collapse (CMS.bootstrap: also on templates without Bootstrap's styles, under any template's own) --- */
:where(.collapse) {position:relative;height:0;overflow:hidden;transition:height 0.35s ease;}
:where(.collapse.in) {height:auto;}

/* --- Searchable lists (Chosen's markup, CMS.chosen) --- */
.chzn-container {position:relative;display:inline-block;vertical-align:middle;font-size:13px;user-select:none;}
.chzn-container * {box-sizing:border-box;}
.chzn-container .chzn-drop {position:absolute;top:100%;left:-9999px;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0, 0, 0, 0.15);}
.chzn-container.chzn-with-drop .chzn-drop {left:0;}
.chzn-container a {cursor:pointer;}
.chzn-container .search-choice .group-name,
.chzn-container .chzn-single .group-name {margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:normal;color:#999999;}
.chzn-container .search-choice .group-name:after,
.chzn-container .chzn-single .group-name:after {content:":";padding-left:2px;vertical-align:top;}

/* Single */
.chzn-container-single .chzn-single {position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px;}
.chzn-container-single .chzn-default {color:#999;}
.chzn-container-single .chzn-single span {display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap;}
.chzn-container-single .chzn-single-with-deselect span {margin-right:38px;}
.chzn-container-single .chzn-single abbr {position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url('../images/chosen/x.svg') center / 8px 8px no-repeat;font-size:1px;}
.chzn-container-single .chzn-single abbr:hover {background-image:url('../images/chosen/x-dark.svg');}
.chzn-container-single.chzn-disabled .chzn-single abbr:hover {background-image:url('../images/chosen/x-dark.svg');}
.chzn-container-single .chzn-single div {position:absolute;top:0;right:0;display:block;width:18px;height:100%;}
.chzn-container-single .chzn-single div b {display:block;width:100%;height:100%;background:url('../images/chosen/caret-down.svg') center / 9px 9px no-repeat;}
.chzn-container-single .chzn-search {position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap;}
.chzn-container-single .chzn-search input[type="text"] {margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:url('../images/chosen/search.svg') no-repeat right 6px center / 12px 12px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0;}
.chzn-container-single .chzn-drop {margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box;}
.chzn-container-single.chzn-container-single-nosearch .chzn-search {position:absolute;left:-9999px;}

/* Results */
.chzn-container .chzn-results {color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;}
.chzn-container .chzn-results li {display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none;}
.chzn-container .chzn-results li.active-result {display:list-item;cursor:pointer;}
.chzn-container .chzn-results li.disabled-result {display:list-item;color:#ccc;cursor:default;}
.chzn-container .chzn-results li.highlighted {background-color:#3875d7;background-image:linear-gradient(#3875d7 20%, #2a62bc 90%);color:#fff;}
.chzn-container .chzn-results li.no-results {color:#777;display:list-item;background:#f4f4f4;}
.chzn-container .chzn-results li.group-result {display:list-item;font-weight:bold;cursor:default;}
.chzn-container .chzn-results li.group-option {padding-left:15px;}
.chzn-container .chzn-results li em {font-style:normal;text-decoration:underline;}

/* Multiple */
.chzn-container-multi .chzn-choices {position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eeeeee 1%, #ffffff 15%);cursor:text;}
.chzn-container-multi .chzn-choices li {float:left;list-style:none;}
.chzn-container-multi .chzn-choices li.search-field {margin:0;padding:0;white-space:nowrap;}
.chzn-container-multi .chzn-choices li.search-field input[type="text"] {margin:1px 0;padding:0;height:25px;outline:0;border:0 !important;background:transparent !important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;}
.chzn-container-multi .chzn-choices li.search-choice {position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eeeeee;background-image:linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);color:#333;line-height:13px;cursor:default;}
.chzn-container-multi .chzn-choices li.search-choice span {word-wrap:break-word;}
.chzn-container-multi .chzn-choices li.search-choice .search-choice-close {position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url('../images/chosen/x.svg') center / 8px 8px no-repeat;font-size:1px;}
.chzn-container-multi .chzn-choices li.search-choice .search-choice-close:hover {background-image:url('../images/chosen/x-dark.svg');}
.chzn-container-multi .chzn-choices li.search-choice-disabled {padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);color:#666;}
.chzn-container-multi .chzn-choices li.search-choice-focus {background:#d4d4d4;}
.chzn-container-multi .chzn-choices li.search-choice-focus .search-choice-close {background-image:url('../images/chosen/x-dark.svg');}
.chzn-container-multi .chzn-results {margin:0;padding:0;}
.chzn-container-multi .chzn-drop .result-selected {display:list-item;color:#ccc;cursor:default;}

/* Active */
.chzn-container-active .chzn-single {border:1px solid #5897fb;box-shadow:0 0 5px rgba(0, 0, 0, 0.3);}
.chzn-container-active.chzn-with-drop .chzn-single {border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eeeeee 20%, #ffffff 80%);}
.chzn-container-active.chzn-with-drop .chzn-single div {border-left:none;background:transparent;}
.chzn-container-active.chzn-with-drop .chzn-single div b {background-image:url('../images/chosen/caret-up.svg');}
.chzn-container-active .chzn-choices {border:1px solid #5897fb;box-shadow:0 0 5px rgba(0, 0, 0, 0.3);}
.chzn-container-active .chzn-choices li.search-field input[type="text"] {color:#222 !important;}

/* Disabled */
.chzn-disabled {opacity:0.5 !important;cursor:default;}
.chzn-disabled .chzn-single {cursor:default;}
.chzn-disabled .chzn-choices .search-choice .search-choice-close {cursor:default;}

/* Right to left */
.chzn-rtl {text-align:right;}
.chzn-rtl .chzn-single {overflow:visible;padding:0 8px 0 0;}
.chzn-rtl .chzn-single span {margin-right:0;margin-left:26px;direction:rtl;}
.chzn-rtl .chzn-single-with-deselect span {margin-left:38px;}
.chzn-rtl .chzn-single div {right:auto;left:3px;}
.chzn-rtl .chzn-single abbr {right:auto;left:26px;}
.chzn-rtl .chzn-choices li {float:right;}
.chzn-rtl .chzn-choices li.search-field input[type="text"] {direction:rtl;}
.chzn-rtl .chzn-choices li.search-choice {margin:3px 5px 3px 0;padding:3px 5px 3px 19px;}
.chzn-rtl .chzn-choices li.search-choice .search-choice-close {right:auto;left:4px;}
.chzn-rtl .chzn-drop {left:9999px;}
.chzn-rtl.chzn-container-single .chzn-results {margin:0 0 4px 4px;padding:0 4px 0 0;}
.chzn-rtl .chzn-results li.group-option {padding-right:15px;padding-left:0;}
.chzn-rtl.chzn-container-active.chzn-with-drop .chzn-single div {border-right:none;}
.chzn-rtl .chzn-search input[type="text"] {padding:4px 5px 4px 20px;background:url('../images/chosen/search.svg') no-repeat left 6px center / 12px 12px;direction:rtl;}
.chzn-rtl.chzn-container-single .chzn-single div b {background-position:center;}
.chzn-rtl.chzn-container-single.chzn-with-drop .chzn-single div b {background-image:url('../images/chosen/caret-up.svg');}
/* Right to left pages (Joomla's) */
[dir="rtl"] .chzn-container .chzn-drop,
[dir="rtl"] .chzn-container-single.chzn-container-single-nosearch .chzn-search {left:auto;right:-9999px;}
[dir="rtl"] .chzn-container.chzn-with-drop .chzn-drop {right:0;}
