﻿
/*
=======================================================================
	Sitecore bootstrap fix 2015
=======================================================================
*/

.container .container {padding:0!important;margin:0!important;width:auto!important;}


/*
=======================================================================
	General styling 2015
=======================================================================
*/

html {font-size: 100%;}

body {
	font-size:16px;
	font-family: 'Open Sans', sans-serif;
	font-weight:400;
	line-height: 1.5;
	}

main:focus {outline:0;}

h1,h2,h3,h4,h5,h6 {	margin:0 0 20px 0;font-family: 'Roboto Slab', serif;}

h1 {font-size:2.2rem}
h2 {font-size:1.6rem}
h3 {font-size:1.4rem}
h4 {font-size:1.2rem}
h5 {font-size:1rem}
h6 {font-size:1rem}

section p.teaser {font-weight:600;}

a {
	color: #404040;
	text-decoration: none;
	}

a:focus,
a:hover {color:#000;}

blockquote { border-left: 5px solid #929292;}

/*
section div[class*="col-"] ul {
	margin-left:0;
	padding-left:15px;
	}
*/	

section div[class*="col-"] p ~ ul  {
	margin-top:20px;
	}

section blockquote {margin:20px 0 0 0;}
section div[class*="col-"] ~ blockquote {margin:0;}
section blockquote p {margin:0;padding:0;}


@media only screen and (min-width:768px) {
	body {font-size: 16px;}
/*
	p.teaser {font-size:22px;}
	h1 {font-size:30px;}
	h2 {font-size:27px;font-weight:400;}
	h3 {font-size:24px;font-weight:400;}
	h4 {font-size:22px;}
	h5 {font-size:20px;}
*/
	}

@media only screen and (min-width:991px) {
	body {font-size: 17px;}
	p.teaser {font-size:1.2rem;}
	h1 {font-size:2.6rem}
	h2 {font-size:2rem}
	h3 {font-size:1.8rem}
	h4 {font-size:1.6rem}
	h5 {font-size:1.4rem}
	h6 {font-size:1.2rem}
	}

@media only screen and (min-width:1200px) {
	body {font-size: 19px;}
	p.teaser {font-size:1.3rem;}
	}



/*
=======================================================================
	Section 2015
=======================================================================
*/

section {background: #fff;}

.outerspace {
	padding-top: 20px;
	padding-bottom: 20px;
	}

section[class*="darker-"] {position: relative;}
section[class*="darker-"]:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	}

section.darker-20:before {background: rgba(0, 0, 0, 0.20);}
section.darker-30:before {background: rgba(0, 0, 0, 0.30);}
section.darker-40:before {background: rgba(0, 0, 0, 0.40);}
section.darker-50:before {background: rgba(0, 0, 0, 0.50);}
section.darker-60:before {background: rgba(0, 0, 0, 0.60);}
section.darker-70:before {background: rgba(0, 0, 0, 0.70);}
section.darker-80:before {background: rgba(0, 0, 0, 0.80);}
section.darker-90:before {background: rgba(0, 0, 0, 0.90);}

section h1:first-of-type,
section h2:first-of-type {margin:0 0 20px 0;padding:0;}

section p + h2 {margin-top:2rem!important;}
section p + h3 {margin-top:2rem!important;}
section p + h4 {margin-top:2rem!important;}

section[class*="col-"] p {margin-top:0;}
section p {margin-top:20px;}

section p:last-of-type,
div[class^="listelement-"] p:last-of-type {margin-bottom:0;padding-bottom:0;}

div .col-md-2 .thumb,
div .col-md-3 .thumb,
div .col-md-4 .thumb,
div .col-md-6 .thumb,
.large-media .thumb  {margin:0 auto 20px auto;}
.large-media {width: 100%; margin: 0 0 25px 0;}

.small-media {position:relative;}
.small-media:after {
	position:absolute;top:10px;right:10px;
	font-family: FontAwesome;
	content: "\f00e";
	margin-left:10px;
	opacity:0.5;
	}

.small-media.fullwidth:after {content: "\f010";}

.small-media:after:hover {opacity:1;}

[class^="small-media"] {
	-webkit-transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
	}

[class^="small-media"]:hover {cursor:pointer;}

.small-media.fullwidth { width: 100%; float:right; margin: 0 0 20px 0;}
.small-media-left { width: 50%; float:left; margin: 0 20px 20px 0;}
.small-media-left.fullwidth { width: 100%; float:left; margin: 0 0 20px 0;}

.small-media-right { width: 50%; float:right; margin: 0 0 20px 20px;}
.small-media-right.fullwidth { width: 100%; float:right; margin: 0 0 20px 0;}

section article a {text-decoration:underline;}
section article .listtext a:first-of-type {text-decoration:none;}
section article .listtext a:hover {text-decoration:underline;}

section figure {margin-bottom:30px;position:relative;}
section figure.listimage {margin-bottom:20px;}
section figure a:hover		 {background: #fff;display:block;}
section figure a:hover img {opacity:0.95;}

/* Circular image can't have background */
section.circular figure a:hover		 {background: none;}

/*
section figure.small-media img.thumb,
section figure.large-media img.thumb {margin-bottom:10px;}
*/

section figure figcaption {margin-top:10px;font-size:0.9em;opacity:0.8;
	-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;
	}
section figure:hover figcaption {opacity:1;}



/*
=======================================================================
	Magnific gallery
=======================================================================
*/

section .gallery {margin-bottom: -30px;}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}



/*
=======================================================================
	Columns 2015
=======================================================================
*/

/* Padding if background color */
[class*="colbg-"] .col-content {padding:10px 30px 30px 30px;}
/*
[class*="colbg-"] h2,
[class*="colbg-"] p {padding-left:20px;padding-right:30px;}
[class*="colbg-"] div[class*="col-"] {padding-bottom:30px;}
*/

.circular figure .thumb {
	-webkit-border-radius: 1000px;
	-moz-border-radius: 1000px;
	border-radius: 1000px;	
	}

	.circular figure  {max-width:200px;margin: 0 auto;}

@media (min-width:991px) {
	.circular figure  {max-width:220px;}
	}

@media (min-width:1200px) {
	.circular figure  {max-width:250px;}
	}


/*
=======================================================================
	Button 2015
=======================================================================
*/

.bttn {margin-top:20px;}
section div[class*="col-"] ~ .bttn {margin-top:0;}

.bttn {
	color:#000;
	border: 2px solid #000;
	padding:15px 30px;
	display:inline-block;
	text-decoration:none!important;
	background: none;
	}
	
.bttn:hover {
	text-decoration:none;
	background: #000;
	color:#fff;
	}

.white .bttn {color:#fff;border: 2px solid #fff;}
.white .bttn:hover {color:#000;background:#fff;}



section.section-columns.betweenspace div[class*="col-"] {
	margin-bottom: 10px;
	}


/*
=======================================================================
	Column 2015
=======================================================================
*/

.colelement {margin-bottom:30px;}
.row-col .row-col-wrapper {margin-bottom:-30px;}


@media (min-width768px) {
	}

@media (min-width:991px) {
	}

@media (min-width:1200px) {
	.colelement {margin-bottom:60px;}
	.row-col .row-col-wrapper {margin-bottom:-60px;}
	}


/*
=======================================================================
	List 2015
=======================================================================
*/

[class*="listelement-"] {margin-bottom:30px;}
.row-list .row-list-wrapper {margin-bottom:-30px;}

div[class^="listelement-"] h2, /* begins with listelement- */
div[class*="listelement-"] h2 {margin:0 0 15px 0;padding:0;} /* contains listelement- */

.listelement-small-image img {
	margin:0 0 20px 0;padding:0;
	max-width: 100%!important;
  max-height: 100%!important;
	}

.listelement-large-image img {
	margin:0;
	max-width: 100%!important;
  max-height: 100%!important;
	}

.pagination {margin-bottom:0;}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
	z-index: 3;
	color: #fff;
	cursor: default;
	background-color: #404040;
	border-color: #404040;
	}

.pagination>li>a, .pagination>li>span {color: #404040}

.bttn.bttn-list {margin-top:0;}


@media (min-width768px) {
	}

@media (min-width:991px) {
	}

@media (min-width:1200px) {
	[class*="listelement-"] {margin-bottom:60px;}
	.row-list .row-list-wrapper {margin-bottom:-60px;}
	}


/*
=======================================================================
	Search result 2015
=======================================================================
*/

#searchlist h2 {margin-bottom:4rem;}

.section-searchresult .searchresult-filter input[type="checkbox"]{margin-right:10px;}
.section-searchresult .searchresult-filter input[type="checkbox"]:hover,
.section-searchresult .searchresult-filter label:hover {cursor:pointer;}

.listelement-search-result:last-child {border-bottom: 0;}

.listelement-search-result h3 {margin:0;padding:0;}
.listelement-search-result p {margin:0;padding:0;}

.searchresult-category {margin:0;padding:0;display:none;}
.searchresult-category span {font-weight:500;}


/*
=======================================================================
	Flexslider
=======================================================================
*/


/* FLEXSLIDER CUSTOM STYLE */

.flexslider {
	width: 100%;
	height: 350px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	/*background: #f1f1f1;*/
	border: none;
	border-radius: 0;
	margin: 0px;
	}

.flex-control-nav { 
	bottom: -30px;
	padding-top: 29px;
	}

.flexslider li {
	color: #828282;
	line-height: 16px;	
	}

.flex-control-paging li a {
	background: #cdcdcd;
	width: 6px;
	height: 6px;
	box-shadow: none;
	}

.flexslider .flexcontainer { margin-top: 40px; padding: 0 30px;  margin-left: auto; margin-right: auto; }

.flexslider .slides img {
	width: auto;
	margin-top: -40px;	
	}

.flex-control-paging li a:active, .flex-control-paging li a:hover, .flex-control-paging li a.flex-active   { background: #505050; }

.flex-direction-nav .flex-next { right: 0px; }

.flex-direction-nav a { 
	background: url(../images/flexslider/bg_direction_nav_2.png) 0px 0px no-repeat transparent;
	height: 68px;
	top: 46%;
	width: 44px;
	 -webkit-transition: opacity ease;
	}

.flexslider:hover .flex-prev { left: 0px; }

.flexslider:hover .flex-next { right: 0px; }

/* SLIDES */

.flexslider .bg { height: 350px; }

.slides {
	height: 350px;
	overflow: hidden;	
	}

.txtbg h1, .txtbg h2, .txtbg h3, .txtbg h4, .txtbg h5, .txtbg h6 {
	color: #fff !important;
	background: #ff530d;
	display: inline;
	}

.flexslider h1, .flexslider h2, .flexslider h3, .flexslider h4, .flexslider h5, .flexslider h6 {
	margin-top: 0px;
	}

.txtbg p {
	color: #fff;
	background: rgba(108,108,108,0.8);
	display: inline; 	
	}

.txtbg a { color: #fff; }

.txtbg a:hover { color: #ff530d; }

.sliderPic { margin-bottom: 60px; }








/*
=======================================================================
	White (if white on dark background) 2015
=======================================================================
*/

.white p,
.white div,
.white h1,
.white h2,
.white h3,
.white h4,
.white h5,
.white h6 {
	color: white !important;
	}

.white blockquote {
	border-left: 5px solid #fff;
}

.white a {color:#fff;text-decoration:underline;}

.white a ~ a {text-decoration:none;}
.white div[class^="listelement-"] ~ a:hover,
.white a ~ a:hover {text-decoration:underline;}

.white a:focus,
.white a:hover {color:#fff;}

.white select {
   color: #555; /* Tekst inni selectboksene skal fortsatt være mørk */
	}


/*#Form1 > div.boxedWrap > section.topspace.bottomspace.left.white.parallax.darker-75.parallax-init > div > div > div:nth-child(2) > a:nth-child(2)*/





/*
=======================================================================
	Form 2015
=======================================================================
*/

.form-group {
	position: relative;
	margin-bottom: 30px;
	}

.form-group label {/*display:block;*/}

.ui-state-error {
	border: 1px solid #c33 !important;
	}

.ui-state-highlight	{
	background-color: #ffa;
	}

.validateTips {
	padding: 10px 0;
	line-height: 1.8em;
	}

.validateTips em {
	font-weight: 700;
	}

.required {
	color:#F00;
	font-size:1.3em;
	font-weight:300;
	}

.has-error .help-block.validation-block {
	color:#c33;
	}


.form-group {position:relative;}
.form-group.has-success:after {
	position:absolute;
	top: 44px;
  right: 15px;
	font-family: FontAwesome;
	font-size:20px;
	content: "\f164";
	color:#5bb12f;
	-webkit-transition: thumbs 1s ease-in-out;
	-moz-transition: thumbs 1s ease-in-out;
	-o-transition: thumbs 1s ease-in-out;
	transition: thumbs 1s ease-in-out;
	}

.form-group.has-success input {border:1px solid #5bb12f;border: 1px solid #5bb12f;}


.form-group.has-error:after {
	position:absolute;
	top: 47px;
  right: 15px;
	font-family: FontAwesome;
	content: "\f165";
	color:#c33;
	}



@media (max-width: 767px) {
	.form-group {margin-bottom: 20px;}
	}



/*
=======================================================================
	Employee list 2015
=======================================================================
*/

.listelement-employee {text-align:center;}
.listelement-employee figure {max-width:50%;margin: 0 auto;}


.listelement-employee h2 {font-size:1em;font-weight:400;text-transform:uppercase;margin-bottom:10px!important;}
.employee-position {margin-bottom:30px;}
.employee-phone {margin-bottom:10px;display:block;}
.employee-email a {display:block;}
.employee-email.email-overflow a span {display:none;}
.employee-email.email-overflow a:before {content:"Send e-post";}


@media (max-width: 767px) {
	.employee-phone {color:#000;padding:10px 15px;border: 2px solid #000;}
	.employee-phone:hover {color:#000;text-decoration:none;}
	.employee-email a {color:#000;padding:10px 15px;border: 2px solid #000;}
	}

@media (min-width: 768px) {
	.listelement-employee figure {max-width:85%;}
	.listelement-employee h2 {}
	.employee-phone {color:#000;}
	.employee-phone:hover {color:#000;text-decoration:none;}
	}

@media (min-width: 991px) {
	.listelement-employee figure {max-width:75%;}
	}

@media (min-width: 1200px) {
	.listelement-employee h2 {font-size:1.2em}
	.listelement-employee figure {max-width:75%;}
	}



/*
=======================================================================
	Plukk
=======================================================================
*/

hr .space{margin:50px 0;}
.nospace{margin-bottom:0!important;}
.space{margin-bottom:40px!important;}
.medspace{margin-bottom:20px!important;}
.one-line {white-space: nowrap;	width: 100%; overflow: hidden; -o-text-overflow: ellipsis; -ms-text-overflow: ellipsis; text-overflow: ellipsis; height:1.3em;}





/*
=======================================================================
	Parallax
=======================================================================
*/

.parallax {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	
	padding: 50px 0;
	position: relative;
}

.parallax.parallax-ready {
	background-attachment: fixed;
}

.parallax.parallax-disabled {
	background-attachment: scroll !important;
	background-position: 50% 50% !important;
}

@media (max-width: 991px) {
	.parallax {
		background-attachment: scroll !important;
		background-position: 50% 50% !important;
		}
	}


/**********************************************************************************
*  ElementsArticle
************************************************************************************/
/*
.element-article-small-image-headline, .element-article-large-image-headline { overflow: hidden;}
.element-article-small-image-headline h4, .element-article-large-image-headline h4 { color:#777; margin: -17px -17px 17px; border-bottom:1px solid #ddd; padding: 10px 10px;}
.element-article-small-image-headline h4 a, .element-article-large-image-headline h4 a { color: #777; font-weight: 500; }
.element-article-small-image h4, .element-article-large-image h4, .element-article-small-image h4 a, .element-article-large-image h4 a { font-weight: 500; }

.element-article-large-image, .element-article-large-image-headline img { margin-bottom: 10px; }
.element-article-small-image img, .element-article-small-image-headline img { width:100%; }

.element-article-small-image .element-image, .element-article-small-image-headline .element-image { margin: 0 15px 10px 0 !important; float:left; max-width:40%; }
[class*='element-article-'] { margin-bottom: 24px; } 
*/

/**********************************************************************************
*  PageArticle
************************************************************************************/ 

/*

*[class*='page-article'] { padding: 0 0 0 0; }
*[class*='page-article'] figure {  }
*[class*='page-article'] figure img { }
*[class*='page-article'] figcaption { color: #777; font-weight: normal; font-style:italic; margin:5px 0; }
*[class*='page-article'] figure.element { }
*[class*='page-article'] .facts { width: 40%; float: right; clear:right; margin: 0 0 14px 20px;}
*[class*='page-article'] *[class*="element-"] { margin-bottom: 15px; }
*[class*='page-article'] .teaser { font-family: 'Open Sans', Arial, “Helvetica Neue”, Helvetica, sans-serif; color: #777; font-weight: 500; font-size: 16px; line-height: 19px; margin: 15px 0 15px 0; }
*[class*='page-article'] .byline { font-family: 'Open Sans', Arial, “Helvetica Neue”, Helvetica, sans-serif; color: #777; font-weight: 500; font-size: 13px; line-height: 14px; margin: 15px 0 15px 0; }
*/


/* PageArticleSmallMedia
-------------------------------------------------------------- */





/*.lenke a:link {text-decoration: underline;}*/















































/* PageArticleLargeMedia
-------------------------------------------------------------- */


.center img {margin: auto;}

/*
@media (max-width: 600px) 
{
    .page-article-small-media .small-media, .page-article-small-media .small-media-left { width: 100%; float:none; margin:0;}
    *[class*='page-article'] .facts { width: 100%; float: none; clear:none; margin:0;}
}
*/




/**********************************************************************************
*  Custom padding / margin 2015
************************************************************************************/ 

.home-top-clean {
	margin-top: 0;
	}

.no-gutter  {
	padding-right:0;
	padding-left:0;
	}

.outerspace {
	padding-top: 60px;
	padding-bottom: 60px;
	}

.topspace {
	padding-top: 60px;
	}

.bottomspace {
	padding-bottom: 60px;
	}

/* List-emenent-padding */
	/*.section-list [class*=listelement-]{margin-bottom:30px;}*/ /* topspace/bottomspace divided by 2 */
	/*.section-list .bottomspace {padding-bottom:30px;}*/ /* topspace/bottomspace divided by 2 */

@media (max-width:991px) {
	.outerspace {
		padding-top: 60px;
		padding-bottom: 60px;
		}
	
	.topspace {
		padding-top: 60px;
		}
	
	.bottomspace {
		padding-bottom: 60px;
		}
		
	/* List-emenent-padding */
	/*.section-list [class*=listelement-]{margin-bottom:30px;}*/ /* topspace/bottomspace divided by 2 */
	/*section-list.bottomspace {padding-bottom:30px;}*/
	}

@media (min-width:1200px) {
	.outerspace {
		padding-top: 80px;
		padding-bottom: 80px;
		}
	
	.topspace {
		padding-top: 80px;
		}
	
	.bottomspace {
		padding-bottom: 80px;
		}
		
	/* List-emenent-padding */
	/*.section-list [class*=listelement-]{margin-bottom:40px;}*/ /* topspace/bottomspace divided by 2 */
	/*.section-list.bottomspace {padding-bottom:40px;}*/
	}





/**********************************************************************************
*  Misc plukk
***********************************************************************************/

.parallax2 {
	text-shadow: 0px 0px 45px #000000;
	}

.center {
	text-align: center !important;
	}
	
.right {
	text-align: right !important;
	}
	
.left {
	text-align: left !important;
	}

.push-bottom {
	margin-bottom: 35px;
	}

.push-top {
	margin-top: 35px;
	}



/*
hr{
    border-color: #aaa !important;
}
*/

/*
.btn-white,
.btn-white.btn-lg,
.btn-white.btn-sm,
.btn-white.btn-xs {
    border: solid 3px #fff !important;
    background-color: transparent !important;
    color: #fff !important;
}

.btn-white:hover,
.btn-white.btn-lg:hover,
.btn-white.btn-sm:hover,
.btn-white.btn-xs:hover {
    border: solid 3px #aaa !important;
    background-color: rgba(13, 13, 13, 0);
    color: #ddd !important;
}

.btn-white:focus,
.btn-white.btn-lg:focus,
.btn-white.btn-sm:focus,
.btn-white.btn-xs:focus {
    border: solid 3px #aaa !important;
    background-color: rgba(0, 0, 0, 0);
    color: #fff !important;
}

*/

/*
.epost-style {text-decoration: underline;}
*/

/*
=======================================================================
	Parallax hjelp til scrolling - virker ikke
=======================================================================
*/

/*
.mobile .wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
}

.mobile .scroller {
  height: 3000px;
}*/

/*
=======================================================================
	Posisjonerer teksten i Flexslider
=======================================================================
*/

/*
.left {text-align: left;}
.right {text-align: right;}
.center {text-align:center;}
*/
/*.halfwidth {width: 50%;
text-align: center;}
.float {left;} */

/*
=======================================================================
	Fastsatt, sort bakgrunnsbilde i stedet for parallax 2015
=======================================================================
*/

.paragraphbg {
    
  /* Background image is centered vertically and horizontally at all times */
  background-position: center center;
  
  /* Background image doesn't tile */
  background-repeat: no-repeat;
  
  /* Background image is fixed in the viewport so that it doesn't move when 
     the content's height is greater than the image's height */
  background-attachment: fixed;
  
  /* This is what makes the background image rescale based
     on the container's size */
  background-size: cover;
  
  /* Set a background color  that will be displayed
     while the background image is loading */
  background-color: #464646;
  /* Set height to 100%*/
  height:100%;
}

/*
=======================================================================
	Bakgrunn på kolonner 2015
=======================================================================
*/
.bg-cover { background-size: cover; }



/*
=======================================================================
	Full width background
=======================================================================
*/

.full-width-banner > .foo > img {width:100%;}