@font-face {
  font-family: YekanBakh;
  src: url(YekanBakh-ExtraBold.woff2) format('woff2');
  font-weight: 100 900;
}
html, body, input, button, select, textarea, .ui-dialog {
  font-family: YekanBakh, Tahoma, sans-serif !important;
}

/* ---- White + purple theme (generated from Elastic's own LESS variables) ---- */
a[role="button"]:hover {
  color: #e6bf94 !important;
}
a:hover { color: #57329a !important; }
#layout > div > .header { background-color: #ffffff !important; }
#rcmdraglayer { background-color: #6d3fc0 !important; }
.popup .listbox .footer { background-color: #ffffff !important; }
p.image-attachment { background-color: rgba(109, 63, 192, 0.05) !important; }
.quota-widget .value { background-color: #6d3fc0 !important; }
.image-tools { background-color: rgba(109, 63, 192, 0.4) !important; }
.image-tools a:focus,
.image-tools a:hover { background-color: rgba(109, 63, 192, 0.5) !important; }
.table-widget table.options-table tr.selected td { background-color: #f0ecf9 !important; }
.floating-action-buttons a.button { background: #6d3fc0 !important; box-shadow: 0 0 5px 5px #d3c5ec !important; }
.btn:focus { box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.3) !important; }
.btn-link { color: #6d3fc0 !important; }
.btn-primary { background: #6d3fc0 !important; border-color: #6d3fc0 !important; }
.btn-primary:focus { background: #6239ad !important; border-color: #5e36a5 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.5) !important; }
.btn-primary:hover { background: #6239ad !important; border-color: #5e36a5 !important; }
.btn-primary.disabled,
.btn-primary:disabled { background: #6d3fc0 !important; border-color: #6d3fc0 !important; }
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active { background: #57329a !important; border-color: #533092 !important; }
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus { box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.53) !important; }
.ui-menu .ui-state-active { background-color: #6d3fc0 !important; }
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset a.btn-link:focus { background-color: rgba(109, 63, 192, 0.5) !important; }
.ui-slider .ui-slider-range { background: #c5b2e6 !important; }
.ui-slider .ui-slider-handle.ui-state-active { background: #6d3fc0 !important; border-color: #21133a !important; }
.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: #c5b2e6 !important; color: #6d3fc0 !important; }
.ui-datepicker a.ui-state-active { background: #6d3fc0 !important; }
html.layout-small .popover-header,
html.layout-phone .popover-header { background-color: #21133a !important; }
.menu a:not(.disabled):focus,
.menu a:not(.disabled):hover { background-color: #f7f7f7 !important; }
.menu.toolbar .dropbutton:not(.disabled):hover { background-color: #f7f7f7 !important; }
.menu.toolbar .dropbutton a.dropdown:hover { background-color: #ebebeb !important; }
.menu.pagenav.pagenav-list { background-color: #ffffff !important; }
.popover .menu li a:not(.disabled):hover { background-color: #6d3fc0 !important; }
.popover .menu .dropbutton a.dropdown:hover { background-color: #6d3fc0 !important; }
.searchbar { background-color: #ffffff !important; }
.ui.alert a:not(.btn) { color: #6d3fc0 !important; }
.ui.alert.boxinformation { background-color: rgba(109, 63, 192, 0.2) !important; }
#messagestack .alert-info.information { background-color: #6d3fc0 !important; }
.listing li.selected,
.listing tr.selected td { background-color: #f0ecf9 !important; }
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 #a78cd9 !important; }
.popupmenu .listing li > a:not(.disabled):hover { background-color: #6d3fc0 !important; }
.popupmenu .listing li.selected { background-color: #6d3fc0 !important; }
ul.treelist li.selected > div > a,
ul.treelist li.selected > a { background-color: #f0ecf9 !important; }
.folderlist li.mailbox .unreadcount { background: #6d3fc0 !important; }
.folderlist li.mailbox.recent > a { color: #412673 !important; }
.folderlist li.mailbox.recent > a > .unreadcount { background: #6d3fc0 !important; }
.formcontent.raweditor .CodeMirror-focused { border-color: #6d3fc0 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.25) !important; }
.input-group a:focus { background-color: rgba(109, 63, 192, 0.25) !important; }
.multi-input > .content.focused { border-color: #6d3fc0 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.25) !important; }
.file-upload.droptarget.active { border-color: #c4c4c4 !important; }
.file-upload.droptarget.hover { border-color: #c4c4c4 !important; background-color: #f7f7f7 !important; }
.recipient-input.focus { border-color: #6d3fc0 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.25) !important; }
.tagedit-list[tabindex="-1"] { border-color: #6d3fc0 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.25) !important; }
.form-control:focus { border-color: #6d3fc0 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.25) !important; }
.input-group-text input:focus { border-color: #6d3fc0 !important; }
.custom-switch .custom-control-input:focus ~ .custom-control-label:before { box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.25) !important; }
.custom-switch .custom-control-input:focus:not(:checked) ~ .custom-control-label::before { border-color: #6d3fc0 !important; }
.custom-switch .custom-control-input:checked ~ .custom-control-label::before { border-color: #6d3fc0 !important; background-color: #6d3fc0 !important; }
.custom-switch .custom-control-input:checked:disabled ~ .custom-control-label::before { border-color: #9979d3 !important; background-color: #9979d3 !important; }
.custom-file-input:focus ~ .custom-file-label { border-color: #6d3fc0 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.25) !important; }
div.tox.focused { border-color: #6d3fc0 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.25) !important; }
div.tox .tox-dialog .tox-dialog__body-nav-item--active { color: #6d3fc0 !important; }
div.tox .tox-dialog .tox-dialog__body-nav-item--active:hover { color: #57329a !important; }
div.tox .tox-dialog__footer .tox-button { background: #6d3fc0 !important; border-color: #6d3fc0 !important; }
div.tox .tox-dialog__footer .tox-button:focus { background: #6239ad !important; border-color: #5e36a5 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.5) !important; }
div.tox .tox-dialog__footer .tox-button:hover { background: #6239ad !important; border-color: #5e36a5 !important; }
div.tox .tox-dialog__footer .tox-button.disabled,
div.tox .tox-dialog__footer .tox-button:disabled { background: #6d3fc0 !important; border-color: #6d3fc0 !important; }
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: #57329a !important; border-color: #533092 !important; }
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(109, 63, 192, 0.53) !important; }
div.tox .tox-dialog__footer .tox-button:focus:not(:disabled) { background: #6d3fc0 !important; border-color: #6d3fc0 !important; }
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: #6d3fc0 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.25) !important; }
.image-selector .attachmentslist li:hover,
.image-selector .attachmentslist li:focus { background: #f0ecf9 !important; }
.googie_list li.googie_list_onhover { background-color: #6d3fc0 !important; }
.message-part blockquote,
.message-htmlpart blockquote { color: #2c194d !important; border-left: 2px solid #2c194d !important; border-right: 2px solid #2c194d !important; }
html.dark-mode { scrollbar-color: #372060 #4d6066 !important; }
html.dark-mode:not(.touch) ::-webkit-scrollbar-thumb { background-color: #372060 !important; }
html.dark-mode .ui.alert.boxinformation,
html.dark-mode #messagestack .alert-info { background-color: #412673 !important; }
html.dark-mode #taskmenu .action-buttons a { color: #6d3fc0 !important; }
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: #6d3fc0 !important; }
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: #6d3fc0 !important; }
html.dark-mode .btn-primary { background-color: #2c194d !important; }
html.dark-mode .btn-primary:hover:not(:disabled) { background-color: #372060 !important; }
html.dark-mode .floating-action-buttons a.button { background: #2c194d !important; }
html.dark-mode .custom-file-label:focus:not(.is-invalid),
html.dark-mode .form-control:focus:not(.is-invalid) { border-color: #6d3fc0 !important; }
html.dark-mode .custom-switch .custom-control-input:checked ~ .custom-control-label::before { background-color: #2c194d !important; }
html.dark-mode .multi-input:not(.is-invalid) > .content.focused { border-color: #6d3fc0 !important; }
html.dark-mode .input-group a:focus { border-color: #6d3fc0 !important; box-shadow: 0 0 0 0.2rem rgba(109, 63, 192, 0.25) !important; }
html.dark-mode .recipient-input.focus { border-color: #6d3fc0 !important; }
html.dark-mode .formcontent.raweditor .CodeMirror-focused { border-color: #6d3fc0 !important; }
html.dark-mode .tox .tox-dialog__footer .tox-button { background-color: #2c194d !important; }
html.dark-mode .tox .tox-dialog__footer .tox-button:focus:not(:disabled) { background-color: #2c194d !important; }
html.dark-mode .tox .tox-dialog__footer .tox-button:hover:not(:disabled) { background-color: #372060 !important; }
html.dark-mode .tox .tox-dialog__body-nav-item--active { color: #6d3fc0 !important; }
html.dark-mode .tox .tox-collection__item--enabled { color: #6d3fc0 !important; }
html.dark-mode .message-part blockquote { border-color: #8a65cd !important; color: #8a65cd !important; }
html.dark-mode .ui-datepicker .ui-state-highlight,
html.dark-mode .ui-datepicker.ui-widget-content .ui-state-highlight { color: #6d3fc0 !important; }
@media screen and (min-width: 481px) {
#layout-menu .popover-header { background-color: #6d3fc0 !important; }
#layout-menu { background-color: #6d3fc0 !important; }
#taskmenu a.selected { background: #55309a !important; }
#taskmenu a.selected:hover { background: #55309a !important; }
#taskmenu a:hover { background: #55309a !important; }
#taskmenu .special-buttons { background-color: #6d3fc0 !important; }
#taskmenu .action-buttons a { color: #ffffff !important; }
#taskmenu .action-buttons a:hover { color: #ffffff !important; background: #55309a !important; }
}
@media screen and (max-width: 768px) {
#layout > div > .header { background-color: #ffffff !important; }
#layout > div > .footer { background-color: #ffffff !important; }
}
@media screen and (max-width: 480px) {
.ui-dialog .ui-dialog-titlebar { background-color: #ffffff !important; }
.ui-dialog .ui-dialog-buttonpane { background-color: #ffffff !important; }
div.tox .tox-dialog__footer { background-color: #ffffff !important; }
div.tox .tox-dialog__header { background-color: #ffffff !important; }
}
@media screen and (min-width: 769px) {
.header a.button.icon:not(.disabled):focus,
  .header a.button.icon:not(.disabled):hover { background-color: #f7f7f7 !important; }
}
@media screen and (min-width: 1025px) {
#taskmenu a:focus { background-color: #55309a !important; }
}

/* ---- Login page ---- */
body.task-login, body.task-login #layout, body.task-login #layout-content { background: #fff !important; }
body.task-login #login-form {
  border-top: 4px solid #6d3fc0;
  box-shadow: 0 4px 24px rgba(109, 63, 192, .15);
  border-radius: .5rem;
  padding: 1rem;
}
