/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.gfield {
	border: 1px solid #fff;
	border-radius: 0.3rem;
	overflow: hidden !important;
	line-height: normal;
}

.gfield:focus-within {
	outline: 2px auto -webkit-focus-ring-color;
}

.gfield .gfield_label.gform-field-label {
    color: #fff;
    font-weight: normal;
    font-size: 0.7rem;
    margin-bottom: 0;
    padding-left: 0.6rem;
}

.gfield .medium, .gfield .large {
	padding: 0 0.6rem 0.35rem !important;
	color: #fff;
	background: none ;
	outline: none;
	border: 0 !important;
}

.gform_footer {
	position: relative;
	margin-top: 0.7rem;
}

.gform_footer {
    justify-content: center;
}

.gform_button {
	transition: color 0.3s, background-color 0.3s;
	margin: 0.9rem auto 0;
}

.gform_ajax_spinner {
	position: absolute;
	top: 0;
	right: 0.5rem;
	bottom: 0;
	margin: auto;
	border: 0.2em solid rgba(0, 0, 0, 0.4);
	border-left: 0.2em solid #07B084;
	border-radius: 50%;
	width: 1.2em;
	height: 1.2em;
	animation: spin 1.1s infinite linear;
}

.gform_confirmation_message {
	font-family: inherit;
	font-size: 1.1em;
	font-weight: normal;
}

.gform_fileupload_rules {
    padding: 0 1rem 1rem;
    font-style: italic;
}

/* Validation styling */
.gform_wrapper .gform_validation_errors .gform_submission_error {
    border: none;
    margin: 0;
}

.gform_validation_errors p {
    margin: 0;
}

.gfield_error {
    border-color: #c02b0a;
}

.gfield_validation_message {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

.gform_required_legend,
#contact_section .sidebar-form-content {
    display: none;
}

/* Full width contact form */

.gform_wrapper.gravity-theme .gfield_required{
	color: #fff; 
	font-size: 1rem; 
}

#contact_section .gform_title {
    text-align: center;
}

#contact_section .gform_description {
    font-size: clamp(0.7rem, 3vw, 0.9rem);
}

#contact_section .contact-emergency {
    display: block;
    margin-bottom: 1rem;
}

.fullwidth-contact-form-right h2{
	font-size: clamp(1.6rem, 4vw, 2.8rem); 
	font-weight: 700; 
}


.fullwidth-contact-form-left{
	display: none;
}

.fullwidth-contact-form-right{
	position: relative; 
	z-index: 10; 
	margin-top: 2rem !important ;
	margin-bottom: 2rem !important ; 
}

.fullwidth-contact-form-right:after {
	content:'';
	position: absolute; 
	left: 0; 
	top: 0; 
	width: 100%; 
	height: 100%; 
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) -34.97%, #000000 50%); 
	opacity: .9;
	z-index: -1; 
}

.gform_confirmation_message {
	margin-bottom: 1rem;
  	padding: 1rem;
  	border: 1px solid #000;
}

.fullwidth-contact-form-right .gform_confirmation_message{
	color: #fff;
	border: 1px solid var(--primary-color);
	background: var(--primary-color);
	border-radius: 10px;
}

.gform_wrapper.gravity-theme .gform_validation_errors{
	padding-inline-start: 0;
}

@media (min-width: 37.5em) {
	.fullwidth-contact-form-left{
		display: block;
	}
}

@media (min-width: 68.5em) {
	.fullwidth-contact-form-right{
		padding: 2rem 1.25rem; 
		margin: 0 !important;
	}
}

button.gform_button .screen-reader-hidden {
	position: absolute;
/* 	bottom: -.25rem; */
	bottom: -.3rem;
	width: 100%;
	height: 100%;
	left: 0;
	right: 0;
	color: var(--primary-color); 
	background: linear-gradient(69.97deg, #FAB0B1 25.04%, #B0EFFF 73.35%);
	transform: translateY(2rem);
	transition: transform .25s ease; 
	display: flex;
	justify-content: center;
	align-items: center;
}

button.gform_button:hover .screen-reader-hidden,
button.gform_button:focus-visible .screen-reader-hidden{
	transform: translateY(-.3rem);
}

button.gform_button .base-text{
	display: block; 
	transform: translateY(0);
	transition: transform .5s ease; 
	width: 100%;
	height: 100%;
}

button.gform_button:hover .base-text,
button.gform_button:focus-visible .base-text{
	transform: translateY(-3rem);
	
}

.gform_wrapper.gravity-theme .gfield_error label{
	color: #fff; 
}
