/* Homepage hero: call-out list + quote form card (DWSUP-675).
   Plain CSS, loaded after assets/styles.css on the front page only. */

.home .hero_section .black_background h2.hero_subheading {
	color: #FFFFFF;
	font-size: 24px;
	line-height: 32px;
	font-weight: 800;
	margin: 25px 0 15px;
}

.home .hero_section .black_background ul.hero_call_outs {
	color: #FFFFFF;
	margin-bottom: 0;
	margin-left: 34px;
}

.home .hero_section .black_background ul.hero_call_outs li {
	margin-bottom: 6px;
}

.home .hero_section .black_background ul.hero_call_outs .fa-li {
	color: #55A374;
}

/* Form card */
.home .hero_section .hero_form_card {
	position: relative;
	z-index: 2;
	background-color: #FFFFFF;
	border-radius: 15px;
	padding: 30px;
	margin-top: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

@media (min-width: 992px) {
	.home .hero_section .hero_has_form .hero_form_card {
		margin-top: -270px;
		margin-left: -60px;
		margin-right: 20px;
	}
	.home .hero_section .hero_has_form #hero ul.custom-dots {
		display: none !important;
	}
}

.home .hero_section .hero_form_card h2 {
	color: #1F1C17;
	font-size: 26px;
	line-height: 32px;
	font-weight: 800;
	margin-bottom: 8px;
}

.home .hero_section .hero_form_card > p {
	color: #1F1C17;
	font-size: 17px;
	line-height: 26px;
	margin-bottom: 15px;
}

.home .hero_section .hero_form_card .gform_wrapper .gform_fields {
	row-gap: 10px;
}

.home .hero_section .hero_form_card .gform_wrapper .gfield_label {
	font-family: oscine, sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #1F1C17;
	margin-bottom: 4px;
}

.home .hero_section .hero_form_card .gform_wrapper .gfield_required {
	color: #16773D;
}

.home .hero_section .hero_form_card .gform_wrapper input[type="text"],
.home .hero_section .hero_form_card .gform_wrapper input[type="tel"],
.home .hero_section .hero_form_card .gform_wrapper input[type="email"],
.home .hero_section .hero_form_card .gform_wrapper select {
	font-family: oscine, sans-serif;
	font-size: 17px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #CFCBD3;
	border-radius: 5px;
	background-color: #FFFFFF;
	color: #1F1C17;
	box-shadow: none;
}

.home .hero_section .hero_form_card .gform_wrapper input:focus,
.home .hero_section .hero_form_card .gform_wrapper select:focus {
	border-color: #16773D;
	outline: 2px solid rgba(22, 119, 61, 0.25);
	outline-offset: 0;
}

.home .hero_section .hero_form_card .gform_wrapper .gform_footer {
	margin-top: 16px;
	padding: 0;
}

.home .hero_section .hero_form_card .gform_wrapper .gform_footer input[type="submit"] {
	display: block;
	width: 100%;
	background-color: #16773D;
	border: 1px solid #16773D;
	color: #FFFFFF;
	font-family: oscine, sans-serif;
	font-size: 20px;
	letter-spacing: 1px;
	padding: 14px 30px;
	border-radius: 5px;
	transition: 0.3s all;
}

.home .hero_section .hero_form_card .gform_wrapper .gform_footer input[type="submit"]:hover,
.home .hero_section .hero_form_card .gform_wrapper .gform_footer input[type="submit"]:focus {
	background-color: #033421;
	border-color: #033421;
}

@media (max-width: 767.98px) {
	.home .hero_section .hero_form_card {
		padding: 22px;
	}
	.home .hero_section .black_background h2.hero_subheading {
		font-size: 22px;
		line-height: 30px;
	}
}

/* Gravity Forms Orbital theme: use Tanner colours instead of the default blue */
.home .hero_section .hero_form_card #gform_wrapper_6.gform-theme--framework {
	--gf-color-primary: #16773D;
	--gf-color-primary-darker: #033421;
	--gf-color-primary-rgb: 22, 119, 61;
	--gf-ctrl-btn-bg-color-primary: #16773D;
	--gf-ctrl-btn-bg-color-hover-primary: #033421;
	--gf-ctrl-btn-border-color-primary: #16773D;
	--gf-ctrl-border-color-focus: #16773D;
}

.home .hero_section .hero_form_card #gform_wrapper_6 .gform_required_legend {
	display: none;
}

.home .hero_section .hero_form_card #gform_wrapper_6 #gform_submit_button_6 {
	display: block;
	width: 100%;
	background-color: #16773D;
	border: 1px solid #16773D;
	color: #FFFFFF;
	font-family: oscine, sans-serif;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: 1px;
	padding: 14px 30px;
	border-radius: 5px;
}

.home .hero_section .hero_form_card #gform_wrapper_6 #gform_submit_button_6:hover,
.home .hero_section .hero_form_card #gform_wrapper_6 #gform_submit_button_6:focus {
	background-color: #033421;
	border-color: #033421;
}

.home .hero_section .hero_form_card #gform_wrapper_6 select,
.home .hero_section .hero_form_card #gform_wrapper_6 input[type="text"],
.home .hero_section .hero_form_card #gform_wrapper_6 input[type="tel"],
.home .hero_section .hero_form_card #gform_wrapper_6 input[type="email"] {
	font-size: 17px;
}

/* Mobile/tablet: show the form before the carousel */
@media (max-width: 991.98px) {
	.home .hero_section .hero_has_form {
		display: flex;
		flex-direction: column;
	}
	.home .hero_section .hero_has_form .hero_form_card {
		order: -1;
		margin-bottom: 20px;
	}
}
