@charset "UTF-8";

@font-face {
    font-family: 'apercu-regular';
    src: url('fonts/apercufont/apercu-regular-web/apercu-regular.eot');
    src: url('fonts/apercufont/apercu-regular-web/apercu-regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/apercufont/apercu-regular-web/apercu-regular.woff') format('woff'),
         url('fonts/apercufont/apercu-regular-web/apercu-regular.woff2') format('woff2'),
         url('fonts/apercufont/apercu-regular-web/apercu-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'apercu-medium';
    src: url('fonts/apercufont/apercu-medium-web/apercu-medium.eot');
    src: url('fonts/apercufont/apercu-medium-web/apercu-medium.eot?#iefix') format('embedded-opentype'),
         url('fonts/apercufont/apercu-medium-web/apercu-medium.woff') format('woff'),
         url('fonts/apercufont/apercu-medium-web/apercu-medium.woff2') format('woff2'),
         url('fonts/apercufont/apercu-medium-web/apercu-medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'apercu-bold';
    src: url('fonts/apercufont/apercu-bold-web/apercu-bold.eot');
    src: url('fonts/apercufont/apercu-bold-web/apercu-bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/apercufont/apercu-bold-web/apercu-bold.woff') format('woff'),
         url('fonts/apercufont/apercu-bold-web/apercu-bold.woff2') format('woff2'),
         url('fonts/apercufont/apercu-bold-web/apercu-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mercury Display';
    src: url('fonts/mercury/MercuryDisplay-Bold.eot');
    src: url('fonts/mercury/MercuryDisplay-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/mercury/MercuryDisplay-Bold.woff2') format('woff2'),
        url('fonts/mercury/MercuryDisplay-Bold.woff') format('woff'),
        url('fonts/mercury/MercuryDisplay-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mercury Display';
    src: url('fonts/mercury/MercuryDisplay-Semibold.eot');
    src: url('fonts/mercury/MercuryDisplay-Semibold.eot?#iefix') format('embedded-opentype'),
        url('fonts/mercury/MercuryDisplay-Semibold.woff2') format('woff2'),
        url('fonts/mercury/MercuryDisplay-Semibold.woff') format('woff'),
        url('fonts/mercury/MercuryDisplay-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mercury Display';
    src: url('fonts/mercury/MercuryDisplay-Roman.eot');
    src: url('fonts/mercury/MercuryDisplay-Roman.eot?#iefix') format('embedded-opentype'),
        url('fonts/mercury/MercuryDisplay-Roman.woff2') format('woff2'),
        url('fonts/mercury/MercuryDisplay-Roman.woff') format('woff'),
        url('fonts/mercury/MercuryDisplay-Roman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*
	Theme Name: Perhoj 2019
	Author: Cecce
	Author URI: http://perhoj.no/
	Description: Nytt Per Høj design!
	Version: 1.3
 */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain) */
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; }

ol, ul {
  list-style: none; }

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

* {
    font-family: 'apercu-regular', 'helvetica', arial, sans-serif;
    box-sizing: border-box;
}

body {
  font-family: 'apercu-regular', 'helvetica', arial, sans-serif;
  font-size: 16px;
}

h1 {
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.1em;
  font-size: 2.375rem;
  font-family: 'Mercury Display';
}

h1.invisible{
    display: none;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700; }

h2 {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2em; }

h4 {
  font-weight: 500;
  font-size: 1.25rem; }

h5 {
  font-size: 1em;
  font-weight: 600;
  color: #64676d; }

h6 {
  color: #989898;
  font-weight: 500; }

small {
  font-size: 0.75em;
  max-width: 600px;
  display: block;
  line-height: 1.4em; }

em {
  font-style: italic; }

b,
strong {
  font-weight: 500; }

p {
  line-height: 1.5em;
  color: inherit;
  font-weight: 400;
  font-size: 18px;
  font-family: 'apercu-regular', 'helvetica', arial, sans-serif; }

p.luftig{
    padding: 74px 0px;
    max-width: 440px;
}

p.luftig-topp{
    padding-top: 74px;
    max-width: 440px;
}

p.luftig-bunn{
    padding-bottom: 74px;
    max-width: 440px;
}

p.mercury{
    max-width: 440px;
    font-size: 30px;
    font-weight: 600;
    font-family: 'Mercury Display';   
}

p.left{
    max-width: 440px;
    margin-left: 8.33%;  
    margin-right: auto;
}

p.right{
    max-width: 440px;
    margin-left: auto;
    margin-right: 8.33%;
}

p a {
  text-decoration: underline;
  font-weight: 400;
  margin: 1em 0 0em;
  cursor: pointer; }

a {
  text-decoration: none;
  color: inherit;
  font-size: inherit;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

*, body{
    cursor: none;
}

::-moz-selection { /* Code for Firefox */
  color: white;
  background: rgba(0, 0, 0, 0.996)
}

::selection {
  color: white;
  background: rgba(0, 0, 0, 0.996)
}


/*** CUSTOM CURSOR START ***/
#custom-cursor{
    z-index: 9999999;
    position: fixed;
    width: 15px;
    height: 15px;

    pointer-events: none;
    user-select: none;
    cursor: none;

    transition-property: transform;
    transition-duration: .1s;

    overflow: hidden;
    border: 3px solid black;
    background: white;
    opacity: 0;
}

#custom-cursor.link{
    background: black;
/*    border: 1px solid black;*/
}

#custom-cursor.link.dark{
    background: white;
/*    border: 1px solid black;*/
}

#custom-cursor.hover{
    border: none;
    background: none;
}

#custom-cursor.dark{
    border: 3px solid white;
}

#custom-cursor .cursor-content{
    opacity: 0;
    pointer-events: none;
    user-select: none;
}

#custom-cursor.hover .cursor-content{
    opacity: 1;
}

#custom-cursor .pri{
    display: inline-block;
    padding: 8px 12px;
    transition-duration: .075s;
    border: 3px solid black;
    background: white;
    pointer-events: none;
    user-select: none;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Mercury Display';
}

#custom-cursor .sec{
    text-transform: uppercase;
    font-family: 'apercu-bold';
    letter-spacing: 1px;
    display: inline-block;
    background-color: black;
    padding: 8px 12px;
    font-size: 15px;
    color: white;
    pointer-events: none;
    user-select: none;
}
/*** CUSTOM CURSOR END ***/


#sidenav{
    position: fixed;
    z-index: 998;
    left: 10px;
    top: 0px;
    width: 64px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.social-icon{
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 34px;
}

.social-icon.face{
    background-image: url("./graphics/fb.svg");
}

.social-icon.insta{
    background-image: url("./graphics/ig.svg");
}

#topbar {
    position: fixed;
    z-index: 998;
    top: 32px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0px 8.33%;
}

#topbar .main-nav{
    width: 100%;
    display: flex;
    position: relative;
}

#search{
    position: fixed;
    z-index: 999;
    left: 24px;
    top: -2px;
    transform-origin: left bottom;
    transform: rotate(90deg);
    
    display: flex;
    align-items: flex-end;
}

#search #search-icon{
    position: relative;
    width: 29px;
    height: 29px;
    background-size: 30px;
    margin-right: 12px;
    margin-bottom: 6px;
    background-image: url("./graphics/search.svg");
    background-size: 34px;
}

#search #search-field{
    background: none;
    font-size: 18px;
/*    height: 32px;*/
    padding-bottom: 6px;
    vertical-align: baseline;
    font-family: 'apercu-bold';
    border: none;
    outline: none;
    border-bottom: 3px solid rgba(0, 0, 0, 0);
    border-bottom: 3px solid black;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    visibility: hidden;
}

#search #search-field.show{
    visibility: visible;
}

/*
#search #search-field:focus, #search #search-field:active{
    border-bottom: 3px solid black;
}
*/

#topbar .main-nav ul{
    display: flex;
    list-style-type: none;
}

#topbar .main-nav li{
    position: relative;
    width: 100px;
    padding-bottom: 7px;
    margin-right: 2vw;
    border-bottom: 3px solid rgba(255, 255, 255, 0);
}

#topbar .main-nav li a{
    display: inline-block;
    width: 100%;
    font-family: 'apercu-bold', 'helvetica', arial, sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#topbar a#logo{
    border-bottom: 3px solid rgba(0,0,0,0);
    margin-right: 2px;
}

#topbar a#logo svg{
    width: 100px;
    height: 30px;
}

#topbar .main-nav li.current_page_item{
    border-bottom: 3px solid black;
}

.featured-grid{
    overflow: hidden;
    padding: 154px 0px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 24px;
}

.view-more-container{
    padding: 0px 8.33%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 54px;
}

a.view-more{
    display: block;
    width: 200px;

    font-size: 20px;
    letter-spacing: 1px;
    font-family: 'apercu-bold';
    text-transform: uppercase;

    padding: 6px 0px;

    position: relative;
}

a.view-more::after{
    position: absolute;
    content: "";

    right: 3px;
    top: calc(50% - 2px);

    height: 3px;
    width: calc(100% - 100px);
    background-color: black;

    transition-duration: .25s;
}

a.view-more:hover::after{
    transform: translateX(10px);
}

.featured-grid .case{
    display: block;
    background-color: white;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    z-index: 1;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateX(100px);
    transition-duration: .5s;
    transition-property: transform, opacity;

/*      box-shadow: black 0px 0px 0 0;*/
/*    filter: grayscale(100%)*/
}

.featured-grid .case:nth-of-type(even){
    transform: translateX(-100px);
}

.featured-grid .case.in-viewport{
    transform: translateX(0px);
    opacity: 1;
}

/*
.featured-grid .case:hover{
    box-shadow: black 15px 15px 0 0;
}
*/

.featured-grid .case video, .case-grid .case video{
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.featured-grid .case:nth-of-type(1){
    grid-column: 5 / 12;
    height: 34vw;
}

.featured-grid .case:nth-of-type(2){
    grid-column: 1 / 6;
    height: 50vw;
    margin-bottom: 160px;
}

.featured-grid .case:nth-of-type(3){
    grid-column: 5 / 10;
    height: 36vw;
    margin-bottom: 0px;
}

.case-info{
    position: absolute;
    z-index: 1;
    bottom: -24px;
    left: -24px;
    display: none;
    min-width: 300px;
}

.case-info .case-title{
    font-size: 24px;
    background: white;
    color: black;
    padding: 8px 10px;
    display: inline-block;
    margin-bottom: 0px;
    font-weight: 600;
    font-family: 'Mercury Display';
}

.case-info .case-client{
    font-family: 'apercu-bold';
    letter-spacing: 1px;
    font-size: 15px;
    background: black;
    color: white;
    padding: 8px 10px;
    display: inline-block;
    text-transform: uppercase;
}



/*** FEATURED NEWS ***/
.featured-news{
    width: 100%;
    padding: 72px 8.33%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.featured-news a{
    border: 3px solid black;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 32px;
    font-size: 32px;
    line-height: 36px;
    font-family: 'apercu-regular';
    width: calc(50% - 12px);
    background-color: black;
    color: white;
    margin-bottom: 24px;
}

.featured-news a .link-host{
    text-transform: uppercase;
    font-family: 'apercu-bold';
    font-size: 15px;
    letter-spacing: 1px;
    padding: 6px 16px;
    margin-bottom: 28px;
    background-color: white;
    color: black;
}

.featured-news a .les-mer{
    margin-top: 24px;
    text-transform: uppercase;
    font-family: 'apercu-bold';
    font-size: 15px;
    letter-spacing: 1px;
}

.featured-news a:hover{
    background-color: white;
    color: black;
}

.featured-news a:hover .link-host{
    background-color: black;
    color: white;
}

/*** FEATURED NEWS COPY START ***/
/*
.featured-news{
    width: 100%;
    padding: 52px 8.33%;
    display: flex;
    justify-content: space-between;
}

.featured-news a{
    border: 3px solid black;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 32px;
    font-size: 32px;
    line-height: 36px;
    font-family: 'Mercury Display';
    width: calc(50% - 12px);
}

.featured-news a:nth-of-type(odd){
    background-color: black;
    color: white;
}
.featured-news a:nth-of-type(odd):hover{
    background-color: white;
    color: black;
    font-family: 'apercu-medium';
}

.featured-news a:nth-of-type(even){
    background-color: white;
    color: black;
    margin-right: 24px;
}
.featured-news a:nth-of-type(even):hover{
    background-color: black;
    color: white;
    font-family: 'apercu-medium';
}

.featured-news a:last-of-type{
    margin-right: 0px;
}

.featured-news a .link-host{
    text-transform: uppercase;
    font-family: 'apercu-bold';
    font-size: 18px;
    letter-spacing: 1px;
    padding: 6px 16px;
    margin-bottom: 24px;
}

.featured-news a .les-mer{
    margin-top: 24px;
    text-transform: uppercase;
    font-family: 'apercu-bold';
    font-size: 18px;
}

.featured-news a:nth-of-type(odd) .link-host{
    background-color: white;
    color: black;
}
.featured-news a:nth-of-type(odd):hover .link-host{
    background-color: black;
    color: white;
}

.featured-news a:nth-of-type(even) .link-host{
    background-color: black;
    color: white;
}
.featured-news a:nth-of-type(even):hover .link-host{
    background-color: white;
    color: black;
}
*/
/*** FEATURED NEWS COPY END ***/

#grid-icon{
/*
    position: absolute;
    top: 150px;
*/
    width: 50px;
    height: 50px;
    display: flex;
    visibility: hidden;
    pointer-events: none;
}

#grid-icon.show{
    visibility: visible;
    pointer-events: all;
}

#grid-icon .icon-element{
    width: 10px;
    height: 10px;
    transition-duration: .1s;
    position: absolute;
    background-color: black;
}

#grid-icon.random .icon-element{
    transition-duration: .15s;
}


#grid-icon .icon-element:nth-of-type(1){
    transform: translateX(14px) translateY(10px);
}
#grid-icon.random .icon-element:nth-of-type(1){
    transform: translateX(6px) translateY(14px);
    width: 18px;
    height: 12px;
}


#grid-icon .icon-element:nth-of-type(2){
    transform: translateX(27px) translateY(10px);
}
#grid-icon.random .icon-element:nth-of-type(2){
    transform: translateX(19px) translateY(2px);
    width: 16px;
    height: 10px;
}



#grid-icon .icon-element:nth-of-type(3){
    transform: translateX(14px) translateY(23px);
}
#grid-icon.random .icon-element:nth-of-type(3){
    transform: translateX(14px) translateY(28px);
}



#grid-icon .icon-element:nth-of-type(4){
    transform: translateX(27px) translateY(23px);
}
#grid-icon.random .icon-element:nth-of-type(4){
    transform: translateX(27px) translateY(14px);
    width: 8px;
    height: 14px;
}



/* case filter */
.case-filter{
    position: fixed;
    z-index: 99;
    right: 0px;
    top: 0px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-filter .years{
    transform: rotate(90deg) translateY(-60px);
    display: flex;
}

.years label{
    display: inline-block;
    margin-right: 24px;
}

/*
.years label:hover > span{
    border-bottom: 3px solid black;
}
*/

.years label span{
    font-family: 'apercu-bold';
    font-size: 16px;
    letter-spacing: 1px;
/*    cursor: pointer;*/
    user-select: none;
    padding: 5px 0px;
    text-transform: uppercase;
}

.years label:last-of-type{
    margin-right: 0;
}

.years input{
    position: absolute;
    pointer-events: none;
    user-select: none;
    opacity: 0;
}

.years input:checked ~ span{
    border-bottom: 3px solid black;
}

.years input:focus ~ span{
    border-bottom: 3px solid black;
}

.case-filter .years label:last-of-type{
    position: relative;
    padding-right: 16px;
    margin-right: 0px;
}

.case-filter .years label:last-of-type::after{
    position: absolute;
    content: "";
    right: 0px;
    top: calc(50% - 1px);
    width: 10px;
    height: 2px;
    background: black;
}
/* case filter */

.case-grid{
    overflow: hidden;
    padding: 154px 8.33%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-column-gap: 24px;
    grid-row-gap: 24px;

    transform: translateY(100px);

    transition-duration: .5s;
    padding-bottom: 0px;
}

.case-grid.fade-in{
    transform: translateY(0px);
}

.case-grid.yolo{
    overflow: hidden;
    padding: 154px 8.33%;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding-bottom: 0px;
}

.case-grid .case{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    z-index: 1;
    opacity: 0;
    transition-duration: .5s;
    transition-property: opacity;

    height: 300px;
}

.case-grid.yolo .case{
    grid-column: 6 / 11;
    height: 36vw;
    transform: translateY(0vw);
}
.case-grid.yolo .case.size1{
    grid-column: 1 / 6;
    height: 50vw;
    transform: translateY(0vw);
}
.case-grid.yolo .case.size2{
    grid-column: 7 / 11;
    height: 28vw;
    z-index: 3;
    transform: translateY(8vw);
}
.case-grid.yolo .case.size3{
    grid-column: 8 / 13;
    transform: translateY(-14vw);
    height: 36vw;
}
.case-grid.yolo .case.size4{
    grid-column: 1 / 7;
    height: 26vw;
    transform: translateY(-35vw);
}
.case-grid.yolo .case.size5{
    grid-column: 7 / 13;
    height: 32vw;
    transform: translateY(-15vw) translateX(-10vw);
}
.case-grid.yolo .case.size6{
    grid-column: 1 / 5;
    height: 36vw;
    transform: translateY(-32vw) translateX(5vw);
}
.case-grid.yolo .case.size7{
    grid-column: 8 / 13;
    height: 36vw;
    transform: translateY(-10vw) translateX(2vw);
}
.case-grid.yolo .case.size8{
    grid-column: 1 / 7;
    height: 24vw;
    transform: translateY(-25vw);
}
.case-grid.yolo .case.size9{
    grid-column: 8 / 13;
    height: 36vw;
    transform: translateY(-10vw) translateX(-5vw);
}
.case-grid.yolo .case.size10{
    grid-column: 2 / 5;
    height: 36vw;
    transform: translateY(-30vw);
}


.case-grid .case .case-info{
    display: inline-block;
    bottom: 0px;
    left: 0px;
    min-width: auto;
}

.case-grid.yolo .case .case-info{
    display: none;
}

.case-grid .case .case-info .case-title{
    font-size: 16px;
}

.case-grid .case .case-info .case-client{
    font-family: 'apercu-bold';
    letter-spacing: 1px;
    font-size: 12px;
}

/*
.case-grid .case:hover > .case-info .case-title{
    background-color: black;
    color: white;
}
*/


.case-grid .case.in-viewport{
    opacity: 1;
}




/***** POST / CASE ****/

.single_post{
    width: 100%;
}

.single_post h3{
    font-size: 26px;
    display: inline-block;
    background: black;
    color: white;
    padding: 8px 16px;
    margin-top: 54px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.single_post .header{
    display: flex;
    align-items: center;
    margin-bottom: 118px;
    padding-top: 25vh;
}
.single_post .header.vertical{
    padding-top: 0;
    padding-right: 8.33%;
}

.header .header_img, .header .header_video{
    width: 50%;
    height: 52vh;
}
.header .header_img img, .header .header_video video{
    width: 100%;
    height: 52vh;
    object-fit: cover;
}

.header.vertical .header_img, .header.vertical .header_video_vertical{
    width: 50%;
    height: 90vh;
}
.header.vertical .header_img img, .header.vertical .header_video_vertical video{
    width: 100%;
    height: 90vh;
    object-fit: cover;
}

.title_wrap{
    display: inline-block;
    text-align: right;
    padding-left: 8.33%;
    width: 50%;
    padding-right: 2.08%;
}

.title_wrap h1.title{
    font-size: 86px;
    display: inline-block;
    line-height: 92px;
    margin-bottom: 16px;
    font-weight: bold;
}

.title_wrap a.title-client{
    font-family: 'apercu-bold';
    letter-spacing: 1.4px;
    display: inline-block;
    background: black;
    color: white;
    padding: 8px 16px;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 24px;
}

.title_wrap .case-date{
    font-size: 18px;
    font-family: 'apercu-bold';
}

.title_wrap .case-date .case-date-y{
    
}

.single_post main{
    width: 100%;
    padding: 0px 8.33%;
}

.single_post main .intro{
    padding-left: 16.66%;
    display: flex;
    max-width: 80%;
    margin-bottom: 124px;
}

.single_post main .intro ul.awards-list{
    display: inline-block;
    width: 30%;
    margin-right: 24px;
}

.single_post main .intro ul.awards-list li.award-item{
    margin-bottom: 24px;
    max-width: 220px;
}

.single_post main .intro ul.awards-list li.award-item p{
    font-size: 16px;
    margin-bottom: 0px;
}

.single_post main .intro ul.awards-list li.award-item b{
    font-size: 16px;
    font-family: 'apercu-bold';
}

.single_post main .intro .intro-text{
    display: inline-block;
    width: 60%;
}

.single_post main .intro .intro-text strong{
    font-family: 'apercu-bold', 'helvetica', arial, sans-serif;
}

.single_post main.article{
    margin-bottom: 32px;
}

.single_post main.article p{
    max-width: 620px;
    margin: 0 auto;
}

.wp-block-gallery{
    padding: 24px 0px;
}

.video-player video{
    max-height: 100vh;
}

/*
.video-player{
    padding: 24px 0px;
    padding-top: 0px;
}
*/

.video-player{
    margin-bottom: 24px;
}

.wp-block-group__inner-container{
    padding: 24px 0px;
}

.wp-block-column .video-player{
    padding: 0px 0px;
}

.wp-block-columns .video-player{
    margin-bottom: 0px;
}

.wp-block-column p{
    margin-bottom: 32px;
}

main p{
    margin-bottom: 32px;
}

.wp-block-columns{
    margin-bottom: 24px;
}

main h2, h2.radio-h2{
    font-family: 'apercu-bold';
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 24px;
    padding: 8px 16px;
    background-color: black;
    color: white;
    margin-top: 32px;
    margin-bottom: 24px;
}

.radio-header{
    width: 100%;
    padding: 0px 8.33%;
}

.radiospots{
    width: 100%;
    padding: 52px 8.33%;
    padding-top: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.audio-player{
    display: inline-block;
    margin-bottom: 24px;
/*
    padding-top: 16px;
    padding-bottom: 16px;
*/
    width: calc(50% - 12px);
}

.audio-player:last-of-type{
    margin-right: 0px;
}

.audio-player .audio-info{
    font-family: 'apercu-bold';
    font-size: 22px;
    padding: 16px;
    display: flex;
    align-items: center;
    border: 3px solid black;
    border-bottom: 0px;
}

.audio-player .audio-icon{
    width: 75px;
    height: 35px;
    background-image: url("./graphics/ph-audio-icon.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 16px
}

.audio-player .audio-time{
    margin-left: auto;
    margin-right: 0px;
}

.audio-player .controls{
    display: flex;
    justify-content: space-between;
}

.audio-player .controls .control-element{
    height: 65px;
    width: 65px;
    min-height: 65px;
    min-width: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    color: white;
    user-select: none;
}

.audio-player .controls .play-pause{
    background-image: url("./graphics/icon-play-white.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 32px;
}

.audio-player .controls .play-pause.playing{
    background-image: url("./graphics/icon-pause-white.svg");
}

.audio-player .controls .mute{
    background-image: url("./graphics/icon-unmute-white.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 32px;
}

.audio-player .controls .mute.muted{
    background-image: url("./graphics/icon-mute-white.svg");
}

.audio-player .controls .timeline{
    position: relative;
    justify-content: flex-start;
    background: black;
    width: 100%;
    margin: 0px 0px;
}

.audio-player .controls .timeline .timeline-current{
    height: calc(100% - 4px);
    height: 4px;
    background: white;
    width: 0%;
}



.timeline-slider {
    position: absolute;
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: rgba(0, 0, 0, 0);
    outline: none;
}

.timeline-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 2px;
    height: 25px;
}

.timeline-slider:active::-webkit-slider-thumb {
    background: white;
}

.timeline-slider::-moz-range-thumb {
    width: 2px;
    height: 25px;
}

.timeline-slider:active::-moz-range-thumb {
    background: white;
}


/*** FOOOTER ****/
#construction-banner{
    position: fixed;
    font-size: 20px;
    z-index: 999;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 6px 0px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    background: black;
    user-select: none;
    pointer-events: none;
}
.marquee{
  display: inline-block;
/*
  padding-left: 100%;
  animation: marquee 30s linear infinite;
*/
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

footer{
    padding: 92px 8.33%;
}

footer .some{
    display: none;
    flex-direction: column;
    justify-content: center;
    margin-right: 18px;
}

footer .some a{
    width: 26px;
    height: 26px;
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
}

footer .some a:first-of-type{
    margin-bottom: 12px;
}

footer .some a.insta{
    background-image: url("./graphics/ig.svg");
}

footer .some a.face{
    background-image: url("./graphics/fb.svg");
}

footer .footer-content p{
    font-size: 16px;
}

footer .footer-content .footer-main{
    display: flex;
}

footer .footer-content .footer-main .post{
    margin-right: 54px;
}

footer .footer-content .footer-main p:first-of-type{
    font-family: 'apercu-bold';
    text-transform: uppercase;
}

@media only screen and (max-width: 1100px) {

    .single_post .header{
        margin-bottom: 118px;
    }

    .title_wrap{
        padding-left: 8.33%;
/*        padding-right: 8.33%;*/
    }

    .title_wrap h1.title{
        font-size: 58px;
        display: inline-block;
        line-height: 58px;
        margin-bottom: 16px;
    }
    .single_post main .intro{
        padding-left: 0%;
        max-width: 100%;
    }

    .featured-news a{
        padding: 24px;
        font-size: 28px;
        line-height: 32px;
    }

    .featured-news a .link-host{
/*        margin-top: 16px;*/
        padding: 4px 12px;
    }

}




/**** OM OSSS ****/

.about-nav{
    position: fixed;
    z-index: 9999;
    top: 50%;
    right: 0px;
    transform: translateX(86px) rotate(90deg);
}

.about-nav a.about-nav-item{
    margin-right: 16px;
    font-family: 'apercu-medium';
    font-size: 16px;
    user-select: none;
    letter-spacing: 0px;
    padding: 5px 0px;
}

.about-nav a.about-nav-item:last-of-type{
    margin-right: 0px;
}

.about-nav a.about-nav-item.active{
    border-bottom: 3px solid black;
}

.about-wrapper section{
    margin-bottom: 154px;
    opacity: 0;
    transition-property: transform, opacity;
    transition-duration: .5s;
    transform: translateX(-50px);
}

.about-wrapper section:nth-of-type(even){
    transform: translateX(50px);
}

.about-wrapper section.in-viewport{
    opacity: 1;
    transform: translateX(0px);
}

.section-title{
    font-size: 42px;
    font-family: 'apercu-regular';
    margin-bottom: 36px;
    user-select: none;
}

.about-wrapper{
    overflow: hidden;
    padding: 118px 0px;
    padding-top: 20vh;
    width: 100%;
}



/*** PEOPLE ***/
.people{
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.ansatt-bilde{
    position: absolute;
    left: 0;
    top: 0;
/*
    top: 25%;
    left: 12.495%;
*/
    width: 300px;
    height: 0px;
    transition-property: height;
    transition-duration: .15s;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.ansatt-bilde.show{
    height: 450px;
}

.people .section-title{
    padding-left: 16px;
}
    
.avdeling{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0px;
}

.ansatt{
    font-size: 14px;
    width: 50%;
    min-width: 230px;
/*    cursor: pointer;*/
    position: relative;
}

.ansatt span{
    display: block;
}

.ansatt .primary span:first-of-type{
    font-family: 'apercu-bold';
    font-size: 16px;
    margin-bottom: 4px;
}

.ansatt.active{
    z-index: 99;
}

.ansatt:hover > .primary{
    border: 2px solid black;
}

.ansatt .primary{
    z-index: 10;
    padding: 12px 16px;
    border: 2px solid white;
    background-color: white;
    user-select: none;
}

.ansatt.active .primary{
    border: 2px solid black;
}

.ansatt.active .secondary{
    padding: 16px;
    height: 76px;
}

.ansatt.active .secondary{
    pointer-events: all;
}

.ansatt .secondary{
    pointer-events: none;
    z-index: 9;
    width: 100%;
    background-color: black;
    color: white;
    height: 0px;
    transition-duration: .15s;
    font-size: 16px;

    display: flex;
}

.ansatt .secondary .image{
    width: 100%;
    height: 100%;
    background-color: red;
}

.ansatt .secondary a{
    display: block;
}

.ansatt .secondary a:first-of-type{
    margin-bottom: 6px;
}

.ansatt .secondary a:hover{
    text-decoration: underline;
}


/*** Award ***/
.awards{
    padding-right: 4.165%;
    display: flex;
    color: white;
}

.award-case-image{
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
    user-select: none;
}

.award-list-wrapper{
    position: relative;
    width: 100%;
    min-width: 800px;
    background-color: black;
    padding: 54px;
    padding-bottom: 24px;
}

.award-header{
    display: flex;
    font-family: 'apercu-bold';
    font-size: 16px;
    margin-bottom: 16px;
}

.award-header-ar{
    width: 62px;
    padding-right: 12px;
}

.award-header-pris{
    flex: 1;
    padding-right: 12px;
}

.award-header-case{
    flex: 1.5;
    padding-right: 12px;
}

.award-header-client{
    flex: .8;
}




.award{
    font-size: 16px;
    display: flex;
    padding: 10px 0px;
    line-height: 24px;
    user-select: none;
/*    cursor: pointer;*/
}

.award:hover{
    text-decoration: underline;
}

.award-list{
    position: relative;
    margin-bottom: 24px;
}

.award-list .page{
    display: none;
}

.award-list .page:first-of-type{
    display: block;
}

.award-ar{
    width: 62px;
    padding-right: 12px;
}

.award-pris{
    flex: 1;
    padding-right: 12px;
}

.award-pris span:first-of-type{
    font-family: 'apercu-bold';
}

.award-pris span#year{
    display: none;
}

.award-case{
    flex: 1.5;
    padding-right: 12px;
}

.award-client{
    flex: .8;
}

.award-case span{
    font-family: 'apercu-bold';
}

.award-container{
    position: relative;
    padding-bottom: 0px;
}


.award-pages{
    display: flex;
    justify-content: flex-end;
    padding: 16px 0px;
    font-size: 16px;
    font-family: 'apercu-bold';
    user-select: none;
}

.award-pages #page-total{
    width: 80px;
    padding: 16px 0px;
    text-align: center;
}

.award-pages .award-page-nav{
    position: relative;
/*    cursor: pointer;*/
    width: 40px;
}

.award-pages .award-page-nav::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background: white;
    left: 0px;
    top: 50%;
    transition-duration: .1s;
}

.award-pages #next-page:hover::after{
    transform: translateX(5px);
}

.award-pages #prev-page:hover::after{
    transform: translateX(-5px);
}

/**** Hvem er PER? ***/
.per-who{
    width: 100%;
    padding: 120px 8.33%;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    font-family: 'apercu-bold';
    line-height: 92px;
    margin-left: -10px;
}

.per-who .who-are{
    font-size: 132px;
    line-height: 112px;
    -webkit-text-stroke: 1.5px black;
    margin-bottom: -10px;
}

.per-who .who-are span#line-two{
    letter-spacing: 14px;
}

.per-who .who-are span#p{
    color: white;
    -webkit-text-stroke: 1.5px black;
}

.per-who .per-line{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.per-who .per-line .primary{
    font-size: 132px;
    color: white;
    -webkit-text-stroke: 1.5px black;
    margin-right: 24px;
    letter-spacing: 14px;
}

.per-who .per-line .secondary{
    font-size: 32px;
    line-height: 40px;
    opacity: 0;
    font-family: 'Mercury Display';
}

.per-who .per-line .primary:hover{
   color: black;
}

.per-who .per-line .primary:hover + .secondary{
    opacity: 1;
}


/**** PER WHO COPY ****/
/*
.per-who{
    width: 100%;
    padding: 120px 16.66%;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    line-height: 160px;
}

.per-who .who-are{
    font-size: 152px;
}

.per-who .who-are span#line-two{
    letter-spacing: 14px;
}

.per-who .who-are span#p{
    color: white;
    -webkit-text-stroke: 2px black;
}

.per-who .per-line{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.per-who .per-line .primary{
    font-size: 152px;
    color: white;
    -webkit-text-stroke: 2px black;
    margin-right: 10px;
    letter-spacing: 14px;
}

.per-who .per-line.preview .primary{
    color: black;
}

.per-who .per-line .secondary{
    font-weight: 500;
    font-weight: bold;
    font-size: 30px;
    line-height: 40px;
    opacity: 0;
}

.per-who .per-line.preview .secondary{
    opacity: 1;
}
*/


/*** PER WHO NEW 2021 ***/
.per-who{
    padding: 120px 8.33%;
    padding-bottom: 0px;
}

.per-who h1{
    font-size: 86px;
    display: inline-block;
    line-height: 92px;
    font-weight: bold;
    font-family: 'Mercury Display';
    text-align: right;
    margin-bottom: 92px;
    
    max-width: 50%;
}

.per-who h3{
    margin: 0;
    padding: 0;
    line-height: 24px;
    margin-bottom: 16px;
    font-size: 22px;
}

.per-who .text{
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 980px;
    padding: 16px;
    margin: 0px auto;
}

.per-who p{
    line-height: 1.5em;
    color: inherit;
    font-weight: 400;
    font-size: 18px;
    font-family: 'apercu-regular', 'helvetica', arial, sans-serif;
    margin-bottom: 16px;
}

.per-who .text .block{
    width: 50%;
    margin-right: 92px;
}

.per-who .text .block:last-of-type{
    margin-right: 0px;
}

.kbpige{
    font-size: 42px;
    font-family: 'apercu-regular', sans-serif;
    line-height: 54px;
    margin: 132px 0px;
}

.kbpige .kbpige-text, .kbpige .no-text{
    position: relative;
    color: white;
    animation-duration: 0s;
    animation-fill-mode: forwards;
}

.kbpige.animate .kbpige-text, .kbpige .no-text{
    animation-name: changeTextColor;
}

.kbpige .kbpige-text.one{
    animation-delay: .4s;
}

.kbpige .kbpige-text.two{
    animation-delay: 1.2s;
}

.kbpige .kbpige-text.three{
    animation-delay: 2s;
}

/*
.kbpige .no-text{
    animation-delay: 5.2s;
}
*/

.kbpige .kbpige-text::after{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 100%;
    background: black;
    animation-duration: .8s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

.kbpige.animate .kbpige-text::after{
    animation-name: kbpige-animation; 
}

/*
.kbpige .kbpige-text.one::after{
    animation-delay: 1s;
}
*/

.kbpige .kbpige-text.two::after{
    animation-delay: .8s;
}

.kbpige .kbpige-text.three::after{
    animation-delay: 1.6s;
}

@keyframes kbpige-animation{
  0% {
    right: 100%;
  }
  50% {
    right: 0;
    left: 0;
  }
  100% {
    right: 0;
    left: 100%;
  }
}

@keyframes changeTextColor{
    from{
        color: white;
    }
    to{
        color: black;
    }
}

@media only screen and (max-width: 1200px) {
    
    .per-who h1{
        font-size: 72px;
        line-height: 78px;
        max-width: 80%;
    }
    
    .per-who .text .block{
        margin-right: 54px;
    }
}

@media only screen and (max-width: 768px) {

    .kbpige{
        font-size: 32px;
        line-height: 42px;
        margin: 92px 0px;
    }
    
    .per-who p{
        font-size: 16px;
    }
}

@media only screen and (max-width: 700px) {
    
    .per-who h1{
        font-size: 42px;
        line-height: 48px;
        text-align: left;
        margin-bottom: 46px;
    }
    
    .per-who h3{
        line-height: 20px;
        margin-bottom: 16px;
        font-size: 18px
    }
    
    .kbpige{
        font-size: 28px;
        line-height: 38px;
        margin: 64px 0px;
        margin-top: 16px;
    }
    
    .per-who .text{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        max-width: 300px;
        margin-left: 0px;
        padding: 0px;
    }
    .per-who .text .block{
        width: 100%;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 24px;
    }
}
/** NEW PER-WHO END **/


/*** PRESSE LISTE ***/
#presse{
    width: 50%;
    padding-left: 16.66%;
    margin-bottom: 0;
}

.presse-header{
    display: flex;
    font-family: 'apercu-bold';
    font-size: 16px;
    margin-bottom: 16px;
}

.presse-header .year{
    width: 62px;
    margin-right: 12px;
}


.presse-list{
    position: relative;
}

.presse-list .presse-page{
    display: none;
}

.presse-list .presse-page:first-of-type{
    display: block;
}

a.presse-list-item{
    display: flex;
    padding: 6px 0px;
    margin-bottom: 6px;
/*    cursor: pointer;*/
}

a.presse-list-item span.year{
    width: 62px;
    margin-right: 12px;
}

a.presse-list-item span.title{
    flex: 1;
}


a.presse-list-item:hover{
    text-decoration: underline;
}

.presse-pages{
    color: black;
    display: flex;
    justify-content: flex-start;
    padding: 16px 0px;
    font-size: 16px;
    font-family: 'apercu-bold';
    user-select: none;
}

.presse-pages #presse-page-total{
    width: 80px;
    padding: 16px 0px;
    text-align: center;
}

.presse-pages .presse-page-nav{
    position: relative;
/*    cursor: pointer;*/
    width: 40px;
}

.presse-pages .presse-page-nav::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background: black;
    left: 0px;
    top: 50%;
    transition-duration: .1s;
}

.presse-pages #next-presse-page:hover::after{
    transform: translateX(5px);
}

.presse-pages #prev-presse-page:hover::after{
    transform: translateX(-5px);
}


.page-not-found{
    padding: 132px 8.33%;
    min-height: calc(100vh - 265px);
}

.page-not-found h1{
    font-size: 32px;
    font-family: 'apercu-regular';
    margin-bottom: 24px;
}

.page-not-found p{
    line-height: 1.5em;
    color: inherit;
    font-weight: 400;
    font-size: 18px;
    font-family: 'apercu-regular', 'helvetica', arial, sans-serif;
    max-width: 540px;
}

.page-not-found a{
    cursor: none;
    font-size: 18px;
    font-family: 'apercu-medium', 'helvetica', arial, sans-serif;
}
/**** SØKERESULTATSIDE ****/
.search-container{
    padding: 132px 8.33%;
    min-height: calc(100vh - 265px);
}

.search-query{
    max-width: 100%;
    display: inline-block;
    background-image: url("./graphics/search-rotated.svg");
    background-position: 0px 4px;
    background-size: 50px;
    background-repeat: no-repeat;
}

#search-query{
    width: 100%;
    font-size: 40px;
    font-family: 'apercu-medium';
    border: none;
    outline: none;
    border-bottom: 3px solid black;
    padding: 6px 0px;
    padding-left: 64px;
    background: none;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

h1.search-title{
    font-size: 36px;
}


.next-prev-case{
    width: 100%;
    padding: 54px 8.33%;
    display: flex;
    justify-content: space-between;
    justify-content: flex-end;
}

a.next-case, a.prev-case{
    display: inline-block;

    font-size: 18px;
    letter-spacing: 1px;
    font-family: 'apercu-bold';
    text-transform: uppercase;

    padding: 6px 0px;

    position: relative;
}

a.next-case{
    padding-right: 115px;
}

a.prev-case{
    padding-left: 115px;
}

a.next-case::after, a.prev-case::after{
    content: "";
    position: absolute;
    width: 100px;
    height: 3px;
    top: calc(50% - 2px);
    background: black;

    transition-duration: .1s;
}

a.next-case::after{
    right: 0;
}

a.prev-case::after{
    left: 0;
}


a.next-case:hover::after{
    transform: translateX(10px);
}

a.prev-case:hover::after{
    transform: translateX(-10px);
}


/**** CUSTOM IMAGE LINK ***/
a.custom-image-link{
    word-break: normal;
    display: inline-block;
    padding: 24px;
    background-color: black;
    border: 3px solid black;
    color: white;
}

a.custom-image-link img{
    display: block;
    margin-bottom: 24px;
}

a.custom-image-link p{
    font-size: 32px;
    line-height: 36px;
    font-family: 'apercu-regular';
    margin-bottom: 0px;
}

a.custom-image-link:hover{
    background-color: white;
    color: black;
}

@media only screen and (max-width: 768px) {
    
    #sidenav{
        display: none;
    }
    
    #search{
        left: 12px;
        top: -14px;
    }
    
    #construction-banner{
        font-size: 16px;
        bottom: 0px;
        padding: 4px 0px;
    }

    #topbar {
        top: 24px;
        padding: 0px 4.165%;
        padding-left: calc(4.165% + 50px);
    }

    #grid-icon{
        display: none;
    }

    footer .some{
        display: flex;
    }

    footer .footer-content .footer-main .post{
        padding-right: 24px;
        margin-right: 0px;
    }

    footer .footer-content p{
        font-size: 13px;
        line-height: 24px;
    }

    /* featured grid MQ */
    .featured-grid{
        grid-column-gap: 0px;
        padding: 32px 0px;
        padding-top: 92px;
        padding-bottom: 64px;
    }

    .featured-grid .case{
        margin-bottom: 82px;
        transition-duration: .5s;
    }

    .case-info{
        position: absolute;
        bottom: -26px;
        left: -32px;
        display: inline-block;
        min-width: auto;
        max-width: 150%;
    }

    .featured-grid .case:nth-of-type(1){
        grid-column: 4 / 13;
        height: 66vw;
    }

    .featured-grid .case:nth-of-type(2){
        grid-column: 1 / 8;
        height: 80vw;
        margin-bottom: 72px;
    }

    .featured-grid .case:nth-of-type(2) .case-info{
        left: auto;
        right: -32px;
        text-align: right;
    }

    .featured-grid .case:nth-of-type(3){
        grid-column: 5 / 13;
        height: 65vw;
    }

    .case-info .case-title, .case-grid .case .case-info .case-title{
        font-size: 14px;
        padding: 4px 8px;
        margin-bottom: 0px;
        border: 2px solid black;
    }

    .case-info .case-client{
        font-family: 'apercu-bold';
        letter-spacing: 1.2px;
        font-size: 12px;
        padding: 4px 8px;
        border: 2px solid black;
    }

    .case-grid .case .case-info .case-client{
        font-family: 'apercu-bold';
        letter-spacing: 1.2px;
        font-size: 10px;
        padding: 4px 4px;
        border: none;
    }

    .view-more-container{
        margin-bottom: 0px;
        padding: 0px 4.165%;
    }

    a.view-more{
        font-size: 16px;
        width: 150px;
    }

    a.view-more::after{
        height: 2px;
        right: 0px;
        width: calc(100% - 70px);
    }

    .featured-news{
        padding: 64px 4.165%;
    }

    .featured-news a{
        padding: 18px;
        font-size: 22px;
        line-height: 28px;
        min-height: 180px;
        border: 3px solid black;
    }

    .featured-news a .link-host{
        font-size: 14px;
        padding: 2px 10px;
    }

    .featured-news a .les-mer{
        display: none;
    }

    /* case grid MQ */
    .case-grid, .case-grid.yolo{
        overflow: hidden;
        padding: 152px 4.165%;
        width: 100%;
        grid-column-gap: 16px;
        grid-row-gap: 16px;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .case-grid.yolo .case .case-info{
        display: inline-block;
    }

    .case-grid.yolo .case,
    .case-grid.yolo .case.size1,
    .case-grid.yolo .case.size2,
    .case-grid.yolo .case.size3,
    .case-grid.yolo .case.size4,
    .case-grid.yolo .case.size5,
    .case-grid.yolo .case.size6,
    .case-grid.yolo .case.size7,
    .case-grid.yolo .case.size8,
    .case-grid.yolo .case.size9,
    .case-grid.yolo .case.size10{
        grid-column: auto;
        height: 160px;
        transform: translateY(0vw) translateX(0vw);
    }

    .case-grid .case{
        height: 160px;
    }

    .case-grid .case .case-info{
        display: inline-block;
        top: -12px;
        bottom: auto;
        left: 0px;
        z-index: 999;
        width: auto;
        min-width: auto;
    }

    .case-grid .case .case-info .case-title{
        display: none;
    }

    .case-filter{
        position: absolute;
        right: 0px;
        top: 92px;
        height: auto;
        width: 100%;
        display: flex;
    }

    .case-filter .years{
        transform: rotate(0deg) translateY(0px);
        display: flex;
    }

    .years label span{
        font-size: 15px;
        padding: 4px 0px;
    }

    .years input:checked ~ span{
        border-bottom: 3px solid black;
    }

    .years input:focus ~ span{
        border-bottom: 3px solid black;
    }

    .title_wrap{
        margin-bottom: 24px;
        text-align: left;
    }

    .title_wrap h1.title{
        font-size: 32px;
        line-height: 32px;
    }

    .title_wrap a.title-client{
        padding: 6px 10px;
        font-size: 16px;
        letter-spacing: 1px;
    }

    .single_post main .intro{
        flex-direction: column;
    }

    .single_post main .intro p{
        font-size: 16px;
    }

    .single_post main .intro ul.awards-list{
        width: 100%;
        margin-right: 0px;
        margin-bottom: 32px;
        padding-left: 41.65%;
    }

    .single_post main .intro .intro-text{
        width: 100%;
        max-width: 300px;
    }

    .about-wrapper{
        padding-bottom: 24px;
    }

    .about-wrapper section{
        margin-bottom: 92px;
    }

    .section-title{
        font-size: 32px;
        margin-bottom: 24px;
    }

    .about-nav{
        display: none;
    }

    /*** PER WHO MQ ***/
    .per-who{
        padding: 0px 4.165%;
        display: flex;
        line-height: 54px;
        margin-left: 0px;
    }

    .per-who .who-are{
        font-size: 60px;
        line-height: 52px;
        -webkit-text-stroke: 1px black;
        margin-bottom: 20px;
    }

    .per-who .who-are span#line-two{
        letter-spacing: 5px;
    }

    .per-who .who-are span#p{
        color: white;
        -webkit-text-stroke: 1px black;
    }

    .per-who .per-line{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .per-who .per-line .primary{
        font-size: 60px;
        color: white;
        -webkit-text-stroke: 1px black;
        margin-right: 8px;
        letter-spacing: 5px;
        margin-bottom: 24px;
    }

    .per-who .per-line .secondary{
        font-size: 16px;
        line-height: 22px;
    }

    .per-who .per-line .primary:hover{
       color: black;
    }

    .per-who .per-line .primary:hover + .secondary{
        opacity: 1;
    }


    /**** ANSATTE MQ ***/
    .people{
        max-width: 100%;
        margin: 0 0;
        padding: 0px 4.165%;
    }

    .people .section-title{
        padding-left: 0px;
    }

    .avdeling{
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-bottom: 0px;
    }

    .ansatt{
        font-size: 15px;
        min-width: auto;
    }

    .ansatt:hover > .primary{
        border: 2px solid white;
    }

    .ansatt.active .primary{
        padding: 8px 10px;
        border: 2px solid black;
    }

    .ansatt .primary{
        padding: 8px 0px;
        border: 2px solid white;
    }

    .ansatt .primary span:first-of-type{
        margin-bottom: 4px;
    }

    .ansatt.active .secondary{
        padding: 12px;
        height: 66px;
    }

    .ansatt .secondary span:first-of-type{
        margin-bottom: 4px;
    }


    /**** AWARDS MQ ****/

    .awards{
        width: 100%;
        margin-left: 0%;
        margin-right: 0%;
        padding-right: 0;
        background-color: black;
        color: white;
    }

    .award-list-wrapper{
        width: 100%;
        min-width: auto;
        padding: 4.165%;
        padding-top: 54px;
    }

    .awards .award-case-image{
        display: none;
    }

    .award-header{
        display: none;
    }

    .award{
        font-size: 15px;
        flex-direction: column;
    }

    .award-ar{
        display: none;
    }

    .award-pris{
        flex: auto;
        width: 100%;
        padding-right: 0px;
        margin: 4px 0px;
    }
    
    .award-client{
        display: none;
    }
    
    .award-pages{
        padding: 0px;
    }
/*
    .award-pris span#year{
        display: inline;
    }
*/

    .award-case{
        flex: auto;
        width: 100%;
        padding-right: 0px;
    }


    /*** PRESSE MQ ****/
    #presse{
        width: 100%;
        padding-left: 4.165%;
        padding-right: 4.165%;
    }

    .presse-header{
        font-size: 15px;
        margin-bottom: 16px;
    }

    .presse-header .year{
        width: 60px;
        margin-right: 6px;
    }

    a.presse-list-item{
        font-size: 15px;
    }

    a.presse-list-item span.year{
        width: 60px;
        margin-right: 6px;
    }

    a.presse-list-item span.title{
        flex: 1;
    }

    a.presse-list-item:hover{
        text-decoration: underline;
    }

    .search-container{
        padding: 92px 4.165%;
        min-height: calc(100vh - 173px);
    }
    
    .page-not-found{
        padding: 92px 4.165%;
        min-height: calc(100vh - 173px);
    }

    footer{
        padding: 32px 4.165%;
        padding-bottom: 54px;
    }

}

.wp-block-image p, .wp-block-image a{
word-break: break-all;
}

.wp-block-image img{
    max-width: 100%;
    height: auto;
}

.wp-block-image{
    margin-bottom: 32px;
}


@media only screen and (max-width: 500px) {
    
    p.luftig{
        padding: 54px 0px;
    }

    p.luftig-topp{
        padding-top: 54px;
    }

    p.luftig-bunn{
        padding-bottom: 54px;
    }

    p.mercury{
        font-size: 20px;  
    }
    
    a.custom-image-link{
        padding: 18px;
    }
    
    a.custom-image-link p{
        font-size: 22px;
        line-height: 28px;
    }
    
    .radio-header{
        padding: 0px 4.165%;
    }
    
    main h2, h2.radio-h2{
        font-size: 18px;
        padding: 6px 10px;
        margin-top: 24px;
        margin-bottom: 16px;
    }
    
    #search #search-field{
        font-size: 16px;
        border-bottom: 2px solid rgba(0, 0, 0, 0);
        border-bottom: 2px solid black;
    }

    #topbar .main-nav li{
        width: 65px;
        margin-right: 6px;
        border-bottom: 3px solid rgba(255, 255, 255, 0);
    }

    #topbar .main-nav li a{
        font-size: 14px;
    }

    #topbar a#logo svg{
        height: 26px;
        width: 80px;
    }

    #topbar .main-nav li.current_page_item{
        border-bottom: 3px solid black;
    }

    .featured-news{
        flex-direction: column;
    }

    .featured-news a{
        width: 100%;
    }

    .featured-news a:nth-of-type(odd){
        margin-right: 0px;
        margin-bottom: 24px;
    }
    
    .featured-news a:last-of-type{
        margin-right: 0px;
        margin-bottom: 0px;
    }

    .single_post main{
        padding: 0px 4.165%;
    }


    .single_post main .intro{
        margin-bottom: 36px;
    }

    .single_post{
        padding-top: 0px;
    }

    .single_post .header{
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        margin-bottom: 18px;
        padding-top: 76px;
    }
    
    .header .header_img {
        width: 100%;
    }
    
    .single_post .header.vertical{
        padding-top: 0;
        padding-right: 0px;
    }
    
    .header.vertical .header_img, .header.vertical .header_video_vertical {
        width: 100%;
        height: 60vh;
    }
    
    .header.vertical .header_img img, .header.vertical .header_video_vertical video {
        width: 100%;
        height: 60vh;
        object-fit: cover;
    }

    .header .header_img, .header .header_video{
        width: 100%;
        height: 50vh;
        margin-bottom: 24px;
    }

    .header .header_img img, .header .header_video video{
        width: 100%;
        height: 50vh;
        object-fit: cover;
    }

    .title_wrap{
        padding-left: 4.165%;
        width: 100%;
        padding-right: 4.165%;
    }

    .title_wrap h1.title{
        font-size: 42px;
        line-height: 46px;
        margin-bottom: 18px;
    }

    .title_wrap a.title-client{
        padding: 6px 10px;
        font-size: 16px;
        margin-bottom: 18px;
    }
    
    .title_wrap .case-date{
        font-size: 16px;
    }

    .video-player{
/*
        padding: 32px 0px;
        padding-top: 0px;
*/
    }

    .wp-block-gallery{
        padding: 24px 0px;
        padding-top: 0px;
    }
    
    .single_post main .intro ul.awards-list li.award-item{
        margin-bottom: 16px;
    }
    
    .single_post main .intro ul.awards-list li.award-item p{
        font-size: 15px;
    }

    .single_post main .intro ul.awards-list li.award-item b{
        font-size: 15px;
    }

    .radiospots{
        padding: 24px 4.165%;
        padding-top: 0px;
    }

    .audio-player{
        width: 100%;
        padding: 0px;
    }

    .audio-player .audio-icon{
        width: 50px;
        height: 25px;
        margin-right: 8px
    }

    #presse{
        width: 100%;
        padding-left: 4.165%;
        padding-right: 4.165%;
    }

    .audio-player .audio-info{
        font-size: 15px;
    }

    .search-query{
        max-width: 100%;
        display: inline-block;
        background-image: url("./graphics/search.svg");
        background-position: 0px 4px;
        background-size: 34px;
        background-repeat: no-repeat;
    }

    #search-query{
        width: 100%;
        font-size: 24px;
        border: none;
        outline: none;
        border-bottom: 2px solid black;
        padding: 6px 0px;
        padding-left: 42px;
        background: none;
    }

    .next-prev-case{
        width: 100%;
        padding: 32px 4.165%;
    }

    a.next-case, a.prev-case{
        display: inline-block;

        font-size: 13px;

        padding: 4px 0px;
        letter-spacing: .6px;
    }

    a.next-case{
        padding-right: 50px;
    }

    a.prev-case{
        padding-left: 50px;
    }

    a.next-case::after, a.prev-case::after{
        width: 40px;
        height: 2px;
        top: calc(50% - 1px);
    }

    a.next-case::after{
        right: 0;
    }

    a.prev-case::after{
        left: 0;
    }

    .ansatt{
        width: 100%;
    }

}


#case-show{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#case-show button{
    border-radius: 0;
    border: none;
    outline: none;
    background: white;
    background-color: white;
    
    font-family: 'apercu-bold';
    font-size: 16px;
    letter-spacing: 1px;
    user-select: none;
    padding: 5px 0px;
    text-transform: uppercase;
    border-bottom: 3px solid white;
}

#case-show button:first-of-type{
    margin-right: 24px;
}

#case-show button.active{
    border-bottom: 3px solid black;
}



/*** CUSTOM PAGE TEMPLATE ***/
.custom-wrapper{
    padding: 118px 0px;
    padding-top: 20vh;
    width: 100%;
    overflow-x: hidden;
}

.custom-wrapper .section-title{
    font-size: 50px;
}
.custom-wrapper .section-title.small{
    font-size: 36px;
}

.custom-wrapper .grid-title{
    font-size: 36px;
    padding: 20px;
    grid-column: 1/-1;
    margin-top: 50px;
}

.custom-wrapper .per-who h1{
    font-size: 86px;
    display: inline-block;
    line-height: 92px;
    font-weight: bold;
    font-family: 'Mercury Display';
    margin: 0 auto;
    width: 100%;
    margin-bottom: 54px;
    max-width: 980px;
    text-align: left;
    padding: 16px;
}
.custom-wrapper .custom-section{
    max-width: 1400px;
    margin: 150px auto;
    padding-bottom: 0px;
}
.custom-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.custom-grid.smaller{
    grid-template-columns: repeat(4, 1fr);
}

.custom-grid-elem{
    padding: 20px;
    border: 2px solid white;
}
.custom-grid-elem.active{
    border: 2px solid black;  
}

.custom-grid-elem .custom-grid-elem-pos{
    display: inline-block;
    background-color: black;
    color: white;
    padding: 12px;
    font-size: 20px;
}

.custom-grid-elem .custom-grid-elem-name{
    color: black;
    padding: 12px 0px;
    padding-top: 0px;
    font-size: 22px;
}

.custom-grid-elem .custom-grid-elem-image{
    width: 100%;
    aspect-ratio: 1/1;
    background-position: center top 20%;
    background-repeat: no-repeat;
    background-size: cover;
}

.custom-grid-elem .custom-grid-elem-image.sverre{
    background-image: url("./custom_images/sverre.jpg");
}
.custom-grid-elem .custom-grid-elem-image.theis{
    background-image: url("./custom_images/teis.jpg");
}
.custom-grid-elem .custom-grid-elem-image.magnhild{
    background-image: url("./custom_images/magnhild.jpg");
}
.custom-grid-elem .custom-grid-elem-image.patrik{
    background-image: url("./custom_images/patrik.jpg");
}
.custom-grid-elem .custom-grid-elem-image.oyvind{
    background-image: url("./custom_images/oyvind.jpg");
}
.custom-grid-elem .custom-grid-elem-image.christoffer{
    background-image: url("./custom_images/christoffer.jpg");
}
.custom-grid-elem .custom-grid-elem-image.johanna{
    background-image: url("./custom_images/4.jpg");
}
.custom-grid-elem .custom-grid-elem-image.ivo{
    background-image: url("./custom_images/3.jpg");
}
.custom-grid-elem .custom-grid-elem-image.pia{
    background-image: url("./custom_images/1.jpg");
}
.custom-grid-elem .custom-grid-elem-image.hannes{
    background-image: url("./custom_images/2.jpg");
}
.custom-grid-elem .custom-grid-elem-image.kati{
    background-image: url("./custom_images/kati.jpg");
}
.custom-grid-elem .custom-grid-elem-image.lotta{
    background-image: url("./custom_images/lotta.jpg");
}
.custom-grid-elem .custom-grid-elem-image.cristina{
    background-image: url("./custom_images/cristina.jpg");
}
.custom-grid-elem .custom-grid-elem-image.mertsi{
    background-image: url("./custom_images/mertsi.jpg");
}
.custom-grid-elem .custom-grid-elem-image.thorkild{
    background-image: url("./custom_images/thorkild.jpg");
}
.custom-grid-elem .custom-grid-elem-image.morten{
    background-image: url("./custom_images/morten.jpg");
}
.custom-grid-elem .custom-grid-elem-image.maria{
    background-image: url("./custom_images/maria.jpg");
}
.custom-grid-elem .custom-grid-elem-image.riebke{
    background-image: url("./custom_images/riebke.jpg");
}

.custom-grid-elem ul{
    list-style-type: disc;
    padding-left: 15px;
}
.custom-grid-elem ul li{
    margin-bottom: 8px;
}



.custom-grid-elem .custom-grid-elem-more{
    display: none;
    user-select: none;
    padding-top: 16px;
}

.custom-grid-elem .custom-grid-elem-more p{
    margin-bottom: 8px;
    font-size: 16px;
/*    padding: 0px 12px;*/
}

.custom-grid-elem .custom-grid-elem-more-header{
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 16px;
}

.custom-wrapper .custom-link{
    max-width: 980px;
    padding: 16px;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-wrapper .custom-link a{
    cursor: none;
}
.custom-wrapper .custom-link p{
    font-size: 22px;
}

@media only screen and (max-width: 499px) {
    .custom-wrapper .per-who h1{
        font-size: 46px;
        line-height: 56px;
        padding: 0px;
    }
    
    .custom-wrapper .section-title{
        font-size: 34px;
    }
    .custom-wrapper .section-title.small{
        font-size: 24px;
    }
    .custom-grid{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .custom-grid.smaller{
        grid-template-columns: repeat(1, 1fr);
    }
}

.featured-grid .case.vertical-preview{
    background-position: center top 30%;
}

/*** CUSTOM_LAYOUT_CSS ***/
.custom_layout_wrapper{
/*    background: red;*/
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 96px 0px;
    padding-top: 10vh;
}
.custom_layout_wrapper img{
    display: block;
    width: 100%;
    margin: 0px auto;
}
.custom_layout_text{
    max-width: 680px;
    padding: 20px;
/*    margin: 0 auto;*/
}
.custom_layout_wrapper h1{
    font-size: 72px;
    line-height: 76px;
    font-weight: bold;
    padding: 20px;
}
.custom_layout_wrapper h2{
    font-size: 42px;
    margin-top: 32px;
    margin-bottom: 18px;
    font-weight: bold;
}
.custom_layout_wrapper h3{
    margin-top: 36px;
    font-size: 26px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
}
.custom_layout_wrapper h4{
    font-size: 22px;
    margin-bottom: 16px;
}
.custom_layout_wrapper h3:hover{
    text-decoration: underline;
}
.custom_layout_wrapper h3::after{
    content: "";
    position: absolute;
    left: 0px;
    top: 10px;
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.custom_layout_wrapper h3.open::after{
    top: 14px;
    -webkit-transform: rotate(-135deg);
}
.custom_layout_wrapper p{
    margin-bottom: 18px;
    font-size: 20px;
    line-height: 30px;
}
.custom_layout_wrapper p strong{
    font-weight: bold;
}
.custom_layout_wrapper ol, ul{
    list-style:initial;
    padding-left: 20px;
}
.custom_layout_wrapper li{
    font-size: 20px;
    line-height: 30px;
}

.custom_layout_img_container{
    width: 100%;
    height: 500px;
}

@media only screen and (max-width: 768px) {
    .custom_layout_wrapper{
        padding-top: 76px;
    }
    .custom_layout_wrapper h1{
        font-size: 42px;
        line-height: 46px;
    }
    .custom_layout_wrapper h2{
        font-size: 32px;
        margin-top: 24px;
        margin-bottom: 16px;
    }
    .custom_layout_wrapper h3{
        margin-top: 24px;
        font-size: 20px;
        padding-left: 24px;
        margin-bottom: 16px;
    }
    .custom_layout_wrapper h4{
        font-size: 18px;
        margin-bottom: 16px;
    }
    .custom_layout_wrapper h3::after{
        top: 7px;
        padding: 3px;
        border-width: 0 2px 2px 0;
    }
    .custom_layout_wrapper h3.open::after{
        top: 11px;
    }
    .custom_layout_wrapper p{
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 24px;
    }
    .custom_layout_wrapper li{
        font-size: 16px;
        line-height: 24px;
    }
}
/*** CUSTOM_LAYOUT_CSS_END ***/