:root {
--black: black;
--nkf-background: #f6e5d1;
--nkf-brown: #dd9a4b;
--nkf-brown01: #f3dbbe;
--nkf-orange1: #ffc31a;
--nkf-orange2: #ffa500;
--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-font-color: #331919;
--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%);
--theme-color-contrast: black;
--donate-wizard-button-next-color: #585858;
--theme-color: var(--black);
--theme-nav-backgroundcolor: var(--nkf-background);
--theme-nav-color: var(--black);
--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(--black);
--footer-copyright-font-color: var(--white);
--footer-font-color: var(--white);
--cta-events-date-border-color: var(--theme-color);
--footer-heading-color: var(--white);
}

.navbar__logo {
        max-height: 80px;
}  

.navbar{
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px;
}
 
.navbar:has(.navbar__body-dynamic){
    flex-direction: row;
}
 
.navbar__body:not(.navbar__body-dynamic){
    display: flex;
    flex-direction: column;
}

.navbar__body:not(.navbar__body-dynamic) .navbar__branding {
    align-items: center;
    justify-content: center;
    flex: 1 1 100%;
    padding-top: 16px;  
    padding-bottom: 20px;
}


.navbar__firmname {
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 3.2rem; 
}


.navbar__nav li a {
    text-transform: none;
    font-size: 2rem;
}




.org-footer {
  background-color: #1b1d1c;
}

.page-title {
    font-size: 2.4rem;
    border-bottom: none;
    padding-bottom: 15px;
    padding-top: 15px;
    text-align: center;
    font-weight: 500;
}

.overskrift_forside {
    letter-spacing: 1.1px;
    font-size: max(3vw, 23px);
    text-align: center;
    font-weight: 400;
    color: black;
    backdrop-filter: blur(2px);
    margin-top: -15px;
}

.overskrift {
    font-size: 2.2rem;
    text-align: center;
    font-weight: 500;
    color: #585858;
}

.home .overskrift {
    font-size: 2.3rem;
    text-align: center;
    font-weight: 500;
    color: black;
}
.overskrift_small {
    font-size: 1.8rem;
    text-align: center;
    font-weight: 500;
    color: #585858;
    
}
.footer-text  {
    font-size: 1.6rem;
    text-align: center;
    font-weight: 400;
    color: white !important;
}

.footer-text-2  {
    font-size: 1.8rem;
    text-align: center;
    font-weight: 00;
    color: white !important;
}

.home .info a {
    color: #ffffff;
}

/* //////////////////////////////////HOME/////////////////////////////////// */



.home {
   background-color: var(--nkf-background);
}

.home .layout__row--background-light {
   background-color: #1b1e1d;
   padding-bottom: 50px;
   padding-top: 20px;
}

.home .news {
background-color: #be8d55;
padding: 20px;
}


.home .cta-events {
    color: white;
    background-color:  #1b1e1d;
}
.cta-events__event-description-heading {
   color: white;
}
h3.cta-events__location-heading {
   color: white;
}

/* //////////////////////////////////BUTTONS/////////////////////////////////// */


.kf-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  z-index: 1;
}


  .kf-btn-primary {
    background: black;
    color: white;
    padding: 15px 30px;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 22px;
    text-align: center;
    transition: 0.4s;
    max-width: 300px;
    cursor: pointer;
    }


.kf-btn-primary:hover {
    background: #dd9a4b;
    border: 1px solid #dd9a4b;
    color: white;
    transform: none;
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
   
 }

    .kf-btn-primary a {
        text-decoration: none;
        color: inherit;
        font-weight: 500;
        letter-spacing: 0.1rem;
    }


.button2 .kf-btn-primary {
    background: #272727;
    color: #ffffff;
    padding: 10px 20px;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
}


.utgivelser .kf-btn-wrapper {
    justify-content: flex-start;
}

.utgivelser .kf-btn-primary {
   padding: 10px 15px;
   font-size: 20px;
   background: #dd9a4b;
   color: white;
   border: 1px solid #dc994b;
}

.utgivelser .kf-btn-primary:hover {
    background: #dd9a4b;
    border: 1px solid #dd9a4b;
 }

/* //////////////////////////////////OM OSS/////////////////////////////////// */

.about .layout__row--background-light {
    background-color: var(--nkf-background);
    padding-block: 30px;
}


.about .hist .datalist-card {
  border-color: #dd9a4b;
   border: 3px solid #dd9a4b;
  border-radius: 7px;
}

.about .hist .datalist-card__button {
   background-color: white;
}


.about .kongelig .grid__sm--3 {
        grid-template-columns: 1fr;
}

.about .kongelig .panel-box {
border: none;
}

.about .kongelig .panel-box__header {
      background-color: white;
}

.about .kongelig .panel-box__heading {
    padding: 20px 15px;
}

.about .kongelig h2.panel-box__heading {
    font-size: 2rem;
    color: #585858;
    text-align: center;
    font-weight: 500;
}

.about .kongelig .panel-box__image {
    max-height: 290px;
}

.about .kongelig .panel-box__content {
    padding: 20px;
    text-align: center;
}

.about .layout__row--bordertop-light:has(.kongelig) {
    border-top-color: var(--nkf-background);
}


/* //////////////////////////////////MEDLEMSKAP/////////////////////////////////// */

.medlemskap .grid__sm--3 {
     grid-template-columns: 1fr;
}

.medlemskap .accordion {
    background-color: #fcf7f1;
}

.medlemskap .accordion__header {
     background-color: #f3dbbe;
     padding: 15px 15px;
}

.medlemskap h2.accordion__heading {
   font-size: 1.8rem;
   color: #1b1d1e;
}

.medlemskap .accordion__icon {
   color: #1b1d1e;
}

.layout__row--bordertop-light {
    border-top-color: var(--nkf-background);
}

/* //////////////////////////////////ÅRBOK/////////////////////////////////// */

.bok .grid__sm--3 {
      grid-gap: 25px;
}


.bok .panel-box {
  background-color: #f3dbbe1a;
  border: none;
  border-left: 1px solid #dd9a4b;
  height: 270px;
   border-radius: 0;
}


.bok .panel-box__header {
  background-color: #f3dbbe1a;
  border-bottom: 1px solid #dd9a4b;
}


.bok .panel-box__heading {
    padding: 15px 15px;
}

.bok h2.panel-box__heading {
  font-size: 1.8rem;
}

.bok .panel-box__content div {
   height: 145px;
}

/* //////////////////////////////////MEDLEMSBLAD/////////////////////////////////// */

.blad .grid__sm--3 {
        grid-template-columns: 1fr 1fr;
}

.blad .accordion {
   background-color: var(--nkf-background);
}

.blad .accordion__header {
     background-color: #f3dbbe;
     padding: 15px 15px;
}

.blad h2.accordion__heading {
   font-size: 1.8rem;
   color: #1b1d1e;
}

.blad .accordion__icon {
   color: #1b1d1e;
}

.number .new .datalist-card {
  background-color: #f3dbbe00;
    border: none;
    display: flex;
    flex-direction: column;
    min-height: 202px;
    position: relative;
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}

.number .new .datalist-card__image {
    max-height: 445px;
    height: 100%;
    z-index: -1;
    filter: opacity(0.9);
    top: 0;
    left: 0;
    object-fit: cover;
    border-radius: 5px;
    width: 100%;
}

.number .new .datalist-card__header {
    position: revert !important;
    padding: 0;
}


.number .new .datalist-card__button {
    position: absolute;
    top: 0;
    width: 100%;
    opacity: 0;
    height: 100%;
    left: 0;
}

.number .old .datalist-card {
  background-color: #f3dbbe00;
    border: none;
    display: flex;
    flex-direction: column;
    min-height: 202px;
    position: relative;
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}

.number .old .datalist-card__image {
    max-height: 445px;
    height: 100%;
    z-index: -1;
    filter: opacity(0.9);
    top: 0;
    left: 0;
    object-fit: cover;
    border-radius: 5px;
    width: 100%;
}

.number .old .datalist-card__header {
    position: revert !important;
    padding: 0;
}


.number .old .datalist-card__button {
    position: absolute;
    top: 0;
    width: 100%;
    opacity: 0;
    height: 100%;
    left: 0;
}

/* ////////////////////////////////// INFORMASJON FRA STYRET /////////////////////////////////// */

.tillittsvalgt .grid__sm--3 {
     grid-template-columns: 1fr;
}

.tillittsvalgt .accordion {
    background-color: white;
}

.tillittsvalgt .accordion__header {
     background-color: white;
     padding: 15px 15px;
}

.tillittsvalgt h2.accordion__heading {
   font-size: 1.8rem;
   color: #1b1d1e;
}

.tillittsvalgt .accordion__icon {
   color: #1b1d1e;
}




.protokoll .documents ul{
display: flex;
flex-direction: column-reverse;
}

/* //////////////////////////////////KONTAKT OSS/////////////////////////////////// */


.sentralstyret .grid__sm--3 {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.sentralstyret .panel-box__header {
    background-color: var(--nkf-background);
}

.sentralstyret .panel-box {
    border-color: var(--nkf-background);
}

.sentralstyret h2.panel-box__heading {
    font-size: 1.8rem;
    font-weight: 500; 
    color: #3b3c3c;
} 

.sekretariatet .grid__sm--3 {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.sekretariatet .panel-box__header {
    background-color: var(--nkf-background);
}

.sekretariatet .panel-box {
    border-color: var(--nkf-background);
}

.sekretariatet h2.panel-box__heading {
    font-size: 1.8rem;
    font-weight: 500; 
    color: #3b3c3c;
} 


.komiteer .grid__sm--3 {
        grid-template-columns: 1fr;
 }

.komiteer .panel-box { 
          border-color: #f3dbbe;
}

.komiteer .panel-box__header {
          background-color: #f3dbbe;
}

.komiteer .panel-box__heading {
    margin: 0;
    padding: 15px 15px;
    text-align: center;
}

.komiteer h2.panel-box__heading {
    font-size: 1.8rem;
    font-weight: 500; 
    color: #3b3c3c;
}


.komiteer .panel-box__content {
    height: 235px;
}

.komiteer .utvalg .panel-box__content {
    height: 130px;
}

.komiteer .accordion {
    top: -50px;
    position: relative;
    border-color: #f3dbbe;
    border-radius: 0px 0px 5px 5px;
}
 
.komiteer .accordion__header {
    background-color: #dd9a4b;
    padding: 6px 15px;
}


.komiteer h2.accordion__heading {
    font-size: 17px;
    color: #3b3c3c;
}

.komiteer .accordion__icon {
color: #3b3c3c;
}


.kontakt .grid__sm--3 {
        grid-gap: 30px;
}

.kontakt .layout__row--background-light {
    background-color: var(--nkf-background);
    padding-block: 30px;
}


.kontakt .department-list {
    padding: 10px 40px;
 }

.kontakt .cta-box__content-container {
    background: linear-gradient(0deg, rgb(221 154 75 / 94%) 22%, rgb(243 219 190) 98%, rgba(255, 255, 255, 1) 100%);
    height: 90px;
}

.kontakt .cta-box__button {
   font-size: 18px;
   background-color: unset;
   color: #3b3b3b;
}

.kontakt .cta-box {
    padding: 5px;
}

.kontakt .grid__md--2 {
  background-color: #ebc191;
  padding: 15px;
}

.kontakt .contact__item-heading {
   color: #3b3b3b;
   font-size: 1.7rem;
   padding: 17px 10px;
   background-color: #f0dbc3;
 }

.kontakt .contact__form-button {
    margin-top: 15px;
    background-color: white;
    color: #3b3b3b;
   border-color: #white;
}

.kontakt .contact__form-button:hover {
   color: black;
   background-color: #f0dbc3;
   border-color: #3b3b3b;
}

/* //////////////////////////////////FAKTA/////////////////////////////////// */

.fakta .grid__sm--2 {
        grid-template-columns: 1fr;
}

.fakta .list-2-col__item:nth-child(-n+2) {
     border-top: none;
}



/* //////////////////////////////////INTER/////////////////////////////////// */

.inter .grid__sm--3 {
        grid-template-columns: 1fr;
}

.inter .panel-box {
  border-color: #dd9a4b;
    border: 3px solid #dd9a4b;
}

.inter .panel-box__header {
    background-color: white;
}

.inter h2.panel-box__heading {
      font-size: 1.8rem;
}


.inter .accordion {
    top: -40px;
    position: relative;
    border-color: #dd9a4b;
    border: 3px solid #dd9a4b;
}

.inter .accordion__header {
    background-color: white;
    padding: 5px 15px;
}

/* //////////////////////////////////KRETSER/////////////////////////////////// */

.krets .layout__row--background-light:has(.kretslag) {
   background-color: #fdf8f3;
   padding-bottom: 40px;
}

.krets .kretslag .grid__sm--3 {
        grid-template-columns: 1fr;
}



.krets .datalist-card__content {
    padding: 10px;
    
}

.krets .lokal .grid__sm--3 {
        grid-template-columns: 1fr;
        gap: 2px;
}

.krets .kretslag .accordion {
    position: relative;
    top: -40px;
    border-radius: 0px;
}


.krets .kretslag .accordion__header {
   padding: 20px 15px;
   background-color: white;
}

.krets .kretslag h2.accordion__heading {
    font-size: 1.8rem;
}

.lokal .accordion__header {
background-color: #ffffff;
}
/* //////////////////////////////////@MEDIA/////////////////////////////////// */


@media only screen and (max-width: 768px) {
   .blad .grid__sm--3 {
        grid-template-columns: 1fr ;
}
}


@media screen and (min-device-width: 555px) and (max-device-width: 768px) { 
.komiteer .panel-box__content {
    height: 168px;
}
}

@media screen and (min-device-width: 769px) and (max-device-width: 1029px) { 
.komiteer .panel-box__content {
    height: 353px;
}
}


@media only screen and (max-width: 496px) {
.kf-btn-wrapper {
    flex-direction: column;
}
}

@media only screen and (max-width: 454px) {
.navbar__firmname {
    font-size: 2.3rem;
}
}