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

/* Keep the legacy Ninja Forms radio groups readable and easy to tap on phones. */
@media only screen and (max-width: 640px) {
	#nf-form-1-cont .two-col-list .nf-field-element ul {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	#nf-form-1-cont .two-col-list .nf-field-element li {
		display: flex;
		align-items: flex-start;
		float: none;
		width: 100%;
		margin: 0;
	}

	#nf-form-1-cont .two-col-list .nf-field-element li input[type="radio"] {
		flex: 0 0 auto;
		margin: 0.35rem 0.65rem 0 0 !important;
	}

	#nf-form-1-cont .two-col-list .nf-field-element li label {
		display: block !important;
		float: none !important;
		width: auto !important;
		margin: 0 !important;
		text-align: left;
	}
}

/* Keep the mobile logo and menu toggle aligned in one compact header row. */
@media only screen and (max-width: 800px) {
	.fusion-header {
		padding: 10px 16px !important;
	}

	.fusion-header .fusion-row {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		min-height: 0;
	}

	.fusion-header .fusion-logo {
		flex: 1 1 auto;
		float: none;
		width: auto;
		max-width: calc(100% - 46px);
		margin: 0;
	}

	.fusion-header .fusion-logo-link {
		display: block;
		width: auto;
	}

	.fusion-header .fusion-logo img {
		display: block;
		width: auto;
		max-width: 100%;
		max-height: 48px;
		height: auto;
	}

	.fusion-header .fusion-mobile-menu-icons {
		position: static;
		flex: 0 0 auto;
		width: auto;
		height: auto;
		margin-left: 14px;
	}

	.fusion-header .fusion-mobile-menu-icons a {
		float: none;
		margin: 0 !important;
		font-size: 18px;
		line-height: 1;
	}

	.fusion-header .fusion-mobile-nav-holder {
		order: 3;
		flex: 0 0 calc(100% + 32px);
		width: calc(100% + 32px);
		margin: 10px -16px -10px !important;
	}
}
