/**
 * Site-wide styles for livewall.com.
 *
 * Moved on 2026-11-16 from the "Custom CSS" snippet (#12708) of the Simple
 * Custom CSS and JS plugin, which was then removed, and on 2026-11-17 from
 * Avada's global Custom CSS (maintenance task 015). Keep site CSS here, not in
 * Avada's Custom CSS boxes, so it stays in git. Rules are unchanged apart
 * from: brand colours now come from the variables below, and ten rules whose
 * selectors matched nothing on the site were dropped (USP Pro, iContact form,
 * Spec Writer table and old landing-page classes). See CHANGELOG.
 *
 * Loaded on every front-end page by childavada_enqueue_site_assets() in
 * functions.php. For a quick one-off tweak without a deploy, Avada's
 * Options > Custom CSS box still works.
 */

/* Brand colours not in Avada's global palette (which has no CSS variables for
   custom colours). Reuse these instead of repeating hex values. */
:root {
	--lw-color-red: #8c0b04;
	--lw-color-red-hover: #6f0903;
	--lw-color-red-translucent: rgba(140, 11, 4, 0.67);
	--lw-color-charcoal: #363839;
	--lw-color-charcoal-hover: #252627;
	--lw-color-white: #ffffff;
	--lw-sticky-footer-height: 82px;
}

abbr {
	text-decoration: none;
}

.fusion-button {
	font-weight: 700 !important;
}

/* Hides Google's reCAPTCHA badge, added at runtime by the reCAPTCHA script. */
.grecaptcha-badge {
	display: none;
}

/* --- Header ------------------------------------------------------------- */

.fusion-header {
	padding: 1rem !important;
}

/* Placeholder Avada shows when the header turns sticky on scroll. From 1000px
   up Avada sets no height on it, so without this the page jumps up by the
   header's height (measured 2026-11-17). Moved from Avada's global Custom CSS. */
.fusion-header-sticky-height {
	min-height: 73px;
}

.fusion-header-tagline {
	color: var(--lw-color-white) !important;
	border-radius: 5px !important;
}

.fusion-header-tagline a {
	color: var(--lw-color-white) !important;
}

.fusion-header-content-3-wrapper {
	justify-content: center !important;
}

.fusion-header-content-3-wrapper > h3 {
	background: var(--lw-color-red);
	color: var(--lw-color-white) !important;
	padding: 0.5rem;
}

@media screen and (min-width: 427px) {
	.fusion-header > .fusion-row > .fusion-logo {
		display: flex;
		justify-content: space-evenly;
		margin-top: 0;
	}
}

/* Mobile header */
@media screen and (max-width: 426px) {
	.fusion-header > .fusion-row {
		display: flex;
		align-items: center;
	}

	.fusion-header > .fusion-row > .fusion-logo {
		display: flex;
		align-items: center;
	}

	.fusion-header > .fusion-row > .fusion-logo > * {
		width: 50%;
	}

	.fusion-header-v4.fusion-mobile-menu-design-modern .fusion-mobile-menu-icons {
		position: initial !important;
	}

	.fusion-mobile-menu-design-flyout .fusion-header-tagline,
	.fusion-mobile-menu-design-modern .fusion-header-tagline {
		margin: 0 !important;
	}
}

/* "Industry Leading Green Wall Supplier" slide (#9773, Fusion Slider "about",
   rendered as #fusion-slider-216 on every page that uses it). Its heading
   became an H2 (task 018) so inner pages have one H1; keep the bold weight it
   had as an H1. The id is needed to outrank Avada's
   `.tfs-slider .slide-content-container h2`. Size is set by the slider itself. */
#fusion-slider-216 .slide-content .heading .fusion-title-heading {
	font-weight: 700;
}

/* --- Home page slider button and design guide link ------------------------ */

#home-contact-btn:hover {
	color: #000000;
	background: #f5f5f5;
	transition: 0s;
}

#design-guide-btn:hover {
	color: var(--lw-color-white);
	text-decoration: none;
}

/* --- Landing page "overview" (#13099) and its contact form (#13143) ------- */

.landing-page-h1 > div:first-child {
	position: absolute;
	bottom: 0;
	left: 0;
}

.landing-page-contact-image {
	position: absolute;
	left: 30px;
	right: 30px;
	bottom: -150px;
}

.landing-page-contact-button:hover {
	color: var(--lw-color-white);
	transition: 0s;
}

.landing-page-h1-mobile > div > div {
	margin-bottom: 0px !important;
}

.landing-page-h1-mobile > div > div > h1 {
	font-size: 1.1em;
}

/* Center the landing page contact form submit button */
#wpcf7-f13143-p13099-o1 > form > p:nth-of-type(3),
#wpcf7-f13143-p13099-o2 > form > p:nth-of-type(3) {
	text-align: center;
}

#landing-page-textarea {
	max-height: 100px;
	min-height: 100px;
}

#landing-page-contact-form-send {
	background-color: var(--lw-color-red);
	font-weight: bold;
	color: var(--lw-color-white);
}

#landing-page-contact-form-send:hover {
	background-color: var(--lw-color-red-translucent) !important;
	text-decoration: underline;
	color: var(--lw-color-white);
	transition: 0s;
}

/* --- Single pages ---------------------------------------------------------
   Moved from each page's Avada "Custom CSS" box (maintenance task 016) and
   scoped to that page's body class, so they apply only where they did. */

/* Detail Drawings, /technical/details/ (#9185): no shadow on image frames. */
.page-id-9185 span.fusion-imageframe {
	box-shadow: none !important;
}

/* Docs and Details, /docs-and-details/ (#13584). */
.page-id-13584 .docs-details-list li {
	padding-bottom: 5px;
	font-size: .75em;
}

/* LiveScreen, /products/livescreen/ (#14183): plain white tables, no borders. */
.page-id-14183 .table-1 tr,
.page-id-14183 .table-1 table th {
	background-color: var(--lw-color-white) !important;
}

.page-id-14183 table,
.page-id-14183 td,
.page-id-14183 th {
	border: 0 !important;
}

/* FAQ "What foods can I grow in a vertical garden?" (#8755). */
.postid-8755 .fusion-gallery-image {
	padding: 10px;
}

/* --- Newsletter emails pasted into blog posts -------------------------------
   Ten posts hold a pasted email laid out with <th class="fusionResponsiveColumn">
   cells (an email builder's classes, not Avada's). Task 023 removed each email's
   own <head> and <style>, which also leaked `body` and `table td, th` rules onto
   the whole page. These are the only rules the email layout needs, limited to
   post content: <th> is bold and centred by default, and the columns stack on
   small screens. Copied from the emails' original CSS. */
.single-post .post-content .fusionResponsiveColumn,
.single-post .post-content .fusionNonResponsiveColumn {
	font-weight: normal;
	text-align: left;
}

@media only screen and (max-width: 620px) {
	.single-post .post-content .fusionResponsiveContent,
	.single-post .post-content .fusionResponsiveImage {
		width: 100% !important;
	}

	.single-post .post-content .fusionResponsiveColumn {
		width: auto !important;
		display: block;
	}

	.single-post .post-content .fusionResponsiveImageTable {
		padding-bottom: 0 !important;
	}

	.single-post .post-content .fusionResponsiveCanvas {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

@media only screen and (max-width: 500px) {
	.single-post .post-content .fusionResponsiveGutter {
		height: 0;
	}
}

/* --- Mobile sticky footer (markup: childavada_mobile_sticky_cta()) -------- */

.mobile-sticky-footer {
	display: none;
}

@media screen and (max-width: 767px) {
	.mobile-sticky-footer {
		position: fixed;
		display: flex;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		z-index: 99999;
		background: var(--lw-color-white);
		padding: 8px;
		padding-bottom: calc(8px + env(safe-area-inset-bottom));
		gap: 8px;
		box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.18);
	}

	.mobile-sticky-footer__button {
		display: flex;
		flex: 1;
		align-items: center;
		justify-content: center;
		min-height: 50px;
		padding: 10px 8px;
		border-radius: 4px;
		font-size: 15px;
		font-weight: 700;
		line-height: 1.2;
		text-align: center;
		text-decoration: none !important;
		box-sizing: border-box;
	}

	.mobile-sticky-footer__call {
		background-color: var(--lw-color-charcoal);
		color: var(--lw-color-white) !important;
	}

	.mobile-sticky-footer__quote {
		background-color: var(--lw-color-red);
		color: var(--lw-color-white) !important;
	}

	.mobile-sticky-footer__call:hover,
	.mobile-sticky-footer__call:focus {
		background-color: var(--lw-color-charcoal-hover);
		color: var(--lw-color-white) !important;
	}

	.mobile-sticky-footer__quote:hover,
	.mobile-sticky-footer__quote:focus {
		background-color: var(--lw-color-red-hover);
		color: var(--lw-color-white) !important;
	}

	/* Keep the sticky footer from covering the page's bottom content */
	body {
		padding-bottom: var(--lw-sticky-footer-height);
	}
}
