/* Css reset */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  letter-spacing: 0.035em;
  font-family:  InterVariable, "Helvetica Neue", system-ui, -apple-system,
  sans-serif;
}

@media screen {
  @keyframes rotate {
    0% {
      transform: rotate(0)
    }
    to {
      transform: rotate(1turn)
    }
  }@keyframes move-right-down {
     50% {
       transform: scale(1) translate(30%, 30%)
     }
   }@keyframes move-left-up {
      50% {
        transform: scale(1) translate(-30%, -30%)
      }
    }@keyframes fadein {
       0% {
         opacity: 0
       }
       to {
         opacity: 1
       }
     }.u-loading {
        animation: rotate 1s linear infinite, fadein .2s linear;
        bottom: 20%;
        height: 32px;
        left: 0;
        margin: auto;
        position: relative;
        right: 0;
        top: -30px;
        width: 32px
      }

  .u-loading:after, .u-loading:before {
    animation: move-right-down 2.25s ease-in-out infinite;
    background-color: #0c539e;
    border-radius: 50%;
    content: "";
    height: 50%;
    left: 0;
    position: absolute;
    top: 0;
    transform: scale(.8);
    width: 50%
  }

  .u-loading:before {
    animation: move-left-up 2.25s ease-in-out infinite;
    background-color: #c4eaf8;
    bottom: 0;
    left: auto;
    right: 0;
    top: auto
  }
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Inherit fonts for inputs and buttons */
input,
button {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Css reset slutter */


/* Base UI           */

@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: InterVariable;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable-Italic.woff2") format("woff2");
}

:root {
  --furst-blue: #0c539e;
  --blue: #0f6ed2;
  --width: 35rem;
  --focus-ring-color: #0e44af;
  --gap: 1.5rem;
  --button-box-shaddow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  --button-box-shaddow-hover: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  --background-color: #f5f3f9;
  --transition: 0.15s ease;
}

html {
  font-size: 10px;
}
body {
  align-items: center;
  background-image: url(../lab_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  font-family: InterVariable, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2.4rem;
  font-variation-settings: "opsz" 14;
  letter-spacing: normal;
  height: 100vh;
  margin: 0;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  width: 100vw;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 2rem;
}

h3, h4, h5, h6 {
  font-size: 1.5rem;
  font-weight: 600;
}

dt,
em,
strong {
  font-weight: 600;
}

.break-all {
  word-break: break-all;
}

/* Layout */
.kolonne {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.rad {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--gap);
}

/* Components */
main {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.login-box {
  width: 42rem;
  max-width: 100vw;
  min-height: 30rem;
  background: white;
  border-radius: 2rem;
  box-shadow: rgba(7, 52, 93, 0.3) 0 7px 24px 0;
  margin-block-end: 4rem;
}

.login-box header {
  border-radius: 2rem 2rem 0 0;
  padding: 3rem 3.4rem 0 3rem;
}

.login-box-body {
  margin: 3rem;
}

.login-box .velkommen {
  margin: var(--gap) 0;
  text-align: center;
}

#logo-svg {
  min-width: 30rem;
}

#logo-svg .logo-red {
  fill: #e2002b;
}

#logo-svg .logo-blue {
  fill: var(--furst-blue);
}
#logo-svg .logo-gray {
  fill: #7c878e;
}

button,
a.button {
  text-decoration: none;
  color: black;
  border-radius: 4rem;
  padding: 1.3rem 1rem 1.3rem 0;
  border: 1px solid var(--furst-blue);
  box-shadow: rgba(7, 52, 93, 0.08) 0 4px 6px 0;
  transition: box-shadow var(--transition),transform var(--transition), color var(--transition);
}

a.button.plain {
  display: flex;
  align-items: center;
  justify-content: center;
}

button:hover,
a.button:hover {
  transition: all var(--transition);
  background-color: var(--furst-blue, #083869);
  border-color: var(--furst-blue);
  color: white;
  cursor: pointer;
  box-shadow: var(--button-box-shaddow-hover);
}

a .button-text {
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

a .provider.name {
  font-size: 1.6rem;
  font-weight: 300;
}
a .provider.description {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--furst-blue);
} 

a.button.icon {
  display: flex;
  flex-direction: row;
  gap: 0;
}

a:hover .provider.description {
  color: white;
}

a.button .icon-wrapper {
  min-width: 8rem;
  display: grid;
  place-content: center;
}

a.button svg {
  color: var(--blue);
  width: 3rem;
}

a.button:hover svg {
  color: white;
}

/* Form styles */

form label {
  font-size: 1.3rem;
}

form input {
  font-size: 2rem;
  border-radius: 1rem;
  border: 1px solid #979797;
  padding: 1rem 2rem;
  background: #fff;
}

form input:focus {
  outline: none;
  background-color: white;
  border-color: var(--furst-blue);
  box-shadow: var(--button-box-shaddow-hover)
}

.diagnostikk {
  width: 90rem;
  max-width: 96vh;
}

.feil-panel {
  border-left: .4rem;
  border-left-color: #e2002b;
  border-left-style: solid;
  box-shadow: rgba(0, 0, 0, 0.16) 0 1px 4px;
  padding: var(--gap);
  border-radius: .2rem .4rem;
  background-color: #ffe6ec;
}

.feil-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

article.redirect h1 {
  font-weight: 300;
}
article.redirect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  min-height: 192px;
}