.elementor-kit-96{--e-global-color-primary:#07296A;--e-global-color-secondary:#07296A;--e-global-color-text:#07296A;--e-global-color-accent:#DE6C1D;--e-global-typography-primary-font-family:"Ubuntu";--e-global-typography-primary-font-size:50px;--e-global-typography-primary-font-weight:500;--e-global-typography-primary-line-height:63px;--e-global-typography-secondary-font-family:"Ubuntu";--e-global-typography-secondary-font-size:26px;--e-global-typography-secondary-font-weight:500;--e-global-typography-secondary-line-height:33px;--e-global-typography-text-font-family:"Open Sans";--e-global-typography-text-font-size:18px;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:29px;--e-global-typography-accent-font-family:"Open Sans";--e-global-typography-accent-font-size:18px;--e-global-typography-accent-font-weight:600;--e-global-typography-accent-line-height:18px;}.elementor-kit-96 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* Hele bilde-widgeten */
.elementor-widget-theme-post-featured-image {
    width: 100%;
}

/* Container rundt bildet */
.elementor-widget-theme-post-featured-image .elementor-widget-container {
    height: 220px !important;
    overflow: hidden;
}

/* Selve linken rundt bildet */
.elementor-widget-theme-post-featured-image a {
    display: block;
    height: 100%;
}

/* Bildet */
.elementor-widget-theme-post-featured-image img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center center !important;

    display: block !important;
}

.brodsmuler {
  font-size: 18px;
  color: #07296a;
}

.brodsmuler a {
  color: #1e2b3c;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.brodsmuler span span {
  margin: 0 8px;
}

.rapport-innhold h2 {
  font-size: 40px;
  font-family: Open sans, sans-serif;
  line-height: 45px;
  font-weight: 700;
  color: #de6c1d;
  padding-top: 3rem;
}

.rapport-innhold h3 {
  font-size: 30px;
  line-height: 45px;
  font-weight: 600;
  padding-top: 2rem;
}

.rapport-innhold h4 {
  font-size: 26px;
  line-height: 45px;
  font-weight: 500;
  padding-top: 2rem;
}

.rapport-innhold h5 {
  font-size: 20px;
  line-height: 45px;
  font-weight: 500;
  color: #de6c1d;
}

.rapport-meta {
  display: inline-flex;
  gap: 8px;
  margin: 10px 0 20px;
}

.pdf-meta {
  display: none;
}

/* PDF-modus */
body.pdf-mode header,
body.pdf-mode footer,
body.pdf-mode .elementor-button,
body.pdf-mode .table-of-contents,
body.pdf-mode .menu {
  display: none !important;
}

/* Stram opp layout */
body.pdf-mode .elementor-section {
  margin: 0 !important;
  padding: 0 !important;
}

body.pdf-mode {
  background: #fff;
}

/* Sørg for at forsiden ser bra ut */
body.pdf-mode h1 {
  font-size: 32px;
}

body.pdf-mode img {
  max-width: 100%;
}



/* Filter */

.rapport-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

/* FILTER WRAPPER */
.rapport-filter .wpc-filters-widget-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* HVER DROPDOWN */
.rapport-filter .wpc-filters-section {
    width: fit-content;
    margin: 0 !important;
    padding: 0 !important;
}

/* SKJUL LABELS */
.rapport-filter .wpc-filter-title {
    display: none;
}

/* SELECT FELT */
.rapport-filter select {
    width: 240px;
    height: 56px;

    border-radius: 14px;
    border: 1px solid #D6DFEA;

    padding: 0 18px;

    font-size: 16px;
    background: #fff;
    color: #0F2F6D;

    transition: all .2s ease;
}

.rapport-filter select:hover {
    border-color: #0F2F6D;
}

.rapport-filter select:focus {
    outline: none;
    border-color: #0F2F6D;
    box-shadow: 0 0 0 3px rgba(15,47,109,0.08);
}

/* SØKEFELT */
.rapport-sok input {
    height: 56px !important;

    border-radius: 14px !important;
    border: 1px solid #D6DFEA !important;

    padding: 0 20px !important;
}

/* SØKEKNAPP */
.elementor-widget-search .e-search .e-search-submit {
    background: #fdae6a;
    color: #0a2b68;
    border-radius: 50px;
    border: 2px #de6c1d solid;
}

.rapport-sok input {
    border-radius: 14px 0 0 14px !important;
}

.rapport-sok .e-search {
    display: flex;
    align-items: stretch;
}

.rapport-sok input,
.rapport-sok button,
.rapport-sok .e-search-submit {
    height: 56px !important;
    box-sizing: border-box;
}

/* HOVER */
.rapport-sok button:hover,
.rapport-sok .e-search-submit:hover {
    background: #fdae6a;
    color: #0a2b68;
    border-radius: 50px;
    border: 2px #de6c1d solid;
    text-decoration: underline;

}

/* ACTIVE */
.rapport-sok button:active,
.rapport-sok .e-search-submit:active {
    transform: translateY(0);
}

/* FOCUS */
.rapport-sok button:focus,
.rapport-sok .e-search-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15,47,109,0.12);
}

.wpc-edit-filter-set {
    display: none;
}


/* LIGHTBOX */

.rapport-innhold img {
    border-radius: 10px;
    overflow: hidden;
    display: block;
    margin: 48px auto 20px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 14px rgba(15,47,109,0.08);
    cursor: zoom-in;
    transition: transform .2s ease, box-shadow .2s ease;
}

.rapport-innhold a:hover img {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15,47,109,0.14);
}


/* TABELLER */
.rapport-innhold table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-size: 14px;
    line-height: 1.5;
}

.rapport-innhold th,
.rapport-innhold td {
    border: 1px solid #b1bdcd;
    padding: 14px 16px;
    vertical-align: top;
    text-align: left;
}

.rapport-innhold th {
    background: #eff6ff;
    font-weight: 700;
    color: #0d2c73;
}

.rapport-innhold tr:nth-child(even) {
    background: #f8fafc;
}

.rapport-innhold table caption {
    caption-side: bottom;
    text-align: left;
    margin-top: 12px;
    font-size: 15px;
    color: #5f6b7a;
}

.rapport-innhold table {
    display: block;
    overflow-x: auto;
}

.elementor-menu-anchor {
  position: relative;
  top: -120px;
  visibility: hidden;
}

@media (max-width: 767px) {

  .rapport-sidebar {
    position: sticky !important;
    z-index: 999;
    background: red;
    padding: 40px 0 20px 0;
    margin-top: 0;
    top: 46px!important;
  }


  .rapport-sidebar .elementor-toc__body {
    display: none;
  }

  .rapport-sidebar.toc-open .elementor-toc__body {
    display: block;
  }

  .rapport-sidebar .elementor-toc__header {
    cursor: pointer;
  }

  .rapport-content {
    position: relative;
    z-index: 1;
  }
  
  header {
  z-index: 9999 !important;
}

.rapport-sidebar {
  z-index: 100 !important;
}

.elementor-sticky--active {
  z-index: 100 !important;
}

header.elementor-location-header {
  z-index: 99999 !important;
}

body.admin-bar .elementor-sticky--active {
  top: 46px !important;
}

}

@media print {

  /* ========================================
     GENERELT
  ======================================== */

  body {
    font-size: 11pt;
    line-height: 1.6;
    background: #fff !important;
    color: #000;
  }

  /* Fjern støy */
  header,
  footer,
  .brodsmuler,
  .elementor-widget-table-of-contents,
  .elementor-button,
  .tilbake-link,
  .back-link,
  .elementor-widget-icon-list,
  .rapport-sidebar {
    display: none !important;
  }

  /* Elementor cleanup */
  .e-con,
  .elementor-container,
  .elementor-widget-wrap,
  .elementor-widget,
  .elementor {
    overflow: visible !important;
    height: auto !important;
    background: transparent !important;
  }

  /* Fjern sticky */
  .elementor-sticky,
  .elementor-sticky--active {
    position: static !important;
    top: auto !important;
  }
  
  @page {
    size: A4;
    margin: 25mm 20mm 30mm 20mm;
  }


  /* ========================================
     RAPPORTLAYOUT
  ======================================== */

  .rapport-pdf,
  .rapport-content,
  .rapport-innhold {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }


  /* ========================================
     TYPOGRAFI
  ======================================== */

  h1,
  h2,
  h3 {
    page-break-after: avoid;
    break-after: avoid;
  }

  /* Første kapittel etter intro */
  .rapport-accordion + h2 {
    page-break-before: auto !important;
    break-before: auto !important;
  }

  h3 {
    margin-top: 25px;
  }

  p {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.2rem;
  }

.ingress {
    font-size: 14px;
    padding-bottom: 100px;
    width: 90%;
  }


  /* ========================================
     BILDER
  ======================================== */

  img {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .pdf-forside img {
    margin: 20px 0 40px !important;
  }


  /* ========================================
     TABELLER
  ======================================== */

  table {
    width: 100%;
    border-collapse: collapse;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  th,
  td {
    border: 1px solid #ccc;
    padding: 6px;
  }

.rapport-innhold table {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
    page-break-inside: auto;
    font-size: 8pt;
  }

  .rapport-innhold th,
  .rapport-innhold td {
    padding: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    vertical-align: top;
  }

  .rapport-innhold tr {
    page-break-inside: avoid;
  }
  
  .rapport-innhold table,
  .rapport-innhold colgroup,
  .rapport-innhold col,
  .rapport-innhold td,
  .rapport-innhold th {
    width: auto !important;
    max-width: 100% !important;
  }

  /* ========================================
     FORSIDE
  ======================================== */

  .pdf-forside {
    width: 100% !important;
    max-width: 100% !important;

    margin: 100 0 100 0 !important;
    padding: 0 !important;

    page-break-after: always;
  }

  .pdf-forside h1 {
    font-size: 32pt !important;
    line-height: 1.1 !important;
    margin-bottom: 20px;
  }


  /* ========================================
     RAPPORTMETA
  ======================================== */

  .rapport-meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;

    margin: 20px 0 30px;
  }

  .rapport-badge {
    display: inline-block;
    padding: 6px 12px;

    background: #E6F0FA;
    color: #1D3C6A;

    border-radius: 10px;

    font-size: 11pt;
    font-weight: 600;
  }

  .pdf-meta {
    display: block !important;
  }


/* ========================================
   ACCORDION / INTROTEKSTER
======================================== */

details {
  display: block !important;
  page-break-inside: auto !important;
  break-inside: auto !important;
}

details[open] > * {
  display: block !important;
}

details summary {
  list-style: none;
  cursor: default;

  page-break-after: avoid !important;
  break-after: avoid !important;
}

details summary::-webkit-details-marker {
  display: none;
}

/* Luft under accordion */
.rapport-accordion {
  margin-bottom: 40px !important;
  padding-bottom: 0 !important;
}

/* Vanlig tekst i accordion */
.rapport-accordion p {
  margin-bottom: 14px !important;
}

/* Ikke ekstra padding på siste avsnitt */
.rapport-accordion p:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

}/* End custom CSS */