.gform-theme--api, .gform-theme--foundation {
	--gf-form-gap-x: 16px;
	--gf-form-gap-y: 40px;
	--gf-field-gap-x: 12px;
	--gf-field-gap-y: 12px;
	--gf-label-width: 30%;
	--gf-label-req-gap: 6px;
	--gf-form-footer-margin-y-start: 24px;
	--gf-form-footer-gap: 8px;
	--gf-field-date-width: 168px;
	--gf-field-time-width: 110px;
	--gf-field-list-btns-gap: 8px;
	--gf-field-list-btns-width: calc(32px + var(--gf-field-list-btns-gap) + var(--gf-field-gap-x));
	--gf-field-pg-steps-gap-y: 8px;
	--gf-field-pg-steps-gap-x: 24px;
}

.gform-theme--foundation *, .gform-theme--foundation :after, .gform-theme--foundation :before {
	box-sizing: border-box;
}

.gform-theme--foundation fieldset, .gform-theme--foundation legend {
	background: none;
	padding: 0;
}

.gform-theme--foundation fieldset {
	border: none;
	display: block;
	margin: 0;
}

.gform-theme--foundation legend {
	margin-inline: 0;
}

.gform_anchor:focus-visible {
	outline: none;
}

.gform-theme--foundation .hidden_label .gfield_label, .gform-theme--foundation .hidden_sub_label, .gform-theme--foundation .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	word-wrap: normal !important;
	border: 0;
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.field_sublabel_above .ginput_complex {
	align-items: flex-end;
}

.gform-theme--foundation .ginput_complex label, .gform-theme--foundation .ginput_complex legend {
	display: block;
}

.gform-theme--foundation .gfield textarea, .gform-theme--foundation .ginput_complex input, .gform-theme--foundation .ginput_complex select {
	inline-size: 100%;
}

.gform-theme--foundation .gfield .ginput_password, .gform-theme--foundation .gfield input, .gform-theme--foundation .gfield select {
	max-inline-size: 100%;
}

.gform-theme--foundation .gfield .ginput_password.large, .gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large {
	inline-size: 100%;
}

.gform-theme--foundation .gform_fields {
	grid-column-gap: 0;
	grid-row-gap: var(--gf-form-gap-y);
	-moz-column-gap: 0;
	column-gap: 0;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: repeat(auto-fill, auto);
	inline-size: 100%;
	row-gap: var(--gf-form-gap-y);
}

.gform-theme--foundation .gfield {
	grid-column: 1/-1;
	min-inline-size: 0;
}

.gform-theme--foundation .gform_footer, .gform-theme--foundation .gform_page_footer {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gf-form-footer-gap);
	margin-block-start: var(--gf-form-footer-margin-y-start);
}

@media (min-width:640px) {
	.gform-theme--foundation .gform_fields {
		-moz-column-gap: var(--gf-form-gap-x);
		column-gap: var(--gf-form-gap-x);
	}
	
	.gform-theme--foundation .gfield--width-full {
		grid-column: span 12;
	}
	
	.gform-theme--foundation .gfield--width-half {
		grid-column: span 6;
	}
}

.gform-theme--foundation .gform-grid-row {
	display: flex;
	flex-flow: row wrap;
	margin-inline: calc(var(--gf-field-gap-x) * -1 / 2);
	row-gap: var(--gf-field-gap-y);
}

.gform-theme--foundation .gform-grid-col {
	flex: none;
	inline-size: 100%;
	padding-inline: calc(var(--gf-field-gap-x) / 2);
}

@media (min-width:640px) {
	.gform-theme--foundation .gform-grid-col.gform-grid-col--size-auto {
		flex: 1;
		inline-size: auto;
	}
}

.gform-theme--foundation .gform-field-label:where(:not([class*=gform-field-label--type-]):not(.gfield_header_item):not(.ginput_quantity_label)) {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: var(--gf-label-req-gap);
}

.gform-theme--foundation .gform-field-label:where([class*=gform-field-label--type-]) {
	display: inline-block;
}

.gform-theme--foundation .gf_invisible, .gform-theme--foundation .gfield_visibility_hidden {
	inset-inline-start: -9999px;
	position: absolute;
	visibility: hidden;
}

.gform-theme--foundation .gf_hidden, .gform-theme--foundation .gform_hidden {
	display: none;
}

.gform-theme--foundation .gfield_list_group {
	margin-block-end: var(--gf-field-gap-y);
}

.gform-theme--foundation .gfield_list_group:last-child {
	margin-block-end: 0;
}

.gform-theme--foundation .gfield_list_group_item+.gfield_list_group_item {
	margin-block-start: 4px;
}

.gform-theme--foundation .gfield_list_group_item input, .gform-theme--foundation .gfield_list_group_item select, .gform-theme--foundation .gfield_list_group_item textarea {
	inline-size: 100%;
}

.gform-theme--foundation .gfield_header_item--icons, .gform-theme--foundation .gfield_list_icons {
	align-items: center;
	display: flex;
	gap: var(--gf-field-list-btns-gap);
}

.gform-theme--foundation .add_list_item, .gform-theme--foundation .delete_list_item {
	font-size: 12px;
	padding: 0;
}

@media (min-width:640px) {
	.gform-theme--foundation .gfield_list_group, .gform-theme--foundation .gfield_list_header {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
	}
	
	.gform-theme--foundation .gfield_list_group_item {
		flex: 1;
	}
	
	.gform-theme--foundation .gfield_list_group_item+.gfield_list_group_item {
		margin-block-start: 0;
	}
	
	.gform-theme--foundation .gfield_header_item--icons, .gform-theme--foundation .gfield_list_icons {
		flex: none;
		flex-wrap: wrap;
		inline-size: var(--gf-field-list-btns-width);
		justify-content: center;
	}
}

.gform-theme--foundation ::-ms-reveal {
	display: none;
}

@keyframes gformLoader {
	0% {
		transform: rotate(0deg);
	}
	
	to {
		transform: rotate(1turn);
	}
}