/* Importing Normalize CSS  */
@import url('https://assets.storebrand.no/css/normalize.css');

/* Importing the light theme */
@import url('https://mcsf65y1g793m9vqcwsccbn9dxlq.pub.sfmc-content.com/2gi44o4c2og');

/* Importing Layout CSS  */
@import url('https://assets.storebrand.no/css/layout.css');

/* Importing Signa and Open Sans */
@import url('https://assets.storebrand.no/css/fonts.css');

/*
  Importing System Icons Font
*/
@font-face {
  font-family: 'System-Icons';
  src: url(https://assets.storebrand.no/elements/fonts/StorebrandText-Regular.woff2) format('woff2');

  text-rendering: optimizeLegibility;
}

/*
  Taking control of the <i> tag
  for icon purposes, and removing
  the natural italic behavior.

  Keeping regular behavior for
  <i> tags with classes, because of
  collisions with storebrand icons
*/
i {
  font-family: 'System-Icons' !important;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 16px;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
  Nils - show a red box, if developers
  forget to add specify icon name as child
*/
i:empty:not([class*="system-icon"]) {
  display: inline-flex;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
}

/* Remove all margins */
* { margin: 0; }

body {
  background: var(--color-background);
  color: var(--color-on-background);

  font-family: 'System-Icons', 'Open Sans', sans-serif;
}

h1, .h1 {
  font-family: "System-Icons";
  font-weight: 1000;
  font-size: 32px;
  line-height: 48px;

  margin: var(--spacer-s) 0;
}

@media (max-width: 600px) {
  h1, .h1 {
    font-size: 26px;
    line-height: 32px;
  }
}

h2, .h2 {
  font-family: "System-Icons";
  font-weight: 1000;
  font-size: 26px;
  line-height: 40px;
}

@media (max-width: 600px) {
  h2, .h2 {
    font-size: 22px;
    line-height: 32px;
  }
}

h3, .h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
}

h4, .h4 {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

h5, .h5 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

hr {
  height: 2px;
  background:rgba(25, 25, 25, 0.16);

  border: none;
}

p, .p, .paragraph-long, .paragraph-long-bold, .paragraph-long-italics, .paragraph-long-link {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

p.bold, .p.bold, p > .bold, .p > .bold, .paragraph-long-bold  {
  font-weight: 600;
}

p.italics, .p.italics, p > .italics, .p > .italics, .paragraph-long-italics {
  font-style: italic;
}

p > .link, p > a, .p > .link, .p > a, .paragraph-long > a, .paragraph-long > .link {
  color: var(--color-on-background);

  /* Not sure if links should remain black on hover */
  /* color: var(--color-on-background) !important; */
}

p.short, .p.short, .text-short, .text-short-bold, .text-short-italics  {
  font-size: 16px;
  line-height: 16px;
}

p.short.bold, .p.short.bold, .text-short-bold {
  font-weight: 600;
}

p.short.italics, .p.short.italics, .text-short-italics {
  font-style: italic;
}

a, .link {
  display: inline-flex;

  color: var(--color-primary);
  font-size: 16px;
  line-height: 16px;
  text-decoration: underline;

  /* button links */
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

a:hover, .link:hover {
  color: var(--color-primary-variant);
}

a:disabled, a[aria-disabled=true] {
  color: var(--color-disabled);
  cursor: not-allowed;
}

.link:disabled, .link[aria-disabled=true] {
  color: var(--color-disabled);
  cursor: not-allowed;
}

a:focus, .link:focus {
  outline: var(--outline);
  outline-offset: 4px;
}

a:focus:not(:focus-visible) {
  outline: none;
  outline-offset: none;
}

.link:focus:not(:focus-visible) {
  outline: none;
  outline-offset: none;
}

a:focus-visible, .link:focus-visible {
  outline: var(--outline);
  outline-offset: 4px;
}

.ingress {
  font-size: 18px;
  line-height: 24px;
}

@media (max-width: 600px) {
  .ingress {
    font-size: 16px;
    line-height: 24px;
  }
}

.subtitle {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.overline {
  font-size: 14px;
  line-height: 24px;
}

.statistic1 {
  font-weight: 600;
  font-size: 32px;
  line-height: 48px;
}

.statistic2 {
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
}

.statistic3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
}

.hint {
  font-size: 14px;
  line-height: 24px;
}

.hint > a, .hint > .link {
  font-size: 14px;
  line-height: 24px;

  text-decoration-line: underline;
}