﻿/*
=======================================================================
	Custom Fonts
=======================================================================
*/

@import url('//fonts.googleapis.com/css2?family=Inter:wght@200;300;700&display=swap');


/*
=======================================================================
	Custom Properties
=======================================================================
*/

:root {
  --themecolor: 0, 0, 0;
  --dropdown: 120, 2%, 35%;
  --dropdown-hover: 220, 2%, 55%;
}


/*
=======================================================================
	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 {}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Inter', sans-serif;
	}

a {color: rgba(var(--themecolor), 1);}

/* Link Hover */
article .text a:not(.bttn):not(.image-link):hover,
article .text a:not(.bttn):not(.image-link):focus {
    background-color: rgba(var(--themecolor), 1);
    box-shadow: rgba(var(--themecolor), 1) -5px 0px 0px 0px, rgba(var(--themecolor), 1) 5px 0px 0px 0px;
    border-radius: 5px;
    border-bottom-color: transparent;
    color: #fff;
    text-decoration: none;
    }


/*
=======================================================================
	Main header General
=======================================================================
*/

:root {
	--header-height:75px;
	--header-height-compressed:60px;
}

@media (min-width:1200px) {
	:root {
		--header-height:100px;
		--header-height-compressed:80px;
	}
}




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-color: rgba(var(--themecolor), 1);
	}

body header.mainheader:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	}
	
.mainheader .header-elements {
	height:var(--header-height);
	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:sticky;
    top:0; /* Verdi tilsvarende høyde på evt. pre-header */
    z-index: 9;
    }


/*
=======================================================================
	Main header Sticky
=======================================================================
*/

header.mainheader.sticky.fixed {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    }

header.mainheader.sticky.fixed {border-bottom: 1px solid rgba(0,0,0,0.15);}

header.mainheader.sticky.fixed .header-elements {height:var(--header-height-compressed);}

@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;}
	}
	

/*
=======================================================================
	Front page header without background
=======================================================================
*/

.itemid-193 header.mainheader:not(.fixed).nobg {background:none!important;position:absolute;}
.itemid-193 header.mainheader.fixed.nobg {position:fixed;}


/*
=======================================================================
	Section General
=======================================================================
*/

.darker-10:before {background-color: rgba(var(--themecolor), .1);}
.darker-20:before {background-color: rgba(var(--themecolor), .2);}
.darker-30:before {background-color: rgba(var(--themecolor), .3);}
.darker-40:before {background-color: rgba(var(--themecolor), .4);}
.darker-50:before {background-color: rgba(var(--themecolor), .5);}
.darker-60:before {background-color: rgba(var(--themecolor), .6);}
.darker-70:before {background-color: rgba(var(--themecolor), .7);}
.darker-80:before {background-color: rgba(var(--themecolor), .8);}
.darker-90:before {background-color: rgba(var(--themecolor), .9);}



/*
=======================================================================
	Custom Front Page
=======================================================================
*/

.itemid-198 {padding-top:calc(60px + var(--header-height))!important;padding-bottom:60px!important;}
.itemid-198.xltitle h1 {font-size:2rem;font-weight:bold;}
.itemid-198 .teaser {font-weight:lighter;}

@media (min-width:768px) {
	.itemid-198 {padding-top:calc(100px + var(--header-height))!important;padding-bottom:100px!important;}
	.itemid-198.xltitle h1 {font-size:2.5rem;}
	}

@media (min-width:991px) {
	.itemid-198 {padding-top:calc(100px + var(--header-height))!important;padding-bottom:100px!important;}
	.itemid-198.xltitle h1 {font-size:3rem;}
	}

@media (min-width:1200px) {
	.itemid-198 {padding-top:calc(160px + var(--header-height))!important;padding-bottom:160px!important;}
	.itemid-198.xltitle h1 {font-size:4rem!important;}
	.itemid-198 .teaser {font-size:1.4em;}
	}

@media (min-width:1500px) {
	.itemid-198.xltitle h1 {font-size:4.5rem!important;}
	}



/*
=======================================================================
	Custom Filter
=======================================================================
*/

.mix-controls {margin-bottom:3rem;}
.mix-controls button {border:0;color:#636363;background:#e6e6e6;margin-right:1rem;padding:1rem;}
.mix-controls button:last-of-type {margin-right:0;}
.mix-controls button:focus {outline:none;}

    .mix-controls button.mixitup-control-active {
        background: rgba(var(--themecolor), 1);
        color: #fff;
    }



/*
=======================================================================
	Custom Footer
=======================================================================
*/


.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 .column.col1 img {width:150px!important;height:inherit!important;}

.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;}
	}


/*
=======================================================================
	Edit Link
=======================================================================
*/

section {position:relative;}
.er-edit-link {
	position:absolute;top:15px;right:15px;
	z-index:5;
	& svg {
			fill: #a6a6a6;
	    }
}


/*
=======================================================================
	Responsive Iframe
=======================================================================
*/

.video-container {
  position: relative;
  padding-bottom: 56.25%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}