/* Base document rules and conservative normalization. */

html {
  min-height: 100%;
  background: #101216;
  background: var(--color-bg, #101216);
  color: #f1f3f6;
  color: var(--color-text, #f1f3f6);
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-family: var(--font-sans, Arial, Helvetica, "Segoe UI", sans-serif);
  font-size: 20px;
  line-height: 1.5;
  line-height: var(--line-normal, 1.5);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  min-width: 280px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #101216;
  background: var(--color-bg, #101216);
  color: #f1f3f6;
  color: var(--color-text, #f1f3f6);
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-family: var(--font-sans, Arial, Helvetica, "Segoe UI", sans-serif);
  font-size: 20px;
  line-height: 1.5;
  line-height: var(--line-normal, 1.5);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main,
header,
footer,
nav,
section,
article,
aside,
figure,
figcaption {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 16px;
  margin-bottom: var(--space-4, 16px);
  color: #f1f3f6;
  color: var(--color-text, #f1f3f6);
  font-weight: 700;
  line-height: 1.16;
  line-height: var(--line-tight, 1.16);
}

h1 {
  font-size: 48px;
  font-size: var(--font-size-3xl, 48px);
}

h2 {
  font-size: 36px;
  font-size: var(--font-size-2xl, 36px);
}

h3 {
  font-size: 28px;
  font-size: var(--font-size-xl, 28px);
}

h4 {
  font-size: 22px;
  font-size: var(--font-size-lg, 22px);
}

p {
  margin-bottom: 20px;
  margin-bottom: var(--space-5, 20px);
}

ul,
ol {
  margin-bottom: 20px;
  margin-bottom: var(--space-5, 20px);
  padding-left: 28px;
}

img,
svg,
video {
  max-width: 100%;
}

img {
  border: 0;
  vertical-align: middle;
}

svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.12em;
}

button,
input,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: normal;
}

button {
  overflow: visible;
  -webkit-appearance: none;
  appearance: none;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  cursor: pointer;
}

button[disabled],
input[disabled],
select[disabled],
textarea[disabled],
[aria-disabled="true"] {
  cursor: default;
  opacity: 0.55;
}

button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
  pointer-events: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

textarea {
  min-height: 150px;
  overflow: auto;
  resize: vertical;
}

select {
  cursor: pointer;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  margin-bottom: var(--space-4, 16px);
  color: #f1f3f6;
  color: var(--color-text, #f1f3f6);
  font-size: 22px;
  font-size: var(--font-size-lg, 22px);
  font-weight: 700;
}

label {
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #333945;
  border-bottom: 1px solid var(--color-border, #333945);
  text-align: left;
  vertical-align: top;
}

th {
  color: #c5cad2;
  color: var(--color-text-soft, #c5cad2);
  font-weight: 700;
}

a {
  color: #f1f3f6;
  color: var(--color-text, #f1f3f6);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

a:active,
button:active {
  -webkit-tap-highlight-color: transparent;
}

/* A plain focus rule deliberately precedes newer selectors. */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus,
.is-focused {
  outline: 3px solid #aab9f3;
  outline: 3px solid var(--color-focus, #aab9f3);
  outline-offset: 3px;
  -webkit-box-shadow: 0 0 0 4px rgba(170, 185, 243, 0.46);
  box-shadow: var(--focus-ring, 0 0 0 4px rgba(170, 185, 243, 0.46));
}

/* Keep mouse focus usable too; this only refines capable browsers. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #aab9f3;
  outline: 3px solid var(--color-focus, #aab9f3);
  outline-offset: 3px;
}

/* Keyboard/remote focus added by navigation.js uses the same ring even on
   engines that do not understand :focus-visible. */
.is-focused {
  border-color: #7189d8;
  border-color: var(--color-accent, #7189d8);
}

::selection {
  background: #7189d8;
  background: var(--color-accent, #7189d8);
  color: #ffffff;
}

hr {
  height: 1px;
  margin: 32px 0;
  margin: var(--space-7, 32px) 0;
  border: 0;
  background: #333945;
  background: var(--color-border, #333945);
}

small,
.text-small {
  font-size: 16px;
  font-size: var(--font-size-sm, 16px);
}

.text-muted {
  color: #929aa7;
  color: var(--color-text-muted, #929aa7);
}

.text-soft {
  color: #c5cad2;
  color: var(--color-text-soft, #c5cad2);
}

.text-success {
  color: #66aa86;
  color: var(--color-success, #66aa86);
}

.text-warning {
  color: #d0a65d;
  color: var(--color-warning, #d0a65d);
}

.text-danger {
  color: #c66f77;
  color: var(--color-danger, #c66f77);
}

.text-center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden],
.hidden,
.is-hidden {
  display: none !important;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  padding: 14px 22px;
  border-radius: 6px;
  background: #f1f3f6;
  color: #101216;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.noscript-message,
.noscript-notice {
  margin: 16px;
  padding: 18px 22px;
  border: 1px solid #d0a65d;
  border-radius: 10px;
  background: #282515;
  color: #f1f3f6;
}

/* Optional unobtrusive scrollbar theming; ignored by older engines. */
* {
  scrollbar-color: #4e5665 #181b21;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: #181b21;
  background: var(--color-surface, #181b21);
}

*::-webkit-scrollbar-thumb {
  border: 3px solid #181b21;
  border: 3px solid var(--color-surface, #181b21);
  border-radius: 999px;
  background: #4e5665;
}
