/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
/*
@font-face {
font-family:"mundial";
src:url("https://use.typekit.net/af/81ceed/00000000000000007735ee08/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/81ceed/00000000000000007735ee08/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/81ceed/00000000000000007735ee08/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

@font-face {
font-family:"mundial";
src:url("https://use.typekit.net/af/f00eba/00000000000000007735ee0e/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/f00eba/00000000000000007735ee0e/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/f00eba/00000000000000007735ee0e/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
}

.tk-mundial { font-family: "mundial",sans-serif; }

@font-face {
    font-family: bartomes;
    src: url(/wp-content/themes/divi-child/Bartomes.otf);
    font-weight: normal;
}

p {
	font-size: 18px;
    font-family: bartomes;
    font-weight: normal;	
}
*/

.contact-card .et_pb_team_member_image {
    overflow: hidden;
	clip-path: polygon(15% 0, 100% 0, 85% 90%, 0 90%);

}

.et_pb_team_member_image img {
}

.et_pb_blurb_container {
	padding: 25px;
	background-color: #fff;
}

.et_pb_blurb .et_pb_image_wrap {
	max-height: 240px;
	overflow: hidden;
}
.et_pb_blurb .et_pb_image_wrap img{
	min-height: 240px;
}

.et_pb_main_blurb_image {
	margin-bottom: 0px;
}


.contact-card {
	margin-bottom: 30px!important;
}

.contact-card a {
	text-decoration: none!important;	
	border-bottom: none!important;
}

.et_pb_team_member_description {
	padding-right: 15px;
}

.products-row-listing {}

.contact-us-card img {
	margin-bottom: 20px;
}

/*
font-family: "mundial", sans-serif;
font-weight: 400;
font-style: normal;

font-family: "mundial", sans-serif;
font-weight: 700;
font-style: normal;
*/

.et_pb_blog_extras .et_pb_post_extra {
  border-radius: 0!important;
  border: 0px!important;
  box-shadow: unset!important;
  -webkit-box-shadow: unset!important;
// background-color: #F9F4F3!important;
}



header .et_pb_menu__wrap {
  justify-content: end!important;
}


/* Break point meny */
@media (max-width: 1050px) {
	#menu-main-menu .et_mobile_nav_menu,
	.et_mobile_nav_menu {
		display: flex!important;
	}
	.et_pb_menu__menu {
		display: none!important;
	}
	.et_pb_menu--style-left_aligned .et_pb_menu_inner_container {
		align-items: center;
	}
	#main-header .et_menu_container {
		//width: 90%;
	}
}

@media (min-width: 0px) {
  #burgermenu .et_mobile_nav_menu{
    display: block;
  }
  #burgermenu .et_mobile_nav_menu span.mobile_menu_bar::before{
    color: #44342D;
  }

  #burgermenu {
    width: 50px;
    float: right;
  }

  #burgermenu .et_pb_menu__menu{
    display: none;
  }

  #burgermenu .et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu {
    background-color: #000!important;
  }

  #burgermenu ul#mobile_menu2 li a {
    color: #333!important;
  }
}



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




/******************************
MOBILE MENU
*******************************/

.et_mobile_nav_menu .et_mobile_menu .sub-menu li:marker {
	display: none;
}

.et_mobile_nav_menu .mobile_nav.opened {
  display: block;
	z-index: 999999;
}

.et_pb_menu__wrap .mobile_menu_bar {
  display: block;
	z-index: 999999;
}

.et_pb_menu__wrap .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
	color: #44342D!important;
	left: 0px;
}

.et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu {
	display: block!important;
	position: fixed!important;
	pointer-events: all!important;
	overflow-y: auto;
	left: 0!important;
	right: 0!important;
	top: 0!important;
	bottom: 0!important;
	width: 100%!important;
	padding-top: 45px;
	padding-top: 45px;

	border-top: 0;
	margin: 0!important;
	text-align: center;
	background-color: #000!important; /*menu cover background color*/
}


.et_pb_menu__wrap .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
	color: #FFF!important;
	left: 0px;
}

.et_mobile_nav_menu .et_mobile_menu .sub-menu,
.et_mobile_nav_menu .et_mobile_menu .sub-menu li {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

#mobile_menu1 .sub-menu {
	background-color: transparent!important;
}


#mobile_menu1 a {
		color: #FFF!important;
}

#mobile_menu1 {
  height: 100vh;
}

.et_mobile_nav_menu .et_mobile_menu a{
	border-bottom: 0!important;
	padding: 10px;
	border-bottom: none;
	background-color: transparent!important;
	line-height: 1.6em;
	font-weight: 400!important;
	color: #FFF!important;
	font-size: 30px!important;
}

.et_mobile_nav_menu #mobile_menu1.et_mobile_menu ul.sub-menu a{
	font-size: 15px;
	color: #FFF!important;
	border-bottom: none;
	font-weight: 400!important;
}

.et_mobile_nav_menu .mobile_nav.opened #mobile_menu1.et_mobile_menu .current-menu-item > a {
	color: #FFF!important;
	text-decoration: none;
}

@media (max-width: 767px) {
	.mobile_nav.opened .et_mobile_menu {
	//	padding-top: 195px!important;
	}
	.et_mobile_menu li a {
		padding: 10px!important;
	}

	#mobile_menu1.et_mobile_menu a {
		font-size: 28px!important;
		padding: 0;
		line-height:1em!important;
	}

	#mobile_menu1.et_mobile_menu ul.sub-menu a{
		font-size: 15px!important;
	}
}


ul#menu-hovedmeny-topp.et-menu.nav li.menu-item a {
  padding-bottom: 0;
}

ul#menu-hovedmeny-topp.et-menu.nav li.current-menu-item a{
  border-bottom: 2px solid #481E16;
}

.et_pb_menu ul li.current-menu-item ul.sub-menu li a {
	color: #fff!important;
}


.et_pb_menu ul ul.sub-menu {
	width: 100%!important;
}


.et_pb_menu ul ul.sub-menu li,
.et_pb_menu ul ul.sub-menu li a{
	width: 100%!important;
}


.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
	color: #FFF!important;
}
.et_mobile_menu {
	border-color: #481E16!important;
}

#topmenu {
  width: 94%;
  position: absolute;
}

#burgermenu {
  position: absolute;
  right: 0;
  top: 42px;
}

@media (max-width: 1200px) {
  #topmenu .et_pb_menu__wrap{
    display: none;
  }
  .et_pb_menu__logo-wrap {
    max-width: 200px!important;
  }
}

@media (max-width: 980px) {
  #burgermenu {
    top: 10px;
  }
}

@media (max-width: 1050px){
  header .et_pb_section {
    padding: 10px 0!important;
  //  width: 90%;
  }
  .et-l--header ul {
    list-style-type: none;
  }
}

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

  .mobile_menu_bar {
    margin-top: 5px;
  }
}

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

/*** **/


.et_pb_post_content .et_pb_section {
  background-color: #FAF9F7!important;
  padding-top: 30px;
}


p a {
  text-decoration: none!important;
}

p a:hover {
  border-bottom: 0.5px solid;
}
@media (min-width:980px){
.et_pb_column_4_4 .et_pb_post_extra.el_dbe_block_extended .post-media,
.et_pb_column_4_4 .et_pb_post_extra.el_dbe_block_extended .post-media-container{
  height: 320px!important;
}
}
@media (max-width: 980px) {
  .col3-image .et_pb_column{
    width: 32%!important;
    padding-right: 10px;
  }
}


/**/
body p a {
  padding-bottom: 3px;
  border-bottom: 0.5px solid #B59885;
}

body .nolink p a {
  padding-bottom: 0px;
  border-bottom: 0px;
}

body .whitelink p a {
  padding-bottom: 3px;
  border-bottom: 0.5px solid #fff;
}

body .nolink p a:hover {
  padding-bottom: 3px;
  border-bottom: 0.5px solid #44342D;
}



/*** Style aktuelt ***/
.et_pb_post_content .et_pb_section {
	background-color: #fff!important;
}
@media (max-width: 980px){
  #news-top.et_pb_section .et_pb_row,
.et_pb_post_content .et_pb_section .et_pb_row {
  width: 90%;
}
}


/**** BESTILLINGSSKJEMA ****/
.wpcf7 {
  max-width: 460px;
  margin: 0 auto;
}

.wpcf7 p {
  font-family: 'Roboto';
  color: #44342D;
}

.wpcf7 p label {
  text-align: left;
  margin-left: 0;
  font-weight: 300;
  font-family: 'Roboto';
  padding-bottom:  20px;
  float: left;
  width: 100%;
}

.wpcf7 .dato p label,
.wpcf7 .antallpersoner p label {
  width: 49%;
}

.wpcf7 .antallpersoner p label {
  float: right;
}

.wpcf7 p {
  padding-bottom: 20px!important;
}

.wpcf7 span.wpcf7-form-control-wrap input,
.wpcf7 span.wpcf7-form-control-wrap select,
.wpcf7 span.wpcf7-form-control-wrap textarea,
.wpcf7 span.wpcf7-form-control-wrap .wpcf7-date,
.wpcf7 span.wpcf7-form-control-wrap .wpcf7-number {
	width: 100%;
	padding: 10px 20px;
	border-radius: 0px;
  border-width: 0.5px;
  border-color: #9D9D9D;
	font-size: 14px;
	color: #343434;
  font-family: 'Roboto';
  font-weight: 300;
}

.wpcf7 span.wpcf7-list-item input[type="checkbox"] {
	margin: 0;
	float: left!important;
	width: 20px!important;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item span.wpcf7-list-item-label {
	top: -10px!important;
}

.wpcf7 input[type="submit"] {
	background-color: #756154;
	border: 0px;
	border-radius: 0px;
	padding: 10px 40px;
	color: #fff;
	font-size: 16px;
	margin: 0 auto;
	text-align: center;
  font-family: 'Roboto';
  font-weight: 300;
}

.wpcf7 .acceptance p,
.wpcf7 .submit p{
	margin: 0 auto;
	text-align: center;
	padding-top: 20px;
}

.wpcf7 .acceptance span.wpcf7-list-item-label a {
	color: #44494B;
	text-decoration: underline;
}


.wpcf7 form.sent .wpcf7-response-output {
	background-color: #756154;
	border-color: unset;
	border-radius: 0px;
	color: #fff;
	text-align: center;
	padding: 20px 0;
	font-size: 18px;
  font-family: 'Yrsa';
}

.wpcf7 .nyhetsbrev,
.wpcf7 .vilkar {
  //padding-bottom: 10px;
}
.wpcf7 .sendinn{
  margin: 0 auto;
}

.wpcf7-spinner {
  width: 100%;
}

.wpcf7 .nyhetsbrev p label {
  font-weight: 700;
  font-family: 'Roboto';
  text-align: center;
  padding-bottom: 5px;
}

.wpcf7 .nyhetsbrev p label span{
  font-weight: 300;
}
