html:root {
  --gom10-primary: #137250;
  --gom10-primary-hover: #0d573e;
  --gom10-primary-soft: #e7f4ed;
  --gom10-hover-bg: #f3faf6;
  --gom10-accent: #d04906;
  --gom10-bg: #f8f9fb;
  --gom10-surface: #fff;
  --gom10-text: #243a32;
  --gom10-text-muted: #667a71;
  --gom10-border: #d4e2da;
  --gom10-link: #137250;
  --gom10-link-hover: #0d573e;
  --gom10-focus: #137250;
  --gom10-focus-ring: rgba(19, 114, 80, 0.11);
  --gom10-radius: 12px;
  --gom10-control-radius: 10px;
}
html:root.dark-mode {
  --gom10-link: #8bd5b2;
  --gom10-link-hover: #b0e3cb;
  --gom10-focus: #8bd5b2;
  --gom10-focus-ring: rgba(139, 213, 178, 0.13);
  --gom10-primary-soft: rgba(19, 114, 80, 0.22);
  --gom10-hover-bg: rgba(19, 114, 80, 0.12);
}
html:root body,
html:root body button,
html:root body input,
html:root body select,
html:root body textarea,
html:root body .popover,
html:root body .ui-widget {
  font-family: Arial, sans-serif;
}
html:root body #login-footer a,
html:root body .formcontent a:not(.btn):not(.button),
html:root body .header-links a,
html:root body .menu.pagenav a,
html:root body .searchbar a,
html:root body .btn-link {
  color: var(--gom10-link);
}
html:root body #login-footer a:hover,
html:root body .formcontent a:not(.btn):not(.button):hover,
html:root body .header-links a:hover,
html:root body .menu.pagenav a:hover,
html:root body .searchbar a:hover,
html:root body .btn-link:hover {
  color: var(--gom10-link-hover);
}
html:root body .btn {
  border-radius: var(--gom10-control-radius);
}
html:root body .btn-primary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info) {
  color: #fff;
  background-color: var(--gom10-primary);
  border-color: var(--gom10-primary);
}
html:root body .btn-primary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):hover:not(:disabled):not(.disabled),
html:root body .btn-primary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):focus,
html:root body .btn-primary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(:disabled):not(.disabled):active,
html:root body .btn-primary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(:disabled):not(.disabled).active {
  color: #fff;
  background-color: var(--gom10-primary-hover);
  border-color: var(--gom10-primary-hover);
}
html:root body .btn-primary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):disabled,
html:root body .btn-primary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info).disabled {
  background-color: var(--gom10-primary);
  border-color: var(--gom10-primary);
}
html:root body .btn-secondary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info) {
  color: var(--gom10-link);
}
html:root body .btn-secondary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):hover:not(:disabled):not(.disabled),
html:root body .btn-secondary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):focus,
html:root body .btn-secondary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(:disabled):not(.disabled):active,
html:root body .btn-secondary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(:disabled):not(.disabled).active {
  color: var(--gom10-link-hover);
  background-color: var(--gom10-primary-soft);
  border-color: var(--gom10-focus);
}
html:root body .btn-primary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):focus,
html:root body .btn-secondary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):focus,
html:root body .btn-link:focus,
html:root body .btn-primary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(:disabled):not(.disabled):active:focus,
html:root body .btn-secondary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(:disabled):not(.disabled):active:focus,
html:root body .btn-link:not(:disabled):not(.disabled):active:focus,
html:root body .btn-primary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(:disabled):not(.disabled).active:focus,
html:root body .btn-secondary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(:disabled):not(.disabled).active:focus,
html:root body .btn-link:not(:disabled):not(.disabled).active:focus {
  box-shadow: 0 0 0 3px var(--gom10-focus-ring);
  outline: 2px solid var(--gom10-focus);
  outline-offset: 2px;
}
html:root body .floating-action-buttons a.button {
  color: #fff;
  background-color: var(--gom10-primary);
  box-shadow: 0 3px 12px rgba(19, 114, 80, 0.15);
}
html:root body .floating-action-buttons a.button:hover {
  background-color: var(--gom10-primary-hover);
}
html:root body #taskmenu a:not(.logout) {
  color: var(--gom10-link);
}
html:root body #taskmenu a:not(.logout):not(.selected):hover,
html:root body #taskmenu a:not(.logout):not(.selected):focus,
html:root body .menu a:not(.disabled):hover,
html:root body .menu a:not(.disabled):focus,
html:root body .menu.toolbar .dropbutton:not(.disabled):hover {
  background-color: var(--gom10-hover-bg);
}
html:root body #taskmenu a.selected:not(.logout),
html:root body #taskmenu a.selected:not(.logout):hover,
html:root body #taskmenu a.selected:not(.logout):focus {
  color: var(--gom10-link);
  background-color: var(--gom10-primary-soft);
  box-shadow: inset 3px 0 var(--gom10-primary);
}
html:root body .menu.toolbar a:not(.delete):not(.expunge):not(.selected),
html:root body #layout > div > .header a.button:not(.delete):not(.expunge) {
  color: var(--gom10-link);
}
html:root body .listing li:not(.selected) > a:not(.disabled):hover,
html:root body .listing tr:not(.selected):hover > td {
  background-color: var(--gom10-hover-bg);
}
html:root body .listing li.selected,
html:root body .listing li.selected > a,
html:root body .listing li.selected > div > a,
html:root body .listing tr.selected > td {
  color: var(--gom10-link);
  background-color: var(--gom10-primary-soft);
}
html:root body .listing.treelist li.selected {
  background-color: transparent;
}
html:root body .listing li.selected > a {
  box-shadow: inset 3px 0 var(--gom10-primary);
}
html:root body .listing li > a:focus,
html:root body .listing.focus tbody tr.focused > td:first-child,
html:root body .listing.focus:not(.withselection) tbody tr.focused > td.selection + td {
  border-left-color: var(--gom10-focus);
}
html:root body .folderlist li.mailbox .unreadcount,
html:root body .folderlist li.mailbox.recent > a > .unreadcount {
  color: #fff;
  background-color: var(--gom10-primary);
}
html:root body .folderlist li.mailbox.recent > a {
  color: var(--gom10-link);
}
html:root body #messagelist tr.unread td.subject span.subject {
  font-weight: 700;
}
html:root body #messagelist tr.selected:not(.flagged):not(.deleted) td.subject a,
html:root body #messagelist tr.selected:not(.flagged):not(.deleted) td.subject span.msgicon.status {
  color: var(--gom10-link);
}
html:root body .popupmenu .listing li > a:not(.disabled):hover,
html:root body .popupmenu .listing li > a:not(.disabled):focus,
html:root body .dropdown-item:not(.disabled):hover,
html:root body .dropdown-item:not(.disabled):focus,
html:root body .dropdown-item.active {
  color: var(--gom10-link);
  background-color: var(--gom10-primary-soft);
}
html:root body .ui-menu .ui-state-active {
  color: var(--gom10-link);
  background-color: var(--gom10-primary-soft) !important;
}
html:root body .nav-tabs .nav-link.active,
html:root body .nav-pills .nav-link.active,
html:root body .page-item.active .page-link {
  color: var(--gom10-link);
  background-color: var(--gom10-primary-soft);
  border-color: var(--gom10-focus);
}
html:root body .form-control:not(.is-invalid):not(.is-valid):not([aria-invalid="true"]):focus,
html:root body .custom-select:not(.is-invalid):not(.is-valid):focus,
html:root body .recipient-input.focus,
html:root body .tagedit-list:focus-within,
html:root body .mce-tinymce.focused,
html:root body .tox-tinymce.focused,
html:root body .tox-tinymce:focus-within,
html:root body .multi-input > .content.focused,
html:root body .CodeMirror-focused,
html:root body .custom-file-input:focus ~ .custom-file-label {
  border-color: var(--gom10-focus);
  box-shadow: 0 0 0 3px var(--gom10-focus-ring);
}
html:root body .searchbar:focus-within {
  border-bottom-color: var(--gom10-focus);
  box-shadow: inset 0 -2px var(--gom10-focus-ring);
}
html:root body .searchbar input:focus {
  box-shadow: inset 0 0 0 2px var(--gom10-focus-ring);
}
html:root body .input-group a:focus {
  border-color: var(--gom10-focus);
  background-color: var(--gom10-primary-soft);
  box-shadow: 0 0 0 3px var(--gom10-focus-ring);
}
html:root body input[type="checkbox"],
html:root body input[type="radio"] {
  accent-color: var(--gom10-primary);
}
html:root body .custom-control-input:checked ~ .custom-control-label::before,
html:root body .custom-switch .custom-control-input:checked ~ .custom-control-label::before,
html:root body .custom-control-input:not(:disabled):active ~ .custom-control-label::before,
html:root body .custom-switch .custom-control-input:not(:disabled):active ~ .custom-control-label::before {
  border-color: var(--gom10-primary);
  background-color: var(--gom10-primary);
}
html:root body .custom-control-input:checked:disabled ~ .custom-control-label::before,
html:root body .custom-switch .custom-control-input:checked:disabled ~ .custom-control-label::before {
  border-color: rgba(19, 114, 80, 0.45);
  background-color: rgba(19, 114, 80, 0.45);
}
html:root body .custom-control-input:focus ~ .custom-control-label::before,
html:root body .custom-switch .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 3px var(--gom10-focus-ring);
}
html:root body .custom-control-input:focus:not(:checked) ~ .custom-control-label::before,
html:root body .custom-switch .custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
  border-color: var(--gom10-focus);
}
html:root body .tox .tox-button:not(.tox-button--secondary):not(.tox-button--icon) {
  color: #fff;
  background-color: var(--gom10-primary);
  border-color: var(--gom10-primary);
}
html:root body .tox .tox-button:not(.tox-button--secondary):not(.tox-button--icon):hover:not(:disabled) {
  background-color: var(--gom10-primary-hover);
  border-color: var(--gom10-primary-hover);
}
html:root body .tox .tox-button:focus:not(:disabled),
html:root body .tox .tox-textfield:focus,
html:root body .tox .tox-textarea:focus,
html:root body .tox .tox-listboxfield .tox-listbox--select:focus {
  border-color: var(--gom10-focus);
  box-shadow: 0 0 0 3px var(--gom10-focus-ring);
}
html:root body .tox .tox-tbtn--enabled,
html:root body .tox .tox-tbtn--enabled:hover,
html:root body .tox .tox-collection--list .tox-collection__item--active {
  background-color: var(--gom10-primary-soft);
}
html:root body #layout-menu #logo {
  width: 40px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}
html:root:not(.dark-mode) body {
  color: var(--gom10-text);
  background-color: var(--gom10-bg);
}
html:root:not(.dark-mode) body #layout-menu,
html:root:not(.dark-mode) body #layout-menu .popover-header,
html:root:not(.dark-mode) body #taskmenu .special-buttons,
html:root:not(.dark-mode) body #layout > div > .header,
html:root:not(.dark-mode) body #layout > div > .footer,
html:root:not(.dark-mode) body .searchbar {
  color: var(--gom10-text);
  background-color: var(--gom10-bg);
  border-color: var(--gom10-border);
}
html:root:not(.dark-mode) body #layout-menu {
  border-right: 1px solid var(--gom10-border);
}
html:root:not(.dark-mode) body #layout-sidebar,
html:root:not(.dark-mode) body #layout-list,
html:root:not(.dark-mode) body #layout-content,
html:root:not(.dark-mode) body .popover,
html:root:not(.dark-mode) body .popupmenu,
html:root:not(.dark-mode) body .ui-dialog,
html:root:not(.dark-mode) body .ui-menu,
html:root:not(.dark-mode) body .modal-content,
html:root:not(.dark-mode) body .dropdown-menu {
  background-color: var(--gom10-surface);
  border-color: var(--gom10-border);
}
html:root:not(.dark-mode) body .ui-dialog-title,
html:root:not(.dark-mode) body .modal-title {
  color: var(--gom10-text);
}
html:root:not(.dark-mode) body .ui-dialog-titlebar,
html:root:not(.dark-mode) body .ui-dialog-buttonpane,
html:root:not(.dark-mode) body .modal-header,
html:root:not(.dark-mode) body .modal-footer {
  border-color: var(--gom10-border);
}
html:root:not(.dark-mode) body .popover-header {
  background-color: var(--gom10-bg);
}
html:root:not(.dark-mode) body .listing tbody td,
html:root:not(.dark-mode) body .listing li {
  border-bottom-color: var(--gom10-border);
}
html:root:not(.dark-mode) body #login-footer,
html:root:not(.dark-mode) body .formcontent .hint {
  color: var(--gom10-text-muted);
}
html:root:not(.dark-mode) body .btn-secondary:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(:hover):not(:focus):not(:active):not(.active) {
  background-color: var(--gom10-surface);
  border-color: var(--gom10-border);
}
html:root:not(.dark-mode) body .form-control:not(.is-invalid):not(.is-valid):not([aria-invalid="true"]):not(:focus),
html:root:not(.dark-mode) body .custom-select:not(.is-invalid):not(.is-valid):not(:focus),
html:root:not(.dark-mode) body .recipient-input:not(.focus) {
  border-color: var(--gom10-border);
}
html:root:not(.dark-mode) body .form-control:not(:disabled):not([readonly]),
html:root:not(.dark-mode) body .custom-select:not(:disabled) {
  color: var(--gom10-text);
  background-color: var(--gom10-surface);
}
html:root:not(.dark-mode) body .form-control::placeholder,
html:root:not(.dark-mode) body .searchbar input::placeholder {
  color: var(--gom10-text-muted);
}
html:root:not(.dark-mode) body .recipient-input li.recipient {
  background-color: var(--gom10-primary-soft);
  border-color: var(--gom10-border);
}
@media screen and (min-width: 481px) {
  html:root:not(.dark-mode) body #layout-menu .popover-header {
    background-color: var(--gom10-bg) !important;
  }
}
@media screen and (min-width: 769px) {
  html:root body .ui-dialog,
  html:root body .modal-content {
    border-radius: var(--gom10-radius);
  }
}
html:root body.task-login {
  height: auto;
  min-height: 100%;
  overflow: auto;
}
html:root body.task-login #layout {
  min-height: 100vh;
  height: auto;
  overflow: visible;
}
html:root body.task-login #layout-content {
  width: 100%;
  min-height: 100vh;
  padding: clamp(24px, 8vh, 80px) 16px 32px;
  background-color: transparent;
  overflow: visible;
}
html:root body.task-login #logo {
  position: static;
  display: block;
  width: 240px;
  max-width: 80%;
  height: auto;
  max-height: none;
  margin: 0 auto 24px;
}
html:root body.task-login .gom10-login-heading {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 24px;
  color: var(--gom10-link);
  text-align: center;
}
html:root body.task-login .gom10-login-heading h1 {
  min-width: 0;
  margin: 0;
  font-size: clamp(1.25rem, 4.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
}
html:root body.task-login #login-form {
  position: static;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--gom10-border);
  border-radius: var(--gom10-radius);
  background-color: var(--gom10-surface);
  box-shadow: 0 8px 26px rgba(19, 114, 80, 0.07);
}
html:root body.task-login #login-form .form-group {
  margin-bottom: 16px;
}
html:root body.task-login #login-form .form-control {
  min-height: 46px;
  font-size: 16px;
}
html:root body.task-login #login-form .input-group-text {
  border-color: var(--gom10-border);
}
html:root body.task-login #login-form input[name="_user"],
html:root body.task-login #login-form input[name="_pass"] {
  -ms-ime-mode: disabled;
  ime-mode: disabled;
}
html:root body.task-login #login-form .gom10-password-toggle {
  min-width: 46px;
  min-height: 46px;
  padding: 0 10px;
  border: 1px solid var(--gom10-border);
  border-radius: 0 0.3rem 0.3rem 0;
  background-color: transparent;
  color: var(--gom10-link);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
html:root body.task-login #login-form .gom10-password-toggle:hover {
  background-color: var(--gom10-hover-bg);
}
html:root body.task-login #login-form .gom10-password-toggle:focus {
  position: relative;
  z-index: 3;
  outline: 2px solid var(--gom10-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px var(--gom10-focus-ring);
}
html:root body.task-login #rcmloginsubmit {
  min-height: 46px;
  font-weight: 700;
}
html:root body.task-login #login-footer {
  margin-top: 22px;
  line-height: 1.6;
}
html:root body.task-login #login-footer::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: 0 auto 16px;
  background-color: var(--gom10-accent);
}
html:root body.task-login #login-addon {
  position: static;
  max-height: none;
}
html:root.dark-mode body #logo {
  opacity: 1;
}
html:root.dark-mode body.task-login #logo {
  padding: 12px;
  border-radius: var(--gom10-radius);
  background-color: #fff;
}
html:root.dark-mode body.task-login #login-form {
  background-color: transparent;
  border-color: rgba(139, 213, 178, 0.25);
  box-shadow: none;
}
html:root.dark-mode body.task-login #login-form .input-group-text {
  border-color: currentColor;
}
@media screen and (max-width: 480px) {
  html:root body.task-login #layout-content {
    padding: 24px 12px;
  }
  html:root body.task-login #login-form {
    padding: 22px 16px;
  }
  html:root body.task-login #logo {
    width: 210px;
    margin-bottom: 20px;
  }
}
