/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.gfield {
	border-radius: 0.3rem;
	overflow: hidden !important;
	background: var(--white);
	line-height: normal;
}

.gfield:focus-within {
	outline: 2px auto -webkit-focus-ring-color;
}

body .gfield .gfield_label.gform-field-label {
	color: var(--primary-color);
	font-weight: normal;
	font-size: 0.7rem;
	margin-bottom: 0;
	padding-left: 0.6rem;
	width: 100%;
}

.gform_wrapper.gravity-theme .gfield :is(.medium, .large, .datepicker) {
	padding: 0 0.6rem 0.35rem;
	color: var(--content-color);
	background: var(--white);
	outline: none;
	border: 0 !important; /* Prevent border on validation error */
	width: 100%;
}

.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 auto;
}

.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;
	padding-bottom: 1rem;
}

.gform_fileupload_rules {
	padding: 0 1rem 1rem;
	font-style: italic;
}

@media (max-width: 68.49em) {
	#sidebar .gform_button {
		margin-top: 0;
	}
}

/* Validation styling */
.gform_wrapper .gform_validation_errors .gform_submission_error {
	border: none;
	margin: 0;
	font-size: 0.8rem;
}

.gform_wrapper.gravity-theme .gform_validation_errors {
	padding: 0.2rem;
}

.gform_validation_errors p {
	margin: 0;
}

.gfield_error {
	border-color: #c02b0a;
}

.gform_wrapper .validation_message.gfield_validation_message {
	border: none;
	border-top: inherit;
	padding: 0.2rem 0.6rem;
}

.gform_required_legend,
#contact_section .sidebar-form-content {
	display: none;
}

/* Full width contact form */
.contact2-section {
    justify-content: center;
}

@media (min-width: 48.83em) {
    .contact2-section .wp-block-column:first-child {
		margin-right: -11.8rem;
        flex-grow: 1 !important;
    }

	.contact2-section img {
		float: right;
	}
}

/* NOSE test */
.gf_progressbar_title {
    color: var(--wp--preset--color--dark-blue) !important;
}

.gform_wrapper.gravity-theme .gf_progressbar_blue {
	background: var(--white) !important;
}

#gform_wrapper_4 .gfield_label {
	font-size: 1rem;
	color: var(--wp--preset--color--dark-blue);
}

#gform_wrapper_4 .gfield-choice-input {
    opacity: 0;
	position: absolute;
}

#gform_wrapper_4 .gchoice .gform-field-label {
    display: block;
    background: var(--accent-color);
    color: var(--wp--preset--color--dark-blue);
    font-size: clamp(0.9rem, 4vw, 1rem);
    padding: 0.7rem 1rem;
    border-radius: 0.2rem;
    margin-top: 0.8rem;
	max-width: 100%;
    transition: background 0.3s, color 0.3s;
}

#gform_wrapper_4 .gfield-choice-input:checked + .gform-field-label,
#gform_wrapper_4 .gchoice .gform-field-label:is(:hover, :focus-visible) {
    background: var(--wp--preset--color--dark-blue);
    color: var(--white);
}

.gform_page_footer {
    display: none;
}

.nose-custom-html {
    text-align: center;
    padding: 1rem;
    background: none;
}