/* /*===============================================
 =         GRAVITY FORMS STYLING           =
===============================================*/
.wpnordic-modal-content .gform_wrapper {
	box-sizing: border-box;
	margin-block: 0;
	display: flex;
	flex-direction: column;
	padding: 5px;
}

/* showing the text that * means required */
.wpnordic-modal-content .gform_required_legend {
	display: none;
}

/* the description text */
.wpnordic-modal-content .gform_description {
	margin-bottom: 15px;
}

/* label */
.wpnordic-modal-content .gform_wrapper .gfield.hidden_label .gfield_label {
	display: none;
}

.wpnordic-modal-content .gform_wrapper .gform_fields {
	row-gap: 24px;
}

.wpnordic-modal-content .gform_wrapper .gform-grid-col {
	padding-inline: 0;
}

.wpnordic-modal-content .gform_wrapper form.center .gform_fields .gfield {
	margin-inline: auto;
}

/* make sure each container with one of the width modifiers allways fill up all the space they have */
.wpnordic-modal-content .gform_wrapper .gfield--width-full,
.wpnordic-modal-content .gform_wrapper .gfield--width-eleven-twelfths,
.wpnordic-modal-content .gform_wrapper .gfield--width-five-sixths,
.wpnordic-modal-content .gform_wrapper .gfield--width-three-quarter,
.wpnordic-modal-content .gform_wrapper .gfield--width-two-thirds,
.wpnordic-modal-content .gform_wrapper .gfield--width-seven-twelfths,
.wpnordic-modal-content .gform_wrapper .gfield--width-half,
.wpnordic-modal-content .gform_wrapper .gfield--width-five-twelfths,
.wpnordic-modal-content .gform_wrapper .gfield--width-third,
.wpnordic-modal-content .gform_wrapper .gfield--width-quarter {
	width: 100%;
}

.wpnordic-modal-content
	.gform_wrapper.gform-theme--foundation
	.gform_footer
	input[type='submit'][id*='gform_submit_button_'].button.gform-button--width-full:not(
		[class*='gfield--width']
	) {
	inline-size: 100%;
}

.wpnordic-modal-content .gform_wrapper .gform-grid-row {
	margin-inline: 0;
}

.wpnordic-modal-content .gform_wrapper form.center .gform_footer.top_label {
	justify-content: center;
}

.wpnordic-modal-content .gform_wrapper .gform_confirmation_message {
	text-align: center;
}

.wpnordic-modal-content .gform_wrapper .gform_footer {
	row-gap: 15px;
}

.wpnordic-modal-content .gform-loader[data-js-spinner-id='gform-ajax-spinner'] {
	margin-inline: left;
}

.wpnordic-modal-content .gform_wrapper .gform_heading {
	order: 1;
}

.wpnordic-modal-content .gform_wrapper .gform_validation_errors {
	order: 2;
	margin-bottom: 24px;
}

.wpnordic-modal-content .gform_wrapper form {
	order: 3;
}

@media screen and (max-width: 450px) {
	.wpnordic-modal-content
		.gform_wrapper.gform-theme--foundation
		.gform_footer
		input[type='submit'][id*='gform_submit_button_'].button.gform-button--width-full[class*='gfield--width'] {
		inline-size: 100%;
	}
}
