/* uz_aussehen/farben.css - Gold statt Hellblau (Udo 04.10.2026)
   ERZEUGT, nicht von Hand aendern: Elastic 1.6.19 (styles.less) zweimal mit lessc 4 uebersetzt,
   einmal original, einmal mit @color-main #b8892a, @color-link #946a14 und
   @color-dark-main darken(@color-main, 15%) (dunkler Modus); hier stehen nur die
   Regeln, deren Farbe sich unterscheidet (wissen/webmail-logo/farben-erzeugen.sh).
   Gleiche Selektoren wie Elastic, wird nach styles.min.css geladen und gewinnt daher. */
a { color: #946a14; }
a:hover { color: #674a0e; }
p.image-attachment { background-color: rgba(184, 137, 42, 0.05); }
.quota-widget .value { background-color: #b8892a; }
.image-tools { background-color: rgba(184, 137, 42, 0.4); }
.image-tools a:focus,
.image-tools a:hover { background-color: rgba(184, 137, 42, 0.5) !important; }
.table-widget table.options-table tr.selected td { background-color: #f8f3ea; }
.floating-action-buttons a.button { background: #b8892a; box-shadow: 0 0 5px 5px #ebd5a9; }
.btn:focus { box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.3); }
.btn-link { color: #946a14; }
.btn-primary { background: #b8892a; border-color: #b8892a; }
.btn-primary:focus { background: #a37a25; border-color: #9b7323; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.5); }
.btn-primary:hover { background: #a37a25; border-color: #9b7323; }
.btn-primary.disabled,
.btn-primary:disabled { background: #b8892a; border-color: #b8892a; }
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active { background: #8e6a21; border-color: #86641f; }
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus { box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.53); }
.ui-menu .ui-state-active { background-color: #b8892a !important; }
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset a.btn-link:focus { background-color: rgba(184, 137, 42, 0.5); }
.ui-slider .ui-slider-range { background: #e7cb94; }
.ui-slider .ui-slider-handle.ui-state-active { background: #b8892a; border-color: #271d09; }
.ui-datepicker .ui-datepicker-days-cell-over a,
.ui-datepicker .ui-datepicker-days-cell-over a.ui-state-default,
.ui-datepicker .ui-state-highlight,
.ui-datepicker.ui-widget-content .ui-state-highlight { background: #e7cb94; color: #b8892a; }
.ui-datepicker a.ui-state-active { background: #b8892a !important; }
html.layout-small .popover-header,
html.layout-phone .popover-header { background-color: #271d09; }
.popover .menu li a:not(.disabled):hover { background-color: #b8892a; }
.popover .menu .dropbutton a.dropdown:hover { background-color: #b8892a; }
@media screen and (min-width: 481px) {
  #taskmenu .action-buttons a { color: #b8892a; }
  #taskmenu .action-buttons a:hover { color: #b8892a; }
}
.ui.alert { background-color: rgba(184, 137, 42, 0.05); }
.ui.alert a:not(.btn) { color: #b8892a; }
.ui.alert.boxinformation { background-color: rgba(184, 137, 42, 0.2); }
#messagestack .alert-info.information { background-color: #b8892a; }
.listing li.selected,
.listing tr.selected td { background-color: #f8f3ea; }
html:not(.touch) .listing li > a:focus,
html:not(.touch) .listing.focus tbody tr.focused > td:first-child,
html:not(.touch) .listing.focus:not(.withselection) tbody tr.focused > td.selection + td { border-left: 2px solid #ddb76b; }
.popupmenu .listing li > a:not(.disabled):hover { background-color: #b8892a; }
.popupmenu .listing li.selected { background-color: #b8892a; }
ul.treelist li.selected > div > a,
ul.treelist li.selected > a { background-color: #f8f3ea; }
.folderlist li.mailbox .unreadcount { background: #b8892a; }
.folderlist li.mailbox.recent > a { color: #654b17; }
.folderlist li.mailbox.recent > a > .unreadcount { background: #b8892a; }
.formcontent.raweditor .CodeMirror-focused { border-color: #b8892a; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.25); }
.input-group a:focus { background-color: rgba(184, 137, 42, 0.25); }
.multi-input > .content.focused { border-color: #b8892a; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.25); }
.recipient-input.focus { border-color: #b8892a; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.25); }
.tagedit-list[tabindex="-1"] { border-color: #b8892a; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.25); }
.form-control:focus { border-color: #b8892a; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.25); }
.input-group-text input:focus { border-color: #b8892a !important; }
.custom-switch .custom-control-input:focus ~ .custom-control-label:before { box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.25); }
.custom-switch .custom-control-input:focus:not(:checked) ~ .custom-control-label::before { border-color: #b8892a; }
.custom-switch .custom-control-input:checked ~ .custom-control-label::before { border-color: #b8892a; background-color: #b8892a; }
.custom-switch .custom-control-input:checked:disabled ~ .custom-control-label::before { border-color: #d8ad56; background-color: #d8ad56; }
.custom-file-input:focus ~ .custom-file-label { border-color: #b8892a; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.25); }
div.tox.focused { border-color: #b8892a !important; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.25) !important; }
div.tox .tox-dialog .tox-dialog__body-nav-item--active { color: #946a14; }
div.tox .tox-dialog .tox-dialog__body-nav-item--active:hover { color: #674a0e; }
div.tox .tox-dialog__footer .tox-button { background: #b8892a; border-color: #b8892a; }
div.tox .tox-dialog__footer .tox-button:focus { background: #a37a25; border-color: #9b7323; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.5); }
div.tox .tox-dialog__footer .tox-button:hover { background: #a37a25; border-color: #9b7323; }
div.tox .tox-dialog__footer .tox-button.disabled,
div.tox .tox-dialog__footer .tox-button:disabled { background: #b8892a; border-color: #b8892a; }
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled):active,
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled).active { background: #8e6a21; border-color: #86641f; }
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled):active:focus,
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled).active:focus { box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.53); }
div.tox .tox-dialog__footer .tox-button:focus:not(:disabled) { background: #b8892a; border-color: #b8892a; }
div.tox .tox-color-input > input:focus,
div.tox .tox-listboxfield .tox-listbox--select:focus,
div.tox .tox-textarea:focus,
div.tox .tox-textfield:focus { border-color: #b8892a; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.25); }
.image-selector .attachmentslist li:hover,
.image-selector .attachmentslist li:focus { background: #f8f3ea; }
.googie_list li.googie_list_onhover { background-color: #b8892a; }
.message-part blockquote,
.message-htmlpart blockquote { color: #3b2c0e; border-left: 2px solid #3b2c0e; border-right: 2px solid #3b2c0e; }
html.dark-mode { scrollbar-color: #503c12 #4d6066; }
html.dark-mode:not(.touch) ::-webkit-scrollbar-thumb { background-color: #503c12; }
html.dark-mode .ui.alert.boxinformation,
html.dark-mode #messagestack .alert-info { background-color: #6e5219; }
html.dark-mode #taskmenu .action-buttons a { color: #b8892a; }
html.dark-mode .listing li.selected,
html.dark-mode .listing li.selected > a,
html.dark-mode .listing li.selected > div > a,
html.dark-mode .listing tr.selected td { color: #b8892a; }
html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject a,
html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject span.msgicon.status { color: #b8892a; }
html.dark-mode .btn-primary { background-color: #7a5b1c; }
html.dark-mode .btn-primary:hover:not(:disabled) { background-color: #8e6a21; }
html.dark-mode .floating-action-buttons a.button { background: #7a5b1c; }
html.dark-mode .custom-file-label:focus:not(.is-invalid),
html.dark-mode .form-control:focus:not(.is-invalid) { border-color: #b8892a; }
html.dark-mode .custom-switch .custom-control-input:checked ~ .custom-control-label::before { background-color: #7a5b1c; }
html.dark-mode .multi-input:not(.is-invalid) > .content.focused { border-color: #b8892a; }
html.dark-mode .input-group a:focus { border-color: #b8892a; box-shadow: 0 0 0 0.2rem rgba(184, 137, 42, 0.25); }
html.dark-mode .recipient-input.focus { border-color: #b8892a; }
html.dark-mode .formcontent.raweditor .CodeMirror-focused { border-color: #b8892a; }
html.dark-mode .tox .tox-dialog__footer .tox-button { background-color: #7a5b1c; }
html.dark-mode .tox .tox-dialog__footer .tox-button:focus:not(:disabled) { background-color: #7a5b1c; }
html.dark-mode .tox .tox-dialog__footer .tox-button:hover:not(:disabled) { background-color: #8e6a21; }
html.dark-mode .tox .tox-dialog__body-nav-item--active { color: #b8892a; }
html.dark-mode .tox .tox-collection__item--enabled { color: #b8892a; }
html.dark-mode .message-part blockquote { border-color: #d4a341; color: #d4a341; }
html.dark-mode .ui-datepicker .ui-state-highlight,
html.dark-mode .ui-datepicker.ui-widget-content .ui-state-highlight { color: #b8892a; }

/* eigene Plugins: Schrittnummern der Einrichtungsseite */
html body .uz2fa .uz2fa-nr { background: #b8892a; }

/* dunkler Modus: dunkles Gold der Links ist auf dunklem Grund zu blass -> helleres Gold,
   nur an unseren eigenen Stellen (Anmeldeseite unten, Einrichtungsseite Anmeldung mit Code) */
html.dark-mode #login-footer a { color: #e0b44e; }
html.dark-mode #login-footer a:hover { color: #f2cc58; }
html.dark-mode .uz2fa a:not(.btn) { color: #e0b44e; }
