/* Общая шапка публичного сайта; оформление как на главной. */
/* Подключается после стилей страниц, включая кабинет. */

#header,
.hq-combo-dd {
  --vp-header-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

#header,
#header p,
#header td,
#header th,
#header div,
#header input,
#header select,
#header a,
#header span,
#header big,
#header label,
.hq-combo-dd,
.hq-combo-dd input,
.hq-combo-dd ul,
.hq-combo-dd li,
.hq-combo-dd span {
  font-family: var(--vp-header-font) !important;
}

#header {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-shadow: 0 8px 24px rgba(10, 37, 64, .12);
}

#header a,
#header a:visited {
  color: #0b5fcc;
}
#header a:hover,
#header a:active {
  color: #084a9e;
}

#header .button {
  font-family: var(--vp-header-font) !important;
  background: linear-gradient(180deg, #0b5fcc, #084a9e) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 0 9px !important;
  height: 26px !important;
  line-height: 26px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none;
  vertical-align: middle;
  box-shadow: 0 2px 10px rgba(15, 40, 80, .08);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

#header .button u,
#header .button i {
  background: none !important;
  color: inherit !important;
  text-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  font-family: var(--vp-header-font) !important;
  font-size: 10.5px !important;
}

/* Старый спрайт задаёт чёрный текст для вложенного i при наведении и фокусе. */
#header .button:hover i,
#header .button:focus i,
#header .button:active i {
  color: inherit !important;
}

#header .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11, 95, 204, .28);
  opacity: .96;
}
