/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

#main {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.dark a {
	color: #f1b24e;
}

.dark a:hover,
.dark a:focus {
	text-decoration: underline;
}

.team-bio img,
.team-bio .fusion-imageframe {
	width: 100% !important;
}

.team-bio img {
	object-fit: cover;
}

.tabs {
	display: flex;
	cursor: pointer;
}

.tab.active .fusion-column-wrapper,
.tab .fusion-column-wrapper:hover {
	background: #305f86 !important;
}

.tab.active h2,
.tab .fusion-column-wrapper:hover h2{
	color: #fff !important;
}

/* .tab.active:hover h2 {
	color: #000 !important;
} */

.section {
	display: none !important;
	opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.section.active {
	display: flex !important;
	opacity: 1;
}

.fusion-footer-widget-area {
	display: none;
}

.fusion-form-label-wrapper span,
.fusion-form-label-wrapper label,
.fusion-form-select-field label {
	font-weight: 700;
}

.image-link a:focus img,
.image-link a:focus-within img {
	border: 2px solid #000;
}

.fusion-copyright-notice {
	color: #fff !important;
}

@media (max-width:1048px) {
	#main .home-hero h1 {
		font-size: 36px !important;
	}
	
	#main .home-hero h3 {
		font-size: 24px !important;
	}
	
	#main .home-hero .fusion-imageframe img {
		max-width: 200px !important;
	}
	
}

@media (max-width:768px) {
	
	body #wrapper .fusion-title h1 {
		font-size: 28px !important;
	}
	
	body #wrapper .fusion-title h2 {
		font-size: 28px !important;
	}
	
	.fusion-highlighted-text,
	body h4 {
		font-size: 24px !important;
	}
	
	.smaller-text p,
	.smaller-text p span {
		font-size: 18px !important;
	}
}