/*
2022 © Monoforom
http://www.monoform.no
*/

/* RESET */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* CLEARFIX */

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
 
.clearfix {
  display: inline-block;
}
 
html[xmlns] .clearfix {
  display: block;
}
 
* html .clearfix {
  height: 1%;
}


/* DEFAULT STYLING AND BIG SCREENS
----------------------------------------------- */

* {
  shape-rendering: crispEdges;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent; /* For some Androids */
}

*:focus {
  outline: 0;
}

:root {
  --color-primary: #FF6600;
  --color-text: #666666;
  --color-lightbackground: #f0f0f0;
  --global-margin-bottom: 80px;
  --global-margin-bottom-half: 40px;
  --global-negative-margin-bottom: -80px;
  --global-negative-margin-bottom-half: -30px;
  --standard-lineheight: 1.35em;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  :root {
    --global-margin-bottom: 50px;
    --global-margin-bottom-half: 30px;
    --global-negative-margin-bottom: -50px;
    --global-negative-margin-bottom-half: -10px;
  }
}

body, html {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body { 
  background: #ffffff;
  color: var(--color-text);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  
  font-variant-numeric: lining-nums;
  -moz-font-feature-settings: "lnum";
  -webkit-font-feature-settings: "lnum";
  font-feature-settings: "lnum";
}

body,
p {
  line-height: var(--standard-lineheight);
}

@media only screen and (max-width: 1279px) { /* Tablet Horizontal */
  body {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  body {
    font-size: 1.8rem;
  }
}

/* MARGER, PADDING OG STØRRELSER */

.contentwidth-normal {
  margin: 0 auto; 
  width: 88%; 
  max-width: 1390px;
  position: relative;
}

.contentwidth-small {
  margin: 0 auto; 
  width: 88%; 
  max-width: 1000px;
  position: relative;
}

.contentwidth-large {
  margin: 0 auto; 
  width: 88%; 
  max-width: 1690px;
  position: relative;
}

.global-margin-bottom {
  margin-bottom: var(--global-margin-bottom);
}

img {
  display: block;
  width: 100%;
}

hr {
  border: 0;
  height: 0;
  padding: 0;
  margin: 0 0 40px 0;
  border-top: 1px solid black;
}

img.bildeaspekt {
  aspect-ratio: 500 / 310;
  object-fit: cover;
}

/* TEXT STYLING */

h1 {font-size: 4.6rem;}
h2 {font-size: 3.5rem;}
h3 {font-size: 3.0rem;}
h4 {font-size: 2.5rem;}
h5 {font-size: 1.8rem;}
h6 {font-size: 1.6rem;}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2em;
}

.titlestyle h1, 
.titlestyle h2, 
.titlestyle h3,
.titlestyle h4, 
.titlestyle h5, 
.titlestyle h6 {
  margin-bottom: 0.8em;
}

.titlestyle h1 {
  text-align: center;
}

.textstyle h3 {
  margin-bottom: 0.15em;
}

@media only screen and (max-width: 1279px) { /* Tablet Horizontal */
  h1 {font-size: 4.4rem;}
  h2 {font-size: 3.2rem;}
  h3 {font-size: 2.8rem;}
  h4 {font-size: 1.9rem;}
  h5 {font-size: 1.7rem;}
  h6 {font-size: 1.5rem;}
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  h1 {font-size: 4.0rem;}
  h2 {font-size: 2.8rem;}
  h3 {font-size: 2.6rem;}
  h4 {font-size: 1.8rem;}
  h5 {font-size: 1.6rem;}
  h6 {font-size: 1.4rem;}
}

a {
  color: var(--color-text);
  text-decoration: underline;
}

a:hover {
  opacity: 0.7;
}


a[href^="tel"] {
  color: inherit; /* Inherit text color of parent element. */
  text-decoration: none; /* Remove underline. */
  /* Additional css `propery: value;` pairs here */
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

.bildetekst {
  font-size: 92%;
  font-style: italic;
  margin-top: 0.6em;
}

.textstyle ol, .textstyle ul, .textstyle li {
	margin-left: 0;
	padding-left: 0;
}

.textstyle ul li {
  list-style-type: disc;
  margin-left: 1.15em;
}

.textstyle ol {
  list-style: decimal;
}

.textstyle ol li {
  list-style-position: outside;
  margin-left: 1.4em;
}

.textstyle p+p, .textstyle ul+p, .textstyle ol+p, .textstyle p+ul, .textstyle p+ol, .textstyle ol+ul, .textstyle ul+ol, .textstyle p+h3, .textstyle h3+h3, .textstyle ul+h3, .textstyle ol+h3 {
  margin-top: 1em;
}

/* RESET FORM */

input[type=text],
input[type=email],
input[type=tel],
input[type=url],
input[type=search],
input[type=submit],
input[type=password],
textarea {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  -o-appearance:none;
  border: 0;
  border-radius: 0;
  color: inherit;
}

::-webkit-input-placeholder {
   color: #232327;
}

:-moz-placeholder { /* Firefox 18- */
   color: #232327;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #232327;
}

:-ms-input-placeholder {  
   color: #232327;
}

/* BUTTON */

.button {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  -o-appearance:none;
  display: inline-block;
  border: 0;
  border-radius: 2em;
  font-size: 2.2rem;
  text-align: center;
  text-decoration: none;
  padding: 0.6em 2em;
  margin: 0;
  cursor: pointer;
}

.button-primary {
  background: var(--color-primary);
  color: #fff;
}

.button-primary:hover {
    background: var(--color-text);
    color: #fff;
    opacity: 1;
}

.buttonwrapper {
  display: flex;
  width: 100%;
  gap: 10px;
  flex-wrap: wrap;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .button {
    font-size: 1.8rem;
    padding: 0.6em 1.6em;
  }
}

/* STYLING MAGNIFIC-POPUP */

.gallery-arrow {
  font-family: "Font Awesome 6 Pro";
  font-size: 30px;
  font-weight: 300;
  color: #fff;
  position: absolute;
  top: 50%;
  margin-top: -15px;
  display: block;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  z-index: 9999;
}
.gallery-arrow-left{
  left: 30px;
}
.gallery-arrow-left:before{
  content: '\f053'; /* < */
}
.gallery-arrow-right{
  right: 30px;
}
.gallery-arrow-right:before{
  content: '\f054'; /* > */
}

/* GRID */

.gridcontent {
  display: grid;
  grid-gap: 50px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gridcontent .grid-item {
  height: 200px;
  background: var(--color-primary);
}

@media only screen and (max-width: 1279px) { /* Tablet Horizontal */
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .gridcontent {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MAIN MENU */

.mainmenu {
  padding: 60px 0 45px 0;
}

.menu-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.logoandpayoff {
  display: flex;
  align-items: center;
  gap: 35px;
}

.logoandpayoff img {
  width: 80px;
}

.logoandpayoff p {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2em;
}

nav ul {
  display: flex;
  gap: 35px;
}

nav li {
  flex-shrink: 0;
}

nav a {
  opacity: 0.7;
  text-decoration: none;
}

nav a:hover {
  opacity: 1;
}

a.activemenu {
  font-weight: 700;
}

.language {
  position: absolute;
  right: 0;
  top: -35px;
  text-decoration: none;
  font-size: 1.4rem;
  color: var(--color-text);
  opacity: 0.6;
  line-height: 1em;
}

.menytrigger {
  display: none;
}

  nav a.linkedin {
  font-size: 120%;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  
  .mainmenu {
    padding: 50px 0 25px 0;
  }
  
  .logoandpayoff {
    gap: 25px;
  }
  
  .logoandpayoff img {
    width: 64px;
  }
  
  .logoandpayoff p {
    font-size: 2.1rem;
  }
  
  .menytrigger {
    display: block;
  }
  
  .menytrigger-hvit {
    position: absolute;
    top: 69px;
    right: 6%;
  }
  
  .menytrigger-hvit .hamburger-inner, .menytrigger-hvit .hamburger-inner:before, .menytrigger-hvit .hamburger-inner:after {
    background-color: #fff !important;
  }

  nav {
    display: block;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    background: var(--color-primary);
    z-index: 900;
    
    padding: 140px 6%;
  }
  
  body.menu-visible nav {
    opacity: 1;
    -webkit-transition: -webkit-opacity 0.5s ease-in, -webkit-transform 0.5s ease-in;
    -moz-transition: -moz-opacity 0.5s ease-in, -moz-transform 0.5s ease-in;
    -o-transition: -o-opacity 0.5s ease-in, -o-transform 0.5s ease-in;
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
    visibility: visible;
  }
  
  body.menu-visible {
    overflow-y: hidden; /* no scrollbar body when menu visible */
  }
  
  nav ul {
    display: block;
  }
  
  nav ul {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  nav a {
    display: block;
    opacity: 1;
    color: #fff;
    font-size: 2.5rem;
    padding: 20px 0;
  }
  
  .linkedin-list {
    display: none;
  }
}


/* FLUID CONTENT */

.hvitfluid + .hvitfluid {
  margin-top: var(--global-negative-margin-bottom);
}

.hvittekst {
  color: #fff;
}

.hvittekst a {
  color: #fff;
}

.skyggeskrift {
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.51), 2px 2px 2px rgba(0, 0, 0, 0.1);
}

/* HERO BANNER */

.herobanner {
  position: relative;
  width: 100%;
  height: 650px;
  background: #fff;
}

.fillparent {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.herobanner-transparent {
  background-color: #000;
  pointer-events: none;
}

.herobanner-payoff-flex {
  pointer-events: none;
  display: flex;
  align-items: center;
}

.herobanner h1 {
  position: relative;
  font-size: 7.5rem;
  color: #fff;
}

.herobanner .button {
  margin-top: 40px;
  pointer-events: auto;
}

.herobanner-video video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover; 
  object-fit: cover;
}

.herobanner + .footer,
.herobanner + .bakgrunnsfarge {
  margin-top: var(--global-negative-margin-bottom);
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .herobanner {
    height: 520px;
  }
  
  .herobanner-payoff-flex {
    text-align: center;
  }
  
  .herobanner h1 {
    font-size: 6.5rem;
    text-align: center;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .herobanner {
    height: 440px;
  }
  
  .herobanner h1 {
    font-size: 4.0rem;
  }
}

/* Innhold-tittel */

.innhold-tittel {
  margin-top: var(--global-margin-bottom);
}


/* Innhold-ingress */

.innhold-ingress {
  padding: var(--global-margin-bottom) 0;
}

.innhold-ingress + .innhold-brodtekst {
  position: relative;
  top: -2em;
}

.innhold-ingress,
.footer-kontaktoss {
  font-size: 3.5rem;
}

@media only screen and (max-width: 1279px) { /* Tablet Horizontal */
  .innhold-ingress,
  .footer-kontaktoss {
    font-size: 3rem;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .innhold-ingress,
  .footer-kontaktoss {
    font-size: 2.4rem;
  }
}

/* Innhold-fordeler */

.innhold-fordeler {
  color: #fff;
  padding: var(--global-margin-bottom) 0;
}

.fordeler-text-flex {
  margin-top: 150px;
  display: flex;
  gap: 50px;
}

.fordeler-textcolumn {
  width: 100%;
}

.fordeler-textcolumn h3 {
  margin-bottom: 0.8em;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .fordeler-text-flex {
    margin-top: 30px;
  }
  
  .fordeler-text-flex {
    flex-direction: column;
    gap: 40px;
  }
  
  .fordeler-textcolumn h3 {
    margin-bottom: 0.3em;
  }
}

/* Innhold-hr */

.innhold-hr {
  padding: var(--global-margin-bottom) 0;
  margin: 1em 0;
}

/* Innhold brodtekst */

.innhold-brodtekst {
  padding: var(--global-margin-bottom) 0;
}

/* Innhold-bilde */

.bildegrid {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
}

.innhold-brodtekst + .innhold-bilde {
  margin-top: var(--global-negative-margin-bottom-half);
}

.innhold-bilde + .innhold-brodtekst {
  margin-top: -30px;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .bildegrid {
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
  }
  
  .innhold-bilde + .innhold-brodtekst {
    margin-top: -10px;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horisontal */
  .bildegrid {
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
  }
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .bildegrid {
    grid-template-columns: 1fr;
  }
}

/* Innhold-kundereferanse-stor og Innhold-kundereferanser */

.innhold-kundereferanse-stor {
  color: #fff;
  padding: var(--global-margin-bottom) 0;
}

.innhold-kundereferanse-stor .videowrapper {
  margin-top: 2.5em;
  margin-bottom: 2em;
}

.kundereferanse-flex {
  display: flex;
  gap: 40px;
  padding: 1em 0;
}

.kundereferanse-logo {
  width: 35%;
}

.kundereferanse-sitat {
  width: 65%;
}

.logo-flex {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kundereferanse-sitat-sitat {
  font-weight: 600;
  font-style: italic;
  margin-bottom: 1em;
}

.kundereferanse-kilde {
  font-size: 1.8rem;
}

.innhold-kundereferanser {
  padding: var(--global-margin-bottom) 0;
}

.snureferanse .kundereferanse-logo {
  order: 2;
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .kundereferanse-flex {
    flex-direction: column;
    gap: 30px;
  }
  
  .kundereferanse-logo,
  .kundereferanse-sitat {
    width: 100%;
  }
  
  .snureferanse .kundereferanse-logo {
    order: 0;
  }
  
  .kundereferanse-kilde {
    font-size: 1.6rem;
  }
}

/* Innhold-tekstpaabilde */

.innhold-tekstpaabilde {
  padding: var(--global-margin-bottom) 0;
}

.tekstpaabilde-tekst {
  margin-top: 2.5em;
  font-style: italic;
}

.tekstpaabilde-logo {
  margin-top: 2em;
}

.innhold-tekstpaabilde > * {
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.51), 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.innhold-tekstpaabilde + .fargetingress {
  margin-top: var(--global-negative-margin-bottom);
}

/* Innhold-tittel-tekst-bakgrunn */

.innhold-tittel-tekst-bakgrunn {
  padding: var(--global-margin-bottom) 0;
}

.innhold-tittel-tekst-bakgrunn h1 {
  margin-bottom: 1em;
}

.innhold-tittel-tekst-bakgrunn + .footer {
  padding-top: var(--global-negative-margin-bottom);
}

/* Innhold-bildegalleri */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: minmax(250px, 10vw);
  grid-auto-flow: dense;
  grid-gap: 5px;
}

.gallery > a > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery > a {
  overflow: hidden;
  position: relative;
}

.gallery a:hover img {
  transform: scale(1.2);
}

.gallerycenter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallerycenter div {
  background: #282828;
  width: 50px;
  height: 50px;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.25s ease;
  border-radius: 5px;
}

.gallery a:hover .gallerycenter div {
  opacity: 1;
}

.gallerycenter i {
  color: #fff;
}

.portrait {
  grid-row: span 2;
}

.medium {
  grid-column: span 2;
  grid-row: span 2;
}

.big {
  grid-column: span 2;
  grid-row: span 3;
}

@media only screen and (max-width: 567px) { /* Mobile Horisontal */
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  
  .square,
  .portrait,
  .medium,
  .big {
    grid-column: 1 / -1;
    grid-row: span 1; 
  }
}

/* Innhold-filnedlasting */
/* Innhold-lenke */

.filoglenke-index {
   border-top: 1px solid var(--color-text);
}

.filoglenke-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--color-text);
  line-height: var(--standard-lineheight);
  padding: 0.8em 0;
}

.filoglenke-item span {
  opacity: 0.5;
  font-size: 1.6rem;
  margin-left: 6px;
}

.filoglenke-item i {
  margin-left: auto;
  position: relative;
  padding-left: 40px;
  font-size: 130%;
}

/* Innhold-bildeogtekst */

.bildeogtekst-flex {
  display: flex;
  gap: 40px;
}

.bildeogtekst-bilde {
  width: 30%;
  min-width: 250px;
}

.bildeogtekst-tekst {
  width: 70%;
  display: flex;
  align-items: center;
}

.switch-place .bildeogtekst-bilde {
  order: 2;
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .bildeogtekst-flex {
    flex-wrap: wrap;
  }
  
  .bildeogtekst-bilde,
  .bildeogtekst-tekst {
  width: 100%;
  }
}

/* Innhold-apne-lukke-tekst */

.innhold-apne-lukke-tekst {
  padding: var(--global-margin-bottom) 0;
}

.list-index {
  border-top: 1px solid var(--color-text);
}

.list-item {
  border-bottom: 1px solid var(--color-text);
}

.list-index .list-tittel {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8em 0;
  font-size: 2.5rem;
}

.list-index .list-tittel i {
  margin-left: 40px;
}

.list-index .listeinnhold {
  padding: 15px 40px 30px 30px;
}

@media only screen and (max-width: 1279px) { /* Tablet Horizontal */
  .list-index .list-tittel {
    font-size: 2.2rem;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .list-index .listeinnhold {
    padding: 10px 40px 30px 20px;
  }
  
  .list-index .list-tittel {
    font-size: 2rem;
  }
}

/* Innhold-apne-lukke-tekst slutt */

/* Kontaktpersoner */

.innhold-kontaktpersoner-alle {
  padding: var(--global-margin-bottom) 0;
}

.kontaktperson-item p {
  line-height: 1.4em;
}

img.portrettbilde,
.portrettbilde {
  background: rgba(216, 216, 216, 1);
  aspect-ratio: 277 / 184;
  object-fit: cover;
  margin-bottom: 15px;
}

.kontaktperson-item h3 {
  font-weight: 700;
  margin-bottom: 0.1em;
}

.innhold-kontaktpersoner-utvalgt .kontaktperson-item {
  background-color: var(--color-lightbackground);
  display: flex;
}

.innhold-kontaktpersoner-utvalgt .kontaktperson-item .portrettbilde {
  width: 170px;
  margin-bottom: 0;
  shrink: 0;
}

.innhold-kontaktpersoner-utvalgt .kontaktperson-personalia {
  padding: 30px;
  display: flex;
  align-items: flex-end;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .innhold-kontaktpersoner-utvalgt .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .innhold-kontaktpersoner-utvalgt .kontaktperson-item {
    flex-direction: column;
  }
  
  .innhold-kontaktpersoner-utvalgt .kontaktperson-item .portrettbilde {
    width: 100%;
  }
  
  .innhold-kontaktpersoner-utvalgt .kontaktperson-personalia {
    padding: 20px;
  }
}

/* Kontaktpersoner slutt */


/* FOOTER */

.footer {
  position: sticky;
  top: 100vh;
  background: var(--color-primary);
  padding: 90px 0 30px 0;
  color: #fff; 
  font-size: 2.0rem;
}

.footer-kontaktoss {
  text-align: center;
  margin-bottom: var(--global-margin-bottom);
}

.footer p {
  line-height: 1.3em;
}

.footer a {
  color: #fff;
}

.footer a:hover {
  color: #fff;
  opacity: 0.6;
}

.footer-flex {
  display: flex;
  gap: 100px;
}

.footer-logo {
  flex-shrink: 0;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 15px;
}

.footer-payoff {
  font-size: 28px;
}

.footer-adresses {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 60px;
}

.footer-adresses div {
  min-width: 170px;
}

.adress3 a {
  text-decoration: none;
}

.footer .linkedin {
  position: relative;
  top: 0.3em;
  font-size: 120%;
}

.credits {
  display: block;
  font-size: 16px;
  margin-top: 100px;
  opacity: 0.6;
}

.credits br {
  display: none;
}

.innhold-adresser-fra-footer {
  padding: var(--global-margin-bottom) 0;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .footer {
    position: sticky;
    top: 100vh;
    background: var(--color-primary);
    padding: 60px 0 30px 0;
    color: #fff; 
    font-size: 1.8rem;
  }
  
  .footer-logo img {
    width: 110px;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .footer-flex {
    display: block;
  }
  
  .footer-logo {
    margin-bottom: 50px;
  }
  
  .footer-adresses {
    justify-content: center;
    gap: 30px 60px;
  }
  
  .innhold-adresser-fra-footer .footer-adresses {
    justify-content: flex-start;
  }
  
  .footer-adresses div {
    text-align: center;
  }
  
  .innhold-adresser-fra-footer .footer-adresses div {
    text-align: left;
  }
  
  .credits {
    text-align: center;
  }
  
  .credits br {
    display: inline-block;
  }
  
}