/*
Theme Name: Leer Bygg
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/* General Custom CSS */

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600');

body{
	font-family: 'Source Sans Pro', sans-serif!important;
}

h1,h2,h3,h4,h5,h6{
	text-transform: none!important;
	font-weight: 400;
}

#main{
	background-color: #ffffff;
}

.avia-menu-text{
	font-size: 20px;
	font-weight: 400;
}

.logo{
	padding: 20px 0;
}
.logo a img{
	object-fit: contain!important;
	max-height: 100%!important;
}

#forside_header{
	background-size: cover;
	background-position: 0px -80px!important;
}

#forside_header h1{
	font-size: 30px;
}

#forside_header .content{
	vertical-align: middle;
}
#underside_header{
	background-size: cover;
	background-position: bottom!important;
	height: 700px;
}
#underside_header.center{
	background-position: center!important;
}
#underside_header.top{
	background-position: top!important;
}
#forside_header.center{
	background-position: center!important;
}
#forside_header.bottom{
	background-position: bottom!important;
}
#underside_header h1{
	font-size: 30px;
}

#underside_header .content{
	vertical-align: middle;
}
#underside_header .container{
	height: 600px!important;
}
#skew_right{
	transform: skewY(-5deg);
	margin-top: -100px;
	z-index: 1!important;
}
#skew_right.underside{
	transform: skewY(-5deg);
	margin-top: -150px;
	z-index: 1!important;
	margin-bottom: -150px;
}
#underside_header .av-section-color-overlay{
    transform: skewY(-5deg);
    margin-bottom: 50px;
    margin-top: -150px;
    background-repeat: no-repeat!important;
}
#forside_header .av-section-color-overlay{
    transform: skewY(-5deg);
    margin-bottom: 100px;
    margin-top: -150px;
    background-repeat: repeat-y!important;
}
div.avia-section{
	z-index: 2!important;
}
#skew_right .container{
	transform: skewY(5deg);
}
#skew_left{
	transform: skewY(5deg);
	margin-top: -100px;
	z-index: 2!important;
	position: relative;
	margin-bottom: -100px;
}
#skew_left .container{
	transform: skewY(-5deg);
}
.box {
  background-image: linear-gradient(white, white),
                    linear-gradient(white, white),
                    linear-gradient(white, white),
                    linear-gradient(white, white),
                    linear-gradient(transparent, transparent);
  background-repeat: no-repeat;
  background-size: 2px 50%, 50% 2px, 2px 50%, 50% 2px, calc(100% - 8px) calc(100% - 8px);
  background-position: left top, left top, right bottom, right bottom, 4px 4px;
	padding: 40px 60px;  
  max-width: 500px;
  margin: 20px;
  text-align: center;

}
.box a.knapp{
	padding: 5px 10px;
	display: block;
	background-color: #226e76;
	color: white;
	width: calc(50% - 10px);
	text-align: center;
	float: left;
}
.box a.knapp.first{
	margin-right: 5px;
}
.box a.knapp.last{
	margin-left: 5px;
}
.box h1{
	margin-bottom: 30px;
}
form label{
	color: white;
}
abbr.required{
	color: white;
}
.avia_ajax_form .button{
	float: right;
}
.clearfix{
	clear: both;
}
#skew_right .av-section-color-overlay-wrap{
	padding-bottom: 350px;
	margin-bottom: -350px;
	background-size: cover;
}
#skew_right .av-section-color-overlay{
	background-size: cover;
}
#hvemervi{
	position: relative;
    background-color: rgba(33,109,117, 0.9)!important;
   border-bottom-width: 200px !important;
border-bottom-color: white !important;
border-bottom-style: solid !important;
}
#hvemervi .content{
	vertical-align: top!important;
}
#hvemervi_info{
	margin-top: -450px;
}
#hvemervi_info{
	position: relative;
	background-color:transparent;
}
.hvemervi_kort{
	padding: 10px;
	padding-bottom: 0px;
	background-color: white;
}
.hvemervi_kort img{
	height: 300px;
	width: 100%;
	margin: 0px;
	object-fit: cover;
}

.info{
	background-color: #226e76;
	padding: 15px 15px;
	text-align: center;
	margin-top: -10px;
}
.hvemervi_kort .info .navn{
	text-align: center;
	color: white;
	font-size: 22px;
	font-weight: 600;
	width: 100%;
	display: block;
}
.hvemervi_kort .info .tittel{
	text-align: center;
	color: white;
	font-weight: 400;
	font-size: 14px;
	width: 100%;
	display: block;
}
.tittel_streker{
	background-image: linear-gradient(white, white),
                    linear-gradient(white, white),
                    linear-gradient(white, white),
                    linear-gradient(white, white),
                    linear-gradient(transparent, transparent);
  background-repeat: no-repeat;
  background-size: 2px 50px, 50px 2px, 0, 0, calc(100% - 8px) calc(100% - 8px);
  background-position: left top, left top, right bottom, right bottom, 4px 4px;
  padding: 15px 20px;
  text-transform: uppercase!important;

}
.tittel_streker h2{
font-weight: 400!important;
}
.tittel_streker_blaa{
	background-image: linear-gradient(#226e76, #226e76),
                    linear-gradient(#226e76, #226e76),
                    linear-gradient(#226e76, #226e76),
                    linear-gradient(#226e76, #226e76),
                    linear-gradient(transparent, transparent);
  background-repeat: no-repeat;
  background-size: 2px 50px, 50px 2px, 0, 0, calc(100% - 8px) calc(100% - 8px);
  background-position: left top, left top, right bottom, right bottom, 4px 4px;
  padding: 15px 20px;

}
.hjorner{
		background-image: linear-gradient(#3e3a34, #3e3a34),
                    linear-gradient(#3e3a34, #3e3a34),
                    linear-gradient(#3e3a34, #3e3a34),
                    linear-gradient(#3e3a34, #3e3a34),
                    linear-gradient(transparent, transparent);
  background-repeat: no-repeat;
  background-size: 2px 35%, 100% 2px, 2px 35%, 100% 2px, calc(100% - 8px) calc(100% - 8px);
  background-position: right top, right top, left bottom, left bottom, 4px 4px;
  padding: 40px 60px;
}
.tittel_streker h2{
  color: white;
}
a.knapp_stroke{
	padding: 10px 20px;
	border: 2px solid #226e76;
}

#referanser a.knapp_stroke{
	float: right;
	margin-top: 20px;
}
.blaa{
	color: #226e76!important;
}
#prosjekter{
	margin-top: -140px;
	width: 100%!important;
}
#prosjekter_tittel{
	background-color: transparent;
	position: relative;
}
#prosjekter .nextend-thumbnail-inner div.n2-style-8c39bd1b5d1c821102353bb13550e669-simple.nextend-thumbnail-scroller.n2-ow.n2-align-content-center{
	background-color: #3e3a34;
}
#prosjekter .n2-font-160f3fbf4fe58b5a701ceff068b6fb4d-simple.n2-ow {
    width: 100%;
    display: block;
    font-weight: 600;
    margin: 0;
    padding: 0;
}
#prosjekter .n2-font-5694dc379f9df4552c5ac191154451f0-simple.n2-ow {
    font-style: normal;
}
.avia-section{
	min-height: 0!important;
}
#prosjekter_tittel h2{

}
#prosjekter_tittel .container{
	max-width: none!important;
	width: 100%!important;
	padding: 0 20px;
}
#referanser div.av-flex-placeholder{
	width: 20px;
}

#footer{
	padding: 0;
	height: 145px;
	width: 100%;
}
#footer .widget{
	margin: 0;
	height: 145px;
}
#footer .widget table{
	width: 100%;
	height: 145px;
	background-color: transparent;
	border: 0px;
}
#footer .widget table tr{
	background-color: transparent;
	border: 0px;
}
#footer .widget table td{
	vertical-align: middle;
	background-color: transparent;
	border: 0px;
	text-align: right;
	padding: 0;
}
#footer .widget table td.first{
	text-align: left;
	width: auto;
}

.container_wrap{
	border: 0;
}
a.ref_link{
    position: absolute;
    right: 20px;
    top: 50%;
    display: block;
    padding: 0px 10px;
    border: 2px solid white;
    transform: translateY(-50%);
    color: white!important;
}
a.ref_link:hover{
	text-decoration: none;
}
.pro_wrap{
	background: #3e3a34;
}
.pro_wrap div.avia-image-container{
	width: 50%;
	float: left;
	height: 100%;
}
.pro_wrap .av_textblock_section {
	width: 50%;
	float: left;
	height: 100%;
	padding: 0 10px 0 15px;
	color: white;
}
.pro_wrap .avia-image-container.avia-align-center{
	margin: 0;
	border-right: 5px solid white;
}
#prosjekter_wrap .av-flex-placeholder{
	width: 20px;
}
#prosess_wrap .pro_wrap{

}
#prosess_wrap .av-flex-placeholder{
	width: 20px;
}
#prosess_wrap .pro_wrap div.avia-image-container{
	width: 40%;
	float: left;
	height: 100%;
}
#prosess_wrap .pro_wrap .av_textblock_section {
	width: 60%;
	float: left;
	height: 100%;
	padding: 0 10px 0 15px;
}
#prosess_wrap .pro_wrap div.avia-image-container{
	height: 100%;
}
#prosess_wrap .pro_wrap img.avia_image{
	object-fit: cover;
}
#prosess_wrap .steg_nr{
	position: absolute;
	left: 0;
	top: 0;
	width: 40%;
	height: 100%;
	text-align: center;
	color: transparent;
	font-size: 80px;
	line-height: 0;
	font-weight: 600;
	background-color: rgba(255,255,255,0.2);
}
#prosess_wrap .steg_nr p{
	color: white;
  -webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: white;
}


#prosess_wrap_alt .pro_wrap .av_textblock_section{
	width: 100%;
}
#prosess_wrap_alt .pro_wrap div.avia-image-container{
	width: 100%!important;
	height: 100%!important;
	position: absolute;
}
#prosess_wrap_alt .pro_wrap div.avia-image-container div.avia-image-container-inner{
	width: 100%;
	height: 100%;
}
#prosess_wrap_alt .pro_wrap img.avia_image{
	width: 100%!important;
	height: 100%!important;
	object-fit: cover!important;
	position: absolute!important;
}
#prosess_wrap_alt .steg_nr{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	color: transparent;
	font-size: 80px;
	line-height: 0;
	font-weight: 600;
	background-color: rgba(255,255,255,0.2);
	display: flex;
	justify-content: center;
	align-items: center;
}
#prosess_wrap_alt .steg_nr p{
	color: white;
  -webkit-text-fill-color: transparent; 
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: white;
}
#prosess_wrap_alt .av_one_fourth.pro_tekst{
	width: 50%;
	padding: 20px;
}
#prosess_wrap_alt .pro_wrap .avia-image-container.avia-align-center{
	border: 0px;
}
#prosess_wrap_alt .av-flex-placeholder{
	width: 5px;
}
#prosess_wrap_alt div.flex_column_table > div.av-flex-placeholder:nth-of-type(4){
	width: 20px!important;
}



#ansatte_wrap .av-flex-placeholder{
	width: 20px;
}
#ansatte_wrap .pro_wrap div.avia-image-container{
	height: 500px;
}
#ansatte_wrap.kontakt_oss .pro_wrap div.avia-image-container{
	height: auto;
}
#ansatte_wrap.kontakt_oss .pro_wrap img.avia_image{
	height: 300px;
	object-fit: cover;
}
#ansatte_wrap .pro_wrap img.avia_image{
	height: 500px;
	object-fit: cover;
}
#ansatte_wrap .pro_txt{
	padding: 40px 20px;
}
#ansatte_wrap .pro_txt a{
	display: block;
	padding: 5px 10px;
	float: left;
	border: 1px solid white;
	text-decoration: none;
	color: white;
}
#ansatte_wrap .pro_txt h3{
	color: white;
}
#ansatte_wrap .pro_txt strong{
	color: white;
}
#ansatte_wrap .pro_wrap div.avia-image-container{
	width: 40%;
	float: left;
	height: 100%;
}
#ansatte_wrap .pro_wrap .av_textblock_section {
	width: 60%;
	float: left;
	height: 100%;
	padding: 0 10px 0 15px;
}
.tje_kat{
	background-color: #3e3a34;
	background-size: cover;
	z-index: 1!important;
}
.tje_kat img{
	width: 60%;
	margin: 0 auto;
}
.tje_kat::after{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background: #3e3a34;
	content: 'qwe';
	width: 100%;
	height: 100%;
	z-index: 100001!important;
}
.tje_kat h1{
	color: white;
}
#jobb_med_oss .avia-image-container-inner{
	width: 100%;
	height: 400px;
}
#jobb_med_oss img.avia_image{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#jobb_med_oss .av_textblock_section{
	margin-top: -100px;
}
#jobb_med_oss .avia_textblock{
	background-color: #226e76;
	max-width: 750px;
	padding: 40px;
	margin: 0 auto;
	border: 7px solid white;
}
#jobb_med_oss div.avia-image-container{
	z-index: 1!important;
}
#jobb_med_oss section.av_textblock_section{
	z-index: 10001!important;
	position: relative;
}
#fokusfelt{
	background-size: cover;
	z-index: 1;
	position: relative;
}
#fokusfelt .box{
	float: right;
	margin-bottom: 75px;
}
#footer{
	z-index: 3;
	position: relative;
}
.js_active .tab{
	float: right;
	text-align: center;
	border-width: 0px;
}
.tab img{
	height: 50px;
	display: block;
	margin: 0 auto;
}
.js_active .tab_content{
	padding: 0;
}
div .main_color .tabcontainer .active_tab{
	background-color: transparent;
}
.tabcontainer .active_tab_content{
	background-color: transparent!important;
	border-width: 0px;
}
#prosjekter_wrap a.slide-image{
	width: 50%;
	float: left;
}
#prosjekter_wrap .slide-entry{
	background-color: #3A3A34;
}
#prosjekter_wrap .slide-content{
	width: 50%;
	float: right;
	padding: 20px;
	color: white;
}
#prosjekter_wrap .slide-content strong{
	color: white!important;
}
#prosjekter_wrap .slide-content h3 a{
	color: white!important;
}
#prosjekter_wrap div .av_one_half {
    margin-left: 20px;
    width: calc(50% - 10Px);
}
#prosjekter_wrap div .av_one_half.first{
	margin-left: 0;
}
#prosjekter_wrap .slide-meta{
	display: none;
}

#prosjekter_wrap article.post-entry.single-big{
	width: calc(50% - 10px)!important;
	float: left!important;
	clear: none;
	background-color: #3A3A34;
	color: white;
}
#prosjekter_wrap article.post-entry.single-big:nth-of-type(even){
	margin-left: 20px;
}
#prosjekter_wrap article.post-entry.single-big div.big-preview{
	width: 50%;
	float: left;
	clear: none;
	padding: 0;
    height: 100%;
    position: absolute;
	}
#prosjekter_wrap article.post-entry.single-big div.big-preview a{
	height: 100%;
}
#prosjekter_wrap article.post-entry.single-big div.big-preview a img{
	object-fit: cover;
}
#prosjekter_wrap article.post-entry.single-big div.big-preview img{
	height: 100%;
}
#prosjekter_wrap article.post-entry.single-big div.entry-content-wrapper{
	width: 50%;
	float: right;
	clear: none;

}
#prosjekter_wrap article.post-entry.single-big div.entry-content-wrapper h2.post-title{
	color: white;
	padding: 20px 20px 0 20px;
	text-align: left; 
	font-size: 25px;
}
#prosjekter_wrap article.post-entry.single-big div.entry-content-wrapper div.read-more-link a{
	color: white;
	border: 1px solid white; 
	padding: 2px 10px;
}
#prosjekter_wrap article.post-entry .entry-content{
	padding: 10px 20px 20px 20px;
}
#prosjekter_wrap article.post-entry .entry-content strong{
	color: white!important;
}
#prosjekter_wrap article.post-entry.single-big .post-meta-infos{
	display: none;
}
#prosjekter_wrap .template-blog .post_delimiter{
	display: none;
}

article.category-nybygg h2.post-title:before{
	display: block;
	width: 35px;
	height: 30px;
	background-image: url('http://nygweb.no/leer/wp-content/uploads/2018/05/nybygg-hvit.png');
	background-size: contain;
	float: left;
	background-position: 0px;
	background-repeat: no-repeat;
	margin-top: 0px;
	margin-right: 10px;
	content: '';
}
article.category-pabygg h2.post-title:before{
	display: block;
	width: 35px;
	height: 30px;
	background-image: url('http://nygweb.no/leer/wp-content/uploads/2018/05/paabygg-hvit.png');
	background-size: contain;
	float: left;
	background-position: 0px;
	background-repeat: no-repeat;
	margin-top: 0px;
	margin-right: 10px;
	content: '';
}
article.category-rehabilitering h2.post-title:before{
	display: block;
	width: 35px;
	height: 30px;
	background-image: url('http://nygweb.no/leer/wp-content/uploads/2018/05/rehab-hvit.png');
	background-size: contain;
	float: left;
	background-position: 0px;
	background-repeat: no-repeat;
	margin-top: 0px;
	margin-right: 10px;
	content: '';
}
/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
  #prosess_wrap_alt .pro_wrap div.avia-image-container{
  	position: relative;
  }
#prosess_wrap_alt .pro_wrap img.avia_image {
    width: 100%!important;
    height: 200px!important;
    object-fit: cover!important;
    position: relative!important;
}
.box{
	padding: 20px;
}
.box .knapp{
    font-size: 13px;
    font-weight: 600;
}
#forside_header h1{
	font-size: 16px;
}
#forside_header .content{
	vertical-align: top;
	margin-top: 20px;
}
}