﻿/*
=======================================================================
	Custom Fonts
=======================================================================
*/

@import url('//fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,600;1,300;1,600&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: 'Rubik', sans-serif;
	font-weight:600;
	}

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
=======================================================================
*/

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;
	}

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: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 {border-bottom: 1px solid rgba(0,0,0,0.15);}
header.mainheader.sticky.fixed {none;}

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;}
	}


/*
=======================================================================
	Main Navigation
=======================================================================
*/
	
.mainheader li.active a {font-weight:bold!important;color:#62af3d!important;}
.mainheader li a:hover,
.mainheader li a:focus {
	text-decoration:underline;
}


/*
=======================================================================
	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:60px!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:100px!important;padding-bottom:100px!important;}
	.itemid-198.xltitle h1 {font-size:2.5rem;}
	}

@media (min-width:991px) {
	.itemid-198 {padding-top:100px!important;padding-bottom:100px!important;}
	.itemid-198.xltitle h1 {font-size:3rem;}
	}

@media (min-width:1200px) {
	.itemid-198 {padding-top:160px!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;
}


/*
=======================================================================
	Custom Front Page
=======================================================================
*/

.itemid-480 .list {margin:0;}
.itemid-480 .list > * {padding:0;}
.itemid-480 .list .column figure {
	margin-bottom:0!important;padding:1rem 7rem 0 3.5rem;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;

}
.itemid-480 .list .column h1 {font-weight:100;font-size:2.5rem;}
.itemid-480 .list .column-content {
    padding: 1.5rem 3.5rem 3.5rem 3.5rem!important;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

@media (max-width:575px) {
	.itemid-480  {padding-top:0!important;}
	.itemid-480 .container,
	.itemid-480 .row {padding:0!important;margin:0!important;}
	.itemid-480 .row > * {padding:0;}
	.itemid-480 .row > [class*="listelement-"] {margin-bottom:0;}
}


@media (min-width:576px) {
	.itemid-198 {
	    padding-bottom: 200px!important;
	}

	.itemid-480 {margin-top:-175px;}
	.itemid-480 .list .column-content {padding:3.5rem;}
}

@media (min-width:1200px) {
	.itemid-198 {
	    padding-bottom: 200px!important;
	}

	.itemid-480 {margin-top:-175px;}
	.itemid-480 .list .column-content {padding:3.5rem;}
}

body .itemid-480 .column:hover figure {transform:translateY(-1rem)}
body .itemid-480 .column:hover .column-content {transform:translateY(-1rem)}


/*
=======================================================================
	Custom Front Page Buttons
=======================================================================
*/

.itemid-480 .column .bttn {
	border:0;
	padding:0;
	position:relative;
	}

.itemid-480 .column .bttn:after {
    font-family: Font Awesome\ 5 Pro;
    content: "\f178";
    display: inline-block;
    margin-left: 10px;	
	}
	
.itemid-480 .column .bttn:before {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
	position: absolute;
	bottom: -5px;
	width: 0;
	height: 1px;
	content: "";
	background: #fff;
	}

.itemid-480 .column:hover .bttn:before {
	width: 100%;
	}



/*
=======================================================================
	Custom Column Coverlink
=======================================================================
*/

.colelement > div {position:relative;}
.colelement .coverlink {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:3;
	}
.colelement .coverlink:hover {background: rgba(255,255,255, 0.05);}

/*
=======================================================================
	Custom Mmenu
=======================================================================
*/

.mm-navbar {display:none;}

.mm-navbar,
.mm-panel {
	background: #333;
}

.mm-navbar {color:#fff;font-weight:bold;}
.mm-listitem {color:#fff;text-transform:uppercase;letter-spacing:1px;}