/*
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 will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

@font-face {
  font-family: 'Franklin Gothic';
  src:  url('./fonts/franklingothic_demi.woff2') format('woff2'),
        url('./fonts/franklingothic_demi.woff') format('woff'),
	    url('./fonts/franklingothic_demi.ttf') format('truetype');
}

:root {
	--blue: #007BBD;
	--lt-blue: #dde5ed;
	--dk-blue: #1B4B83;
	--purple: #61279e;
	--gray: #4a4d50;
	--frank: "franklin-gothic-std", sans-serif;
	--open: "Open Sans", sans-serif;
	
	font-size: 16px;
  	--h1-size: 3.52rem;
  	--h2-size: 2.9rem;
  	--h3-size: 1.953rem;
  	--h4-size: 1.563rem;
  	--h5-size: 1.25rem;
  	--h6-size: 1.25rem;

}

@media only screen and (min-width: 1300px) {
  :root {
    --h1-size: calc(3.52rem * .9);
    --h2-size: calc(2.9rem * .9);
    --h3-size: calc(1.953rem * .9);
  }

}
/*
@media only screen and (max-width: 1030px) { }
*/
@media only screen and (max-width: 989px) {
  :root {
    --h1-size: calc(3.52rem * .8);
    --h2-size: calc(2.9rem * .8);
    --h3-size: calc(1.953rem * .8);
  }
}

@media only screen and (max-width: 767px) {
  :root {
    --h1-size: calc(3.52rem * .5);
    --h2-size: calc(2.9rem * .6);
    --h3-size: calc(1.953rem * .6);
  }
}

#top h1 { font-size: var(--h1-size); }
#top h2 { font-size: var(--h2-size); }
#top h3 { font-size: var(--h3-size); }
#top h4 { font-size: var(--h4-size); }
#top h5 { font-size: var(--h5-size); }
#top h6 { font-size: var(--h6-size); }

body, body p {
	font-family: var(--open);
}
#top h1, #top h2, #top h3, 
#top h4, #top h5, #top h6 {
	font-family: var(--frank);
}


#top h2 { text-transform: unset; }

.franklin, .franklin p, h3 {
	font-family: var(--frank);
}
.franklin p strong, h3 { font-weight: 600; }

h3 {
	font-size: 26px;
}

#top h1 { 
	text-transform: none; 
}
.text-uppercase, .text-uppercase p { 
	text-transform: uppercase!important; 
}
.leading {
	letter-spacing: 5px;
}

.montserrat { font-family: 'Montserrat', sans-serif; }

#top .main_color strong { color: white; }
#top .alternate_color strong, #top .footer_color strong, #top .socket_color strong { color: var(--gray); }
#top .main_color a:not(.avia-button) { text-decoration: underline; }
#top .main_color a:hover { text-decoration: none; }

 /* Transparent Sticky Header */ 
#header.header_color .header_bg {
    background: transparent;
}


.logo svg { max-width: 300px; padding-top: 0; }
.header-scrolled .logo svg { padding-top: 5px; }
@media only screen and (max-width: 767px) {
	.responsive .logo img, .responsive .logo svg {
		max-width: 300px
	}
}

.big-h1 h1 {
	font-size: 50px;
}

#header:before {
	content: '';
	background-image: linear-gradient(rgba(0,0,0,.5), transparent);
	width: 100%;
	height: 125%;
	position: absolute;
}

#top .av-burger-overlay-bg { opacity: 1; }

/* Big heading */
.av-special-heading-h1, .av-special-heading-h2 {
	position: absolute;
	display: flex;
  	justify-content: center;
}
#top .av-special-heading-h1 h1, #top .av-special-heading-h2 h2 {
	color: var(--blue);
	font-size: 120px;
	text-transform: uppercase;
	font-weight: bold;
	font-family: 'Montserrat', sans-serif;
}
#top .alternate_color .av-special-heading-h2 h2, #top .lt-blue-head.av-special-heading-h2 h2 {
	color: var(--lt-blue);
}
.hero-head {
	position: absolute;
	bottom: -33px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	will-change: transform;
}

.z-10 { z-index: 10; }

@media (max-width: 950px) {
	#top .av-special-heading-h1 h1, #top .av-special-heading-h2 h2 {
		font-size: 80px;
	}
	.hero-head { bottom: -25px; }
}
@media (max-width: 625px) {
	#top .av-special-heading-h1 h1, #top .av-special-heading-h2 h2 {
		font-size: 45px;
	}
	.hero-head { bottom: -31px; }
}


/* Big numbers */
.big-number p, .avia-animated-number .avia-single-number, .avia-animated-number .avia-no-number {
	font-size: 4rem;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	position: relative;
}
#top .avia-animated-number .avia-no-number {
	opacity: 1;
}
.underline p {
	display: inline-block;
}
.underline p:after {
	content: '';
	position: absolute;
	width: 100%;
	bottom: -100%;
	height: 2px;
	left: 0;
	background-color: white;
}

.gradient-overlay {
	position: relative;
}
.gradient-overlay:before { 
	content: '';
	background-image: linear-gradient(0deg, rgba(0,0,0,.6), transparent);
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	bottom: 0;
}

/* Footer & Socket */
#socket { border-top-width: 0px; }

#top .av-social-sharing-box {
	margin-top: 15px;
}
#top .av-social-sharing-box.av-social-sharing-box-same-width .av-share-box ul li a { 
	width: unset; 
	padding-top: 0px;
}
#top .av-share-box ul li.avia-svg-icon svg {
	height: 2rem;
	width: 2rem;
	margin-right: 1rem;
}

/*** menu breakpoint **/
@media only screen and (max-width: 850px) {
	.av-main-nav > li.menu-item-avia-special {
    	display: block;
	}
	.av-main-nav > li {
		display: none;
	}
}
@media only screen and (max-width: 767px) {
	#top #wrap_all #header {
		background: transparent;
		position: absolute!important;
	}
}


/*** The menu nav indicator ***/
.av-main-nav .menu-item .avia-menu-text { 
    position: relative; 
	font-weight: 400;
}
.av-main-nav .menu-item:hover .avia-menu-text,
.av-main-nav .current-menu-item .avia-menu-text { 
	font-weight: 700;
	color: white;
	opacity: 1;
}
#top #wrap_all .av_header_transparency .sub_menu>ul>li>a:focus, 
#top #wrap_all .av_header_transparency .sub_menu>ul>li>a:hover, 
#top .av_header_transparency .main_menu ul:first-child>li>a:focus, 
#top .av_header_transparency .main_menu ul:first-child>li>a:hover {
	opacity: 1;
}

.av-main-nav > .current-menu-item:not(.menu-btn) > a .avia-menu-text:after, 
.av-main-nav > .menu-item:not(.menu-btn) > a .avia-menu-text:after,
.av-subnav-menu > .current-menu-item:not(.menu-btn) > a .avia-menu-text:after,
.av-subnav-menu > .menu-item:not(.menu-btn) > a .avia-menu-text:after {
	content: '';
	width: 0%;
	height: 2px;
	background-color: white;
	position: absolute;
	transition: .5s ease all;
	bottom: -5px;
	left: 0;
}

.av-subnav-menu > .current-menu-item:not(.menu-btn) > a .avia-menu-text:after,
.av-subnav-menu > .menu-item:not(.menu-btn) > a .avia-menu-text:after {
	bottom: 9px;
	height: 1px;
}

.av-main-nav > .current-menu-item:not(.menu-btn) > a .avia-menu-text:after, 
.av-main-nav > .menu-item:not(.menu-btn) > a:hover .avia-menu-text:after,
.av-subnav-menu > .current-menu-item:not(.menu-btn) > a .avia-menu-text:after,
.av-subnav-menu > .menu-item:not(.menu-btn) > a:hover .avia-menu-text:after {
	width: 100%;
}


/*********************************** ALL BUTTONS (including forms & slider) *************************************/
#top .avia-button.avia-size-small, 
#top .avia-button.avia-size-medium,
#top .avia-button.avia-size-large,
#top .avia-button.avia-size-x-large, 
#top .gform_wrapper .gform_footer input.button, 
#top .gform_wrapper .gform_footer input[type="submit"],
#top .avia-slideshow-button,
#top .more-link,
#top .menu-btn .avia-menu-text,
#top .menu-btn:hover .avia-menu-text {
	background-color: var(--purple);
	border-radius: 0px;
	border: 0px solid;
	color: white;
	position: relative;
	transition: .5s ease all;
	font-weight: 600;
	font-family: var(--open);
	font-family: 20px;
}

#top .equal-buttons .avia-button {
	width: 250px;
}

/** HOVER **/
#top .avia-button.avia-size-small:hover,
#top .avia-button.avia-size-medium:hover,
#top .avia-button.avia-size-large:hover, 
#top .avia-button.avia-size-x-large:hover, 
#top .gform_wrapper .gform_footer input.button:hover, 
#top .gform_wrapper .gform_footer input[type="submit"]:hover,
#top .avia-slideshow-button:hover,
#top .more-link:hover,
#top .menu-btn .avia-menu-text {
	background-color: white;
	color: var(--purple);
}

#top .main_color .avia-button.avia-color-theme-color .avia-svg-icon svg:first-child {
	fill: white;
}
#top .main_color .avia-button.avia-color-theme-color:hover .avia-svg-icon svg:first-child {
	fill: var(--purple);
}

#top .avia-button .avia_iconbox_title { font-size: 14px; }

/** percentage bar **/
.percentage-display-row {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 20px 0;
}
.percentage-info {
	flex: 0 0 50%;
	text-align: left;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.percentage-number {
	font-size: 4rem;
	font-weight: bold;
	line-height: 1;
	margin-bottom: 5px;
}
.percentage-label {
	font-size: 18px;
	text-transform: uppercase;
	line-height: 1.4;
  	font-weight: 900;
  	display: flex;
  	align-items: center;
}
.percentage-bar-wrapper {
	flex: 0 0 50%;
	width: 100%;
}
.percentage-bar-container {
	width: 100%;
	height: 30px;
	background-color: transparent;
	border-radius: 2px;
	overflow: hidden;
}
.percentage-bar {
	height: 30px;
	transition: width 1s ease;
}
.avia_start_delayed_animation .percentage-bar {
	width: var(--target-width) !important;
}

@media (max-width: 768px) {
	.percentage-display-row {
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}
	.percentage-info,
	.percentage-bar-wrapper {
		flex: 0 0 100%;
	}
	.percentage-number {
		display: flex;
		align-items: center;
	}
}


/* FacetWP stuff */
.facetwp-map-filtering { 
  display: none; 
}
.bgcnv-location-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2%;
}
.bgcnv-location {
	width: 48%;	
	margin-bottom: 20px;
}
.location-address {
	line-height: 1.5;
  	font-size: 15px;
}
.location-link { 
	display: block; 
	margin-bottom: 5px;
	line-height: 1.25;
  	font-size: 16px;
}
.gm-ui-hover-effect {
	width: unset!important;
  	height: 30px!important;
}
.gm-ui-hover-effect span {
	width: 12px!important;
	height: 12px!important;
	margin-right: 6px!important;
}
.half-map .facetwp-facet-bgcnv_map {
	height: 600px;
	margin-bottom: 0px;
}
.infowindow, .infowindow h4, .infowindow p, .infowindow a {
	color: black;
}
.infowindow a:hover { text-decoration: underline; }
.infowindow { margin-bottom: 10px; }

gmp-advanced-marker svg { fill: var(--dk-blue)!important; }

.triangle {
   width: 0px;
   height: 0px;
   border-style: solid;
	border-width: 6px 25px 0 25px;
  	border-color: #FFFFFF transparent transparent transparent !important;
  	transform: rotate(0deg);
  	margin-left: auto;
  	margin-right: auto;
  	margin-top: 15px;
}

.page-id-25 #footer-btns { display: none; }


.news-column-link {
	position: relative;
	border-radius: 35px;
	display: flex;
	align-items: flex-end;
	height: 400px;
}
.news-column-link:before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: black;
	opacity: .2;
	transition: .5s ease all;
	z-index: -1;
	border-radius: 35px;
	visibility: visible;
}
.news-column-link:hover:before {
	opacity: .5;
}


/** social feed **/
#top .owl-stage { display: flex; }
#top .owl-item { 
	min-height: 100%;
}
#top .owl-item h2 {
	color: black;
	font-size: 1rem;
}
#top .owl-item p { line-height: 1.5; }
#top .efbl_feeds_carousel .efbl-grid-wrapper {
	height: 100%;
	border-radius: 15px;
}
#top .efbl_feeds_carousel .efbl-grid-wrapper .efbl_feed_fancy_popup {
	pointer-events: none;
	height: 200px;
	overflow: hidden;
}
#top .efbl_feeds_carousel .efbl-grid-wrapper .efbl-shared-content-holder .efbl-feed-content { display: none; }