/*
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
*******************************/
/*Header-meny mobil */
span.mobile_menu_bar:before {
  color: #aa8e8d !important;
}
.et_mobile_menu {
  border-top: none!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;
  }
 }

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

.footer .footer-logo {
  margin-left: 0!important;
  margin-right: 0!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
*******************************/

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



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

/*****************************
Tekniske fikser
******************************/

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


/* Uvisst hva denne koden gjør? */
.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);
}

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

.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;
}
.border-top:after {
    content : "";
    position: absolute;
    right    : 0;
    z-index: 100;
    top  : 0;
    width  : 50%;
    height   : 3px;  /* or 100px */
    background: #555;
}

.border-left:after {
    content : "";
    position: absolute;
    right    : 0;
    z-index: 100;
    top  : 0;
    width  : 3px;
    height   : 50%;  /* or 100px */
    background: #555;
}

.border-right:after {
    content : "";
    position: absolute;
    right    : 0;
    z-index: 100;
    top  : 0;
    width  : 3px;
    height   : 30%;  /* or 100px */
    background: #555;
}

/***************************************************************************/
/******* Meny ********/
#top-menu li a{
  font-weight: 500!important;
}

#main-header {
  -webkit-box-shadow: none!important;
  box-shadow: none!important;
}

/***** Headerbilde forside *******/
.et_pb_header_content_wrapper h1{
  font-size: 60px!important;
  color: #d5c8c7!important;
}

.et_pb_header_content_wrapper {
  margin-bottom: 444px;
  background-color: rgba(89, 37, 48, 0.65);
  border-radius: 2px;
  padding: 30px;
}
.et_pb_header_content_wrapper h1 {
  line-height: 1.1em!important;
}
.et_pb_header_content_wrapper h3.forside-h3 {
  line-height: 1.1em!important;
  padding-bottom: 0!important;
  font-weight: 300!important;
}

//.hidden .header-content-container{
//  display: none!important;
//}

/****** Fonter ******/
h1 {
  font-size: 50px;
  font-family: 'Raleway';
  color: #592530;
  text-transform: none!important;
}

h1.bold {
  font-weight: 800!important;
  padding-bottom: 0px!important;
  //color: #FFF!important;
}
h1.header-bold {
  font-weight: 800!important;
  padding-bottom: 0px!important;
  color: #FFF!important;
}

h1.light {
  font-weight: 400!important;
  font-size: 40px;
  padding-top: 0px!important;
}

h2 {
  font-size: 26px;
  font-family: 'Raleway';
  color: #7d2438!important;
  text-transform: none!important;
}

h2.light {
  font-weight: 400!important;
  font-size: 40px;
  padding-top: 0px!important;
}

h3 {
  font-size: 24px!important;
  font-family: 'Raleway'!important;
  color: #a2616e!important;
  text-transform: none!important;
  line-height: 1.2em!important;
}

p a {
  color: #7d2438!important;
}

#top-menu li.current-menu-item>a{
  color:#ae9090!important;
}
/****** Button *******/

.se-boliger-button {
  border-radius: 0;
  border: 0;
  background-color: #7d2438;
  color: #fff;
  font-size: 18px;
  font-family: 'Raleway';
  text-transform: uppercase;
  padding: 10px 40px;
}

.se-boliger-button:hover {
  border-radius: 0;
  border: 0!important;
  background-color: #a2616e!important;
  color: #fff;
  font-size: 18px;
  font-family: 'Raleway';
  text-transform: uppercase;
  padding: 10px 40px!important;
}

.et_pb_button:after {
  font-size: 29px!important;
}

.les-mer-button{
  border-radius: 0;
  border: 0;
  background-color: #7d2438;
  color: #fff;
  font-size: 18px;
  font-family: 'Raleway';
  text-transform: none!important */;
  padding: 10px 40px;
}

.les-mer-button:hover{
  border-radius: 0;
  border: 0!important;
  background-color: #a2616e!important;
  color: #fff;
  font-size: 18px;
  font-family: 'Raleway';
  text-transform: none!important;
  padding: 10px 40px!important;
}

.et_pb_column_1_2 .et_pb_map {
  height: 440px!important;
}

/*** Galleri - Om Øvre Leidlandshagen ***/
.galleri .et_pb_grid_item.last_in_row {
  margin-right: 2%;
}


.galleri .et_pb_grid_item {
  width: 49%!important;
  margin-right: 1%!important;
  text-align: center!important;
  margin-bottom: 1%!important;
}

.galleri-avstander .et_pb_grid_item.last_in_row {
  margin-right: 0;
}

.galleri-avstander .et_pb_grid_item {
  width: 100%!important;
  margin-right: 1%!important;
  text-align: center!important;
  margin-bottom: 30px!important;
}

/**** Galleri boliger ***/
.galleri-bolig .et_pb_grid_item.last_in_row {
  margin-right: 2%;
}

.galleri-bolig .et_pb_grid_item {
  width: 32.3%!important;
  margin-right: 1%!important;
  text-align: center!important;
  margin-bottom: 30px!important;
}

/**** Galleri plantegninger ***/
.galleri-plantegninger .et_pb_grid_item.last_in_row {
  margin-right: 2%;
}

.galleri-plantegninger .et_pb_grid_item {
  width: 45%!important;
  margin-right: 1%!important;
  text-align: center!important;
  margin-bottom: 30px!important;
}

.galleri-tomtekart .et_pb_gallery_image.landscape {
  height: 690px!important
}

.et-pb-controllers a {
  background-color: #592530!important;
}

.et-pb-controllers a .et-pb-active-control {
  background-color: #592530!important;
}
/** Galleri mobil **/
@media all and (max-width: 980px) {
  .galleri-bolig .et_pb_grid_item.last_in_row,
  .galleri-plantegninger .et_pb_grid_item.last_in_row,
	.galleri .et_pb_grid_item.last_in_row {
	    margin-right: 0;
      margin-top: 0;
	}
}

@media (max-width: 768px) {
  .galleri .et_pb_grid_item.last_in_row,
  .galleri-bolig .et_pb_grid_item.last_in_row,
  .galleri-plantegninger .et_pb_grid_item.last_in_row {
      margin-right: 2%;
      margin-top: 0
    }
}

@media (max-width: 768px) {
  .galleri-plantegninger .et_pb_grid_item,
  .galleri-bolig .et_pb_grid_item,
  .galleri .et_pb_grid_item {
      margin-right: auto;
      margin-top: 0;
      margin-bottom: 1%!important;
      width: 40%!important;
    }
}

/** MOBIL **/
@media all and (max-width: 980px) {
  .et_mobile_menu {
    border-top: none!important;
  }

  h1 {
    font-size: 36px!important;
  }

  h1.bold {
    font-weight: 800!important;
    padding-bottom: 0px!important;
    font-size: 34px!important;
  }

  h1.header-bold {
    font-weight: 800!important;
    padding-bottom: 0px!important;
    color: #FFF!important;
    font-size: 34px!important;
  }

  h1.light {
    font-weight: 400!important;
    font-size: 40px;
    padding-top: 0px!important;
  }

  h2 {
    font-size: 26px;
    font-family: 'Raleway';
    color: #7d2438!important;
    text-transform: none!important;
  }

  h2.light {
    font-weight: 400!important;
    font-size: 30px;
    padding-top: 0px!important;
  }

  .header-content {
    width: 100%!important;
  }

  .entry-content tr td{
    padding: 10px 5px!important;
  }

  .galleri-tomtekart .et_pb_gallery_image.landscape {
    height: auto!important
  }
}
/********* Kontaktskjema *********/
.wpcf7 .kontaktskjema  {
	margin-top: 30px;
	position: relative;
	left: 0;
	right: 0;
	margin: 100px auto;
	width: 100%;
}

.wpcf7 .kontaktskjema,
.wpcf7 textarea {
  color: #4d4a4a;
  font-family: 'Lato';
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 0;
}


.kontaktskjema .wpcf7-form span.wpcf7-form-control-wrap label {
  background: #fff;
  color: #7d2438;
  font-size: 16px;
}

.kontaktskjema label span.wpcf7-form-control-wrap input.wpcf7-text {
  font-size: 16px;
  padding-left: 20px;
}

/* Labelfelter */
.kontaktskjema input.wpcf7-text,
.kontaktskjema .wpcf7-textarea,
.kontaktskjema input.wpcf7-email,
.kontaktskjema input.wpcf7-tel,
.wpcf7-form textarea {
  padding: 15px 10px 15px 10px;
  border-radius: 0px;
  border: #cccccc solid 1px;
  width: 100%;
  margin-bottom: 20px;
}

.wpcf7-form .kontaktskjema a{
  padding-bottom: 10px;
  padding-top: 0px;
  font-family: 'Lato';
  font-size: 16px;
  color: #7d2438!important;
  text-align: center!important;
  display: block;
}

/* Send-knapp */
.kontaktskjema .wpcf7-submit {
  border-radius: 0;
  border: 0;
  background-color: #7d2438;
  color: #fff;
  font-size: 18px;
  font-family: 'Raleway';
  text-transform: uppercase;
  padding: 10px 40px;
  margin-top: 30px;
  margin-bottom: 30px!important;
}

.kontaktskjema .wpcf7-submit:hover {
  border-radius: 0;
  border: 0;
  background-color: #7d2438;
  color: #fff;
  font-size: 18px;
  font-family: 'Raleway';
  text-transform: uppercase;
  padding: 10px 40px;
  margin-top: 30px;
  margin-bottom: 30px!important;
}

.kontaktskjema .send {
  text-align: center;
}

.kontaktskjema .wpcf7-submit:hover::after{
  margin-left: 0;
  opacity: 1;
}

.kontaktskjema .wpcf7-submit::after {
  position: absolute;
  text-shadow: none;
  font-size: 32px;
  font-weight: 400;
  font-style: normal;
  font-variant: none;
  line-height: 1em;
  text-transform: none;
  transition: all 300ms ease 0ms;
  height: 50px;
  width: 50px;
}


.kontaktskjema .wpcf7-form input[type=submit] {
	width: 200px;
	margin: 30px auto;
	display: block!important;
}

/* Styling bekreftelsesmelding/feilmelding i skjema */
div.wpcf7-response-output,
div.wpcf7-display-none,
div.wpcf7-mail-sent-ok {
  color: #4d4a4a!important;
  border: 1px solid #4d4a4a!important;
  font-size: 16px;
  font-family: 'Lato';
  padding: 20px!important;
}

div.wpcf7-not-valid-tip {
  color: #FA6!important;
}

.kontaktskjema .wpcf7-form-control-wrap.personvern {
  display: block!important;
  text-align: center!important;
  margin-top: 30px;
  padding-bottom: 10px;
}
