/*
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
*/


/** HEADER LOGO **/

.fusion-tb-header .has-fusion-standard-logo, .fusion-tb-header .has-fusion-standard-logo a, .fusion-tb-header .has-fusion-standard-logo img {
	display: block;
}

.fusion-tb-header .has-fusion-standard-logo img {
	max-height: none !important;
	width: 100%;
}

.fusion-tb-header .has-fusion-standard-logo a {
	transition: opacity 0.2s ease;
}

.fusion-tb-header .has-fusion-standard-logo a:hover {
	opacity: 0.6;
}


/** FOOTER LOGO **/

.fusion-tb-footer .has-fusion-standard-logo, .fusion-tb-footer .has-fusion-standard-logo a, .fusion-tb-footer .has-fusion-standard-logo img {
	display: block;
}

.fusion-tb-footer .has-fusion-standard-logo img {
	max-height: none !important;
	width: 100%;
}

.fusion-tb-footer .has-fusion-standard-logo a {
	transition: opacity 0.2s ease;
}

.fusion-tb-footer .has-fusion-standard-logo a:hover {
	opacity: 0.6;
}

.fusion-tb-footer .has-footer-svg-icons img {
	width: 40px;
	height: 40px;
}


/** GENERAL **/

.fusion-text p a, .fusion-text li a {
	color: inherit;
	text-decoration: underline;
}

.fusion-text p a:hover, .fusion-text li a:hover {
	text-decoration: none;
}

#wrapper .simple-icon-button {
	background: none;
	color: #000;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

#wrapper .simple-icon-button .awb-button__icon {
	font-size: 1.5em;
	color: var(--awb-color5);
}

#wrapper .simple-icon-button .awb-button__text {
	color: #000;
	letter-spacing: 0px;
	text-transform: none;
}

#wrapper .simple-icon-button:hover .awb-button__text {
	color: var(--awb-color4);
}

#wrapper .fusion-title span.highlight {
	color: var(--awb-color5);
}

#wrapper .fusion-text ul li::marker {
	color: var(--awb-color5);
}

#wrapper blockquote {
	border-left: 0;
}

#wrapper .content-boxes-tighter .content-box-column .content-box-wrapper {
	padding: 25px;
}

#wrapper .content-boxes-tighter .content-box-column + .content-box-column .content-box-wrapper {
	padding-top: 15px;
}

#wrapper .content-boxes-tighter .content-box-column .content-box-wrapper .content-container {
	margin-bottom: 0px;
}


/** UTILITY **/

.svg-full img {
	width: 100%;
}

.button-row > .fusion-content-layout-row {
	gap: 2rem;
}

.hover-border-colour:hover > .fusion-content-layout-column {
	border-color: var(--awb-color4) !important;
}

#wrapper .fusion-tabs .nav-tabs li .tab-link:hover {
	background: var(--awb-color5);
}

#wrapper .fusion-tabs .nav-tabs li.active .tab-link {
	background: var(--awb-color5);
}

.p-margin-top-zero p {
	margin-top: 0;
}

.p-margin-bottom-zero p {
	margin-bottom: 0;
}

.position-relative {
	position: relative;
}

.min-height-5-rows {
	min-height: 10em;
}

.post-content p a {
	color: var(--awb-color5);
	text-decoration: underline;
}

.post-content p a:hover {
	text-decoration: none;
}

.post-content .inherit-link-colour p a {
	color: inherit;
}


/** ANIMATION **/

.casual-spinner {
	animation: casual-spin 90s infinite linear;
}

@keyframes casual-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.icon-floater {
	position: absolute;
	top: 5rem;
	left: -5rem;
	font-size: 7rem !important;
	opacity: 0.3;
	animation: icon-bobble 5s infinite ease;
}

@keyframes icon-bobble {
	0% { transform: rotate(-5deg); }
	50% { transform: rotate(5deg); }
	100% { transform: rotate(-5deg); }
}

.quoter-floater {
	position: absolute;
	top: 1rem;
	right: -1.4rem;
	animation: icon-bobble 2s infinite ease;
}


/** RESPONSIVE **/

@media (max-width: 640px) {

	.button-row > .fusion-content-layout-row {
		justify-content: center !important;
	}

	#wrapper .fusion-tb-footer * {
		text-align: center !important;
		justify-content: center !important;
	}

	#wrapper .fusion-tb-footer .has-fusion-standard-logo {
		margin: 0 auto;
	}

	/* Social icons in footer */

	#wrapper .fusion-tb-footer .fusion_builder_column_inner_4_5 {
		display: none !important;
	}

	#wrapper .fusion-tb-footer .has-footer-svg-icons .fusion-column-wrapper {
		flex-direction: row;
		flex-wrap: wrap;
	}

	#wrapper .fusion-tb-footer .has-footer-svg-icons .fusion-column-wrapper > div {
		flex-basis: 100%;
	}

	#wrapper .fusion-tb-footer .has-footer-svg-icons .fusion-column-wrapper > div.fusion-builder-row {
		flex-basis: 5rem;
	}

	#wrapper .fusion-tb-footer .has-footer-svg-icons .fusion-column-wrapper > div.fusion-builder-row .fusion-layout-column {
		width: 100%;
	}

}