:root {
  --stgau-blue: #072e6f;
  --stgau-blue-hover: #0b438f;
  --stgau-blue-active: #062657;
  --stgau-blue-soft: #e8eff8;
  --stgau-gold: #dca043;
}

#main-menu {
  border-bottom: 1px solid rgba(7, 46, 111, 0.12);
}

#main-menu .navbar-brand img,
#main-menu img[src*="stgau-emblem-blue"] {
  object-fit: contain;
}

#main-menu .stgau-brand-text,
#main-menu #brand-tooltip + div {
  font-weight: 800 !important;
  font-size: 20px !important;
  line-height: 1.1;
  letter-spacing: 0.015em;
}

#main-menu .stgau-brand-text span,
#main-menu #brand-tooltip + div span {
  font-weight: 800 !important;
}

body.stgau-light-theme #main-menu .main-nav .ant-menu-item-selected,
body.stgau-light-theme #main-menu .main-nav .ant-menu-submenu-selected,
body.stgau-light-theme #main-menu .main-nav .ant-menu-item-active,
body.stgau-light-theme #main-menu .main-nav .ant-menu-submenu-active {
  color: var(--stgau-blue) !important;
}

body.stgau-light-theme #main-menu .main-nav .ant-menu-item-selected::after,
body.stgau-light-theme #main-menu .main-nav .ant-menu-submenu-selected::after,
body.stgau-light-theme #main-menu .main-nav .ant-menu-item-active::after,
body.stgau-light-theme #main-menu .main-nav .ant-menu-submenu-active::after {
  border-bottom-color: var(--stgau-blue) !important;
}

body.stgau-light-theme #main-menu .main-nav .ant-menu-title-content,
body.stgau-light-theme #main-menu .main-nav .ant-menu-title-content a,
body.stgau-light-theme #main-menu .main-nav .ant-menu-submenu-title,
body.stgau-light-theme #main-menu .right-menu .ant-menu-title-content,
body.stgau-light-theme #main-menu .right-menu .ant-menu-title-content a,
body.stgau-light-theme #main-menu .right-menu .ant-menu-submenu-title,
body.stgau-light-theme #main-menu .stgau-brand-text,
body.stgau-light-theme #main-menu #brand-tooltip + div {
  color: var(--stgau-blue) !important;
}

body.stgau-dark-theme #main-menu .stgau-brand-text,
body.stgau-dark-theme #main-menu #brand-tooltip + div {
  color: #fff !important;
}

body.stgau-dark-theme #main-menu .main-nav .ant-menu-title-content,
body.stgau-dark-theme #main-menu .main-nav .ant-menu-title-content a,
body.stgau-dark-theme #main-menu .main-nav .ant-menu-submenu-title,
body.stgau-dark-theme #main-menu .right-menu .ant-menu-title-content,
body.stgau-dark-theme #main-menu .right-menu .ant-menu-title-content a,
body.stgau-dark-theme #main-menu .right-menu .ant-menu-submenu-title,
body.stgau-dark-theme #main-menu .main-nav .ant-menu-item-selected,
body.stgau-dark-theme #main-menu .main-nav .ant-menu-submenu-selected,
body.stgau-dark-theme #main-menu .main-nav .ant-menu-item-active,
body.stgau-dark-theme #main-menu .main-nav .ant-menu-submenu-active {
  color: #fff !important;
}

body.stgau-dark-theme #main-menu .main-nav .ant-menu-item-selected::after,
body.stgau-dark-theme #main-menu .main-nav .ant-menu-submenu-selected::after,
body.stgau-dark-theme #main-menu .main-nav .ant-menu-item-active::after,
body.stgau-dark-theme #main-menu .main-nav .ant-menu-submenu-active::after {
  border-bottom-color: #9fbbe5 !important;
}

body.stgau-light-theme #main-menu .main-nav .ant-menu-title-content a:hover,
body.stgau-light-theme #main-menu .main-nav .ant-menu-title-content a:focus,
body.stgau-light-theme #main-menu .main-nav .ant-menu-title-content a:active {
  color: var(--stgau-blue) !important;
}

body.stgau-light-theme a,
body.stgau-light-theme .ant-typography a,
body.stgau-light-theme .ant-dropdown-menu-item a,
body.stgau-light-theme .ant-dropdown-menu-submenu-title a {
  color: var(--stgau-blue);
}

body.stgau-light-theme a:hover,
body.stgau-light-theme .ant-typography a:hover,
body.stgau-light-theme .ant-dropdown-menu-item a:hover,
body.stgau-light-theme .ant-dropdown-menu-submenu-title a:hover {
  color: var(--stgau-blue-hover);
}

body.stgau-light-theme,
body.stgau-light-theme .ant-typography,
body.stgau-light-theme .ant-card-head-title,
body.stgau-light-theme .ant-form-item-label > label,
body.stgau-light-theme .ant-input-prefix,
body.stgau-light-theme .ant-input-affix-wrapper .ant-input-prefix,
body.stgau-light-theme .ant-dropdown-menu-item,
body.stgau-light-theme .ant-dropdown-menu-submenu-title,
body.stgau-light-theme .ant-dropdown-menu-title-content,
body.stgau-light-theme .ant-select-selection-item,
body.stgau-light-theme .ant-select-item-option-content,
body.stgau-light-theme .ant-table-thead > tr > th,
body.stgau-light-theme .ant-table-tbody > tr > td,
body.stgau-light-theme .ant-descriptions-item-label,
body.stgau-light-theme .ant-descriptions-item-content {
  color: var(--stgau-blue) !important;
}

body.stgau-light-theme .ant-typography.ant-typography-secondary,
body.stgau-light-theme .ant-form-item-explain,
body.stgau-light-theme .ant-dropdown-menu-item-group-title,
body.stgau-light-theme .ant-table-tbody > tr > td .ant-typography-secondary {
  color: #35528f !important;
}

.ant-btn-primary,
.ant-btn-primary:focus,
.ant-btn-primary:active {
  background-color: var(--stgau-blue) !important;
  border-color: var(--stgau-blue) !important;
  color: #fff !important;
}

.ant-btn-primary:hover {
  background-color: var(--stgau-blue-hover) !important;
  border-color: var(--stgau-blue-hover) !important;
  color: #fff !important;
}

.ant-btn-primary span,
.ant-btn-primary .anticon {
  color: #fff !important;
}

.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn,
.ant-tabs-tab:hover .ant-tabs-tab-btn,
.ant-pagination .ant-pagination-item-active a,
.ant-pagination .ant-pagination-item:hover a {
  color: var(--stgau-blue) !important;
}

.ant-pagination .ant-pagination-item-active,
.ant-checkbox-checked .ant-checkbox-inner,
.ant-radio-checked .ant-radio-inner,
.ant-switch.ant-switch-checked {
  border-color: var(--stgau-blue) !important;
  background-color: var(--stgau-blue) !important;
}

.ant-tag-processing {
  color: var(--stgau-blue);
  background: var(--stgau-blue-soft);
  border-color: rgba(7, 46, 111, 0.18);
}

.ant-menu-light .ant-menu-item-selected,
.ant-menu-light .ant-menu-submenu-selected,
.ant-menu-light > .ant-menu .ant-menu-item-selected,
.ant-menu-light > .ant-menu .ant-menu-submenu-selected {
  color: var(--stgau-blue) !important;
}

body.stgau-light-theme .ant-dropdown-menu-item:hover,
body.stgau-light-theme .ant-dropdown-menu-submenu-title:hover {
  background: var(--stgau-blue-soft);
}

body.stgau-light-theme .welcome .header-title,
body.stgau-light-theme h1,
body.stgau-light-theme h2,
body.stgau-light-theme h3,
body.stgau-light-theme .page-header h2,
body.stgau-light-theme .page-header h3 {
  color: var(--stgau-blue);
}
