/*
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:*/


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

img, a img {
	image-rendering:unset !important;
}

/* Force header background video to focus on a vertical % */
div[class*='video-focus-'] video {
	object-fit:cover;
	width:100% !important;
	height:100% !important;
	top:0 !important;
	left:0 !important;
}
.video-focus-0 video { object-position: 50% 0%; }
.video-focus-10 video { object-position: 50% 10%; }
.video-focus-20 video { object-position: 50% 20%; }
.video-focus-30 video { object-position: 50% 30%; }
.video-focus-40 video { object-position: 50% 40%; }
.video-focus-50 video { object-position: 50% 50%; }
.video-focus-60 video { object-position: 50% 60%; }
.video-focus-70 video { object-position: 50% 70%; }
.video-focus-80 video { object-position: 50% 80%; }
.video-focus-90 video { object-position: 50% 90%; }
.video-focus-100 video { object-position: 50% 100%; }

.image-focus-y-0, .image-focus-y-0 > div > div { background-position-y: 0% !important; }
.image-focus-y-10, .image-focus-y-10 > div > div { background-position-y: 10% !important; }
.image-focus-y-20, .image-focus-y-20 > div > div { background-position-y: 20% !important; }
.image-focus-y-30, .image-focus-y-30 > div > div { background-position-y: 30% !important; }
.image-focus-y-40, .image-focus-y-40 > div > div { background-position-y: 40% !important; }
.image-focus-y-50, .image-focus-y-50 > div > div { background-position-y: 50% !important; }
.image-focus-y-60, .image-focus-y-60 > div > div { background-position-y: 60% !important; }
.image-focus-y-70, .image-focus-y-70 > div > div { background-position-y: 70% !important; }
.image-focus-y-80, .image-focus-y-80 > div > div { background-position-y: 80% !important; }
.image-focus-y-90, .image-focus-y-90 > div > div { background-position-y: 90% !important; }
.image-focus-y-100, .image-focus-y-100 > div > div { background-position-y: 100% !important; }

.image-focus-x-0, .image-focus-x-0 > div > div { background-position-x: 0% !important; }
.image-focus-x-10, .image-focus-x-10 > div > div { background-position-x: 10% !important; }
.image-focus-x-20, .image-focus-x-20 > div > div { background-position-x: 20% !important; }
.image-focus-x-30, .image-focus-x-30 > div > div { background-position-x: 30% !important; }
.image-focus-x-40, .image-focus-x-40 > div > div { background-position-x: 40% !important; }
.image-focus-x-50, .image-focus-x-50 > div > div { background-position-x: 50% !important; }
.image-focus-x-60, .image-focus-x-60 > div > div { background-position-x: 60% !important; }
.image-focus-x-70, .image-focus-x-70 > div > div { background-position-x: 70% !important; }
.image-focus-x-80, .image-focus-x-80 > div > div { background-position-x: 80% !important; }
.image-focus-x-90, .image-focus-x-90 > div > div { background-position-x: 90% !important; }
.image-focus-x-100, .image-focus-x-100 > div > div { background-position-x: 100% !important; }

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

/* center and resize img in header */
.header-side-img {
	box-shadow: 2px 2px 5px #00000055;
	margin: auto;
	max-width: 225px;
}
@media only screen and (max-width: 767px) {
	.header-side-img {
		width: 75%;
	}
}

/* Adjust nav menu */
.avia-menu.av_menu_icon_beside {
	border-right-style:none !important;
}
.av_header_transparency #avia-menu > li > a {
	text-shadow: 2px 2px 5px #000c, -2px -2px 5px #000c;
	transition: all 0.3s ease-in-out;
	opacity:1 !important;
}


/* Shadow and curved corners */
.box-shadow {
	border-radius: 10px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* Adjust logo size and spacing */
#top .logo,
#top .logo a,
#top .logo img {
	max-width: 100% !important;
	width: auto !important;
	height: auto !important;
	max-height: 45px !important;
}
#top .logo {
	position: relative !important;
	top: 15px !important;
}

.img-margin {
	margin: 17px;
	vertical-align:middle;
}

/*Adjust spacing for footer logo and text*/
#footer .container .flex_column:first-child section.widget_media_image {
	margin: 40px 0 0 0;
}
#footer .container .flex_column:first-child section.widget_custom_html {
	margin-top:0;
}

/* Social bookmarks footer widget */
#top .socialbookmarks-widget .social_bookmarks {
	float: left;
	margin: 10px 0 0 ;
	position: relative;
	font-size: 25px;
}
#top .socialbookmarks-widget .social_bookmarks li {
	float: left;
	clear: right !important;
	border:0;
	margin-right: 3px;
}

/* Background video can overflow for some reason */
.avia-section.av-section-with-video-bg.container_wrap.fullsize {
	overflow:hidden;
}

/* Add shadow to text inside header background */
.avia-section.alternate_color.av-section-color-overlay-active {
	text-shadow: 2px 2px 5px #000c, -2px -2px 5px #000c;
}

/* header text */
.av-special-heading-h1 h1.av-special-heading-tag {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: calc(min(55px, 15px + (100vw) / 20));
	color: #fff;
	text-shadow: 1px 1px 7px #000, 3px 3px 10px #000000cc;
	font-weight: 900;
}
.av-subheading {
	font-size: 20px !important;
	color: #fff;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Montserrat", sans-serif !important;
	font-optical-sizing: auto !important;
	font-weight:750 !important;
	letter-spacing: 0px !important;
}
.main_menu ul:first-child > li > a {
	font-family: "Montserrat", sans-serif !important;
	font-optical-sizing: auto !important;
	font-weight: 700 !important;
	font-size:12px;
}

/* Remove footer sub-menus */
#footer .widget_nav_menu .sub-menu {
	display:none !important;
}

/* Partner logo slider */
#top .avia-logo-element-container .slide-entry {
	padding: 20px;
	height: 100px;
	display: flex;
	flex-flow: row;
	align-items: center;
}
#top .avia-smallarrow-slider .slide-image, #top .avia-logo-element-container img {
	margin:0 !important;
}

/* Portfolio grid */
.grid-entry {
	padding:5px;
}
.grid-entry .inner-entry {
	box-shadow:none;
}
.grid-entry .inner-entry img {
	filter: brightness(.75);
	transition: all .3s ease-in-out;
}
.avia_transform a .image-overlay {
	display: none !important;
}
.avia_transform a:hover img {
	filter: brightness(1);
}
.grid-entry .grid-content {
	position: absolute;
	bottom: 0;
	left: 0;
	border: 0;
	background: rgba(255,255,255,0.9);
	padding:10px;
}
.grid-entry .grid-content .avia-arrow {
	display:none;
}
.grid-entry .grid-content .grid-entry-title {
	background: none;
	color:#f46a25;
	font-size: 20px;
}


@media only screen and (max-width: 767px) {
	#header { /* Adjust logo/header size on mobile */
		height: 75px !important;
		position: fixed !important;
		padding-bottom: 0 !important;
	}
	.responsive #top #main {
		padding-top: 75px !important;
	}
	#top #wrap_all .av_header_transparency { /* Transparent header doesn't work on mobile for some reason */
		background: transparent;
	}
}
