:root {
--NV-blue: #1e73be;
--NV-blue1: #103e66;
--NV-blue2: #222a36;
--NV-logo: #2c4d71;
--white: white;
--transparent: transparent;
--grey: grey;
--lightgrey: lightgrey;
--lightgrey1: #efefef;
--lightgrey2: #e6e6e6;
--lightgrey3: #696969;
--lightergrey: #dedede;
--darkgrey: #585858;
--whitesmoke: whitesmoke;
--black: #383838;
--lightergrey: #dedede;
--light-darkgrey: #d8d8d8;
--grey1: #bbbbbb;
--grey-green: #effff1;
--grey2: #ebebeb;
--default-white: white;
--default-darkwhite: #f3f3f3;
--sw-info-color: #3490dc;
--layout-row-shaddow-color-light: rgba(0,0,0,0.1);
--layout-row-shaddow-color-dark: rgba(0,0,0,0.2);
--calendar-selection-background-color: white;
--theme-heading-color: black;
--theme-heading1-color: black;
--theme-heading2-color: black;
--theme-heading3-color: black;
--theme-body-font-color: #424242;
--theme-color-lighten-10: hsl(var(--theme-color),40%);
--theme-color-lighten-20: hsl(var(--theme-color),30%);
--theme-color-darken-10: hsl(var(--theme-color),60%);
--theme-color-darken-20: hsl(var(--theme-color),70%);
--donate-wizard-button-next-color: #585858;
--theme-font-color: #331919;
--theme-color-contrast: #f3f3f3;
--theme-color: var(--NV-blue2);
--theme-nav-backgroundcolor: var(--white);
--default-black: var(--black);
--default-grey: var(--grey);
--navbar-background-color: var(--theme-nav-backgroundcolor);
--navbar-collapsed-background-color: var(--whitesmoke);
--navbar-font-color: var(--theme-nav-color);
--navbar-collapsed-font-color: var(--default-black);
--page-title-border-color: var(--theme-color);
--footer-background-color: var(--theme-color);
--footer-font-color: var(--theme-color-contrast);
--cta-events-date-border-color: var(--theme-color);
}

:root {
  --navbar-height: clamp(90px, 5vw, 100px);
}

.navbar--sticky{
background:white;
}

.navbar {
  height: var(--navbar-height);
  color: #222a36;
  font-size: 1.6rem;
}

.navbar__body {
    gap: 1rem;
    width: 100%;
    max-width: 1280px;
    justify-content: space-between;
    overflow: visible;
}

.navbar__collapse--show {
     height: calc(100svh - var(--navbar-height));
}


.navbar__logo {
     margin: 0;
    display: block;
    position: absolute;
    bottom: 12px;
    max-height: 130%;
    width: auto;
     max-width: 75vw;
}

.navbar__branding{
width: 100%;
height: 100%;
    display: block;
}

.navbar__link{
    display: block;
    position: relative;
   height: 100%;
}


/* ######################### */
 .icon-wrapper {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        margin-top: 30px;
        gap: 10px;
    }

    .media_icon {
        width: 50px;
    }

    .fab, .fa-brands {
        font-size: 55px;
        text-align: center;
    }

    .icon-wrapper a {
        text-decoration: none;
        margin: 5px;
        color: white;
 
    }
/* ######################### */

.news .btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  z-index: 1;
}


 .news .btn-primary {
        background: #215276;
    color: #ffffff;
    padding: 5px 25px;
    border: 1px solid #215276;
    border-radius: 2px;
    font-size: 18px;
    text-align: center;
    transition: 0.3s;
    max-width: 300px;
    cursor: pointer;
    
    }




/* ######################### */
/* ## top_nav */
.top_nav {
    justify-content: flex-end;
    padding-inline: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1280px;
  margin-inline: auto;
      padding: 15px;
   z-index: 11;
   position: relative;
}



.top_nav a.top_nav__link {
  color: #ffffff;
  font-size: clamp(12px, 3vw, 1.6rem);
  border-radius: 4px;
  background-color: #215276;
  border-radius: 23px;
  padding: 5px 18px;
}

 



.page-title {
    font-size: 3rem;
    color: #2c4d71;
    border-bottom: none;
    font-weight: 400;
    text-align: center;
}

.news-header {
    font-size: 3rem;
    color: white;
    border-bottom: none;
    font-weight: 400;
    text-align: center;
}

.page-title-small {
    font-size: 2rem;
    color: #2c4d71;
    border-bottom: none;
    font-weight: 400;
    text-align: center;
}


.page-title-white{
    font-size: 2.2rem;
    color: white;
    border-bottom: none;
    font-weight: 400;
    text-align: left;
}


.home .heroimage img {
filter: grayscale(0.5) brightness(1);
}



.home .cta-events__event {
margin: 10px 20px;
display: grid;
 grid-template-columns: 80px 1fr;
}

.home .cta-events {
background-color: transparent;
border-radius: 5px;
padding: 0 !important;
overflow: hidden;
max-width: 85rem;
margin-inline: auto;
}

.home .cta-events__grid {
grid-template-columns: 1fr;
    grid-gap: 1rem;
}

.home .cta-events__grid > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 0;
}

.home .cta-events__event-description {
display: none;
}


.home .cta-events__grid--grid-gap-30 li:nth-child(even) {
  background-color: #466f8d;
  color: white;
}

.home .cta-events__grid--grid-gap-30 li:nth-child(odd) {
  background-color: #215276;
  color: white;
}

.home .cta-events__date {
border-right-color: #f8f6f3;
}

.home .cta-events__location-heading {
font-size: 1.8rem;
color: #f8f6f3;
font-weight: 400;
}

.cta-events__number {
font-weight: 400;
}

.home .cal {
padding-bottom: 50px;
}


.home .layout__row--background-light {
  background-color: white;
}


.home .layout__row--background-light:has(.footer) {
  background-color: #222a36;
  padding: 20px;
}



.home .news {
background-color: #466f8d;
    padding: 10px 10px 10px 10px;
}


.home .article-card-small {
    background-color: #ffffff;
    border: 1px solid whitesmoke;
    border-color: whitesmoke;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}


.home .article-card-small__heading {
  font-weight: 400;
    font-size: 2.2rem;
    color: #226aa9;
}


.home .article-card-small__read-more {
    color: #226aa9;
}



/* =====AKSJONSBOKSER FORSIDE ===== */

.home .aksjon {
    background-color: white;
}

.home .grid__sm--3 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}


.home .panel-box{
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.home .panel-box__header{
  background-color: white;
order: 2;
}


.home .panel-box__body{
display: contents;
}

.home .panel-box__image{
    order: 1;
    margin: 0;
    height: 250px;
}

.home .panel-box__content {
  order: 3;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
 

.home .panel-box__heading {
    text-align: center;
}

.home h2.panel-box__heading {
      font-weight: 400;
      font-size: 2.2rem;
      color: #226aa9;
}


.home .image-list__button {
   width: 100%;
   text-align: center;
   margin: 5px auto;
   font-size: 1.8rem;

}

/*
 .home .f-icon .icon-wrapper {
        position: absolute;
        z-index: 1;
        bottom: -106px;  
        right: 5vw;
    }



   .home .f-icon .fab, .fa-brands {
        font-size: 55px !important;
        text-align: center;
    }

   .home .f-icon .icon-wrapper a {
        text-decoration: none;
        margin: 5px;
        color: #ffffff;
    }

*/
/* =====OM OSS ===== */

.about .layout__row--lg{
display: block;
}
 
.about .layout__row {
    display: block;
}


.about .firmdepartmentnavheader>div>div{
     width: 100%;
    display: flex;
   gap: 8px;
   padding-bottom: 10px;
}

.firmdepartmentnavheader>div>div a{
       flex:1;
    text-align:center;
}

.about .firmdepartmentnavheader {
   background: #ffffff;
}

.about .firmdepartmentnavheader__link {
    background-color: white;

  
}

.about a.firmdepartmentnavheader__link {
  padding: 10px 15px;
   /*border: 2px solid #2c4d71; */
  border-radius: 5px;
  color: #2c4d71;
   font-size: 1.8rem;
   font-weight: 500;
}

.about a.firmdepartmentnavheader__link:hover {
  background-color: #f7fbff;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}


.about .panel-box {
border-color: #1e73be29;
    border-radius: 5px;
}

.about .panel-box__header  {
   background-color: #ffffff;
border-radius: 5px;
}

.about .panel-box__heading {
padding: 10px 10px;
}

.about h2.panel-box__heading {
    font-size: 1.8rem;
    color: #1e73be;
   font-weight: 500;
}

.about .image-list__button {
    float: right;
    border: none;
    font-size: 1.8rem;
}



.about .hist .panel-box {
  border: none;
}

.about .hist .grid__sm--3 {
     grid-template-columns: 1fr;
}


/* ===== STYRET===== */

.board     .grid__sm--3 {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.board-member__top {
   background: none;
}

.board .board-member__contact-info {
    align-items: center;
}


/* ===== KONTAKT===== */

.kontakt .grid__md--2 {
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

.kontakt .contact {
    background-color: #ffffff;
}

.kontakt .contact__item-heading {
color: #2c4d71;
    font-size: 1.8rem;
    background-color: #ffffff;
}

.kontakt .contact__form-container {
    background-color: #ffffff;
}


.kontakt .grid__sm--3 {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

}

.kontakt .panel-box__header {
    background-color: #ffffff;
}

.kontakt .panel-box {
     box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

.kontakt h2.panel-box__heading {
    font-weight: 500;
    font-size: 1.8rem;
    color: #2c4d71;
}

/* ===== ARRANGEMENT===== */


.nearest-first{
    display: flex;
    flex-direction: column-reverse;
}

.arrangement .layout__row--margintop-50 {
    margin-top: 80px;
}

.arrangement .grid__lg--3 {
        grid-template-columns: repeat(auto-fit, minmax(226px, 1fr));
    }

.arrangement .article-card__content {
background-color: #ffffff;
}

.arrangement .article-card__image {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    max-height: 450px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: 220px;
    object-fit: cover;
}


.arrangement .article-card {
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}



.arrangement .article__main-image {
display: none;
}

.arrangement .article-card__read-more {
    color: #ffffff !important;
    background-color: #215276;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 5px;
    margin-inline: 5px;
    padding: 5px 10px;
}

.arrangement .firmdepartmentnavheader>div>div{
     width: 100%;
    display: flex;
   gap: 8px;
   padding-bottom: 10px;
}

.arrangement .firmdepartmentnavheader>div>div a{
       flex:1;
    text-align:center;
}

.arrangement .firmdepartmentnavheader {
   background: #ffffff;
}


.arrangement .firmdepartmentnavheader__link {
    background-color: white;  
}


.arrangement a.firmdepartmentnavheader__link {
  padding: 10px 15px;
   border: 2px solid #21527624;
    border-radius: 2px;
  color: #215276;
   font-size: 1.8rem;
   font-weight: 500;
}

.arrangement a.firmdepartmentnavheader__link:hover {
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}

/* ===== ARKIV===== */
.arkiv .datalist-card { 
   border-color: #21527642;
}


.arkiv .datalist-card__button-text {
        margin-right: -8px;
    visibility: visible;
    opacity: 1;
    max-height: 1.6rem;
    overflow: unset;
    max-width: unset;
    font-size: 1.8rem;
}

.arkiv .datalist-card__icon {
visibility: hidden;
}


/* ===== VIRKSOMHET ===== */


.virksomhet .grid__sm--3 {
     grid-template-columns: 1fr;
}

.virksomhet .panel-box {
border: none;
}

.virksomhet .panel-box__header  {
   background-color: #ffffff;
border-radius: 5px;
}

.virksomhet .panel-box__heading {
padding: 10px 10px;
}

.virksomhet h2.panel-box__heading {
    font-size: 1.8rem;
    color: #1e73be;
   font-weight: 500;
}

.virksomhet .image-list__button {
    float: left;
    border: none;
    font-size: 1.8rem;
    padding: 0;
}



.article__text-small {
    display: none;
}

.article__share-icons {
  display: none;
}

.article__list-summary-image {
    display: none;
}

.article__text-small {
   display: none;
}


.meet .article-card-small {
    background-color: white;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}



.meet .article-card-small__image-container {
    display: none;
}

.meet .article-card-small__read-more {
    color: #1e73be;
    font-size: 1.8rem;
}


.fu .grid__sm--2 {
        grid-template-columns: 1fr;
 }


.fu .article-card-small {
    background-color: white;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}


.fu .article-card-small__image-container {
    display: none;
}

.fu .article-card-small__read-more {
    color: #1e73be;
    font-size: 1.8rem;
}


.omr .cta-box__content-container{
   background-color: #215276;
   height: 80px;
}

.omr .cta-box__button {
    background-color: rgb(33 82 118);
    color: #ffffff;
   font-size: 1.8rem;
   font-weight: 400;
}


.area .article__main-image {
display: none;
}


.area .article-card-overlay__heading {
font-size: 2rem;
color: white;
    padding: 5px 20px;
background-color: #222a36;
}


.area img.article-card-overlay__image {
   filter: brightness(0.7) grayscale(0.5);
}




.eiendom .datalist-card {
    box-shadow: rgb(99 99 99 / 12%) 0px 2px 6px 0px;
}

.eiendom .datalist-card__image {
    max-height: 176px;
}

.eiendom .grid__sm--3 {
        grid-template-columns: 1fr 1fr;
    }





@media only screen and (max-width: 768px) {
   .eiendom .grid__sm--3 {
        grid-template-columns: 1fr;
    }
}
/* // MODAL LISTE  */

/* // MODAL FUNKSJONALITET */
.modallist--list .image-list__container .sw-details__modal_wrapper {
  display: none;
}
.modallist--list .image-list__container .sw-details__modal {
  height: 90svh;
  width: max(70svw, 800px);
  max-width: 90svw;
  background-color: white;
  padding: 28px 32px 24px 32px;
  border-radius: 6px;
  cursor: initial;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.modallist--list .image-list__container .sw-details__modal_wrapper--open {
  display: flex;
  align-items: center;
  position: fixed;
  justify-content: center;
  z-index: 999;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  background-color: rgba(148, 148, 148, 0.22);
}
/* // MODAL FUNKSJONALITET SLUTT */

/* // STYLING */

.modallist--list .image-list__image {
  display: none;
}

.modallist--list .sw-details__modal .image-list__image {
  display: block;
  height: auto;
  width: min(800px, 100%);
  border-radius: 8px;
  order: 2;
  object-fit: contain;
  margin: 0 auto;
}

.modallist--list .sw-details__modal__button_wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 16px 16px 0 16px;
}
.modallist--list .sw-details__modal__button_wrapper button {
  padding: 8px 16px;
  background: transparent;
  border: 2px solid #bdbdbdb0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.sw-details__modal__content_wrapper:empty {
  display: none;
}

.modallist--list .sw-details__modal__image_wrapper {
  width: 100%;
  float: unset;
  padding: 0;
  min-width: 500px;
}

.sw-details__modal:has(.sw-details__modal__content:not(:empty))
  .sw-details__modal__image_wrapper {
  float: right;
  padding: 16px;
  width: 40%;
  min-width: min(300px, 100%);
}

.modallist--list .image-list__container {
  flex-direction: column;
  display: flex;
  flex: 0 0 30%;
  min-width: 200px;
  height: 100%;
  padding: 16px 30px;
  margin: 0;
  cursor: pointer;
}

.modallist--list .image-source {
  display: none;
}

.modallist--list .image-list__content > div:not([class]) {
  display: none;
}

.modallist--list .image-list__content > div.content--visible {
  display: initial;
}
.modallist--list .image-list {
  display: flex;
  gap: 32px;
  padding: 16px 0;
}

.modallist--list .image-list__content-container {
  order: 1;
}

.modallist--list .image-list__content {
  padding: 0;
}

.modallist--list .image-list__heading {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
}

.modallist--list .image-list__read-more {
  order: 3;
  cursor: pointer;
  font-weight: 400;
  /* padding: 16px 4px; */
  font-size: 16px;
}

.modallist--list .sw-details-modal__header_wrapper h2 {
  margin-top: 0;
      margin-bottom: min(24px, 3vh);
  font-size: clamp(20px, 4vh, 28px);
  font-weight: 400;
  line-height: 1.2;
}

.modallist--list .sw-details__modal__content_wrapper {
  line-height: 1.4;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  overflow: auto;
  color: #444444;
  flex: 1;
  padding: 0 8px 8px 8px;
  /* padding: 0 16px 0 8px; */
}
.modallist--list .sw-details__modal__content_wrapper:has(.sw-details__modal__content:not(:empty)) {
   padding-right: 16px;
}


.modallist--list .sw-details__modal__description {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 18px;
}
