.bg-grey {
  background: var(--color-main-alt-grey) !important;
}

@media screen and (max-width: 479px) {
	h1, .h1 {
		font-size: 2rem;
	}
	
	h2, .h2 {
		font-size: 1.75rem;
	}
	
	h3, .h3 {
		font-size: 1.44rem;
	}
	
	h4, .h4 {
		font-size: 1.31rem;
	}
}
@media screen and (max-width: 580px) {
.hero_section__intro_h1{
  font-size: 2rem;
}}

.imagetext {
  font-size: 1.05rem;
  margin: 5px 0;
}

/*Footer*/

.footer__logo { 
  width: 150px;
}

.footer-text {
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 0.2em;
}

.footer-companyname {
  font-size: 1.2rem;
}

.footer-fylke-logo { 
  width: 120px;
  margin-right: 10px;
  margin-bottom: 10px;
}



/*Standard intro*/

.post-navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-navigation-container a {
  text-decoration: none;
      font-size: 1.05rem;
}
.prev-post-link {
    text-align: left;
}
.next-post-link {
    text-align: right;
    margin-left: auto;
}
@media only screen and (max-width: 480px) {
  .hero_section__intro_prevnext { 
    display: none;
  }
}

@media only screen and (min-width: 767px) {
  .content_section__textdiv { 
    width: 90%;
    max-width: 850px;
    margin-left: auto;
  }
}

.hero_section__img_div {
  margin-top: -90px;
}
.hero_section__intro_excerpt {
  font-size: 1.55rem;
}

.hero_section__img {
    aspect-ratio: 15/8;
    object-fit: cover;
    width: 100%;
    max-width: 100%;
    min-height: 250px;
}

.hero_section__imgtext {  
  font-size: 1rem;
  margin-top: 10px;;
}

/*Styret*/

.board_section__bgimg-imgtext {
  padding: 0 15px;
    width: 100%;
    max-width: 1200px;
    margin-left:auto;
    margin-right:auto;
}

.styret_rep__role, .styret_rep__period, .styret_rep__member {
 font-size: 1.15rem;
}

.styret_rep__name {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.ansatte_rep__img {
  width: 110px;
  height: 110px;
  border-radius: 100%;
  background-color: #002848;
  object-fit: cover;
}

.ansatte_rep__name {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.ansatte_rep__role {
  font-size: 1.05rem;
  line-height: 1.2;
}
.ansatte_rep .bde-loop.bde-loop-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

@media (min-width: 400px) {
    .ansatte_rep .bde-loop-item {
        flex: 0 0 calc(50% - 20px);
    }
}
@media (min-width: 700px) {
    .ansatte_rep .bde-loop-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (min-width: 992px) {
    .ansatte_rep .bde-loop-item {
        flex: 0 0 calc(25% - 20px);
    }
}


/*Scenario*/



.scenario_bgimg__mobileimg {
  aspect-ratio: 15/10;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 767px) {
  .scenario_bgimg__div .container-page-width {
    padding: 0 !important;
  }
}

@media only screen and (min-width: 767px) {
    .text_bg_img__wrapper {  
      min-height: 100vh;
      width: 100%;
      position: relative;
      padding-top: 40px;
      padding-bottom: 40px;
    }
    .scenario_bgimg__contentdiv  {
        width: 90%;
        max-width: 850px;
        transform: translateY(-30px);
        position: relative;
        z-index: 2;
    }
    .scenario_bgimg__div {
        background-image: var(--dummy-image);
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: repeat;
        background-attachment: fixed;
    }
    .scenario_bgimg__mobileimg {
      display: none !important;
    }
}

/*Forside*/

.front-page-chapter-container {
    width: 100%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}
@media only screen and (max-width: 1120px) {
.front-page-chapter-container .bde-post-loop-415-113>.bde-loop {
    --bde-posts-gap: 5px;
    --bde-posts-per-row: 2;
}
}
@media only screen and (max-width: 768px) {
.front-page-chapter-container .bde-post-loop-415-113>.bde-loop {
    --bde-posts-gap: 5px;
    --bde-posts-per-row: 1;
}
}

.fp_navi__wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.fp_navi__image {
  display: block;
  width: 100%;
 aspect-ratio: 15 / 13;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fp_navi__wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 40, 70, 0.9) 0%,
    rgba(0, 40, 70, 0.6) 28%,
    rgba(0, 40, 70, 0) 55%
  );
  z-index: 1;
  pointer-events: none;
}

.fp_navi__title {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin: 0;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1.15;
  z-index: 10;
}
@media only screen and (min-width: 1350px) {
    .fp_navi__title {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 480px) {
    .fp_navi__title {
    left: 15px;
    right: 15px;
    bottom: 15px;
    color: #fff;
    font-size: 1.4rem;
  }
}


.fp_navi__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 70, 0.72);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.fp_navi__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  font-size: 40px !important;
  transition: all 0.3s ease;
  z-index: 11;
  fill: #00deb3 !important;
}

.fp_navi__wrap:hover .fp_navi__overlay {
  opacity: 1;
}

.fp_navi__wrap:hover .fp_navi__icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.fp_navi__wrap:hover .fp_navi__image {
  transform: scale(1.05);
}


.fp_nokkeltall__div {
  background-color: #bfeefd;
  padding: 10px 30px 30px 30px;
  margin-top: 10px;
}

@media only screen and (min-width: 767px) { 
  .fp_nokkeltall__div {
    padding: 40px 60px 60px 60px; 
}
}

.fp_nokkeltall__repeater_div {
  display: flex;
}
.fp_nokkeltall__repeater_icon {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}
.fp_nokkeltall__intro {
  max-width: 750px;
}

.fp_nokkeltall__repeater .bde-dynamic-repeater-item:last-child .fp_nokkeltall__repeater_icon {
    display: none;
}

.fp_nokkeltall__div .has-read-more.rm-ready {
    max-height: 350px;
}

/*Bilde /tekst seksjoner - repeater*/

.text_bg_img__mobileimg {
  aspect-ratio: 15/10;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}
.text_bg_img__imgtext {
  background-color: var(--color-main-alt);
  font-size: 1rem;
  line-height: 1.2;
  width: 100%;
  padding: 15px;
}

@media only screen and (min-width: 767px) {
    .text_bg_img__wrapper {  
      min-height: 100vh;
      width: 100%;
      position: relative;
      padding-top: 40px;
      padding-bottom: 40px;
    }
    .text_bg_img__textdiv  {
        width: 90%;
        max-width: 850px;
    }
    .bgimg_rep_section .bde-loop-item:nth-child(odd) .text_bg_img__textdiv {
        margin-left: auto;
    }
    .bgimg_rep_section .bde-loop-item:nth-child(even) .text_bg_img__textdiv {
        margin-right: auto;
    }
    .text_bg_img__wrapper {
        background-image: var(--dummy-image);
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: repeat;
        background-attachment: fixed;
    }
    .text_bg_img__mobileimg {
      display: none !important;
    }
    .text_bg_img__container {
      padding: 0 15px;
    }
    .text_bg_img__imgtext {
      position: absolute;
      bottom: 20px;
      left: 20px;
      background: rgba(255, 255, 255, 0.7);
      padding: 5px 10px 0px 10px;
      width: auto;
    }
}
@media only screen and (min-width: 992px) {
    .text_bg_img__container {
      padding: 0 30px;
    }
}

/*Forbrukerkommunikasjon*/

.forbrukerkom_kap_navi__rep .bde-loop {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center; 
  align-items: center;   
  gap: 10px;
}

/* Mobile first - under 580px */
.forbrukerkom_kap_navi__rep .bde-loop-item {
  width: 100%;
  margin-bottom: 20px;
}

/* Fra 580px og opp */
@media (min-width: 580px) {
  .forbrukerkom_kap_navi__rep .bde-loop-item {
    width: calc(50% - 5px);
  }
}

/* Fra 769px og opp */
@media (min-width: 769px) {
  .forbrukerkom_kap_navi__rep .bde-loop-item {
    width: calc(33% - 5px);
  }
}



.forbrukerkom_kap_navi__title {
  margin-top: 10px;
  margin-bottom: none;
  font-size: 1.25rem;
}

.forbrukerkom_kap_navi__img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 15/8;
  margin-bottom: 10px;
}


/*Bransjebearbeidelse - slider*/

.acf-gallery-slider-wrapper {
  width: 100%;
  position: relative;
}

.acf-gallery-slider {
  width: 100%;
  padding-bottom: 40px;
}

.acf-gallery-slider .swiper-slide {
  height: auto;
}

.acf-gallery-slide-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.acf-gallery-slide-inner a {
  display: block;
  line-height: 0;
  overflow: hidden;
  border-radius: 2px;
}

.acf-gallery-slide-inner a {
  display: block;
  aspect-ratio: 15 / 9;
  overflow: hidden;
  border-radius: 2px;
}

.acf-gallery-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acf-gallery-caption {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.acf-gallery-slider .swiper-button-prev,
.acf-gallery-slider .swiper-button-next {
      color: #bfeefd;
    background: #00000059;
}

.acf-gallery-slider .swiper-pagination {
  bottom: 0 !important;
}

/*Nettsiden fjordnorway.com*/

.sidevisning-tabell,
.geostats-tabell {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.geostats-tabell {
    max-width: 450px;
}
.geostats-tabell td:nth-child(2),
.geostats-tabell th:nth-child(2) {
    text-align: right;
}
.newsdesk-tabell td:nth-child(3),
.newsdesk-tabell th:nth-child(3) {
    text-align: right;
}

.sidevisning-tabell thead,
.geostats-tabell thead {
    background-color: #1f2937;
    color: #ffffff;
}

.sidevisning-tabell th,
.sidevisning-tabell td,
.geostats-tabell th,
.geostats-tabell td {
    padding: 14px 18px;
    text-align: left;
}

.sidevisning-tabell tbody tr,
.geostats-tabell tbody tr {
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.sidevisning-tabell tbody tr:nth-child(even),
.geostats-tabell tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.sidevisning-tabell tbody tr:hover,
.geostats-tabell tbody tr:hover {
    background-color: #f3f4f6;
}

.sidevisning-tabell td:last-child,
.sidevisning-tabell td:nth-child(2),
.geostats-tabell td:last-child {
    font-weight: 600;
}

.gronn-pil-liste {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.gronn-pil-liste li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.gronn-pil-liste li::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    color: #00deb3;
    font-weight: bold;
}

/*Sosiale medier*/

.some_highlight_section {
  background-color: #f9f9f9;
}

.some_section_iconwrap {
  padding: 10px;
}
.some_section_iconwrap:hover .some_section_iconsvg {
  color: #262626;
}

.some_section_iconsvg {
  font-size: 2.5rem;
  margin-right: 10px;
  color: #00deb3;
  transition-duration: 0.3s;
}

.single-gallery-slider {
  overflow: hidden;
}
.single-gallery-slider {
  width: 100%;
  padding: 0 40px 40px;
  box-sizing: border-box;
}

.single-gallery-slide-inner {
  display: flex;
  flex-direction: column;
}

.single-gallery-caption {
    margin-bottom: 14px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.single-gallery-slide-inner a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.single-gallery-slide-inner img {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: 80vh;

  object-fit: contain;
}

.single-gallery-slider .swiper-button-prev,
.single-gallery-slider .swiper-button-next {
  color: #bfeefd;
}

.single-gallery-slider .swiper-button-prev {
  left: 0;
}

.single-gallery-slider .swiper-button-next {
  right: 0;
}
@media (max-width: 767px) {

  .single-gallery-slider {
    padding: 0 24px 40px;
  }

}

/*Youtube i hero*/

.youtube-video {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/*Trafikkutvikling*/

.trafikkutvikling-tabell {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    font-size: 1.1rem;
    line-height: 1.4;
    background: #fff;
}

.trafikkutvikling-tabell th,
.trafikkutvikling-tabell td {
    padding: 12px 10px 5px 10px;
    border: 1px solid #dcdcdc;
    text-align: center;
    white-space: nowrap;
}

.trafikkutvikling-tabell thead th {
    background: #f5f5f5;
    font-weight: 700;
    color: #1f2937;
}

.trafikkutvikling-tabell tbody td:first-child {
    text-align: left;
    font-weight: 700;
    background: #fafafa;
}

.trafikkutvikling-tabell tbody tr:nth-child(even) {
    background: #fcfcfc;
}

.trafikkutvikling-tabell tbody tr:hover {
    background: #f3f7fb;
}

/* Wrapper for horisontal scrolling på mobil */
.trafikkutvikling-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/*Footer*/


@media screen and (max-width: 992px) { 
  .footer-content {
      text-align: center;
  }
  .footer_col_middel {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center !important;
      margin:30px 0;
  }
}