html,
body {
  background: #f2f4f8;
}

.menu-w {
  overflow: visible !important;
  z-index: 40;
}

.menu-w.sub-menu-style-over ul.main-menu > li {
  position: relative;
}

/* Closed flyouts must not extend the page (that was the blue strip). */
.menu-w.sub-menu-style-over ul.main-menu > li.has-sub-menu:not(.active):not(:hover) > .sub-menu-w {
  display: none;
}

.menu-w.sub-menu-style-over ul.main-menu > li.has-sub-menu.active > .sub-menu-w,
.menu-w.sub-menu-style-over ul.main-menu > li.has-sub-menu:hover > .sub-menu-w {
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateX(0) scale(1) !important;
  -webkit-transform: translateX(0) scale(1) !important;
  pointer-events: auto;
}

/* Last icons: grow up from the icon, still attached to the sidebar. */
.menu-w.sub-menu-style-over ul.main-menu > li.has-sub-menu:nth-last-child(-n+3) > .sub-menu-w,
.menu-w.sub-menu-style-over ul.main-menu > li.has-sub-menu.sub-menu-up > .sub-menu-w {
  top: auto !important;
  bottom: 0 !important;
}

.os-dropdown-trigger:hover .os-dropdown,
.os-dropdown-trigger.over .os-dropdown {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.top-bar .element-search input {
  pointer-events: all;
}

.top-bar,
body.color-scheme-dark .top-bar,
.content-panel.color-scheme-dark .top-bar {
  background-color: transparent;
  box-shadow: none;
}

.form-control {
  border-radius: 12px;
  min-height: 48px;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

select.form-control::-ms-expand {
  display: none;
}

.table th.vt-nowrap {
  white-space: nowrap;
}

.table td.vt-actions {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
  text-align: right;
}

.vt-action-row {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.vt-action-row .btn {
  margin: 0;
  border-radius: 12px;
  min-height: 40px;
  padding: 0.45rem 1rem;
  line-height: 1.2;
}
.all-wrapper.solid-bg-all .content-w {
  background-image: none !important;
}
.vt-flash-stack {
  position: fixed;
  top: 76px;
  right: 28px;
  z-index: 4000;
  width: 380px;
  max-width: calc(100vw - 100px);
}
.vt-flash-stack .alert {
  box-shadow: 0 10px 30px rgba(47, 64, 92, 0.18);
}
.vt-lang {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 20px;
  margin-right: 4px;
}
.vt-lang-button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #047bf8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.vt-lang-button:hover,
.vt-lang.open .vt-lang-button {
  background: rgba(4, 123, 248, 0.08);
}
.vt-lang-button:focus-visible {
  outline: 2px solid #047bf8;
  outline-offset: 2px;
}
.vt-lang-menu {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  right: 0;
  z-index: 4200;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(47, 64, 92, 0.16);
}
.vt-lang-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.vt-lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #3e4b5b;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
}
.vt-lang-menu button:hover {
  background: #f2f4f8;
}
.vt-lang-menu button.selected {
  color: #047bf8;
  font-weight: 700;
}
.vt-lang-short {
  width: 22px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #8a94a6;
}
.vt-lang-floating {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 4200;
  margin: 0;
}
.vt-sign-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4100;
  background: rgba(23, 33, 52, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.vt-sign-box {
  width: 420px;
  max-width: 100%;
  margin: 0;
  box-shadow: 0 20px 50px rgba(23, 33, 52, 0.3);
}

/* Icon fonts are set with !important on class selectors, which outrank this rule. */
body,
body *:not(code):not(pre):not(kbd):not(samp) {
  font-family: Arial, Helvetica, sans-serif !important;
}

.btn,
.all-wrapper .fc-button {
  min-height: 40px;
  border-radius: 12px;
}
.btn:focus-visible,
.form-control:focus-visible {
  outline: 2px solid #047bf8;
  outline-offset: 2px;
}

/* The theme pads the sign-in mark by 20% of the card width, which leaves a
   large empty band and shrinks the logo. */
.auth-box-w .logo-w {
  padding: 24px 24px 4px;
}
.auth-box-w .logo-w img {
  width: 72px;
  max-width: 100%;
  height: auto;
}
.btn-sm,
.btn-group-sm > .btn {
  min-height: 0;
}

.alert-info {
  color: #fff;
  background-color: #c509b0d9;
  border: none;
  border-radius: 12px;
}
.alert-info a,
.alert-info .alert-link {
  color: #fff;
  text-decoration: underline;
}
.vt-alert-dismissible {
  position: relative;
  padding-right: 48px;
}
.vt-alert-close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
}
.vt-alert-close:hover,
.vt-alert-close:focus-visible {
  background: rgba(255, 255, 255, 0.35);
  outline: none;
}
