/* HTMX */
body .htmx-indicator {
    display: none;
}
body .htmx-request .htmx-indicator, body .htmx-request.htmx-indicator {
    display: inline-block;
}

body .htmx-request .htmx-indicator-hide {
    display: none;
}

/* Select2
TODO Move to TomSelect (no jQuery)
*/
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: rgb(209, 213, 219) !important;
}

form[name=event_selection_dropdown] .select2 .select2-selection--single .select2-selection__placeholder {
    color: white;
}
form[name=event_selection_dropdown] .select2.select2-container--open .select2-selection--single .select2-selection__placeholder {
    color: black;
}


form[name=event_selection_dropdown] .select2-selection__arrow {
    display: block;
}
form[name=event_selection_dropdown] .select2-selection__arrow b {
    border-color: white transparent transparent transparent !important;
    margin-top: 6px !important;
}
form[name=event_selection_dropdown] .select2-selection.select2-selection--single {
    background: transparent;
    color: white;
    border: solid 0.5px white;
    border-radius: 4px;
    box-shadow: none;
    padding-inline-end: 20px;
}
form[name=event_selection_dropdown] .select2-container--open .select2-selection.select2-selection--single {
    background: white;
    color: #888;
    box-shadow: initial;
}
/* CodeMirror */
.cm-tab {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);
    background-position: right;
    background-repeat: no-repeat;
}

.navbar-vertical .navbar-nav .nav-link[data-toggle="collapse"][aria-expanded="true"]:after {
    color: rgb(var(--partner-primary)) !important;
}
