/*
	Theme Name:  SILFAB SOLAR
	Theme URI:   https://github.com/billerickson/EA-Starter
	Description: Custom WordPress Theme
	Author:      Crew Marketing
	Version:     1.0.0
	License:     GPL-2.0+
	License URI: http://www.gnu.org/licenses/gpl-2.0.html


	BEFORE MODIFYING THIS THEME:
	Please read the instructions here (private repo): https://github.com/billerickson/EA-Starter/wiki
	Devs, contact me if you need access
*/

.wp-block-button__link {
	height: auto !important;
	width: auto !important;
}

.wp-block-button__link.cta-view-more {
	text-align: left !important;
}

.no-padding-top {
	.block-header__content_wrapper {
		padding-top: 0 !important;
	}
}

.light-bg.block-full-screen-cta {
	background-color: #f1f3f4 !important;
	/* .block-header__form {
	color: #414042 !important;
	} */

	div,
	h1,
	h2,
	h3,
	h4,
	h5,
	p,
	select,
	input:not([type="submit"]),
	textarea,
	label,
	.gfield_description {
		color: #414042 !important;
	}
	select,
	input:not([type="submit"]),
	textarea {
		background-color: #ffffff !important;
		border: solid 1px #e0e0e0 !important;
	}

	input[type="submit"] {
		cursor: pointer;
	}

	input[type="file"] {
		cursor: pointer;
	}

	input[type="file"]::-webkit-file-upload-button,
	input[type="file"]::file-selector-button {
		background-color: transparent !important;
		border: none !important;
	}

	.gform-body .gform_fields {
		row-gap: 1.4rem;
		column-gap: 1.4rem;
		grid-row-gap: 1.4rem;
		grid-column-gap: 1.4rem;

		.gfield--type-section {
			border-bottom: none;

			.gsection_title {
				font-weight: 600 !important;
				margin-bottom: 0;
				padding-bottom: 0;
			}
		}

		.gfield--type-address {
			.gform-field-label {
				margin-bottom: 8px;

				&:has(+ input[aria-required="true"]) {
					&:after {
						content: "*";
						color: #c02b0a;
						display: inline-block;
						font-size: 13.008px;
						padding-inline-start: 0.125em;
					}
				}
			}
			> .ginput_container_address {
				row-gap: 1.4rem;
				column-gap: 1.4rem;
				grid-row-gap: 1.4rem;
				grid-column-gap: 1.4rem;

				& > span {
					flex-basis: 100%;
				}
			}
		}
	}
}
