@charset "UTF-8";
.detail {
  display: grid;
  grid-template-columns: 19rem auto;
  gap: 1rem;
}
.detail .switch {
  display: none;
}
.detail .main {
  overflow-y: auto;
  overflow-x: hidden;
  grid-column-start: 2;
  padding: 2rem;
  background-color: white;
  height: calc(100dvh - 10.8rem);
}
.detail .main figure, .detail .main p:has(img) {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.detail .main div:has(table) {
  padding: 1rem 0;
  max-width: 100%;
  overflow-x: auto;
}
.detail .main div:has(table)::-webkit-scrollbar-thumb {
  background: rgb(165.5829875519, 177.1867219917, 179.9170124481);
}
.detail .main div:has(table)::-webkit-scrollbar-thumb:hover {
  background: #7c8d91;
}
.detail .main a {
  font-weight: 500;
  text-decoration: underline;
}
.detail .toc-button {
  display: none;
}
.detail .toc-container {
  position: fixed;
  grid-column-start: 1;
  height: calc(100dvh - 8.7rem);
  overflow-y: auto;
  width: 18rem;
  padding: 1rem;
  background-color: #f4f8f9;
  border-right: 0.15rem solid rgba(124, 141, 145, 0.168627451);
}
.detail .toc-container::-webkit-scrollbar-thumb {
  background: rgb(165.5829875519, 177.1867219917, 179.9170124481);
}
.detail .toc-container::-webkit-scrollbar-thumb:hover {
  background: #7c8d91;
}
.detail .toc-container .toc-list div {
  display: flex;
  flex-direction: column;
}
.detail .toc-container .toc-list div a {
  padding: 0.8rem;
  text-decoration: none;
  color: #35585e;
  font-size: 0.9em;
  font-weight: 600;
}
.detail .toc-container .toc-list div a:hover {
  text-decoration: underline;
}
.detail .toc-container .toc-list div summary a {
  color: #35585e;
  text-decoration: none;
  margin-left: 0.5rem;
  font-size: 0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  position: absolute;
  padding: 0;
  font-weight: 600;
  max-width: 15.1rem;
}
.detail .toc-container .toc-list div details {
  cursor: pointer;
  transition: all 0.2s ease;
}
.detail .toc-container .toc-list div details summary:has(a.active) {
  background-color: rgba(124, 141, 145, 0.168627451);
  transition: all 0.2s ease;
}
.detail .toc-container .toc-list div details.active > summary a.active {
  background-color: transparent;
  transition: all 0.2s ease;
}
.detail .toc-container .toc-list div details > summary::marker {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  color: #35585e;
}
.detail .toc-container .toc-list div details[open] > summary::marker {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  color: #35585e;
}
.detail .toc-container .toc-list div details [open] summary a {
  max-width: 14.1rem;
}
.detail .toc-container .toc-list div details details[open] > summary::marker {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  color: #35585e;
}
.detail .toc-container .toc-list a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #35585e;
  font-weight: 500;
  transition: all 0.2s ease;
}
.detail .toc-container .toc-list a.active {
  background-color: rgba(124, 141, 145, 0.168627451);
  transition: all 0.2s ease;
}
.detail .toc-container .toc-list details a {
  margin-left: 1rem;
  color: #35585e;
  font-size: 0.9rem;
  font-weight: 500;
}
.detail .toc-container .toc-list details summary a.active {
  background-color: transparent;
  transition: all 0.2s ease;
}
.detail .toc-container .toc-list details details {
  margin-left: 1rem;
}
.detail .toc-container .toc-list details details a {
  margin-left: 2rem;
  padding: 0.8rem;
}
.detail .toc-container .toc-list details details summary a {
  margin-left: 0.5rem;
  padding: 0;
}
.detail .toc-container .toc-list details[open] details summary {
  padding: 0.8rem;
}
.detail .toc-container .toc-list details[open] details summary a {
  max-width: 14.1rem;
}
.detail .toc-container .toc-list details[open] details[open] summary a {
  max-width: 13.1rem;
}
.detail .toc-container .toc-list details summary {
  padding: 0.8rem;
}
.detail .toc-container .toc-list details[open] details {
  padding: 0;
}

@media screen and (max-width: 932px) {
  .detail {
    display: block;
    padding: 0;
    top: 0;
    position: relative;
    height: 100dvh;
  }
  .detail .main {
    top: 8.1rem;
    position: relative;
    padding: 1.5rem;
    height: calc(100dvh - 11.1rem);
  }
  .detail .toc-container {
    display: none;
    border-top: 0.15rem solid rgba(124, 141, 145, 0.168627451);
    background-color: #f4f8f9;
    overflow-y: auto;
    max-height: 35dvh;
    position: fixed;
    bottom: 0;
    z-index: 1000;
    padding: 0;
    width: 100%;
  }
  .detail .toc-container .toc-list {
    max-width: 100dvw;
    padding: 0.5rem;
  }
  .detail .toc-container .toc-list div a, .detail .toc-container .toc-list details details a, .detail .toc-container .toc-list details summary, .detail .toc-container .toc-list details[open] details summary {
    padding: 0.5rem;
  }
  .detail .toc-container .toc-list div a:hover, .detail .toc-container .toc-list details details a:hover, .detail .toc-container .toc-list details summary:hover, .detail .toc-container .toc-list details[open] details summary:hover {
    text-decoration: none;
  }
  .detail .toc-container .toc-list details details summary a {
    margin-left: 0.5rem;
  }
  .detail #toggle-toc:checked ~ .toc-container {
    display: block;
  }
  .detail .switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.3rem;
    padding-left: 0.5rem;
    top: 5.7rem;
    position: fixed;
    z-index: 1000;
    width: 100%;
    font-weight: 600;
    background-color: #f4f8f9;
    border-bottom: 0.15rem solid rgba(124, 141, 145, 0.168627451);
    color: #35585e;
    font-size: 0.9em;
  }
  .detail .switch .slider {
    width: 2.5rem;
    height: 1.25rem;
    background-color: #ccc;
    border-radius: 2.5rem;
    position: relative;
    transition: background-color 0.2s;
    display: inline-block;
  }
  .detail .switch .slider::before {
    content: "";
    position: absolute;
    height: 1rem;
    width: 1rem;
    left: 0.125rem;
    bottom: 0.125rem;
    background-color: #f2f5f6;
    border-radius: 50%;
    transition: transform 0.2s;
  }
  .detail:has(#toggle-toc:checked) .switch .slider {
    background-color: #244147;
  }
  .detail:has(#toggle-toc:checked) .switch .slider::before {
    transform: translateX(1.25rem);
  }
}
.info-section {
  position: fixed;
  padding: 3rem;
  top: 20.65rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  background-color: #f2f5f6;
  max-height: calc(100dvh - 26.7rem);
  overflow-y: auto;
}
.info-section img {
  max-width: none !important;
  max-height: none !important;
}

.section-container {
  display: flex;
  gap: 3rem;
  align-items: center;
}
.section-container h2.unnumbered {
  font-size: 1.3rem;
}

section.frame-1, section.frame-2 {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.section-container:nth-child(odd) {
  flex-direction: row-reverse;
}

.frame-1 img, .frame-2 img {
  width: 35rem;
  height: 30rem;
  border: 0.15rem solid rgba(86, 124, 131, 0.1294117647);
}

@media screen and (max-width: 932px) {
  .info-section {
    display: none;
  }
}
.overview {
  max-width: 100%;
  padding: 2rem;
}
.overview h1 {
  color: #11282e;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(124, 141, 145, 0.168627451);
  margin: 0 0 0.8rem 0;
}
.overview .before-title {
  margin-block-end: -15px;
  font-size: 1rem;
  color: #2f6b74;
}
.overview ul:not(:where(.attachments *)) {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.overview ul:not(:where(.attachments *)) li {
  display: flex;
  font-size: 1rem;
  position: relative;
  cursor: pointer;
  padding: 1rem 0 1rem 1rem;
}
.overview ul:not(:where(.attachments *)) li:last-child {
  border-bottom: none;
}
.overview ul:not(:where(.attachments *)) li:hover {
  background-color: rgba(124, 141, 145, 0.168627451);
}
.overview ul:not(:where(.attachments *)) li::before {
  content: "";
}
.overview ul:not(:where(.attachments *)) li::after {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: auto;
  color: #0a1417;
  align-self: center;
  margin-right: 1rem;
  pointer-events: none;
}
.overview ul:not(:where(.attachments *)) li a {
  text-decoration: none;
  display: block;
  align-items: center;
  height: 100%;
  max-width: calc(100% - 2.5rem);
  position: relative;
  left: 0;
  z-index: 1000;
  top: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.overview ul:not(:where(.attachments *)) li a:hover {
  text-decoration: underline;
}
.overview details {
  background-color: rgba(124, 141, 145, 0.168627451);
  margin-top: 2rem;
}
.overview details[open] summary h2::before {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  color: #0a1417;
}
.overview details .attachments ul {
  margin: 0;
}
.overview details summary {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
}
.overview details summary h2 {
  margin: 0;
}
.overview details summary h2::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  margin-right: 0.5rem;
  color: #0a1417;
}
.overview .attachments {
  padding: 0 3rem 1rem;
}
.overview .attachments h2 {
  font-size: 1.17em;
}
.overview .attachments h2:first-child {
  margin-top: 0;
}
.overview .attachments p {
  display: flex;
  flex-direction: column;
}
.overview .attachments a {
  font-weight: 500;
}
.overview .attachments a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 932px) {
  .overview {
    padding: 1.5rem;
  }
  .overview .attachments {
    padding: 0 1rem 1rem;
  }
}
table {
  border-collapse: collapse;
  font-size: 0.9rem;
  width: 100% !important;
}
table caption {
  font-size: 1rem;
  padding: 0.5rem;
  font-style: italic;
  position: sticky;
  z-index: 2;
  top: 0;
}
table thead tr {
  text-align: left;
  border-bottom: 0.1rem solid #dddddd;
  background-color: rgb(230.25, 230.25, 230.25);
}
table th, table td {
  padding: 0.8rem 0.9rem;
}
table tbody tr {
  border-bottom: 0.1rem solid #dddddd;
}
table tbody tr:nth-of-type(even), table:not(:has(thead)) tbody tr:nth-of-type(odd) {
  background-color: rgb(248.1, 248.1, 248.1);
}
table:not(:has(thead)) tbody tr:nth-of-type(even) {
  background-color: transparent;
}

figure {
  margin: 1.5rem;
}
figure figcaption {
  padding-top: 0.5rem;
  font-style: italic;
}

img + em {
  text-align: center;
}

img {
  display: flex;
  flex-direction: row;
}
img.under-construction {
  height: 40rem;
}

.detail figure:has(img:not(.under-construction)) {
  width: auto;
  height: auto;
  object-fit: contain;
}

.detail img {
  max-width: 40%;
  max-height: 40%;
}

@media screen and (max-width: 932px) {
  table thead tr th {
    font-size: 0.9rem;
    word-break: keep-all;
  }
  table th, table td {
    padding: 0.5rem 0.6rem;
  }
}
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100dvh - 6.75rem);
  overflow: hidden;
}

.login-form {
  background: #fff;
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 1000;
}

.login-form h2 {
  margin: 0 0 0.5rem 0;
  text-align: center;
  color: #0a1417;
  font-weight: 600;
}
.login-form label {
  color: #3b4548;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.input-group label {
  font-size: 0.98rem;
  color: #2d3a4b;
  font-weight: 500;
}

.input-group input {
  padding: 0.7rem;
  border: 1px solid rgba(124, 141, 145, 0.168627451);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.input-group input:focus {
  border-color: #2f6b74;
  outline: none;
}

.error-message {
  color: #ed4337;
  font-size: 0.92rem;
  min-height: 1.2em;
}

#login-btn {
  background: #35585e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8rem;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

#login-btn:hover {
  background: #2f6b74;
}

@media screen and (max-width: 932px) {
  .login-container {
    width: 100dvw;
    position: fixed;
    top: 12rem;
  }
}
dialog {
  border: none;
  border-radius: 0.5rem;
  padding: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  max-width: 70dvw;
  max-height: 80dvh;
  position: relative;
  font-family: inherit;
  color: inherit;
  min-height: 17dvh;
  min-width: 17dvw;
  overflow: hidden;
}
dialog::before {
  content: "";
  display: block;
  height: 3rem;
  background: rgba(47, 107, 116, 0.5019607843);
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
dialog .dialog-border > button[id^=close-] {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
  color: #35585e;
}
dialog .dialog-content {
  max-height: 60dvh;
  overflow-y: auto;
  margin-top: 3rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 932px) {
  dialog {
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
    top: 0;
    left: 0;
    padding: 0;
  }
  dialog::before {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  dialog .dialog-content {
    max-height: calc(100dvh - 14rem);
  }
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/_resources/fonts/NunitoSans-VariableFont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: "Nunito Sans", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f2f5f6;
  color: #0a1417;
}

::-webkit-scrollbar {
  width: 0.75rem;
  height: 0.75rem;
}

::-webkit-scrollbar-thumb {
  background: #35585e;
  border-radius: 0.375rem;
  border: 0.1875rem solid #f2f5f6;
}

::-webkit-scrollbar-thumb:hover {
  background: #2f6b74;
}

.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(133% + 1.3px);
  transform: rotateY(180deg);
  height: 3.6875rem;
}

.custom-shape-divider-bottom .shape-fill {
  fill: #f2f5f6;
}

.title-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  text-align: left;
  width: 100%;
  background-color: rgba(86, 124, 131, 0.1294117647);
  height: 14rem;
  position: fixed;
  top: 6.65rem;
}
.title-box .title-content {
  z-index: 3;
  padding: 1.2rem 1.2rem 1.2rem 2.5rem;
  color: #11282e;
  position: fixed;
  top: 6.7rem;
}
.title-box .title-content .title-small {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 0 0.5rem;
}
.title-box .title-content .title-main {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.math.display {
  color: #0a1417;
}

a {
  text-decoration: none;
  color: #0a1417;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.3rem;
}
h2.unnumbered {
  text-align: center;
  font-size: 1.8rem;
  overflow-wrap: break-word;
}

button {
  font-size: 1em;
}

div, p {
  font-size: 1em;
}

.bold {
  font-weight: bold;
}

.content {
  grid-column-start: 2;
  height: calc(100dvh - 6.75rem);
  overflow: auto;
}

.nav ul {
  list-style-type: none;
  padding: 0;
}

.nav ul li {
  margin: 1rem 0;
}
.nav ul li a {
  text-decoration: none;
  color: #333;
  font-family: sans-serif;
}
.nav ul li a:hover {
  text-decoration: underline;
}

.logo {
  padding: 0.5rem;
  cursor: pointer;
  width: 20rem;
}
.logo img {
  width: 7rem;
}

.breadcrumb {
  background-color: #bccbcf;
  padding: 0 0.5rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-style: italic;
  border-bottom: 0.15rem solid rgba(124, 141, 145, 0.168627451);
}
.breadcrumb a {
  text-decoration: underline;
  color: #11282e;
}
.breadcrumb a, .breadcrumb .current {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0.1rem;
}

.header {
  height: 4.6rem;
  background-color: #11282e;
  display: flex;
  justify-content: end;
  align-items: center;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 0 0.5rem;
}

.button-container {
  display: flex;
  gap: 0.5rem;
}
.button-container .info-button, .button-container .history-button {
  background-color: transparent;
  color: #f2f5f6;
  border: none;
  padding: 0.3rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
}
.button-container .info-button i, .button-container .history-button i {
  margin-right: 0.5rem;
}
.button-container .info-button::after {
  content: " Om håndbøkene";
}
.button-container .history-button::after {
  content: " Versjonshistorikk";
}

.button-link {
  text-decoration: none;
}

.container {
  margin-left: 18rem;
  width: calc(100% - 18rem);
  overflow: hidden;
  box-sizing: border-box;
  height: 100vh;
}

.left-border {
  width: 18rem;
  background-color: #11282e;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.6rem;
  gap: 2.2rem;
}
.left-border .menu-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  height: calc(100dvh - 6.6rem);
  top: 6.6rem;
  position: fixed;
  width: 18rem;
}
.left-border .menu-container .menu-item {
  color: #3b4548;
  width: 100%;
}
.left-border .menu-container .menu-button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
  padding: 1rem;
}
.left-border .menu-container .menu-button:hover {
  background-color: #244147;
}
.left-border .menu-container .menu-button .menu-circle {
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.left-border .menu-container .menu-button .menu-circle i {
  font-size: 1.2rem;
  color: #f2f5f6;
}
.left-border .menu-container .menu-button .menu-text {
  font-size: 1.1rem;
  color: #f2f5f6;
  font-weight: 500;
}
.left-border .bottom-menu-item {
  width: 100%;
  text-align: center;
  padding: 1rem 0;
  margin-top: auto;
  color: #f2f5f6;
  font-style: italic;
}

.logo {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
}
.logo a img.large-screen {
  display: block;
}
.logo a img.small-screen {
  display: none;
}

.header:has(+ .content .login) .button-container {
  display: none;
}

@media screen and (max-width: 932px) {
  h2.unnumbered {
    font-size: 1.5rem;
  }
  .header {
    height: 3.6rem;
    z-index: 1000;
    position: fixed;
    width: 100%;
  }
  .header .button-container {
    max-width: calc(100vw - 5rem);
    padding-right: 0.5rem;
  }
  .header .button-container .history-button::after {
    content: " Versjonshistorikk";
  }
  .header .button-container .info-button::after {
    content: " Om";
  }
  .breadcrumb {
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 3.6rem;
  }
  .breadcrumb .current {
    max-width: calc(34% - 0.5rem);
  }
  .title-box {
    height: 12rem;
    top: 5.7rem;
  }
  .title-box .title-content {
    padding: 1.2rem;
    top: 5.7rem;
  }
  .title-box .title-content .custom-shape-divider-bottom-1747725396 {
    display: none;
  }
  .title-box .title-content .title-main {
    font-size: 1.5em;
  }
  .title-box .title-content .title-small {
    font-size: 1.2em;
    margin: 0;
  }
  .content {
    overflow-y: auto;
    overflow-x: hidden;
  }
  .content:has(.detail) {
    overflow: visible;
    height: 100dvh;
  }
  .content:has(.overview) {
    position: relative;
    top: 5.75rem;
  }
  .breadcrumb {
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 3.6rem;
  }
  .container {
    margin-left: 0;
    width: 100%;
    height: 100dvh;
  }
  .left-border {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    background-color: transparent;
    width: 100dvw;
    top: 5.2rem;
  }
  .left-border .menu-container {
    width: calc(100dvw - 4rem);
    max-height: calc(100dvh - 23.15rem);
    overflow-y: auto;
    position: fixed;
    top: 18.75rem;
    gap: 1rem;
  }
  .left-border .menu-container .menu-item {
    background-color: #11282e;
  }
  .left-border .menu-container .menu-button {
    justify-content: start;
    padding: 1rem;
    text-align: center;
  }
  .left-border .bottom-menu-item {
    width: 100%;
    text-align: center;
    padding: 1.5rem 0;
    color: #0a1417;
    font-style: italic;
    position: fixed;
    bottom: 0;
  }
  .logo a img.large-screen {
    display: none;
  }
  .logo a img.small-screen {
    display: block;
    width: 4.5rem;
  }
  .left-border:has(+ .content .overview), .left-border:has(+ .content .detail), .left-border:has(+ .content .login) {
    display: none;
  }
  .logo {
    position: fixed;
    top: 0.8rem;
    left: 1rem;
    width: 4.5rem;
    min-width: 4.5rem;
    padding: 0;
  }
  .login .login-form {
    width: auto;
  }
}

/*# sourceMappingURL=main.css.map */
