/* =======================================================
   Gravity Form #14 Custom Styles - Smaller Form
   ======================================================= */

/* Container for the entire form */
#gform_14 {
    max-width: 500px;           /* Reduced max-width for a smaller form */
    margin: 0 auto;             /* Center the form on the page */
    font-family: Arial, sans-serif; /* Default font for consistency */
}
	#gform_14 .gform_heading {
		margin:0px;padding:0px;;
	}
/* Form body styling */
#gform_14 .gform_body {
    padding: 0em 0em 1em 0em;              /* Reduced padding for a more compact layout */
    background-color: #9D233F;  /* Light background */
	min-height:400px;
}

/* Style each form field (wrapper) */
#gform_14 .gfield {
    margin-bottom: 0px !important;        /* Reduced space between fields */
	margin:0px;padding:0px;max-height:10px;
}

/* Field labels */
#gform_14 .gfield_label {
	display:none;
    /*display: block;             /* Each label on its own line */
    margin-bottom: 5px;         /* Space between label and input */
    font-weight: bold;          /* Bold text for clarity */
    color: #333;                /* Dark gray text color */*/
}

/* Input fields, textarea, and select elements */
#gform_14 .ginput_container input[type="text"],
#gform_14 .ginput_container input[type="email"],
#gform_14 .ginput_container input[type="tel"],
#gform_14 .ginput_container textarea,
#gform_14 .ginput_container select {
    width: 100%;                /* Full width for inputs */
    padding: 5px;               /* Reduced padding */
    border: 1px solid #ccc;     /* Light gray border */
    border-radius: 4px;         /* Rounded corners */
    font-size: 16px;            /* Legible font size */
    box-sizing: border-box;     /* Include padding in the width */
}

/* Focus state for input, textarea, and select */
#gform_14 .ginput_container input:focus,
#gform_14 .ginput_container textarea:focus,
#gform_14 .ginput_container select:focus {
    border-color: #0073aa;      /* Change border color on focus */
    outline: none;              /* Remove default outline */
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5); /* Subtle glow for focus */
}

/* Submit button styling */
#gform_submit_button_14 {
    display: block;             /* Block level to span full width */
    width: 100%;
    background-color: #0073aa;  /* Button background color */
    color: #fff;                /* White text */
    padding: 0p 5px;              /* Reduced padding for a compact button */
    border: none;               /* Remove border */
    border-radius: 4px;         /* Rounded corners */
    font-size: 16px;            /* Adjusted font size */
    cursor: pointer;            /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth hover transition */
}
	.form-title > p {color:white;padding:0em;font-size:0.4em;margin:0 auto;}
	.form-title {padding:1em 0em 0em 0em;}
/* Hover state for the submit button */
#gform_submit_button_14:hover {
    background-color: #005a8d;  /* Darker blue on hover */
}

	.ssseo-form-wrap .form-title {line-height:0.8em;}
	#field_14_10 {z-index:10000;display:block;position:relative;top:80px;}
	#field_14_10 p {font-size:0.6em;}
	.ssseo-form-container {
		min-height:620px;
		/*border:1px solid;*/
		/*background-color:#173F63;*/
		width:100vw !important;
		padding-bottom:55px;
	}
	#home_right {
		background-color:#9D233F;
	}
	h2.white {font-color:white !important;}
	/* Force white text for h2 elements with class "white" */
	.ssseo-form-container .left-column h2.white,.ssseo-form-container > p {
		color: #fff !important;
	}
.banner-container-heading {
		
	}
	.banner-container-heading > strong {
		color:#9D233F;
		font-weight:700;
		font-size:2.75em;
	}
	.banner-container-heading > strong.black {
		color:#000;
	}
	
	
		.ssseo-form-container {
		position: relative; /* Establish a positioning context for the overlay */
			margin-bottom:0px;
			margin-top:-2em
	}
	#gform_submit_button_14 {margin-top:-10px;}
.results-home {
		margin-top:0px !important; 
		z-index:5000; 
		background:white !important;
	}	
	
	#bannerContent {display: block; margin-top:130px !important;position:absolute;width:50%;left:50px;background-color:#173F63;}

@media (max-width: 992px) { 
	.results-home {
		margin-top:0px !important; 
		z-index:5000; 
		background:white !important;
	}	
.results-home {
		margin-top:50px !important; 
		z-index:5000; 
		background:white !important;
	}	
	.ssseo-form-wrap {
		padding-bottom:3em;
	}
	h2.red {line-height:1.2em;margin-top:0.5em;}
	#home_left {
		min-height:450px;
	}
	#home_right {
		min-height:580px;
	}

}
