﻿@import url('https://fonts.googleapis.com/css?family=Raleway:400,700&display=swap');

/*
=======================================================================
    Fonts
=======================================================================
*/

@font-face {
    font-family: 'FavoritPro';
    src: url("../fonts/FavoritPro-Light.otf") format("opentype");
    font-weight:lighter;
    }

@font-face {
    font-family: 'FavoritPro';
    src: url("../fonts/FavoritPro-LightItalic.otf") format("opentype");
    font-weight:lighter;
    font-style:italic;
    }

@font-face {
    font-family: 'FavoritPro';
    src: url("../fonts/FavoritPro-Regular.otf") format("opentype");
    font-weight:normal;
    }

@font-face {
    font-family: 'FavoritPro';
    src: url("../fonts/FavoritPro-Bold.otf") format("opentype");
    font-weight:bold;
    }

@font-face {
    font-family: 'FavoritPro';
    src: url("../fonts/FavoritPro-BoldItalic.otf") format("opentype");
    font-weight:bold;
    font-style:italic;
    }


/*
=======================================================================
	Custom Properties
=======================================================================
*/

:root {
/* Colors */
    --primary-color: #c11e27;
}


/*
=======================================================================
	Bootstrap Col Double Margin
=======================================================================
*/

@media screen and (min-width: 991px) {
	.container {
		padding-right: 30px;
		padding-left: 30px;
		}
	
	.container .row {
		margin-right: -30px;
		margin-left: -30px;
		}

	.col, .col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12 {
        position:relative;min-height:1px;padding-right:30px;padding-left:30px;
        }
	}

/*
=======================================================================
	General
=======================================================================
*/

body {
    font-family: 'FavoritPro', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'FavoritPro', sans-serif;
    font-weight:bold;
}

a {color: var(--primary-color);}

/* Link Hover */
article .text a:not(.bttn):not(.image-link):hover,
article .text a:not(.bttn):not(.image-link):focus {
    background-color: var(--primary-color);
    box-shadow: var(--primary-color) -5px 0px 0px 0px, var(--primary-color) 5px 0px 0px 0px;
    border-radius: 5px;
    border-bottom-color: transparent;
    color: #fff;
    text-decoration: none;
    }


/*
=======================================================================
	Main header General
=======================================================================
*/

header.mainheader  {
	width: 100%;
	transition: height 0.4s ease-in-out;
	-webkit-transition: height 0.4s ease-in-out;
	-moz-transition: height 0.4s ease-in-out;
	transition: background 0.4s ease-in-out;
	-webkit-transition: background 0.4s ease-in-out;
	-moz-transition: background 0.4s ease-in-out;
	border:0;
    background: #563d7c;
	}

body header.mainheader:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	}
	
.mainheader .header-elements {
	padding-top: 25px;
	padding-bottom: 25px;
  transition: all 0.7s ease-in-out;
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
	}

.mainheader .header-elements .sf-menu a {
	font-size:.8em;
	font-weight:lighter;
	}
	
@media (min-width:768px) {
	}

@media (min-width:991px) {
	.mainheader .header-elements .sf-menu a {font-size:1em;}
	}

@media (min-width:1200px) {
	.mainheader .header-elements .sf-menu a {font-size:1em;}
	}


/*
=======================================================================
	Main header Fixed
=======================================================================
*/

header.mainheader.sticky  {
    position:absolute;
    top:0; /* Verdi tilsvarende høyde på evt. pre-header */
    z-index: 9;
    }

body:not(.itemid-193) main {
    padding-top: 76px;
}

@media (min-width:768px) {}
@media (min-width:991px) {}
@media (min-width:1200px) {
    body:not(.itemid-193) main {
        padding-top: 102px;
    }
}

.templateid-124 main {padding-top:0!important;}

/*
=======================================================================
	Main header Sticky
=======================================================================
*/
header.mainheader.sticky.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
}

.itemid-193 header.mainheader:not(.fixed).nobg {background:none!important;}
header.mainheader.sticky.fixed {border-bottom: 1px solid rgba(0,0,0,0.15);}

header.mainheader.sticky.fixed .header-elements {padding-top: 7px;padding-bottom: 7px;}

@media (min-width:1200px) {
	header.mainheader .header-elements {padding-top: 20px;padding-bottom: 20px;}
	header.mainheader.sticky.fixed .header-elements {padding-top: 0;padding-bottom: 0;}
	header.mainheader.sticky-fixed .site-logo {width:200px;}
	}
	

/*
=======================================================================
	Section General
=======================================================================
*/

.filter-10 .background:before {background: rgba(0, 0, 0, 0.10);}
.filter-20 .background:before {background: rgba(0, 0, 0, 0.20);}
.filter-30 .background:before {background: rgba(0, 0, 0, 0.30);}
.filter-40 .background:before {background: rgba(0, 0, 0, 0.40);}
.filter-50 .background:before {background: rgba(0, 0, 0, 0.50);}
.filter-60 .background:before {background: rgba(0, 0, 0, 0.60);}
.filter-70 .background:before {background: rgba(0, 0, 0, 0.70);}
.filter-80 .background:before {background: rgba(0, 0, 0, 0.80);}
.filter-90 .background:before {background: rgba(0, 0, 0, 0.90);}


/*
=======================================================================
	Custom Header
=======================================================================
*/

.page-header .page-logo {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1;
    -webkit-transition: all 1.5s ease;
    -moz-transition: all 1.5s ease;
    -o-transition: all 1.5s ease;
    -ms-transition: all 1.5s ease;
    transition: all 1.5s ease;
    width: 150px;
}

@media (max-width:576px) {
    .page-logo {width:75px;top:30px;right:30px;}
}

@media (min-width:767px) {
}

@media (min-width:991px) {
    .page-logo {width: 175px;top: 60px;right: 60px;}
}

@media (min-width:1200px) {
    .page-logo {width: 200px;top: 50px;right: 60px;}
}


/*
=======================================================================
	Custom Footer
=======================================================================
*/

.site-footer .column.col1 img {width:150px;}

.site-footer .column .column-content h2 {margin:0!important;font-size:1.4rem;font-weight:bold;letter-spacing:1px;}
.site-footer .column .column-content h2 + p {margin-top:.75rem;font-weight:lighter;}
.site-footer .column .column-content a {text-decoration:underline;}

.site-footer a[href*="/maps/"]:before {
    font-family: "Font Awesome 5 Pro";
    content: "\f041";
    display: inline-block;
    margin-right: 10px;
	}

@media (min-width:768px) {
	.site-footer .col.col1 img {width:200px;}
	}

@media (min-width:991px) {
	}

@media (min-width:1200px) {
	.site-footer .col .column-content h2 {margin:0!important;font-size:1.7rem;}
	}



/*
=======================================================================
	Header
=======================================================================
*/

.header-logo {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    width: 150px;
}

/*
.header-logo-link {z-index:9;}
.header-logo-link img {opacity:0;}
.header-logo-link img a {display:block;}
*/

@media (max-width:576px) {
    .scrolling .header-logo {width:100px;top:30px;right:30px;}
}

@media (min-width:767px) {
}

@media (min-width:991px) {
    .header-logo {width: 175px;top: 60px;right: 60px;}
    .scrolling .header-logo {width:150px;top:30px;right:30px;}
}

@media (min-width:1200px) {
    .header-logo {width: 200px;top: 50px;right: 60px;}
    .scrolling .header-logo {width:175px;top:30px;right:30px;}
}



/*
=======================================================================
	Story Debug
=======================================================================
*/

/*
.tester {
    background: url(../images/bilde6.jpg) center center;
    background-size: cover;
    height: 100vh;
}
*/

/*
    .item-section.itemid-338:after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        display: block;
        background: rgba(210, 3, 3, 0.5);
        z-index: 9999;
        top: 0;
        left: 0;
    }
*/


/*
=======================================================================
	Story
=======================================================================
*/

body {
    font-size: 14px;
}

.background-container {
    position: absolute;
    width:100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
}

.background {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
}

.background-container .background-video video {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -1000;
        overflow: hidden;
    }
	
h1 + .teaser {margin-top:1rem;}

@media (max-width:450px) {
    html, body {
        margin: 0;
        height: 100%;
        overflow: hidden
    }
}
	
@media (min-width:767px) {
	}

@media (min-width:991px) {
	}
	
@media (min-width:1200px) {
	body {font-size:19px;}
	h1 {font-size:4em;}
    .teaser {font-size:1.15em;}
	}


/*
=======================================================================
	Item Section General
=======================================================================
*/

.item-section {
    position: relative;
}

.item-section-content-text > * {margin-bottom:15px;}
.item-section-content-text > :last-child {margin-bottom:0;}

@media (min-width:767px) {
	}

@media (min-width:991px) {
	}
	
@media (min-width:1200px) {
	}

/*
=======================================================================
	Item Section Options
=======================================================================
*/

.item-section-content-element.text-position- {}
.item-section-content-element.text-position-right .item-section-content-text {float:right;}
.item-section-content-element.text-position-center .item-section-content-text {margin: 0 auto;display:table;}

.item-section-content-element.text-align-left {}
.item-section-content-element.text-align-center .item-section-content-text {text-align:center;}
.item-section-content-element.text-align-right .item-section-content-text {text-align:right;}

.item-section-content-element.title-size-normal h1 {font-size:2em;}
.item-section-content-element.title-size-xl h1 {font-size:2.5em;}
.item-section-content-element.title-size-xxl h1 {font-size:3em;}

.item-section-content-element .item-section-content-body.text-size-normal .teaser {font-size:1em;}
.item-section-content-element .item-section-content-body.text-size-xl .teaser {font-size:1.2em;}

@media (min-width:767px) {
    .item-section-content-element.title-size-normal h1 {font-size:2em;}
    .item-section-content-element.title-size-xl h1 {font-size:2.5em}
    .item-section-content-element.title-size-xxl h1 {font-size:3em;}
    
    .item-section-content-element .item-section-content-body.text-size-normal .teaser {font-size:1em;}
    .item-section-content-element .item-section-content-body.text-size-xl .teaser {font-size:1.2em;}
}

@media (min-width:991px) {
    .item-section-content-element.title-size-normal h1 {font-size:2em;}
    .item-section-content-element.title-size-xl h1 {font-size:3em;}
    .item-section-content-element.title-size-xxl h1 {font-size:4em;}

    .item-section-content-element .item-section-content-body.text-size-normal .teaser {font-size:1em;}
    .item-section-content-element .item-section-content-body.text-size-xl .teaser {font-size:1.2em;}
}

@media (min-width:1200px) {
    .item-section-content-element.title-size-normal h1 {font-size:2em;}
    .item-section-content-element.title-size-xl h1 {font-size:3em;}
    .item-section-content-element.title-size-xxl h1 {font-size:6em;}

    .item-section-content-element .item-section-content-body.text-size-normal .teaser {font-size:1em;}
    .item-section-content-element .item-section-content-body.text-size-xl .teaser {font-size:1.25em;}

}


/*
=======================================================================
	Item Section Height / Background Image
=======================================================================
*/

.background-image-fixed {
    background-attachment: fixed;
}
.background-image-full {background-size:cover;}
.background-image-full > .bg-placeholder {visibility: hidden;}
.background-image-full > .bg-placeholder img {width:100%;}
.background-image-full > .background {background-image:none!important;}

/*
.item-section .item-section-content-element {
	min-height:100vh;
	position:relative;
    border-top: 10px solid green;
    border-bottom: 10px solid red;
	}
*/

.item-section .item-section-content {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
	width:100%;
	}

.item-section.background-image-full .item-section-content-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.item-section.background-image-full .vertical-background {
    opacity:0!important;
}

.item-section.background-image .item-section-content-text {
    width: 75%;
}

@media (min-width:767px) {
	.item-section.background-image .item-section-content-text {
		width:50%;
		}
	} 

@media (min-width:991px) {
	} 

@media (min-width:1200px) {
	}


/*
=======================================================================
	Item Section Readability
=======================================================================
*/

/* Title color */
.item-section-content-element.title-color-light h1 {color:#fff;}
.item-section-content-element.title-color-dark h1 {color:#000;}

/* Text color */
.item-section-content-element.text-color-light .item-section-content-text span.teaser {color:#fff;}
.item-section-content-element.text-color-dark .item-section-content-text span.teaser {color: #000;}


/* Background behind title */
.title--bg h1 {
    display:inline;
    padding:.15em .4em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    border-radius:1px;
    line-height:1em;
}
.item-section-content-element.title-color-light .title--bg h1 {background-color: var(--primary-color);line-height:1.4}
.item-section-content-element.title-color-dark .title--bg h1 {background-color: rgba(255,255,255,1);line-height:1.4;}



/* Background behind text */
.text--bg span.teaser p {
    padding:.3em .45em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    line-height:1.7;
    border-radius:1px;
    display:inline;
}

.text-position-right.text-align-right .text--bg span.teaser {margin-right:10px;display:block;}
.text-position-right.text-align-right .text--bg span.teaser p {
    margin-right:-10px;
    margin-left:-10px;
}

.item-section-content-element.text-color-light .text--bg span p {background-color: var(--primary-color);}
.item-section-content-element.text-color-dark .text--bg span p {background-color: rgba(255,255,255,1);}

.item-section-content-element span.teaser p + .clear {margin-top:1.5rem;}


/*
.item-section.background-image .item-section-content-element.contrast .item-section-content-text,
.item-section.background-video .item-section-content-element.contrast .item-section-content-text {
    padding: 15px;
}
*/

/*
.item-section.background-image .item-section-content-element.contrast.text-color-light .item-section-content-text,
.item-section.background-video .item-section-content-element.contrast.text-color-light .item-section-content-text {
    background: rgba(0,0,0,0.55);
}

.item-section.background-image .item-section-content-element.contrast.text-color-dark .item-section-content-text,
.item-section.background-video .item-section-content-element.contrast.text-color-dark .item-section-content-text {
    background: rgba(255,255,255,0.75);
}
*/

@media (min-width:767px) {
    .item-section.background-image .item-section-content-element.contrast .item-section-content-text,
    .item-section.background-video .item-section-content-element.contrast .item-section-content-text {
        padding: 30px;
    }
} 


/*
=======================================================================
	Item Section Padding No Background
=======================================================================
*/

.item-section:not(.background-image) .item-section-content-text {max-width:800px;}


/*
=======================================================================
	Item Section First / Title Page
=======================================================================
*/

.item-section {min-height: 100vh;} 

.item-section-content-head {margin-bottom:30px;}

/*
=======================================================================
	Item Section Link
=======================================================================
*/

.item-section-content-text .cta {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    display: inline-block;
    clear:both;
}

.item-section-content-text .cta:hover,
.item-section-content-text .cta:focus {
    background-color: #8c161c;
    text-decoration:none;
    color:#fff;
}

@media (min-width:767px) {
    .item-section-content-text .cta {
        padding: 15px 30px;
    }
}

@media (min-width:991px) {
}

@media (min-width:1200px) {
}

/*
=======================================================================
	Item Section Last / Footer
=======================================================================
*/

.storytelling-section-footer a {
    text-decoration: underline;
}


/*
=======================================================================
	Front Page
=======================================================================
*/

html, body {width:100%;height:100%;}

.front-page-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/*
=======================================================================
	Form
=======================================================================
*/

.storytelling-section-form {
    display: flex;
    align-items: center;
}

.storytelling-section-form .text {margin-bottom:40px;}

.storytelling-section-form .form-wrapper {padding:30px;}


/*
=======================================================================
	Video
=======================================================================
*/

.storytelling-section-video video {
    max-width: 100%;
    height: auto;
}

.plyr--full-ui input[type=range] {
    color: #333!important;
}

.plyr__control--overlaid {
    background: rgba(0,0,0, .8) !important;
}

.js .plyr__control.plyr__tab-focus,
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded=true] {
    background: #333!important;
}

.plyr__control.plyr__tab-focus {
    box-shadow: 0 0 0 5px rgba(0,0,0, .5) !important;
}

.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]::before {
    background: #333!important;
}




.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track {
    box-shadow: 0 0 0 5px rgba(0,0,0,.5)!important;
    outline: 0;
}

.plyr--video .plyr__control.plyr__tab-focus, .plyr--video .plyr__control:hover, .plyr--video .plyr__control[aria-expanded=true] {
    background: #333!important;
}

.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track {
    box-shadow: 0 0 0 5px rgba(0,0,0,.5)!important;
}




/*
=======================================================================
	AOS
=======================================================================
*/


.story-wrapper {overflow:hidden;}

.item-section-content-element {
    height: 100vh;
    margin: 0 auto;
    background: rgba(0,0,0,0.7);
    position:relative;
    z-index:1;
    border-top: 10px solid green;
    border-bottom: 10px solid red;
}

.item-section-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.storytelling-section .item-background {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    opacity:0;
    -webkit-transition: all 1s ease;                  
    -moz-transition: all 1s ease;                 
    -o-transition: all 1s ease;   
    -ms-transition: all 1s ease;          
    transition: all 1s ease;    
  }

.aos-animate .item-background {
    opacity:1;
}

.storytelling-section .item-background > .background-image {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
  }




.item-container.fullheight {position:relative;overflow:hidden;}
.item-container.fullheight .item {height:auto;position:relative;}
.item-container.fullheight .item-background .background-image {background-size:cover;}
.item-container.fullheight .item-background .background-image-placeholder {visibility: hidden;}
.item-container.fullheight .item-background .background-image-placeholder img {width:100%;}

.item-container.fullheight .item-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.item-logo {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    width: 150px;
    opacity:0;
}

.item-section-content-element.aos-animate + .item-background + .item-logo {opacity:1;}



/*
=======================================================================
	DEV
=======================================================================
*/

html, body {margin:0;padding:0;}

.tester {
    background: red;
}

.div {
    width: 40%;
    clear: both;
    height: 200px;
    background: #FFF;
    border-radius: 2px;
    margin: 12vh 0;
    padding: 10px;
    }


.itemid-371 .item-section-content-element {
    background: rgba(66,237,6,0.7);
}