/*
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

*/

.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;
}





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

/*Lage en venstre-justert blogg */
@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*/
.blog-image-9-16 .entry-featured-image-url {
  padding-top: 177.77%;
  display: block;
}

.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*/
.blog-image-1-1 .entry-featured-image-url {
  padding-top: 100%;
  display: block;
}

.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*/

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

.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;
  }
}


/*****************************
Tekniske fikser
******************************/
/* galleri bilder i lik høyde - sett høyde i gallerimodul og legg til mb-galleryFix i rad eller 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_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;
}

/* Full page - 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;
}


/* 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;
  }
}

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

/* 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;
}

/**** 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: #fff;
  font-size: 16px;
  font-family: ETmodules;
}

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


#header {
  padding: 0;
}

#header img {
  max-height: 60px;
  width:auto;
}


#header .et_pb_column.et_pb_column_1_5.et_pb_column_0_tb_header {
  margin-right: 0;
}

ul#menu-hovedmeny.et-menu.nav li {
  margin-top: 25px;
}


ul#menu-hovedmeny.et-menu.nav li a{
  font-family: 'Montserrat', sans-serif;
  color: #E8DDCC;
}

ul#menu-hovedmeny.et-menu.nav li.current-menu-item a{
  font-family: 'Montserrat', sans-serif;
  color: #E8DDCC;
  font-weight: bold;
}

ul#menu-hovedmeny.et-menu.nav li.menuContact {
  background-color: #E8DDCC;
  border-radius: 50px;
  padding: 12px 30px;
  margin-left: 30px;
  margin-top: 15px;
}
ul#menu-hovedmeny.et-menu.nav li.menuContact a {
  color: #606060!important;
    //margin-top: 15px;
  padding-bottom: 0!important;
}



.et_pb_menu .et_pb_menu__wrap,
.et_pb_fullwidth_menu .et_pb_menu__wrap {
  justify-content: flex-end!important;
}

.et_pb_menu_0_tb_header.et_pb_menu {
  background-color: transparent!important;
}

.et_pb_menu .et_mobile_nav_menu {
  margin: 15px 0 10px 30px!important;
}

ul#mobile_menu1.et_mobile_menu {
  border-top: none;
}

@media (max-width: 1575px) {
  ul#menu-hovedmeny.et-menu.nav {
    display: none;
  }
  .et_mobile_nav_menu {
    display: block!important;
  }
}

@media (max-width: 980px){
  #header .et_pb_row .et_pb_column {
    width: 49%!important;
    margin-bottom: 0;
  }
}

/* Mobile menu */
.et_mobile_menu {
  border-top: 0!important;
}

.et_mobile_menu li a{
  color: #4F4F4F!important;
  font-size: 16px;
  text-transform: none;
  border-bottom: 0!important;
  font-family: 'Montserrat', sans-serif;
}

ul#mobile_menu1 {
  margin: 0!important;
}

.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu ul.sub-menu,
.et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu ul.sub-menu {
  background-color: transparent!important;
}

.mobile_nav.opened #mobile_menu1,
.mobile_nav.opened #mobile_menu2 {
  background-color: #E8DDCC!important;
}

.mobile_menu_bar:before{
  color: #fff!important;
}

.mobile_nav.opened .mobile_menu_bar {
  z-index: 999999;
  display: block!important;
  position: fixed!important;
  top: 40px!important;
}
.mobile_nav.opened .mobile_menu_bar:before {
  content: "\4d";
  color: #43494b!important;
}

.mobile_nav.opened .et_mobile_menu {
  display: block!important;
  position: fixed!important;
  left: 0!important;
  right: 0!important;
  top: 0!important;
  bottom: 0!important;
  width: 100%!important;
  text-align: center;
  padding-top: 70px;
  pointer-events: all!important;
}

.mobile_nav.opened .et_mobile_menu,
.mobile_nav.opened .et_mobile_menu .sub-menu,
.mobile_nav.opened .et_mobile_menu .sub-menu li	 {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}
.mobile_nav.opened .et_mobile_menu a {
  font-size: 1.4em!important;
  line-height: 1.6em;
  font-weight: 600!important;
  background-color: transparent!important;
}

.mobile_nav.opened .et_mobile_menu .sub-menu a {
  font-size: 1.2em!important;
  font-weight: 400!important;
}

.mobile_nav.opened .et_mobile_menu .current-menu-item > a {
  color: #43494b!important;
}

/* Mobilr menu end */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sacramento&family=Source+Serif+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

h1, h2, h3, h4, h5, h6, p {
  font-family: 'Source Serif Pro';
}
.sacramento h2,
.sacramento h3,
.sacramento h4 {
  font-family: 'Sacramento', sans-serif;
  font-weight: 400!important;
}

body h1 {
  color: #313131!important;
}

body h2 {
  color: #313131!important;
}

body h3 {
  color: #313131!important;
}

body h4 {
  color: #313131!important;
}

.sacramento p,
.sacramento h1,
.sacramento h2,
.sacramento h3 {
  font-family: 'Sacramento', sans-serif!important;
  font-weight: 400!important;
}

.et_pb_section.subSite h3,
.et_pb_section.fpIntroSection h3 {
  font-family: 'Sacramento', sans-serif;
  font-weight: 400!important;
}

.topImage {
  height: 85vh;
}

.topImage .et_pb_row {
  padding-top: 25%!important;
}

.topImage h1{
  color: #fff!important;
  font-weight: 600!important;
}

.topSection {
  background-color: #666;
  max-height: 50px;
}

.rowWidth .et_pb_row {
  max-width: 750px;
}

.et_pb_row.rowWidthText {
  max-width: 650px;
}

.white p{
  color: #fff!important;
}

@media (max-width: 980px) {
  .topImage .et_pb_row {
    padding-top: 20%;
  }
}


/* Button standard */
a.et_pb_button {
  border-radius: 50px;
  border: none;
  border-color: none;
  padding: 10px 40px!important;
  font-family: 'Montserrat';
  font-size: 16px;
  font-weight: 500;
}

a.et_pb_button:hover {
  border-radius: 50px;
  border: none!important;
  border-color: none;
  padding: 10px 40px!important;
  font-family: 'Montserrat';
  font-size: 16px;
  font-weight: 500;
}

a.et_pb_button.light {
  color: #333;
  background-color: #E8DDCC;
}

a.et_pb_button.dark {
  color: #E8DDCC;
  background-color: #4F4F4F;
}

a.et_pb_button.light:hover {
  color: #333;
  background-color: #E6D1B0;
}

a.et_pb_button.dark:hover {
  color: #fff;
  background-color: #898585;
}

a.et_pb_button:hover::after {
  display: none;
}

/* Gallery */
/*
.et_pb_grid_item.last_in_row {
  margin-right: 0!important;
}

.et_pb_grid_item {
  width: 31.5%!important;
  margin-right: 1%!important;
  text-align: center!important;
  margin-bottom: 15px!important;
}

@media (max-width: 980px) {
  .et_pb_grid_item.last_in_row {
    margin-right: auto!important;
  }

  .et_pb_grid_item {
    width: 48.5%!important;
    margin-right: 1%!important;
    text-align: center!important;
    margin-bottom: 1%!important;
  }
}
*/

/* Forms */
.wpcf7 span.wpcf7-form-control-wrap input[type=text],
.wpcf7 span.wpcf7-form-control-wrap input[type=number],
.wpcf7 span.wpcf7-form-control-wrap input[type=tel],
.wpcf7 span.wpcf7-form-control-wrap input[type=email],
.wpcf7 span.wpcf7-form-control-wrap input[type=date],
.wpcf7 span.wpcf7-form-control-wrap textarea {
  width: 100%!important;
  background-color: #F5F7F8;
  border: none;
  padding: 12px 15px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.06);
  font-size: 16px;
}

.wpcf7 p label {
  padding-bottom: 10px!important;
  font-size: 16px;
}

.wpcf7 input[type=submit].wpcf7-form-control.wpcf7-submit  {
  margin: 0 auto;
  display: block;
  text-align: center;
  width: auto;
  background-color: #00B5D1;
  border-radius: 50px;
  padding: 12px 30px;
  border: none;
  color: #fff;
  font-size: 18px;
  text-transform: none;
  font-weight: 400;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.06);
}
.wpcf7 input[type=submit].wpcf7-form-control.wpcf7-submit:hover  {
  margin: 0 auto;
  display: block;
  text-align: center;
  width: auto;
  background-color: #000;
  border-radius: 50px;
  padding: 12px 30px;
  border: none;
  color: #fff;
  font-size: 18px;
  text-transform: none;
  font-weight: 400;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.06);
}

/* PostLayout*/
.postLayout .et_pb_row.et_pb_row_0_tb_body {
  max-width: 60%;
}

.postLayout .et_pb_row {
  max-width: 40%;
}

.postLayout .et_pb_row p {
  font-size: 16px;
  line-height: 1.7em;
}

@media (max-width: 1300px) {
  .postLayout .et_pb_row.et_pb_row_0_tb_body {
    max-width: 70%;
  }

  .postLayout .et_pb_row {
    max-width: 60%;
  }
}

@media (max-width: 980px) {
  .postLayout .et_pb_row.et_pb_row_0_tb_body {
    max-width: 80%;
  }

  .postLayout .et_pb_row {
    max-width: 80%;
  }
}


/******************************
FOOTER
*******************************/
.cookie-bar-button {
	background-color: #fff !important;
	color: #000 !important;
}

#footer {
  background-color: #000;
  color: #fff!important;
}

footer p a,
footer p,
#footer p,
#footer p a {
  color: #E8DDCC;
  text-decoration: none!important;
  font-family: 'Montserrat'!important;
}

footer p a:hover,
#footer p a:hover {
  text-decoration: underline!important;
}


#footer img {
//  max-width: 100px;
}

.privacy {
  background-color: #02223b;
}

.privacy p {
  color: #fff;
}


#masonGrid1 .et_pb_gallery_image.landscape img {
	border: 3px solid #F8F4EF;
}
#masonGrid1 .et_pb_gallery_image.landscape img { width: 100%; }
/******************************************/
#masonGrid1 .et_pb_gallery_item:nth-child(n+1):nth-child(odd) {
float: left;
}
#masonGrid1 .et_pb_gallery_item:nth-child(n+1):nth-child(even) {
float: right;
}
#masonGrid1 .et_pb_gallery_item:nth-child(5n+1) {
	width: 50%!important;
}
#masonGrid1 .et_pb_gallery_item:nth-child(5n+1) img{
//	border-width: 6px!important;
}
#masonGrid1 .et_pb_gallery_item {
clear: inherit!important;
}
#masonGrid1 .et_pb_gallery_grid .et_pb_gallery_image {
overflow: hidden;
position: relative;
}
#masonGrid1 .et_pb_gallery_grid .et_pb_gallery_items .et_pb_gallery_item.et_pb_grid_item {
padding: .5%;
}

a.et_pb_button.FooterButton,
a.et_pb_button.FooterButton2 {
	width: 100%;
	color: #333;
    background-color: #E8DDCC;
    border-radius: 50px;
    border: none;
    border-color: none;
    padding: 10px 15px!important;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.FooterButton2 {
	max-width: 250px;
}

a.et_pb_button.FooterButton:hover,
a.et_pb_button.FooterButton2:hover {
	background-color: #E6D1B0;
}


.et_pb_module.et_pb_gallery.boliggalleri .et_pb_gallery_item {
  margin-right: 1%;
  width: 32%;
}
