/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.site-header .grid-container {
	max-width: 1440px;
}

.main-navigation .main-nav ul li.nav-btn-phone a {
	background-color: #274ABB;
	border-radius: 3px;
	color: white;
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
	margin-left: 10px;
	padding: 6px 8px;     	
}
.main-navigation .main-nav ul li.nav-btn-phone a:hover {
	background-color: #3D61D6;   
	color: white;
}

.inside-header {
	padding: 10px 20px;	
}

.text-shadow {
	text-shadow: 1px 3px 12px #46485c80;
}

ul.icon-list-items {
	display: flex;
	flex-direction: column;
	list-style-type: none;
	margin: 0;
}
li.icon-list-item {
	align-items: center;
	display: flex;
	padding-top: 8px;
	padding-bottom: 8px;
}
li.icon-list-item.reverse {
	flex-direction: row-reverse;	
}
.icon-list-icon {
	display: flex;
}
li.icon-list-item .icon-list-icon svg {
	fill: #999999;
	margin-left: 0px;
	margin-right: 8px;
	width: 12px;
}
li.icon-list-item.reverse .icon-list-icon svg {
	fill: #008000;
	margin-left: 8px;
	margin-right: 0px;
	margin-top: 2px;
	width: 14px;
}

.site-footer {
	border-top: 1px solid #E2E2E2;
}
.site-info {
	color: #333;
	font-size: 13px;
}

@media (max-width: 1024px) {    
	.gb-container.gb-container-e8fab5cd:after 
/* 	#container-hero */
	{
		background-image: linear-gradient(90deg, rgba(28, 28, 28, 0.5), rgba(28, 28, 28, 0.5));
	} 
	
	ul.icon-list-items {
		align-items: center;
	}
	li.icon-list-item.reverse {
		flex-direction: row;	
	}
	li.icon-list-item.reverse .icon-list-icon svg {
		margin-left: 0px;
		margin-right: 8px;
	}
}

@media (max-width: 768px) {
	.gb-container.gb-container-e8fab5cd 
/* 	#container-hero  */
	{
        background-size: cover;
        background-position: top right;
        background-image: url(/wp-content/uploads/2025/07/img-hero-bg-mobile.webp) !important;
    }
	
    .inside-header {
        flex-direction: row;
        text-align: center;
    }
	
	li.icon-list-item {
		flex-direction: column;
	}
	li.icon-list-item.reverse {
		flex-direction: column;
	}
	li.icon-list-item .icon-list-icon svg, 
	li.icon-list-item.reverse .icon-list-icon svg {
		margin: 8px;
	}
}



/* GravityForms */

.gform-theme--framework .gfield--type-section,
.gform-theme--framework:where(:not(.gform_editor)) .gfield--type-section {
    border-block-end: 0px solid #e3e3e3 !important;
	height: 0px;
	padding-block-end: 0px !important;
}

.gform-theme--foundation .gform_fields
/* div.gform_fields  */
{
	row-gap: 16px !important;	
	column-gap: 16px !important;
}

/* Spinner showing on submit button click */
span.gform-loader {
	filter: brightness(0) invert(1);
	position: absolute !important;
	right: 20px;
}

body .gform_wrapper .gform_body .gfield_required_asterisk {
	font-size: 16px;
}

body .gform_wrapper .gform_body label {
	color: #1D1D1D;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

/* General input style */
body .gform_wrapper .gform_body input:not([type=radio]),
body .gform_wrapper .gform_body select,
body .gform_wrapper .gform_body textarea {
	align-items: center;
	border: 1px solid #CED4D9;
	display: flex;
    font-size: 16px;
	height: 50px;
	line-height: 24px;
}
body .gform_wrapper .gform_body input[type=radio] {
	border: 1px solid #CED4D9;
}
body .gform_wrapper .gform_body input::placeholder {
	opacity: 0.65;
}


/* "01 – Address Enter" form */
#sticky-form {
	left: 50%;
	position: relative;
    transform: translateX(-50%);
}

.gf-address-enter span.gform-loader {
	right: 3px;
}

body .gform_wrapper .gf-address-enter .gform_body .gfield input {
	font-size: 19px;
	height:  61px;
	padding-bottom: 7px;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 7px;
}
@media (max-width: 768px) {
	body .gform_wrapper .gf-address-enter .gform_body .gfield input {
		font-size: 17px;
	}
}

.gform-theme--foundation .gf-address-enter .gform_fields {
    column-gap: 0;
}

.gf-address-enter #field_submit {	
	align-items: center;
	display: flex;
	margin-top: 7px;
	position: absolute;
	right: 7px;
}

.gf-address-enter #field_submit input[type="submit"] {
	border-radius: 5px;
	font-size: 19px;
	height: 40px;
	line-height: 28px;
	margin-top: 0px;
	font-weight: 700;
}

.gf-address-enter .gform_fields {	
	grid-row-gap: 0;
    row-gap: 0;
}
.gf-address-enter .gform_footer {
	margin-block-start: 0;
} 

.gf-address-enter_wrapper .gform_validation_errors {
	background-color: #FFFFFFBF;
	margin-block-end: 20px;
}
.gf-address-enter_wrapper .gfield_validation_message {
	background-color: #FFFFFFBF;
	border-radius: 3px;
	padding: 6px 12px;
}


/* "01.3 – Is Your House Already Listed?" form */
.gf-questionnaire div.gform_fields {
	row-gap: 24px !important;	
}


/* All the other forms except 01 and 01.3 */
#field_submit {
	display: flex;
	position: relative;
}

.gform-theme--foundation .gform_footer, .gform-theme--foundation .gform_page_footer {
    flex-wrap: nowrap !important;
	position: relative;
}

#field_submit input[type="submit"],
body .gform_wrapper .gform_body .gfield a.gform_previous_button,
body .gform_wrapper .gform_body .gform_page .gform_page_footer input[type="submit"].gform_button,
/* body .gform_wrapper .gform_body .gform_page .gform_page_footer .gform_next_button, 
body .gform_wrapper .gform_body .gform_page .gform_page_footer .gform_previous_button */
body .gform-theme.gform-theme--framework.gform_wrapper input.gform_next_button.gform-theme-button.button,
body .gform-theme.gform-theme--framework.gform_wrapper input.gform_previous_button.gform-theme-button.button
 {
	display: flex;
	font-size: 16px;
	height: 70px;
	line-height: 22px;
	margin-top: 10px;	
	width: 100%;
}

/* Submit buttons hover */
#field_submit input[type="submit"]:hover,
body .gform_wrapper .gform_body .gform_page .gform_page_footer input[type="submit"].gform_button:hover,
/* body .gform_wrapper .gform_body .gform_page .gform_page_footer .gform_next_button:hover, */
body .gform-theme.gform-theme--framework.gform_wrapper input.gform_next_button.gform-theme-button.button:hover {
	background-color: #3D61D6;
}

/* body .gform_wrapper .gform_body .gform_page .gform_page_footer .gform_next_button {
	display: flex;
	width: 100%;
} */

body .gform_wrapper .gform_body .gfield a.gform_previous_button,
/* body .gform_wrapper .gform_body .gform_page .gform_page_footer .gform_previous_button */
body .gform-theme.gform-theme--framework.gform_wrapper input.gform_previous_button.gform-theme-button.button {
	background-color: #fff;
	border: 1px solid #6C757D;
    color: #6b7280;
/* 	display: flex;
	width: 100%; */
}
body .gform_wrapper .gform_body .gfield a.gform_previous_button:hover,
/* body .gform_wrapper .gform_body .gform_page .gform_page_footer .gform_previous_button:hover */
body .gform-theme.gform-theme--framework.gform_wrapper input.gform_previous_button.gform-theme-button.button:hover {
	background-color: #6C757D;
	color: white;
}

body .gform_wrapper .gform_body .gfield .gfield_radio {
	gap: 18px;
}


/* Radio image choices */

body .gform_wrapper .gform_body .gfield.image-choices .gfield_radio {
	gap: 28px;
}
@media (max-width: 768px) {
	body .gform_wrapper .gform_body .gfield.image-choices .gfield_radio {
		gap: 16px;
	}
}

.gform-theme--framework .gfield--type-choice.image-choices .gfield_radio {
	align-items: flex-start;
	display: flex;	
    flex-direction: row;
    flex-wrap: wrap;
	justify-content: space-between;
}

@media screen and (min-width: 769px) {
    .gform-theme--framework .gfield--type-choice.image-choices .gchoice {
        width: calc(50% - 18px);
    }
}
@media screen and (max-width: 768px) {
    .gform-theme--framework .gfield--type-choice.image-choices .gchoice {
        width: 100%;
    }
}

.gform-theme--framework .gfield--type-choice.image-choices .gchoice {
	cursor: pointer;
	display: inline-block;
    position: relative;
}

.gform-theme--framework .image-choices div.gchoice .gform-field-label {
	align-items: center;
	display: flex;
	height: 110px;
	line-height: 14px;
	margin-inline-start: 0px;
	padding: 8px;
	position: relative;
	z-index: 1;	
}

.gform-theme--framework .image-choices input[type=radio] {
	border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
	cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
}

.gform-theme--framework .image-choices input[type=radio]:hover {	
	background-color: #F2F2F2;
}

.gform-theme--framework .image-choices input[type=radio]:checked {
	background-color: #274abb;
}

.gform-theme--framework .image-choices input[type=radio]:focus {
	--gf-local-shadow: none;
}

.gform-theme--framework .image-choices input[type=radio]:checked + .gform-field-label .image-choices-choice-text {
	color: white;
}

.gform-theme--framework .image-choices input[type=radio]:checked::before {
    opacity: 0;
	outline: none;
}

.gform-theme--framework .image-choices-choice-text {
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 700 !important;
    margin-left: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
	width: 80%;
}

.gform-theme--framework .image-choices-choice-image-wrap {
	height: 100%;
}

.gform-theme--framework .image-choices-choice-image-wrap img {
	border-radius: 3px;
	height: 100%;
	max-width: 150px;
	object-fit: cover;
	overflow: hidden;	
}

body .gform_wrapper .gform_body .gfield.rb-choices-rounded .gfield_radio {
	gap: 24px;
}
@media (max-width: 768px) {
	body .gform_wrapper .gform_body .gfield.rb-choices-rounded .gfield_radio {
		gap: 16px;
	}
}

.gform-theme--framework .rb-choices-rounded div.gchoice .gform-field-label {
	height: fit-content;
}

.gform-theme--framework .rb-choices-rounded input[type=radio] {
	border-radius: 100px;
}

.gform-theme--framework .rb-choices-rounded .image-choices-choice-text {	
	width: 100%;
	margin-left: 0px;
}
 
.gform-theme--framework .condition-option,
.gform-theme--framework .appliance-option,
.gform-theme--framework .image-choices-choice-text .text {
    display: flex;
    flex-direction: column;
}

.gform-theme--framework .condition-option,
.gform-theme--framework .appliance-option {
    text-align: center;
}

.gform-theme--framework .notice {
    font-size: 14px;
    font-weight: 400;
	letter-spacing: 0px;
    line-height: 20px;
}


.gform-theme--framework .width-600-center {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}
body .gform_wrapper .gform_body .width-600-center label {
	display: flex;
	font-size: 18px;
    justify-content: center;
}

/* Align titles and texts placed in GF HTML fields */
h1.form-title, p.form-description {
	margin-bottom: 16px;
	text-align: center;
}

/* Making Back and Continue buttons in form "04 – Property Condition" to stay in one row */
#gform_next_button_18_50 {
	margin-block-start: -70px;
	width: 50%;
}
.gform_page_footer:has(#gform_next_button_18_50) {
	margin-block-start: 0px;
	justify-content: flex-end;
	z-index: 0;
}
.gform_page_footer:has(#gform_next_button_18_50) #gform_ajax_spinner_18 {
	margin-top: -70px;
}

/* Making Submit and Back buttons to stay in one row on mobile screens */
@media (max-width: 639px) {
	#field_submit, .gform-theme--foundation .gfield.btn_go_back-wrapper {
		grid-column: span 6;
	}
	
	.gform-theme--foundation .gform_fields {
		column-gap: 10px;
	}
}

.custom-footer-copyright {
	display: flex;
	flex-direction: column;
}
