/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Tags: responsive-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,featured-images,full-width-template,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready
Version: 3.27.1.1568621366
Updated: 2019-09-16 08:09:26

*/
/******************************
HEADER
*******************************/

.logo_container #logo {
	max-width: 280px !important;
}

#headerSection {
	background-color: #00263A!important;
}
	
}

/* Break point meny */
@media (max-width: 1080px) {
   #et_mobile_nav_menu {
     display: block;
   }

  #top-menu {
    display: none;
  }
}

@media (max-width: 1200px) {
 #top-menu li, #top-menu li a {
 font-size: 12px !important;
 padding-right: 15px !important;
 }
		#main-header .et_menu_container {
		width: 90%;
	}
 }

#top-menu .sub-menu .menu-item a {
    font-size: 12px;
}

/********* Mobile Menu Collapse ********/

/**** This hides the sub menu items on mobile ****/

#main-header .et_mobile_menu li ul.hide {
display: none !important;
}

/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/

#mobile_menu .menu-item-has-children {
position: relative;
}
#mobile_menu .menu-item-has-children > a {
background: transparent;
}

/**** This styles the icon and moves it to the right ****/

#mobile_menu .menu-item-has-children > a + span {
position: absolute;
right: 0;
top: 0;
padding: 10px 20px;
font-size: 20px;
font-weight: 700;
cursor: pointer;
z-index: 3;
}

/**** Here you can swap out the actual icons ****/

span.menu-closed:before {
content: "\4c";
display: block;
color: #000;
font-size: 16px;
font-family: ETmodules;
}

span.menu-closed.menu-open:before {
content: "\4d";
}



/******************************
FOOTER
*******************************/
#footer-bottom {
  display: none;
}


.cookie-bar-button {
	background-color: #fff !important;
	color: #000 !important;
}
/******************************
FONTS
*******************************/
h1, h2, h3, h4, h5, h6 {
  padding: 10px 0;
}
h1, h2 {
  line-height: 1.4em;
}
h3, h4, h5, h6 {
  line-height: 1.6em;
}

/******************************
BLOG
*******************************/

@media only screen and (min-width: 981px) {
	.blogLeft .et_pb_posts .et_pb_post img,
	.et_pb_posts .et_overlay {
		width: 38%;
		height: 180px !important;
		margin-right: 4%;
		float: left;
	}
	.blogLeft .et_pb_posts .entry-title,
	.blogLeft .et_pb_posts .post-meta,
	.blogLeft .et_pb_posts .post-content {
	    float: right;
	    width: 58%;
	}
	body.rtl .blogLeft .et_pb_posts .et_pb_post img,
	body.rtl .blogLeft .et_pb_posts .et_overlay {
		float: right;
		margin-left: 4%;
		margin-right: 0;
	}
	body.rtl .blogLeft .et_pb_posts .entry-title,
	body.rtl .blogLeft .et_pb_posts .post-meta,
	body.rtl .blogLeft .et_pb_posts .post-content {
	    float: left;
	}

	.blogLeft .et_pb_post {
		border-bottom: 1px solid #ccc;
		margin-bottom: 0px;
		padding-bottom: 25px;
	}
}

/*blog image aspect ratio portrait 9:16*/

.pa-blog-image-9-16 .entry-featured-image-url {
  padding-top: 177.77%;
  display: block;
}

.pa-blog-image-9-16 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/*blog image aspect ratio square 1:1*/

.pa-blog-image-1-1 .entry-featured-image-url {
  padding-top: 100%;
  display: block;
}

.pa-blog-image-1-1 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
	border-radius: 1000px;
}

/*blog image aspect ratio landscape 4:3*/

.pa-blog-image-4-3 .entry-featured-image-url {
  padding-top: 75%;
  display: block;
}

.pa-blog-image-4-3 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}


/* Blogg-innlegg samme høyde - legg til custom_blog på rad */
@media only screen and (min-width: 768px) {
  .mb_custom_blog .et_pb_post {
    max-height: 500px;
    min-height: 500px;
  }
}
/*liste over bloggartikler på bloggsiden*/
.mb_blogg_liste .et_pb_post {
  overflow: hidden;
  position: relative;
}
.mb_blogg_liste .post-content:before {
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 77%,rgba(255,255,255,1) 100%);
	/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */;
  background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 77%, rgba(255,255,255,1) 100%);
	/* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 77%,rgba(255,255,255,1) 100%);
	/* Chrome10-25,Safari5.1-6 */
  bottom: 0;
  content: '';
  height: 70px;
  left: 0;
  position: absolute;
  width: 100%;
}
.mb_blogg_liste .post-meta {
  font-size: .9em;
}
/* blogg list on single post page */
#left-area .mb_blogg_singlePost .post-meta {
  font-size: .9em;
  padding-bottom: 5px;
}

/* mindre spacing under tittel på blogg */
.mb_Blogg-Tittel {
	margin-bottom: -50px;
}

/* 100% bredde på innlegg når man bruker Divi bygger */
.InnleggInnhold .et_pb_row {
	width: 100%;
}
.InnleggInnhold .et_pb_section, .InnleggInnhold .et_pb_row_1_tb_body {
	padding: 0px 5px;
}
@media (max-width: 980px) {
.InnleggInnhold {
	padding: 0 10px;
}
}

/* Justeringer blogg-side bildetekst */
.InnleggInnhold figcaption {
	text-align: center !important;
	font-style: italic;
	background: #f4f4f4;
	padding: 10px;
	margin-top: -5px;
}

.InnleggInnhold .blocks-gallery-caption {
	margin: auto;
	margin-top: -25px;
	margin-bottom: 20px;
	width: 100%;
}

/*****************************
 STYLING FOR SIDEBAR
 *****************************/
/* hide left border */
#main-content .container:before {
    width: 0;
}

/*****************************
Tekniske fikser
******************************/
/* galleri bilder i lik høyde - sett høyde i gallerimodul og legg til mb-galleryFix i rad elelr modul */
.mb-galleryFix .et_pb_gallery_item img {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}
.mb-galleryFix .et_pb_gallery_image {
    padding-top: 100%;
}



/* Samme størrelse på blurb bilder - enkel løsning. Legg til mb_blurbFix og juster tallene nedenfor */
.mb_blurbFix .et_pb_main_blurb_image {
 width: 320px;
 height: 250px;
 overflow: hidden;
}



/* Blurb bilde samme høyde alternativ løsning - legg til mb_landscape class */
.mb_landscape .et_pb_main_blurb_image {
 padding-top: 10.25%;
 display: block;
 }

.mb_landscape .et_pb_main_blurb_image img {
 position: absolute;
 height: 200px;
 width: 100%;
 top: -20px;
 left: 0;
 right: 0;
 bottom: 0;
 object-fit: cover;
 }

.mb_landscape .et_pb_blurb_container {
	margin-top: 150px;
	margin-bottom: 30px;
}

/* Gallery bilder samme høyde - legg til landscape class */
@media (min-width: 980px) {
.et_pb_gallery_image.landscape {
padding-top: 56.25%;
display: block;
}

.et_pb_gallery_image.landscape img {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
object-fit: cover;
}
}


/* For ord-deling osv */
.et_pb_blurb_content, .et_pb_circle_counter, .et_pb_contact_main_title, .et_pb_countdown_timer_container, .et_pb_counter_title, .et_pb_gallery_item, .et_pb_newsletter_description, .et_pb_number_counter, .et_pb_portfolio_item, .et_pb_post, .et_pb_pricing_content, .et_pb_pricing_heading, .et_pb_promo_description, .et_pb_slide_description, .et_pb_tab, .et_pb_tabs_controls, .et_pb_team_member, .et_pb_testimonial_description_inner, .et_pb_text, .et_pb_toggle_content, .et_pb_toggle_title, .et_pb_widget, .product {
  overflow-wrap: normal;
	word-wrap: normal;
}

/* Scroll to section */
.mb_fullpage-valign {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
}

/* Vertical Midtstill innhold - bruk denne klassen på aktuell KOLONNE */
.mb_centerAdjust {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Grow */
.mb_hvr-grow {
  box-shadow: 0 0 1px transparent;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.mb_hvr-grow:hover, .mb_hvr-grow:focus, .mb_hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Beholde kolonner på mobil */
@media only screen and (max-width: 980px) {

.two-columns .et_pb_column {
width: 50%!important;
}

.three-columns .et_pb_column {
width: 33.33%!important;
}

.four-columns .et_pb_column {
width: 25%!important;
}

}

/* FLEXBOX FOR MOBIL
 * for å endre rekkefølge på kolonner responsivt, wrap row in a flex box */
@media all and (max-width: 980px) {
  .mb_custom_row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
 /* Safari 6.1+ */
    flex-wrap: wrap;
  }
}

/* egendefinerte klasser som vil betegne rekkefølgen på kolonner i flexboksraden */
.mb_first-on-mobile {
  -webkit-order: 1;
  order: 1;
}
.mb_second-on-mobile {
  -webkit-order: 2;
  order: 2;
}
.mb_third-on-mobile {
  -webkit-order: 3;
  order: 3;
}
.mb_fourth-on-mobile {
  -webkit-order: 4;
  order: 4;
}

/* add margin to last column */
.mb_custom_row:last-child .et_pb_column:last-child {
  margin-bottom: 30px;
}

/*****************************
 Responsive justeringer
*****************************/
@media (max-width:1250px) and (min-width:981px) {
}

@media (max-width: 980px) {
/* Dersom en vil sette inn bindestrek på lange ord legg inn ­ i html edit*/
  h1, h2, h3, h4, h5, h6 {
    -webkit-hyphens: manual;
    -moz-hyphens: manual;
    -ms-hyphens: manual;
    hyphens: manual;
  }
}


/*****************************************************************/
/*****************************************************************/
/*****************************************************************/

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat';
  text-transform: uppercase;
}

h1 {
  font-size: 30px!important;
  font-weight: 500!important;
}

h2 {
  font-size: 26px!important;
}

h3 {
  font-size: 16px!important;
  font-weight: 400!important;
  padding-top: 0!important;
}

.cookie-h3 h3 {
  text-transform: none;
  font-weight: bold!important;
}

@media (max-width: 980px) {
  h1 {
    padding:0 ;
  }
	.border-heading h1 {
		padding-left: 30px;
		padding-top: 30px;
	}
  .et_pb_row_0,
  .et_pb_row_0 .et_pb_column{
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 10px;
  }
}

/* Tep menu / navbar */
#mb-main-menu {
  background-color: #00263A; /* Mørkeblå */
}

#mb-main-menu .et_pb_column {
  padding: 0!important;
}


ul#menu-hovedmeny li a {
  color: #D5D1CB; /* Beige */
  margin-top: 15px;
  margin-left: 15px;
}
ul#menu-hovedmeny li.current-menu-item a,
ul#menu-hovedmeny li a:hover {
  color: #B99C16; /* Yelllow */
  margin-top: 15px;
  margin-left: 15px;
}

/*Header-meny mobil */
span.mobile_menu_bar:before {
  color: #B99C16!important; /* Yelllow */
}


.et_pb_menu--style-centered .et_pb_menu__logo{
	margin-bottom: 30px;
}

@media (max-width: 980px) {
	.et_pb_menu--style-left_aligned .et_pb_menu_inner_container, 
	.et_pb_menu--style-left_aligned .et_pb_row,
	.et_pb_menu_inner_container {
		display: block;
	}
	
	.et_pb_menu .et_pb_menu__logo-wrap {
		display: block;
		margin: 0 auto;
		text-align: center;
	
	}
	
	.et_pb_menu .et_pb_menu__logo-wrap .et_pb_menu__logo {
		margin-right: 0;
		margin-bottom: 30px;
	}
	
	.et_pb_menu .et_pb_menu__logo-wrap a img {
		margin: 0 auto;
	}
	
	.et_pb_menu .et_pb_menu__wrap {
		display: block;
		margin: 0 auto;
		text-align: center;	
	}
	
	.et_pb_menu .et_pb_menu__wrap .mobile_nav {
		margin: 0 auto;	
	}

	.et_mobile_menu,
	#mobile_menu1 {
	    background-color: #00263A!important;
	    border-top: 3px solid #B99C16!important;
	}
	.et_mobile_menu .menu-item {
		text-align: center;
	}
	
	#mb-main-menu .et_pb_column{
	  display: inline-grid;
	}

  ul#mobile_menu2.et_mobile_menu {
    width: 100%!important;
		border-top: 1px solid #B99C16!important; /* Yelllow */
		background-color: #00263A!important; /* Dark blue */
  }

  #logo.et_pb_image a span.et_pb_image_wrap img{
    max-height: 120px!important;
		padding-bottom: 20px;
  }
	#fullwidth-image {
	  height: 50vh;
	}
}

/* Images */

#fullwidth-image {
  height: 75vh;
}

/* Buttons */
.et_pb_button_module_wrapper a.et_pb_button {
  background-color: #00263A; /* Dark blue */
  width: 30%;
  color: #D5D1CB; /* Beige */
  border: none;
  border-radius: 0;
}

.et_pb_button_module_wrapper a.et_pb_button:hover {
  background-color: #00263A; /* Dark blue */
  width: 30%;
  color: #D5D1CB; /* Beige */
  border: none;
  border-radius: 0;
}

.readmore a {
  color: #B99C16; /* Yelllow */
  padding: 0;
  font-weight: 600;
  border: none;
}

.readmore a:hover {
  color: #B99C16; /* Yelllow */
  padding: 0 10px;
  font-weight: 600;
  border: none;
  transition: padding 0.5s;
}

@media (max-width: 980px) {
  .et_pb_button_module_wrapper a.et_pb_button {
    background-color: #00263A; /* Dark blue */
    width: 70%;
    color: #D5D1CB; /* Beige */
    border: none;
    border-radius: 0;
  }

  .et_pb_button_module_wrapper a.et_pb_button:hover {
    background-color: #00263A; /* Dark blue */
    width: 70%;
    color: #D5D1CB; /* Beige */
    border: none;
    border-radius: 0;
  }
}

/* Border */
.border-yellow {
  border-left: 2px solid #B99C16; /* Yelllow */
  padding-left: 30px;
  border-bottom: 2px solid #B99C16; /* Yelllow */
  padding-bottom: 30px;
  border-right: 2px solid #B99C16; /* Yelllow */
  padding-right: 30px;
}
.border-heading h1,
.border-heading h2,
.border-heading h3 {
  padding-left: 30px;
}
/* Contact us */
.contact-info h2 {
  text-transform: none;
  font-size: 24px!important;
}

.contact-info p a {
  color: #00263A; /* Dark blue */
}

.contact-info p a:hover {
  color: #B99C16; /* Yelllow */
}

.contact-portrait img {
  max-height: 300px;
}

/* Footer */

#footer p {
  color: #D5D1CB; /* Beige */
  text-transform: uppercase;
}

.error404MainPage {
    min-height: 650px;
}
.error404MainPage .container {
    padding-top: 90px;
    text-align: center;
}
.error404MainPage .container .spinner404 {
    margin-right: auto;
    max-width: 110px;
    margin-top: 0;
    margin-bottom: 0;
    margin-bottom: 30px;
    margin-left: auto;
}
.error404MainPage .container .spinner404 .gear {
    stroke-width: 1px;
}
.error404MainPage .container p {
    display: inline-block;
}
.error404MainPage .container .backButton {
    margin-top: 60px;
    font-size: 18px;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-left: 10px;
    padding-left: 20px;
    padding-top: 10px;
    padding-right: 10px;
    padding-right: 20px;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 6px;
    -o-border-radius: 5px;
    -webkit-border-radius: 6px;
    border-radius: 5px;
    -o-border-radius: 6px;
    border-radius: 6px;
    color: #333;
    border: none;
    border: 1px solid #333;
}
.error404MainPage .container .backButton:before {
    width: 0;
    position: absolute;
    height: 42px;
    top: 0;
    left: 0;
    content: '';
    -moz-transition: all 2s ease;
    -webkit-transition: all 2s ease;
    -o-transition: all 2s ease;
    transition: all 2s ease;
    background-color: rgba(255,255,255,0.3);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}
.error404MainPage .container .backButton:hover:before {
    width: 100%;
}
.error404MainPage .container .backButton:hover {
    background-color: #333;
    color: #fff;
}
