/*
Theme Name: Enfold Child
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
*/



/*Add your own styles here:*/

#top .formcraft-datepicker .ui-datepicker-title select {
    color: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    box-shadow: none;
    padding: 0 0.5em!important;
    height: 2.9em;
    vertical-align: top;
    margin: 0;
    border: 0;
    background: 0 0;
    cursor: pointer;
    width: auto;
    display: inline-block;
    font-size: inherit;
    border-radius: 0;
}

/* montserrat-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/montserrat-v26-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/montserrat-v26-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v26-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/montserrat-v26-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-v26-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v26-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/montserrat-v26-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/montserrat-v26-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@media only screen and (max-width: 990px) {
.responsive #top .av-main-nav .av-burger-menu-main {
    position: fixed;
    top: 10px;
	right: 10px;
}}

@media only screen and (max-width: 768px) {
h1,h2,h3 {

  -ms-hyphens: auto; /* ab IE10 */
  -moz-hyphens: auto; /* seit Firefox 6 */
  -webkit-hyphens: auto; /* seit Safari 5.1 (OS X), Safari 4.1 (iOS) */
  hyphens: auto;

}
	}

@media only screen and (max-width: 768px) { .caption_framed .slideshow_caption .avia-caption-title, .avia-caption .avia-caption-title {

  -ms-hyphens: auto; /* ab IE10 */
  -moz-hyphens: auto; /* seit Firefox 6 */
  -webkit-hyphens: auto; /* seit Safari 5.1 (OS X), Safari 4.1 (iOS) */
  hyphens: auto;

}
	}

/************************** Mega Menu START **************************/
.lm-megamenu {
	position: static!important;
}
 .menu-item > a {
	position: relative;
	color: #fff;
}
.lm-megamenu > .sub-menu {
	padding:0!important;
	width: 1310px!important;
	right: -50px!important;
	left: auto!important;
	top: 88px;
	display: none!important;
	
		
	flex-direction: row;
    align-items: stretch; /* align items in Cross Axis */
    align-content: stretch; /* Extra space in Cross Axis */
}


/************************************************************
START

ENFOLD full-width template 
add these two classes when using 100% width on the header
************************************************************/
.lm-megamenu > .sub-menu {
	position: fixed!important;
	width: 100%!important;
	right: 0!important;
}
.logged-in .lm-megamenu > .sub-menu {
	top: 120px;
}

/* If there's a top bar, we need a 2nd change */
.lm-megamenu > .sub-menu {
	top: 148px;
}
.logged-in .lm-megamenu > .sub-menu {
	top: 180px;
}

/************************************************************
END

ENFOLD full-width template 
add these two classes when using 100% width on the header
************************************************************/


.lm-megamenu.av-show-submenu > .sub-menu {
	display: flex !important;
}



.lm-megamenu > .sub-menu li {
	padding: 0!important;
	margin: 0!important;
	width: 100%;

	
}
.lm-megamenu > .sub-menu li a {
	
	color: #fff!important;
	background: none!important;
	text-transform: uppercase;
	text-align: center;
	border: 0!important;
	
	padding: 100px 20px;
	height: 250px!important;
	
	display: flex!important;

	flex-direction: column;
	justify-content: center;
	align-items: center;
}


.lm-megamenu .lm-menu-item {
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
	width:100%;
	height:100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	opacity: 1!important;
    display: block!important;
}
.lm-megamenu .lm-menu-item::after {
	content: " ";
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	width:100%;
	height:100%;
	background: rgba(0,0,0,.7);
	transition: all .3s;
}
.lm-megamenu .sub-menu .menu-item:hover a .lm-menu-item::after {
	background: rgba(0,0,0,.2);
}





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

	.lm-megamenu > .sub-menu {
		width: 100vw!important;
		flex-wrap: wrap;
	}
	.lm-megamenu > .sub-menu li {
		flex: 25%;
	}
	.lm-megamenu > .sub-menu li a {
		height: 200px!important;
	}

}



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

	.lm-megamenu > .sub-menu li {
		flex: 50%;
	}
	.lm-megamenu > .sub-menu li a {
		height: 150px!important;
	}

}




@media only screen and (min-width:990px) {

	.lm-megamenu:hover > .sub-menu {
		display: flex !important;
	}

}
/************************** Mega Menu END **************************/
