/*
Theme Name: Leba
Version: 1.0
Author: Creative Works

Template: Leba
*/



/*Add your own styles here:*/
/*

Leba färger

oliv #798671
teal #377D7F
vinröd #61233D
rosa #C45360
orange #DD913D
gul #EBC158


*/

.page-template-default .entry-content{
	max-width: 800px;
	margin:60px auto;
}

.page-template-default .main_color tr:nth-child(even){
	color:#000;
}
.page-template-default li,
.page-template-default li *{
	font-size: 16px;
}
.page-template-default table{
	margin:40px 0px;
}
a{
	opacity:1;
	transition: opacity .25s ease-in-out !important;
   -moz-transition: opacity .25s ease-in-out !important;
   -webkit-transition: opacity .25s ease-in-out !important;
   text-decoration: none !important;
}
a:hover{
	opacity: 0.5 !important;
	text-decoration: none !important;
}

.main_color a:hover{
	color:#377D7F;
	opacity: 0.5 !important;
	text-decoration: none !important;
}
.av-logo-container a:hover{
	opacity: 1 !important;
}
.areas{
	max-width: 900px;
	display: block;
	margin: 0 auto
}

.job-container{
	display: flex;
	flex-direction: row;
	min-height:400px;
}

.first-job, .second-job, .apply-job{
	color:#fff;
	width:calc(33.333%);
	padding:80px 40px;
}
.first-job a, .second-job a, .apply-job a, .first-job h3, .second-job h3, .apply-job h3{
	color:#fff;
}
.first-job, .second-job{
	background: #C45360;	
	border-right:20px solid #fff !important;
}
.apply-job{
	background: #61233D;		
}


.white-popup {
  position: relative;
  color:#fff;
  background: #C45360;
  padding: 80px 60px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
}
.white-popup a{
	color:#fff !important;
}

.mfp-close-btn-in .mfp-close {
	color:#fff;
}

h1, h2, h3, h4, h5, .avia-menu-text{
	font-family: aktiv-grotesk,sans-serif;
	font-weight: 700;
	font-style: normal;
	letter-spacing: -2px !important;
	display: inline-block;
	padding-bottom:2px;
}

.avia-menu-text{
	line-height:1.3em;
	font-size: 50px
}

/*.hide{
	display: none;
}*/

.page-template-leba-page #main, .page-template-kontakt-template #main{
	max-width:1640px;
	margin:0 auto;
	padding-left:20px;
	padding-right: 20px
}

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

h1{
	font-size: 70px;	
}
.page-id-17 h1{
	font-size: 110px;
}
h2{
	font-size: 52px;	
	margin-bottom: 22px
}
.teal-headline h2, .page-id-25 h2{
	background: rgb(55,125,127);
	background: linear-gradient(90deg, rgba(55,125,127,1) 20%, rgba(97,35,61,1) 60%, rgba(196,83,96,1) 90%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.green-headline h2, .page-id-27 h2{
	background: rgb(121,134,113);
	background: linear-gradient(90deg, rgba(121,134,113,1) 20%, rgba(55,125,127,1) 60%, rgba(97,35,61,1) 90%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.page-id-31 h2{
	background: rgb(97,35,61);
	background: linear-gradient(90deg, rgba(97,35,61,1) 20%, rgba(196,83,96,1) 60%, rgba(221,145,61,1) 90%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.page-id-33 h2{
	background: rgb(235,193,88);
	background: linear-gradient(90deg, rgba(235,193,88,1) 20%, rgba(221,145,61,1) 60%, rgba(196,83,96,1) 90%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.orange-headline h2{
	background: rgb(221,145,61);
	background: linear-gradient(90deg, rgba(221,145,61,1) 20%, rgba(196,83,96,1) 60%, rgba(97,35,61,1) 90%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.purple-headline h2{
	background: rgb(97,35,61);
	background: linear-gradient(90deg, rgba(97,35,61,1) 20%, rgba(196,83,96,1) 60%, rgba(221,145,61,1) 90%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.red-headline h2{
	background: rgb(196,83,96);
	background: linear-gradient(90deg, rgba(196,83,96,1) 20%, rgba(221,145,61,1) 60%, rgba(235,193,88,1) 90%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.quote h3{
	letter-spacing: -1px !important;
}

.av_minimal_header #header_main .container{
	padding:0px 80px;
}
.av_minimal_header #header_main .container, .av_minimal_header .main_menu ul:first-child > li a{
	height:140px;
	line-height: 140px;
}
.av-hamburger-box{
	width:30px;
}

#logo{
	position:absolute;
	left:0px;
	top:-1px;
	width:114px;
}

.top-section-video{
	display: none;
}

.top-section-image{
	display: block;
	height:50vh;
	min-height:400px;
}

.page-id-17 #av_section_3 .container, .page-id-17 #av_section_5 .container, .page-id-17 #av_section_7 .container{
	padding:0px !important;
}

.middle-section-video{
	display: block;
}
.middle-section-image{
	display:none;
	min-height:300px;
	background-position: top center;
	background-size: cover;
	background-repeat: no-repeat;
}


.page-id-17 .top-section-video, .page-id-25 .top-section-video, .page-id-31 .top-section-video, .page-id-35 .top-section-video, .page-id-37 .top-section-video{
	display:block;
}
.page-id-17 .top-section-image, .page-id-25 .top-section-image, .page-id-31 .top-section-image, .page-id-35 .top-section-image, .page-id-37 .top-section-image{
	display:none;
}

a.contact-link{
	font-weight:600;
	font-size: 22px;
	line-height: 28px;
}

h3{
	font-size: 30px;
}

p{
	font-family: aktiv-grotesk,sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	line-height: 24px;
}

a{
	font-size: 16px;
}

.header_bg{
	background-color: transparent !important; 
}

.av-hamburger{
	background-color: #798671;
	border-radius:40px;
	padding:10px 13px;
	display: flex;
	height: 56px;
	justify-content: center;
	align-items: center;
}
.header_color .av-hamburger-inner, .header_color .av-hamburger-inner::before, .header_color .av-hamburger-inner::after{
	height:5px;
	background-color:#fff;
}
.av-burger-menu-main a{
	display: flex !important;
	align-items: center;
}

.current-menu-item .avia-menu-text{
	color:#C45360;
}

main.content{
	padding-top:15px;
}

.leba-link-section p{
	font-size: 26px;	
}

.leba-text-container{
	padding:90px !important;
}
.quote .avia_textblock{
	display: flex;
	justify-content: center;
}

.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2{
	text-transform: none;
	letter-spacing: 0px;
}

.top-section-video, .top-section-image{
	position:relative;
	margin-top:20px !important;
}
.top-section-video h1, .top-section-image h1{
	position:absolute;
	bottom:50px;
	left:50px;
	color:#fff;
}

.zoom-background .av_textblock_section:before{
	content:"";
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-color: rgba(0, 0, 0, 0.3); 
	z-index:2;
}

.zoom-background .av_textblock_section .avia_textblock{
	z-index:3;	
	position:relative;
}


.top-section-image{
	min-height:500px;
	background-position: top center;
	background-size: cover;
	background-repeat: no-repeat;
	margin-bottom:20px !important;
}
.top-section-video{
	margin-bottom:16px !important;	
}

.page-id-17 .top-section-video h1, .page-id-17 .top-section-image h1{
	bottom:50px;
	right:50px;
	left:auto;
	line-height: 104px;
	letter-spacing: -2px;
}

.white-text p, .white-text a, .white-text h1, .white-text h2, .white-text h3, .white-text h4, .white-text h5{
	color:#fff !important;
	background: rgb(255,255,255);
	
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.leba-container .flex_column_table_cell{
	height:40vh;
	min-height:100px;
}
.leba-container .container, .leba-container .container .content{
	padding:0px !important;
}
.leba-container.av-minimum-height-50 .container, .leba-container .av-cell-min-height-50 > .flex_cell{
	height:auto !important;
	padding:0px !important;
}
.leba-container .no_margin.av_one_half{
	width:calc(50% - 10px) !important;
	padding:30px 60px 30px;
}

.leba-container .leba-link-section h3{
	font-size: 50px;
}
.leba-container .leba-link-section a{
	font-size: 25px;	
}

.leba-container .no_margin.av_one_half:nth-child(1), .leba-container .no_margin.av_two_third:nth-child(1), .leba-container .no_margin.av_one_third:nth-child(1){
	border-right:10px solid #fff;
}
.leba-container .no_margin.av_one_half:nth-child(2), .leba-container .no_margin.av_two_third:nth-child(2), .leba-container .no_margin.av_one_third:nth-child(2){
	border-left:10px solid #fff;
}

#footer{
	min-height:30vh;
	display: flex;
	align-items: center;
	border:none;
}

#footer a, #footer li{
	font-size: 15px;
	color:#000;
}


.footer-content{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.footer-content h3{
	font-size: 50px;
	padding-bottom:10px;
	background: rgb(121,134,113);
	background: linear-gradient(90deg, rgba(121,134,113,1) 0%, rgba(55,125,127,1) 20%, rgba(97,35,61,1) 40%, rgba(196,83,96,1) 60%, rgba(221,145,61,1) 80%, rgba(235,193,88,1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display:inline-block;
}

.footer-content ul{
	width:auto !important;
}
.footer-content ul li{
	display: inline-block;
}


/*------- Contact page start-------*/

.filter-button-container{
	margin-top:40px;
}

.filter-button-container, .filter-button-container ul, .filter-instructions{
	text-align: center;
}
.filter-button-container ul li{
	display: inline-block;
	font-weight: 600;
	font-size:16px;
}
.filter-button-container ul li:after{
	content:" / ";
	margin:0 4px;
	display:inline-block;
	color:#000 !important;
}
.filter-button-container ul li.last-filter-button:after{
	content:"";
}
.filter-button-container ul li:hover{
	cursor: pointer;
}
.filter-button-container ul li.current{
	color:#C45360;
}
.filter-section{
	width:100%;
	padding-bottom:80px;
}
.filter-section h2, .filter-section h3{
	color:#377D7F;
}
.filter-section a{
	color: #000;
}
.contact-container{
	min-height:1200px;
}
.contact-inner-container{
	display: flex;
	flex-direction: row;
	flex-wrap:wrap;
}
.single-contact-container{
	width:calc(33.3333%);
	max-width:446px;
	margin-right:80px;
	margin-bottom:60px;
}
.single-contact-container:nth-child(3n+3){
	margin-right:0px;
}
.contact-image{
	width: 100%;
	background-position: center center;
	background-size: cover;
	margin-bottom:30px;
}
.contact-image:after{
	content: "";
  	display: block;
  	padding-bottom: 100%;
}
.contact-info *{
	margin-bottom:0px;
}
.contact-info p, .contact-info a{
	font-size:16px;
	line-height:16px;
}

.contact-info a{
	color:#377D7F;
	opacity:1;
	transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
   text-decoration: none;
}

.contact-info a:hover{
	opacity: 0.5;
	text-decoration: none;

}

h3.contact-title{
	margin-bottom:0px;
}

p.contact-name{
	font-weight: 600;
	font-size: 20px !important;
	margin-bottom:16px;
	line-height:20px !important;

}
.contact-phone{
	margin-bottom:5px;
}
p.contact-mail{
	margin-bottom:8px !important;
}
p.contact-tags{
	font-size:14px !important;
}


#av_gmap_0, .av_gmaps_main_wrap{
	height:100% !important;
}


body.single-post #main,
body.page-template-page-blogg #main{
	padding-top: 0px !important;
}
body.single-post .container,
body.page-template-page-blogg .container{
	max-width: 1920px;
}
.leba-single-post,
.leba-archive{
	max-width: 1920px !important;
	padding: 0px 20px 0px 20px;
}
.leba-single-post h1,
.leba-archive h1,
.fler-inlagg h2{
	font-size:70px;
	letter-spacing: -3.3px !important;
	max-width:950px;
	line-height: 1.02em;
}
.leba-single-post p,
.leba-archive p{
	font-size:16px;
	line-height: 1.56em;
	letter-spacing: -0.75px;
	margin-top:0px;
	margin-bottom: 25px;
}
.leba-archive p:last-of-type{
	margin-bottom: 0px;
}
.leba-single-post-content,
.leba-archive-content{
	width: 100%;
	margin-left:0px;
	border:none;
}
.single-post-outer-c{
	width: 100%;
	display: grid;
	grid-template-columns: calc(67.44% - 20px) 32.56%;
	grid-template-rows: calc(45.3% - 10px) calc(54.7% - 10px);
	gap: 20px;
}
.single-post-txt{
	grid-row: span 2;
	background-color:#eee;
	padding: 261px 88px 120px 48px;
}
.single-post-txt p:last-of-type{
	margin-bottom: 0px;
}
.txt-cols-c{
	display:flex;
	column-gap:40px;
	padding-top:19px;
}
.txt-cols-c > div{
	width: calc(50% - 20px);
}
.single-post-img img{
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.fler-inlagg{
	padding-top:100px;
	padding-bottom:58px;
}
.fler-inlagg h2{
	display:block;
	text-align:center;
	width: 100%;
	max-width:100%;
	margin: 0px;
}
.fler-inlagg-c{
	display:flex;
	flex-direction: row;
	gap:22px;
}
.fler-inlagg-c .inlagg-c{
	display:block;
	text-decoration: none;
	width: 33%;
	background-color:#A34B4B;
	padding: 100px 70px 100px 50px;
}
.fler-inlagg-c .inlagg-c:hover{
	opacity: 0.7 !important;
}
.fler-inlagg-c .inlagg-c h3,
.fler-inlagg-c .inlagg-c p,
.fler-inlagg-c .inlagg-c a{
	color:#fff;
}
.fler-inlagg-c .inlagg-c h3{
	font-size:30px;
	margin: 0px 0px 15px 0px;
	line-height:1.33em;
	letter-spacing: -1.4px !important;
}
.fler-inlagg-c .inlagg-c p{
	margin-bottom: 11px;
}
.fler-inlagg-c .inlagg-c p:last-of-type{
	margin-bottom:0px;
}
.las-mer-c,
.leba-archive .las-mer-c,
.leba-single-post .las-mer-c{
	font-size:22px;
	font-weight: 700;
}

.archive-head-c{
	position: relative;
	width: 100%;
}
.archive-head-c img{
	object-fit: cover;
	height: 100%;
	width: 100%;
	min-height: 735px;
	display: block;
}
.archive-head-c .archive-head-text{
	position: absolute;
	width: 100%;
	left: 0px;
	bottom: 70px;
	padding-left: 50px;
	padding-right: 50px;
}
.archive-head-c .archive-head-text h1{
	color: #fff;
	font-size: 100px;
	letter-spacing: -4.7px !important;
	max-width: 100%;
	margin: 0px;
}
.archive-head-c .archive-head-text p{
	color: #fff;
	max-width: 700px;
	margin: 15px 0px 0px 0px;
}

.leba-posts-c{
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 20px;
}
.leba-posts-c .post-c{
	display: flex;
	flex-direction: row;
	gap: 20px;
	color:#000;
}
.leba-posts-c .post-c:hover{
	opacity: 1 !important;
	color:#000;
}
.leba-posts-c .post-c:hover .post-c-txt{
	opacity: 0.6;
}

.leba-posts-c .post-c .post-c-txt{
	width: 32.6%;
	padding: 100px 110px 100px 50px;
	background-color: #F2F2F2;
	opacity: 1;
	transition: opacity 200ms;
}

.post-c-txt h2{
	font-size: 30px;
	line-height: 1.33em;
	letter-spacing: -1.41px;
}

.leba-posts-c .post-c .post-c-img{
	width: 67.4%;
	display: flex;
	overflow: hidden;
	position: relative;
}
.leba-posts-c .post-c .post-c-img img{
	object-fit: cover;
	object-position: center center;
	width: 100%;
	height: 100%;
	position: absolute;
}
.leba-posts-c .post-c.img-left .post-c-img{
	order: -1;
}

.template-blog .pagination{
	display: flex;
	justify-content: center;
	padding-top: 20px;
	gap: 5px;
	padding: 20px 20px 20px 20px;
}
.pagination a.prev,
.pagination a.next{
	font-size: 18px;
}
#top .pagination .current, #top .pagination a, #top .fullsize .template-blog .pagination a {
    height: 45px;
    width: 45px;
    line-height: 45px;
}
.main_color .pagination .current,
.main_color .pagination a{
	background-color: #798671;
	color: #fff;
}
#top .main_color .pagination a:hover{
	background-color: #949f8d;
	opacity: 1 !important;
}
.main_color .pagination .current{
	background-color: #949f8d;
	opacity: 0.5 !important;
}

@media only screen and (max-width: 1500px) {
	.leba-posts-c .post-c .post-c-txt {
		width: 40%;
		padding: 100px 50px 100px 50px;
	}
	.leba-posts-c .post-c .post-c-img {
		width: 60%;
	}
}
@media only screen and (max-width: 1400px) {
	.archive-head-c .archive-head-text h1 {
		font-size: 70px;
		letter-spacing: -3.3px !important;
	}
}
@media only screen and (max-width: 1300px) {
	.single-post-outer-c{
		grid-template-columns: 100%;
		grid-template-rows: auto;
	}
	.single-post-txt + .single-post-img{
		order: -1;
	}
	.single-post-txt {
		grid-row:auto;
		padding: 120px 88px 120px 48px;
	}
	.single-post-img{
		max-height: 50vh;
	}
	.fler-inlagg-c .inlagg-c h3 {
		font-size: 26px;
	}
}
@media only screen and (max-width: 1100px) {
	.fler-inlagg-c{
		flex-direction: column;
		align-items: center;
	}
	.fler-inlagg-c .inlagg-c{
		width: 100%;
		max-width: 612px;
	}
}
@media only screen and (max-width: 1024px) {
	.archive-head-c .archive-head-text h1 {
		letter-spacing: -2px !important;
	}
	.leba-posts-c .post-c{
		flex-direction: column;
	}
	.leba-posts-c .post-c .post-c-txt {
		width: 100%;
		padding: 40px 20px 40px 20px;
	}
	.leba-posts-c .post-c .post-c-img {
		width: 100%;
	}
	.leba-posts-c .post-c .post-c-img img{
		position: relative;
		max-height: 30vh;
	}
	.post-c-txt, .post-c-img, .leba-posts-c .post-c.img-left .post-c-img{
		order: 1;
	}
}
@media only screen and (max-width: 767px) {
	.txt-cols-c{
		flex-direction: column;
	}
	.txt-cols-c > div {
		width: 100%;
		max-width: 500px;
	}
	.txt-cols-c > div{
		padding-top:25px;
	}
	.txt-cols-c > div:first-of-type{
		padding-top:0px;
	}
	.leba-single-post h1,
	.fler-inlagg h2{
		font-size:36px !important;
		letter-spacing: -2px !important;
	}
	.single-post-txt {
		padding: 40px 20px 40px 20px;
	}
	.fler-inlagg-c .inlagg-c {
		padding: 40px 20px 40px 20px;
	}
	.fler-inlagg {
		padding-top: 60px;
		padding-bottom: 40px;
	}
	.archive-head-c .archive-head-text{
		bottom: 50px;
	}
	.archive-head-c img {
		min-height: 50vh;
	}
}
@media only screen and (max-width: 360px) {
	.leba-single-post h1,
	.fler-inlagg h2{
		font-size:32px !important;
	}
}




/*------- Contact page end-------*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {


	.white-text p, .white-text a, .white-text h1, .white-text h2, .white-text h3, .white-text h4, .white-text h5{
		color:#fff !important;
		background: none;
	}
	.teal-headline h2, .page-id-25 h2{
		color:#377D7F;
		background: none;
	}
	.green-headline h2, .page-id-27 h2{
		color:#798671;
		background: none;
	}
	.page-id-31 h2{
		color:#61233D;
		background: none;
	}

	.page-id-33 h2{
		color:#EBC158;
		background: none;
	}
	.orange-headline h2{
		color:#DD913D;
		background: none;
	}
	.purple-headline h2{
		color:#61233D;
		background: none;
	}
	.red-headline h2{
		color:#C45360;
		background: none;
	}

	.footer-content h3{
		color:#377D7F;
		background:none;
	}

	.logo{
		top:-18px;
	}

	.zoom-background .av_textblock_section:before{
		content:"";
		position:absolute;
		top:0px;
		left:0px;
		width:100%;
		height:100%;
		background-color: rgba(0, 0, 0, 0.0); 
		z-index:2;
	}
	/*oliv #798671
	teal #377D7F
	vinröd #61233D
	rosa #C45360
	orange #DD913D
	gul #EBC158*/

}


@media only screen and (max-width: 1650px) {
	.single-contact-container:nth-child(3n+3){
		margin-right:80px;
	}
}

@media only screen and (max-width: 1300px) {

	.leba-text-container {
		padding: 40px !important;
	}

}

@media only screen and (max-width: 1024px) {
	#header{
		height:0px !important;
	}
	h1 {
		font-size: 42px !important;
	}

	.page-id-17 h1{
		font-size: 60px !important;
		line-height: 60px !important;
	}
	h2{
		font-size: 36px;	
		margin-bottom: 20px
	}
	#av_gmap_0{
		height:500px !important;
	}
	.av_minimal_header #header_main .container, .av_minimal_header .main_menu ul:first-child > li a {
		height: 140px !important;
		line-height: 140px !important;
	}
	ul#av-burger-menu-ul li a{
		height: 50px !important;
		line-height: 50px !important;
	}

	.html_av-overlay-full #av-burger-menu-ul li {
		padding: 0.2em 0;
	}
	.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li {
		line-height: 1.4em;
	}
	.avia-menu-text {
		line-height: 1.3em;
		font-size: 35px;
	}

	.leba-container .leba-link-section h3{
		font-size: 32px;
	}
	.leba-container .no_margin.av_one_half{
		padding:30px 10% 30px;
	}
	.leba-link-section p {
		font-size: 18px;
	}

	.leba-container .no_margin.av_one_half, .leba-container .no_margin.two_third, .leba-container .no_margin.one_third, .responsive #top #wrap_all .container{
		width:100% !important;
		max-width:100% !important;
	}

	.leba-container .no_margin.av_one_half:nth-child(1), .leba-container .no_margin.av_two_third:nth-child(1), .leba-container .no_margin.av_one_third:nth-child(1){
		border-right:0px solid #fff;
	}
	.leba-container .no_margin.av_one_half:nth-child(2), .leba-container .no_margin.av_two_third:nth-child(2), .leba-container .no_margin.av_one_third:nth-child(2){
		border-left:0px solid #fff;
	}
	.leba-container .no_margin.av_one_half:nth-child(2), .leba-container .no_margin.av_two_third:nth-child(2), .leba-container .no_margin.av_one_third:nth-child(2){
		margin-top:20px !important;
	}

	.responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin{
		margin-bottom:0px !important;
	}

	.leba-link-section{
		display: flex !important;
		align-items:flex-end;
	}
	.leba-text-container{
		padding:20px !important;
	}
	.leba-container .flex_column_table_cell{
		height:auto;
		min-height:300px;
	}
	.top-section-video h1, .top-section-image h1 {
		position: absolute;
		bottom: 50px;
		left: 5%;
		color: #fff;
	}
	.contact-inner-container {
		flex-flow: row wrap !important;
	}
	.single-contact-container {
		width: calc(50% - 40px);
		max-width: 50%;
		margin-right: 80px;
		margin-bottom:80px;
	}
	.single-contact-container:nth-child(even) {
		margin-right: 0px;
	}
	.job-container{
		flex-direction: column;
	}
	.first-job, .second-job, .apply-job{
		width:calc(100%);
	}
	.first-job, .second-job{
		border-right:0px solid #fff !important;
		border-bottom:20px solid #fff !important;
		min-height:300px;
	}
	.apply-job{		
	}

}

@media only screen and (max-width: 768px) {

	.single-contact-container{
		margin-right:20px;
	}
	.single-contact-container:nth-child(2n+2){
		margin-right:20px;
	}
	.single-contact-container:nth-child(3n+3){
		margin-right:20px;
	}

.page-id-17 .top-section-video, .page-id-25 .top-section-video, .page-id-31 .top-section-video, .page-id-35 .top-section-video, .page-id-37 .top-section-video{
	display:none !important;
}
.top-section-image{
	display:block !important;
}

.middle-section-video{
	display: none;
}
.middle-section-image{
	display: block;
}

	.leba-container .no_margin.av_one_half:nth-child(1), .leba-container .no_margin.av_two_third:nth-child(1), .leba-container .no_margin.av_one_third:nth-child(1){
		border-right:0px solid #fff;
	}
	.leba-container .no_margin.av_one_half:nth-child(2), .leba-container .no_margin.av_two_third:nth-child(2), .leba-container .no_margin.av_one_third:nth-child(2){
		border-left:0px solid #fff;
	}
	.leba-container .no_margin.av_one_half:nth-child(2), .leba-container .no_margin.av_two_third:nth-child(2), .leba-container .no_margin.av_one_third:nth-child(2){
		margin-top:20px !important;
	}

	.responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin{
		margin-bottom:0px !important;
	}

	.responsive #top #wrap_all .flex_column.leba-text-container:nth-child(2), .responsive #top #wrap_all .flex_column.leba-text-container:nth-child(2), .responsive #top #wrap_all .flex_column.leba-text-container:nth-child(2){
		margin-top:0px !important;
		margin-bottom:20px !important;
	}

/*	.page-id-17 .top-section-video h1, .page-id-17 .top-section-image h1 {
		bottom: 50px;
		right: 0%;
		left: auto;
		line-height: 104px;
		letter-spacing: -2px;
	}
	h1 {
		font-size: 42px !important;
	}

	.page-id-17 h1{
		font-size: 60px !important;
		line-height: 60px !important;
	}
	h2{
		font-size: 36px;	
		margin-bottom: 20px
	}
	
	.html_av-overlay-full #av-burger-menu-ul li {
		padding: 0.2em 0;
	}
	.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li {
		line-height: 1.4em;
	}
	.avia-menu-text {
		line-height: 1.3em;
		font-size: 35px;
	}

	.leba-container .leba-link-section h3{
		font-size: 32px;
	}
	.leba-container .no_margin.av_one_half{
		padding:30px 10% 30px;
	}
	.leba-link-section p {
		font-size: 18px;
	}

	.leba-container .no_margin.av_one_half, .leba-container .no_margin.two_third, .leba-container .no_margin.one_third, .responsive #top #wrap_all .container{
		width:100% !important;
		max-width:100% !important;
	}*/
	
	/*
	.leba-link-section{
		display: flex !important;
		align-items:flex-end;
	}
	.leba-text-container{
		padding:20px;
	}
	.leba-container .flex_column_table_cell{
		height:auto;
		min-height:300px;
	}
	.top-section-video h1, .top-section-image h1 {
		position: absolute;
		bottom: 50px;
		left: 5%;
		color: #fff;
	}
	.quote{
		display: flex !important;
		justify-content: center;
		align-items: center;
	}*/

	
	.avia-section.container_wrap.fullwidth{
		margin-top:20px !important;
 	}

	#logo{
		left:30px;
		width:100px;
	}
	.av-hamburger {
		margin-right: 30px;
		margin-top: 40px;
		}

	.single-contact-container {
		width: calc(50% - 10px);
		max-width: 50%;
		margin-right: 20px;
	}

		.av_minimal_header #header_main .container, .av_minimal_header .main_menu ul:first-child > li a {
			height: 80px !important;
			line-height: 80px !important;
	}

	.quote{
		display: flex !important;
		justify-content: center;
		align-items: center;
	}

	.responsive #top .flex_column_table {
		display: flex;
		flex-direction: column;
	}
	.flex_column{
		order:2;
	}
	.flex_column.leba-text-container{
		order:1;
	}

}
@media only screen and (max-width: 560px) {
	.single-contact-container {
		width: calc(100%);
		max-width: 100%;
		margin-right: 0px;
	}
	.single-contact-container:nth-child(even) {
		margin-right: 0px;
	}
}