/**
 * Greyd.Forms Public CSS
 * 
 * @since FSE version
 */


/*            Layout
__________________________________
*/

.forms_wrapper {
	position: relative;
	margin: 0;
	padding: 0;
}

.greyd_form {
	position: relative;
	margin-block-end: var(--wp--style--block-gap, 1rem);
}

:where(.greyd_form > [class]) {
	margin-block-start: var(--wp--style--block-gap, 1rem);
	margin-block-end: 0;
}

:where(.greyd_form > [class]:first-child),
:where(.greyd_form > style:first-child + [class]),
:where(.greyd_form > style:first-child + style + [class]) {
	margin-block-start: 0;
}

:where(.input-wrapper) {
	position: relative;
	margin-block-start: var(--wp--style--block-gap, 1rem);
	margin-block-end: 0;
}

.input-wrapper input,
.input-wrapper .input,
.input-wrapper textarea,
.input-wrapper select {
	margin-block-end: 0;
}

.input-inner-wrapper {
	position: relative;
	display: block;
}

.input-outer-wrapper.flex-right {
	display: flex;
	justify-content: flex-end;
}

.input-outer-wrapper.flex-center {
	display: flex;
	justify-content: center;
}


/*
----------------------------------------------------------

                                Elemente

----------------------------------------------------------
*/

/*            Labels
__________________________________
*/
.greyd_form label,
.greyd_form .label {
	display: inline-block;
}

.input-wrapper .label_wrap {
	margin-bottom: calc(0.5 * var(--wp--preset--spacing--tiny));
	text-align: left;
}

.input-wrapper .label_wrap label,
.input-wrapper .label_wrap .label {
	display: inline;
	margin-bottom: 0 !important;
}

.input-wrapper .label_wrap .forms-tooltip, 
.input-wrapper .label_wrap .greyd-forms-tooltip {
	display: inline;
}

.input-wrapper .label_wrap.hidden {
	display: none;
}

/*            reCAPTCHA
__________________________________
*/
.greyd_form #captcha {
	display: block;
	position: absolute;
}

.grecaptcha-badge iframe {
	display: block !important;
}

.grecaptcha-badge + iframe {
	display: none !important;
}

body.hideCaptcha .grecaptcha-badge {
	opacity: 0;
	visibility: hidden;
	top: 110%;
}

/*            Range Slider
__________________________________
*/
.greyd_form input[type="range"] {
	padding: 0 !important;
}

.greyd_form input[type="range"] + span.input-field-icon {
	display: none !important;
	/* no validations */
}


/*
----------------------------------------------------------

                                Submit Button

----------------------------------------------------------
*/
:where(
	.greyd_form [type="submit"],
	.greyd_form .submitbutton
) {
	position: relative;
	overflow: hidden;
	margin-block-start: var(--wp--style--block-gap, 1rem);
	margin-block-end: 0;
}

.greyd_upload_progress .bar,
.greyd_upload_progress .spinner .dot-loader {
	background: currentColor;
}

/*            Progress Bar
__________________________________
*/
.greyd_upload_progress {
	display: block;
	height: 100%;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

.greyd_upload_progress .bar {
	position: absolute;
	left: 0;
	width: 0;
	bottom: 0;
	top: 0;
	opacity: .2;
	transition: width .1s;
}

/*            Spinner
__________________________________
*/
.greyd_upload_progress .spinner {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
}

.greyd_upload_progress .spinner .dot-loader {
	height: 6px;
	width: 6px;
	border-radius: 50%;
	position: relative;
	-webkit-animation: 1s grow ease-in-out infinite;
	animation: 1s grow ease-in-out infinite;
}

.greyd_upload_progress .spinner .dot-loader--2 {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
	margin: 0 6px;
}

.greyd_upload_progress .spinner .dot-loader--3 {
	-webkit-animation-delay: 0.4s;
	animation-delay: 0.4s;
}

@-webkit-keyframes grow {

	0%,
	50%,
	100% {
		-webkit-transform: translateY(0px);
		transform: translateY(0px);
	}

	75% {
		-webkit-transform: translateY(-3px);
		transform: translateY(-3px);
	}
}

@keyframes grow {

	0%,
	50%,
	100% {
		-webkit-transform: translateY(0px);
		transform: translateY(0px);
	}

	75% {
		-webkit-transform: translateY(-3px);
		transform: translateY(-3px);
	}
}


/*
----------------------------------------------------------

                            Validations & Requirements

----------------------------------------------------------
*/

/* required fields */
.requirement-style__ .requirement-optional,
.requirement-style__required .requirement-optional,
.requirement-style__optional .requirement-required,
.requirement-style__none .requirement-required,
.requirement-style__none .requirement-optional {
	display: none;
}

/* star at bottom */
.requ_star {
	color: var(--wp--preset--color--vivid-red, #cf2e2e);
}

/* Text below form with star */
.requirement_after {
	margin: var(--wp--style--block-gap, 1rem) 0;
	display: block;
}

/* validation icon */
span.input-field-icon {
	font-family: ElegantIcons;
	font-weight: 400;
	margin-right: 5px;
	position: absolute;
	right: 5px;
	font-size: 1.5em;
	top: 0;
	height: 100%;
	line-height: 1;
	display: inline-flex;
	align-items: center;
}

input.validation.input-unfocus:valid + .input-field-icon,
input.validation.input-unfocus:invalid + .input-field-icon,
input.input-unfocus.invalid + .input-field-icon {
	cursor: pointer;
}

/* adjust padding to create space for validation-icon */
input.validation.input-unfocus:invalid,
input.validation.input-unfocus:valid,
input.input-unfocus.invalid {
	padding-right: 40px;
}


/*
----------------------------------------------------------

                                File Upload

----------------------------------------------------------
*/

/* Default */
.greyd_form input[type="file"]:not(.custom-file-upload) {
	background: none;
	padding: 0;
	margin-bottom: 8px;
}

.greyd_form input[type="file"]:not(.custom-file-upload) + label {
	display: none;
}

/*  Custom */
input[type="file"].custom-file-upload {
	position: absolute;
	z-index: -1;
	width: 100%;
	color: transparent;
	border-color: transparent;
	background-color: transparent;
	opacity: 0;
}

input[type="file"].custom-file-upload + label {
	display: block;
	margin-bottom: 0;
	font-family: inherit;
	font-weight: normal;
	font-size: inherit;
	letter-spacing: inherit;
	word-spacing: inherit;
	text-transform: inherit;
	line-height: inherit;
	/* box-shadow: 0 100px 0 0 var(--wp--preset--color--background, #f9f7ff) inset; */
}

input[type="file"].custom-file-upload + label .input {
	margin-bottom: 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	outline: none;
}

input[type="file"].custom-file-upload + label .input span:not([class*="icon"]) {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

/* make custom file upload outline visible on focus */
input[type="file"].custom-file-upload:focus-visible + label .input,
input[type="file"].custom-file-upload.has-focus + label .input {
	outline-style: dotted;
	outline-color: currentColor;
	outline-width: 2px;
	outline-offset: 2px;
}

/*            Box Layout
__________________________________
*/
input[type="file"].custom-file-upload + label .input.upload-box {
	height: 150px;
	flex-direction: column;
	justify-content: center;
}

input[type="file"].custom-file-upload + label .input.upload-box span[class*="icon"] {
	font-size: 300%;
	flex: 2;
	position: relative;
}

input[type="file"].custom-file-upload + label .input.upload-box span[class*="icon"]::after {
	height: 70%;
	content: ' ';
	display: inline-block;
}

input[type="file"].custom-file-upload + label .input.upload-box span[class*="icon"]::before {
	vertical-align: middle;
}

input[type="file"].custom-file-upload + label .input.upload-box span:not([class*="icon"]) {
	opacity: .7;
	font-size: smaller;
}


/*
----------------------------------------------------------

                                Radio Buttons

----------------------------------------------------------
*/

.greyd_form input[type="radio"] {
	display: inline-block !important;
	position: absolute !important;
	opacity: 0;
	z-index: -1;
}

.radio input[type="radio"],
.radio-inline input[type="radio"] {
	width: auto;
	margin-left: 0px;
}

.radio span,
.radio-inline span {
	margin-left: 0px !important;
	margin-right: 0px !important;
}

.greyd_form input[type="radio"] + span,
.greyd_form input[type="radio"] + label {
	cursor: pointer;
}

.greyd_form input[type="radio"] + span.icon::before {
	font-family: ElegantIcons;
	font-weight: 400;
	margin-right: 5px;
}

.greyd_form input[type="radio"].checkbox + span::before {
	content: "\56";
}

.greyd_form input[type="radio"].checkbox:checked + span::before {
	content: "\5a";
}

.greyd_form input[type="radio"] + span.icon::before {
	content: "\5b";
}

.greyd_form input[type="radio"]:checked + span.icon::before {
	content: "\5c";
}

.checkbox-label input[type="checkbox"] {
	margin-top: 0.1em;
}

.wp-block-greyd-forms-radiobuttons .option,
/* backward compatibility */
.radio_buttons .option {
	margin: 0 0.5em 0.5em 0;
}

.wp-block-greyd-forms-radiobuttons label:not(.label),
/* backward compatibility */
.radio_buttons label:not(.label) {
	margin-bottom: 0;
}

/* deprecated */
.greyd_form fieldset > .inline,
.greyd_multiradio > .inline {
	display: inline-block;
	margin-right: 0.6em;
}

/* multiselect */
.greyd_multiradio {
	position: relative;
}

.greyd_multiradio input {
	opacity: 0;
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	bottom: 0;
}

.greyd_multiradio .option {
	cursor: pointer;
	margin-bottom: .3em;
}

.greyd_multiradio .option .icn {
	font-family: 'ElegantIcons';
	font-weight: 400;
	margin-right: 5px;
}

/* styled as radio */
.greyd_multiradio .option .icn::before {
	content: "\5b";
}

.greyd_multiradio .option.selected .icn::before {
	content: "\5c";
}

/* styled as checkbox */
.is-style-checkbox input[type="radio"] + span::before,
.is-style-checkbox .greyd_multiradio .option .icn::before,
.greyd_multiradio .option .icn.checkbox::before {
	content: "\56";
}

.is-style-checkbox input[type="radio"]:checked + span::before,
.is-style-checkbox .greyd_multiradio .option.selected .icn::before,
.greyd_multiradio .option.selected .icn.checkbox::before {
	content: "\5a";
}

/* styled as switch */
.is-style-switch input[type="radio"] + span + span,
.is-style-switch .greyd_multiradio .option .icn + span {
	vertical-align: super;
}

.wp-block-greyd-forms-radiobuttons {
	width: 100%;
}

.wp-block-greyd-forms-radiobuttons.alignleft fieldset,
.wp-block-greyd-forms-radiobuttons.alignleft .greyd_multiradio {
	text-align: left;
}
.wp-block-greyd-forms-radiobuttons.alignright fieldset,
.wp-block-greyd-forms-radiobuttons.alignright .greyd_multiradio {
	text-align: right;
}
.wp-block-greyd-forms-radiobuttons.aligncenter fieldset,
.wp-block-greyd-forms-radiobuttons.aligncenter .greyd_multiradio {
	text-align: center;
}

.greyd_multiradio .option:focus-visible {
	outline: 2px dotted var( --text-color, var(--wp--preset--color--foreground, currentColor) );
	outline-offset: 3px;
}
.greyd_multiselect .option:focus-visible {
	outline: 2px dotted var( --text-color, var(--wp--preset--color--foreground, currentColor) );
	outline-offset: -3px;
}


/*
----------------------------------------------------------

                                Checkbox

----------------------------------------------------------
*/

input[type="checkbox"] + span {
	vertical-align: sub;
}

input[type="checkbox"].radio,
input[type="checkbox"].radio,
.is-style-radio input[type="checkbox"] {
	display: inline-block !important;
	position: absolute !important;
	opacity: 0;
	z-index: -1;
}

/* styled as radio */
input[type="checkbox"].radio + span::before,
input[type="checkbox"].radio + label::before,
.is-style-radio input[type="checkbox"] + span::before {
	font-family: 'ElegantIcons';
	font-weight: 400;
	content: "\5b";
}

input[type="checkbox"].radio:checked + span::before,
input[type="checkbox"].radio:checked + label::before,
.is-style-radio input[type="checkbox"]:checked + span::before {
	font-family: 'ElegantIcons';
	font-weight: 400;
	content: "\5c";
}

.input-wrapper label.checkbox-label,
.input-wrapper .label.checkbox-label,
fieldset label,
.wp-block-greyd-forms-radiobuttons label:not(.label),
/* backward compatibility */
.radio_buttons label:not(.label) {
	font-family: inherit;
	font-weight: normal;
	font-size: inherit;
	letter-spacing: inherit;
	word-spacing: inherit;
	text-transform: inherit;
	line-height: inherit;
	color: inherit;
}

.input-wrapper label.checkbox-label,
.input-wrapper .label.checkbox-label {
	display: inline-flex;
	cursor: pointer;
	padding: 8px 0;
	margin-top: 0;
	margin-bottom: 0;
}

.checkbox-label div:last-child {
	margin-left: 5px;
}

fieldset {
	margin: 0;
	padding: 0;
	border: none;
	text-align: left;
}

fieldset label {
	cursor: pointer;
	margin-bottom: .3em;
}

/* required & optional */
.requirement-optional {
	opacity: 0.7;
	font-size: var(--LBLfontSizeOptional, inherit);
}

.requirement-required {
	color: var(--wp--preset--color--vivid-red, #cf2e2e);
}


/*
----------------------------------------------------------

                                iOS Switch

----------------------------------------------------------
*/

input[type="checkbox"].switch,
input[type="checkbox"].switch,
.is-style-switch input[type="checkbox"] {
	display: inline-block !important;
	position: absolute !important;
	opacity: 0;
	z-index: -1;
}

input[type="checkbox"].switch + span,
input[type="radio"].switch + span,
.greyd_multiradio .option .icn.switch,
.is-style-switch .greyd_multiradio .option .icn,
.is-style-switch input[type="checkbox"] + span,
.is-style-switch input[type="radio"] + span {
	position: relative;
	display: inline-block;
	vertical-align: top;
	height: 22px;
	width: 36px;
	margin: 0 6px 6px 2px;
	color: currentColor;
	transition: all 0.2s ease;
}

input[type="checkbox"].switch:checked + span,
input[type="radio"].switch:checked + span,
.greyd_multiradio .option.selected .icn.switch,
.is-style-switch .greyd_multiradio .option.selected .icn,
.is-style-switch input[type="checkbox"]:checked + span,
.is-style-switch input[type="radio"]:checked + span {
	color: var(--wp--preset--color--primary, currentColor);
}

/* BG */
input[type="checkbox"].switch + span::after,
input[type="radio"].switch + span::after,
.greyd_multiradio .option .icn.switch::after,
.is-style-switch .greyd_multiradio .option .icn::after,
.is-style-switch input[type="checkbox"] + span::after,
.is-style-switch input[type="radio"] + span::after {
	content: ' ';
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	border-radius: 12px;
	background-color: currentColor;
}

/* Disc */
input[type="checkbox"].switch + span::before,
input[type="radio"].switch + span::before,
.greyd_multiradio .option .icn.switch::before,
.is-style-switch .greyd_multiradio .option .icn::before,
.is-style-switch input[type="checkbox"] + span::before,
.is-style-switch input[type="radio"] + span::before {
	content: ' ';
	display: inline-block;
	position: relative;
	z-index: 1;
	vertical-align: top;
	border-radius: 100%;
	height: 16px;
	width: 16px;
	margin: 3px;
	margin-right: 17px;
	background-color: var(--wp--preset--color--background);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	transition: all .2s ease-out;
}

input[type="checkbox"].switch:checked + span::before,
input[type="radio"].switch:checked + span::before,
.greyd_multiradio .option.selected .icn.switch::before,
.is-style-switch .greyd_multiradio .option.selected .icn::before,
.is-style-switch input[type="checkbox"]:checked + span::before,
.is-style-switch input[type="radio"]:checked + span::before {
	content: ' ';
	margin-left: 17px;
	margin-right: 3px;
}

/*            Error
__________________________________
*/

/* highlight inputs on focus out */
input.validation.input-unfocus:invalid,
input.input-unfocus.invalid,
input[type="file"].input-unfocus.invalid + label .input,
/* highlight inputs on form validation */
.greyd_form.validate input:invalid,
.greyd_form.validate select:invalid + .select-selected,
.greyd_form.validate textarea:invalid
{
	box-shadow: 0 0 0 1px var(--wp--preset--color--vivid-red, #cf2e2e);
}

/* highlight checkbox text on form validation */
/* .greyd_form.validate input[type="checkbox"]:invalid ~ * {
    color: var(--MGDtxtcolor);
} */

/* display info icon */
input.validation.input-unfocus:invalid + .input-field-icon::before,
input.input-unfocus.invalid + .input-field-icon::before,
textarea.validation.input-unfocus:invalid + .input-field-icon::before,
textarea.input-unfocus.invalid + .input-field-icon::before {
	content: "\4d";
	color: var(--wp--preset--color--vivid-red, #cf2e2e);
}

/*            Success
__________________________________
*/

/* highlight inputs on focus out */
input.validation.input-unfocus:valid,
select.validation.input-unfocus:valid,
textarea.validation.input-unfocus:valid,
input[type="file"].input-unfocus.valid + label .input {
	box-shadow: 0 0 0 1px var(--wp--preset--color--vivid-green-cyan, #00d084) inset;
}

/* display info icon */
input.validation.input-unfocus:valid + .input-field-icon::before {
	content: "\4e";
	color: var(--wp--preset--color--vivid-green-cyan, #00d084);
}


/*
----------------------------------------------------------

                                Icon Panels

----------------------------------------------------------
*/

/* wrapper */
.img_pnl_wrapper {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	gap: var(--wp--preset--spacing--tiny, 8px);
}

/* panel */
.img_pnl {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	padding: var(--wp--preset--spacing--tiny, 8px);
	gap: var(--wp--preset--spacing--tiny, 8px);
	margin: 0;
	cursor: pointer;
}

/* hide radio button icons */
.img_pnl_wrapper input[type="radio"] + span,
.img_pnl_wrapper input[type="radio"] + span::before,
.img_pnl_wrapper input[type="radio"] + label::before {
	display: none !important;
}

/* style it like an input */
.input-wrapper:not(.is-style-none) .img_pnl {
	/* font */
	font-family: var(--wp--custom--greyd--input--typography--font-family);
	font-size: var(--wp--custom--greyd--input--typography--font-size);
	font-weight: var(--wp--custom--greyd--input--typography--font-weight);
	line-height: var(--wp--custom--greyd--input--typography--line-height);
	/* spacing */
	padding-top: var(--wp--custom--greyd--input--spacing--padding--top);
	padding-bottom: var(--wp--custom--greyd--input--spacing--padding--bottom);
	padding-left: var(--wp--custom--greyd--input--spacing--padding--left);
	padding-right: var(--wp--custom--greyd--input--spacing--padding--right);
	/* color */
	color: var(--wp--custom--greyd--input--prim--color--text);
	background: var(--wp--custom--greyd--input--prim--color--background);
	/* border */
	border-radius: var(--wp--custom--greyd--input--prim--border--radius);
	border-width: var(--wp--custom--greyd--input--prim--border--width);
	border-style: var(--wp--custom--greyd--input--prim--border--style);
	border-color: var(--wp--custom--greyd--input--prim--border--color);
	/* shadow */
	box-shadow: var(--wp--custom--greyd--input--prim--shadow);

	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrapper:not(.is-style-none) .img_pnl:hover,
.input-wrapper:not(.is-style-none) input:checked + .img_pnl,
.input-wrapper:not(.is-style-none) input:checked + span + .img_pnl,
.input-wrapper:not(.is-style-none) .img_pnl.option.selected,
.input-wrapper:not(.is-style-none) .img_pnl._hover,
.input-wrapper:not(.is-style-none) .img_pnl._active {
	color: var(--wp--custom--greyd--input--prim--hover--color--text);
	background-color: var(--wp--custom--greyd--input--prim--hover--color--background);
	border-color: var(--wp--custom--greyd--input--prim--hover--border--color);
	box-shadow: var(--wp--custom--greyd--input--prim--hover--shadow);
}

/* sec */
.input-wrapper.is-style-sec .img_pnl,
.input-wrapper.is-style-sec .img_pnl {
	padding-top: var(--wp--custom--greyd--input--spacing--padding--top);
	padding-bottom: var(--wp--custom--greyd--input--spacing--padding--bottom);
	padding-left: var(--wp--custom--greyd--input--spacing--padding--left);
	padding-right: var(--wp--custom--greyd--input--spacing--padding--right);
	color: var(--wp--custom--greyd--input--sec--color--text);
	background: var(--wp--custom--greyd--input--sec--color--background);
	border-radius: var(--wp--custom--greyd--input--sec--border--radius);
	border-width: var(--wp--custom--greyd--input--sec--border--width);
	border-style: var(--wp--custom--greyd--input--sec--border--style);
	border-color: var(--wp--custom--greyd--input--sec--border--color);
	box-shadow: var(--wp--custom--greyd--input--sec--shadow);
}

.input-wrapper.is-style-sec .img_pnl:hover,
.input-wrapper.is-style-sec input:checked + .img_pnl,
.input-wrapper.is-style-sec input:checked + span + .img_pnl,
.input-wrapper.is-style-sec .img_pnl.option.selected,
.input-wrapper.is-style-sec .img_pnl._hover,
.input-wrapper.is-style-sec .img_pnl._active {
	color: var(--wp--custom--greyd--input--sec--hover--color--text);
	background: var(--wp--custom--greyd--input--sec--hover--color--background);
	border-color: var(--wp--custom--greyd--input--sec--hover--border--color);
	box-shadow: var(--wp--custom--greyd--input--sec--hover--shadow);
}

/* don't style it */
.input-wrapper.is-style-none .img_pnl {
	padding: 0;
}

/**
 * Focus outline
 * @since 1.4.5
 */
:is(input[type="radio"], input[type="checkbox"]):focus-visible + span + .img_pnl {
	outline: 2px dotted var( --text-color, var(--wp--preset--color--foreground, currentColor) );
	outline-offset: 3px;
}

.wp-block-greyd-forms-iconpanels.aligncenter {
	margin-inline: auto;
	width: fit-content;
}

/*            Images
__________________________________
*/
.img_pnl_wrapper .img_pnl .img_wrap {
	position: relative;
}

.img_pnl_wrapper .img_pnl .img_wrap img {
	margin: 0 !important;
}

.img_pnl_wrapper .img_pnl img:not(.icon_ghost) {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

/* on load: hide all other than .default */
.img_pnl_wrapper .img_pnl img:not(.icon_default) {
	opacity: 0;
}

/* on hover: hide all other than .hover */
.img_pnl_wrapper .img_pnl:hover img:not(.icon_hover),
.img_pnl_wrapper .img_pnl.hover img:not(.icon_hover) {
	opacity: 0;
}

/* ...show the .hover */
.img_pnl_wrapper .img_pnl:hover img.icon_hover,
.img_pnl_wrapper .img_pnl.hover img.icon_hover {
	opacity: 1;
}

/* selected: hide all other than .select */
.img_pnl_wrapper input:checked + label.img_pnl img:not(.icon_select),
.img_pnl_wrapper input:checked + span + label.img_pnl img:not(.icon_select),
.img_pnl_wrapper .img_pnl.option.selected img:not(.icon_select),
.img_pnl_wrapper .img_pnl._active img:not(.icon_select) {
	opacity: 0;
}

/* ...show the .select */
.img_pnl_wrapper input:checked + label.img_pnl img.icon_select,
.img_pnl_wrapper input:checked + span + label.img_pnl img.icon_select,
.img_pnl_wrapper .img_pnl.option.selected img.icon_select,
.img_pnl_wrapper .img_pnl._active img.icon_select {
	opacity: 1;
}


/*
----------------------------------------------------------

                                Conditional Fields

----------------------------------------------------------
*/

/* add little padding to prevent breaking margins */
.condition_outer_container,
.condition_outer_container .conditional_fields,
.condition_outer_container .conditional_fields .condition,
.condition_block {
	padding: 0.1px 0;
	margin: -0.1px 0;
	width: 100%;
}

.condition_outer_container,
.condition_wrapper {
	display: block;
	overflow: hidden;
	margin: 0;
}

.conditional_fields .condition,
.condition_block {
	display: none;
	opacity: 0;
}

/*     'open'- & 'show'-state
__________________________________
*/
.condition_outer_container.open,
.condition_wrapper.open {
	overflow: visible;
}

.conditional_fields .condition.show,
.condition_block.show {
	display: block;
	opacity: 1;
}

/*            Animations
__________________________________
*/
.condition_outer_container.slide,
.condition_wrapper.slide {
	transition: height 0.2s ease;
}

.condition_outer_container.fade .condition,
.condition_wrapper.fade .condition_block {
	transition: opacity 0.2s ease .1s;
	/* animation: fadeIn 1s ease; */
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


/*
----------------------------------------------------------

                                Multistep

----------------------------------------------------------
*/
.greyd_form .multistep_wrapper {
	position: relative;
	display: flex;
	overflow: visible;
	z-index: 1;
}

.greyd_form .step {
	padding: 0 !important;
	margin: 0 !important;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.greyd_form .step:not(.active) {
	opacity: 0;
	position: absolute;
	z-index: -999;
	overflow: clip;
	pointer-events: none;
}

.greyd_form .step.active {
	position: relative;
	opacity: 1;
	z-index: 1;
	overflow: visible;
}

.multistep_button {
	display: inline-block;
}

/*              Animations
__________________________________
*/
/* Default */
.greyd_form .multistep_wrapper,
body.animate_fast .greyd_form .multistep_wrapper {
	transition: height 0.2s;
}

.greyd_form.anim_init .step:not(.active) {
	transition: opacity 0.2s;
}

.greyd_form.anim_init .step.active {
	transition: opacity 0.2s;
}

/* None */
.greyd_form .multistep_wrapper[data-transition="none"] {
	transition: none;
}

.greyd_form .multistep_wrapper[data-transition="none"].anim_init .step:not(.active) {
	transition: none;
}

.greyd_form .multistep_wrapper[data-transition="none"].anim_init .step.active {
	transition: none;
}

/* Swipe */
.greyd_form .multistep_wrapper[data-transition="swipe"] .step:not(.active) {
	position: relative;
	height: 0;
	visibility: hidden;
}

/* TODO: */
/* Move */
.greyd_form .multistep_wrapper[data-transition="move"] .step:not(.active) {
	transform: translateY(-100%);
}

.greyd_form .multistep_wrapper[data-transition="move"] .step.active ~ .step:not(.active) {
	transform: translateY(100%);
}

.greyd_form.anim_init .multistep_wrapper[data-transition="move"].step:not(.active) {
	transition: opacity 0.2s, transform 0.2s;
}

.greyd_form.anim_init .multistep_wrapper[data-transition="move"] .step.active {
	transition: opacity 0.2s, transform 0.2s;
}

/*          Progress Bar
__________________________________
*/

.progress_wrapper.flex-start {
	display: flex;
	justify-content: flex-start;
}

.progress_wrapper.flex-center {
	display: flex;
	justify-content: center;
}

.progress_wrapper.flex-end {
	display: flex;
	justify-content: flex-end;
}

.multistep_progress,
.multistep_pagination {
	position: relative;
	overflow: hidden;
	margin: 1em 0;
}

.multistep_progress:not(.flex-start):not(.flex-center):not(.flex-end) {
	width: 100%;
}

.multistep_progress,
.multistep_pagination > span {
	height: 8px;
	border-radius: 4px;
	background-color: var(--wp--preset--color--mediumlight, rgba(150, 150, 150, .3));
}

/* Bar */
.multistep_progress .bar {
	position: absolute;
	left: 0;
	width: 0;
	bottom: 0;
	top: 0;
	background-color: var(--wp--preset--color--primary);
	transition: width .2s;
}

/* Bullets */
.multistep_pagination > span {
	display: inline-block;
	width: 8px;
	margin: 0 4px;
	transition: background 0.2s;
}

.multistep_pagination > span.active {
	background-color: var(--wp--preset--color--primary);
}



/*
----------------------------------------------------------

                                Range Slider

----------------------------------------------------------
*/
.range_control_wrapper {
	--rail-width: calc(100% - 20px);
	--rail-color: var(--wp--preset--color--mediumlight);
	--rail-height: 3px;
	--rail-borderradius: 1px;
	--track-color: var(--wp--preset--color--dark);
	--thumb-size: 20px;
	--thumb-color: var(--wp--preset--color--lightest);
	--thumb-border-color: var(--wp--preset--color--dark);
	--thumb-borderradius: 100px;
	--range-tooltip-fontsize: 14px;
	--range-tooltip-background-color: var(--wp--preset--color--dark);
	--range-tooltip-color: var(--wp--preset--color--lightest);
	--range-tooltip-borderradius: 2px;
	--range-value-color: var(--wp--preset--color--dark);
	--range-value-font-size: inherit;
}

.range_control_wrapper {
	position: relative;
	width: var(--rail-width);
	min-height: 30px;
	margin: 0 10px;
}

/* input */
.range_control_wrapper input[type="range"] {
	cursor: pointer;
	display: block;
	position: absolute;
	top: 0px;
	height: 100%;
	left: 0px;
	right: 0px;
	margin: 0px -10px;
	opacity: 0;
	outline: none;
	width: calc(100% + 20px);
}

/* rail */
.range_control_wrapper .rail {
	background-color: var(--rail-color);
	pointer-events: none;
	position: absolute;
	top: 50%;
	font-size: var(--rail-height);
	border-radius: var(--rail-borderradius);
	height: 1em;
	margin-top: -0.5em;
	left: -10px;
	right: -10px;
	transition: backgound-color 120ms ease;
}

/* track */
.range_control_wrapper .track {
	pointer-events: none;
	display: block;
	position: absolute;
	top: 50%;
	font-size: var(--rail-height);
	height: 1em;
	margin-top: -0.5em;
	left: -10px;
	width: 10px;
	border-radius: var(--rail-borderradius);
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	background-color: var(--track-color);
	transition: backgound-color 120ms ease;
}

/* thumb */
.range_control_wrapper .thumb_wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	font-size: var(--thumb-size);
	height: 1em;
	width: 1em;
	margin-left: -0.5em;
	margin-top: -0.5em;
	pointer-events: none;
	user-select: none;
	outline: 0px;
}

.range_control_wrapper .thumb {
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: var(--thumb-color);
	color: var(--thumb-border-color);
	/* used for border & box-shadow on focus */
	border: 1px solid currentColor;
	border-radius: var(--thumb-borderradius);
	box-shadow: rgb(0 0 0 / 0%) 0px 0px 0px;
	user-select: none;
	outline: 0px;
}

/* tooltip */
.range_control_wrapper .tooltip {
	display: inline-block;
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	font-size: var(--range-tooltip-fontsize);
	margin-bottom: 0.5em;
	min-width: 2.66em;
	padding: 0.33em 0.66em;
	line-height: 1.4;
	text-align: center;
	background: var(--range-tooltip-background-color);
	color: var(--range-tooltip-color);
	border-radius: var(--range-tooltip-borderradius);
	user-select: none;
	pointer-events: none;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 120ms ease 0s;
}

.input-wrapper .label_wrap .range_value {
	color: var(--range-value-color);
	font-size: var(--range-value-font-size);
}

/* focus */
.range_control_wrapper input[type="range"].input-focus ~ .thumb_wrapper .thumb {
	color: var(--thumb-border-color-focus, var(--thumb-border-color));
	background-color: var(--thumb-color-focus, var(--thumb-color));
	box-shadow: 0 0 0 1px currentColor;
}

.range_control_wrapper input[type="range"].input-focus ~ .rail {
	background-color: var(--rail-color-focus, var(--rail-color));
}

.range_control_wrapper input[type="range"].input-focus ~ .track {
	background-color: var(--track-color-focus, var(--track-color));
}

.range_control_wrapper input[type="range"].input-focus ~ .thumb_wrapper .tooltip {
	opacity: 1;
}


@media (max-width: 768px) {
	.range_control_wrapper {
		min-height: 50px;
	}

	.range_control_wrapper .thumb_wrapper {
		transform: scale(1.2);
	}
}


/*
----------------------------------------------------------

                                Math fields

----------------------------------------------------------
*/
.math_operation .display > *:not(.visually-hidden) {
	display: none;
}

.math_operation .display.display_result > .result,
.math_operation .display.display_result.display_formula > .equal_sign,

.math_operation .display_formula[data-condition="-1"] > .default,
.math_operation .display_formula[data-condition="0"] > .cond_0,
.math_operation .display_formula[data-condition="1"] > .cond_1,
.math_operation .display_formula[data-condition="2"] > .cond_2,
.math_operation .display_formula[data-condition="3"] > .cond_3,
.math_operation .display_formula[data-condition="4"] > .cond_4,
.math_operation .display_formula[data-condition="5"] > .cond_5,
.math_operation .display_formula[data-condition="6"] > .cond_6,
.math_operation .display_formula[data-condition="7"] > .cond_7 .math_operation .display_formula[data-condition="8"] > .cond_8 .math_operation .display_formula[data-condition="9"] > .cond_9 {
	display: inline;
}

.math_operation .math_field.error ~ *:not(.notice) {
	display: none;
}

.math_operation .math_field:not(.error) ~ .notice {
	display: none;
}

.math_conditions {
	display: none;
}


/*
----------------------------------------------------------

                                Skip Links

----------------------------------------------------------
*/
.greyd_skip_target,
a.greyd_skip_link:not(:focus) {
	position: absolute;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(100%);
	white-space: nowrap;
}

a.greyd_skip_link:focus {
	transition: none !important;
	position: absolute;
	top: -60px;
	height: auto;
	width: auto;
	display: block;
	padding: 15px 23px 14px;
	color: var(--wp--preset--color--foreground);
	background-color: var(--wp--preset--color--background);
	z-index: 100000;
	border-radius: 2px;
	box-shadow: 0 0 5px -1px rgb(0 0 0 / 60%);
	outline-offset: -2px;
}

/**
 * Fix iOS appearance of date & time pickers
 * @since 1.2.2
 */
input[type=time],
input[type=date],
input[type=datetime-local],
input[type=week],
input[type=month] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	min-height: calc((var(--wp--custom--greyd--input--typography--font-size) * var(--wp--custom--greyd--input--typography--line-height)) + (var(--wp--custom--greyd--input--spacing--padding--top) + var(--wp--custom--greyd--input--spacing--padding--bottom)));
}


/*
----------------------------------------------------------

                                Tooltips

----------------------------------------------------------
*/
.forms-tooltip,
.greyd-forms-tooltip {
	position: relative;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-o-user-select: none;
	/**
	 * Tooltip offset
	 * @since 2.4.0
	 */
	--horizontal-offset: 0px;
}

form.hide_tooltips .forms-tooltip,
form.hide_tooltips .greyd-forms-tooltip {
	display: none !important;
}

.forms-tooltip .forms-tooltip-toggle,
.greyd-forms-tooltip .greyd-forms-tooltip-toggle {
	cursor: pointer;
	font-family: ElegantIcons;
	font-weight: 400;
	display: inline-block;
	padding: 12px 15px;
	margin: -12px -15px -12px -8px;
	font-size: var(--TTfontSizeIcon, 1em);
	color: var(--FRTicocolor, inherit);
}

.greyd-forms-tooltip .greyd-forms-tooltip-toggle {
	background: none;
	padding: 0 10px;
	margin: 0 -10px 0 0;
}

.forms-tooltip .forms-tooltip-toggle::before,
.greyd-forms-tooltip .greyd-forms-tooltip-toggle::before {
	content: "\e060";
}

.forms-tooltip .forms-tooltip-popup,
.greyd-forms-tooltip .greyd-forms-tooltip-popup {
	display: none;
	position: absolute;
	z-index: -99;
	width: 250px;
	left: calc(50% - 129px);
	top: calc(100% + 1px);
	padding: 10px 16px;
	margin-top: 2px;
	margin-inline: 8px;
	min-height: 1em;
	border: 0px;
	border-radius: var(--wp--custom--greyd--input--prim--border--radius);
	box-shadow: 0px 4px 24px -10px rgba(0, 0, 0, .5);

	font-size: 16px;
	font-weight: var(--wp--custom--font-weigth-regular);
	line-height: var(--wp--custom--line-height--normal);
	color: var(--wp--preset--color--foreground);
	background-color: var(--wp--preset--color--background);
	opacity: 0;
	transition: margin-top .2s ease, opacity .15s ease;
	/**
	 * Tooltip offset
	 * @since 2.4.0
	 */
	transform: translateX( var(--horizontal-offset) );
}

.forms-tooltip.on .forms-tooltip-popup,
.greyd-forms-tooltip-popup.active {
	display: block;
	opacity: 1;
	z-index: 90;
	margin-top: 8px;
}

.forms-tooltip .forms-tooltip-popup::after,
.greyd-forms-tooltip .greyd-forms-tooltip-popup::after {
	content: ' ';
	position: absolute;
	width: 0;
	top: -14px;
	left: calc(50% - 7px);
	border: 7px solid transparent;
	border-bottom: 8px solid;
	border-bottom-color: var(--wp--preset--color--background);
	/**
	 * Tooltip offset
	 * @since 2.4.0
	 */
	transform: translateX( calc( var(--horizontal-offset) * -1 ) );
}

.greyd-forms-tooltip-close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	padding: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 992px) {
	.forms-tooltip .forms-tooltip-popup,
	.greyd-forms-tooltip .greyd-forms-tooltip-popup {
		width: 200px;
		left: 0;
		margin-inline: -38px;
	}

	.greyd-forms-tooltip .greyd-forms-tooltip-popup {
		margin-inline: -33px;
	}

	.forms-tooltip.on .forms-tooltip-popup,
	.greyd-forms-tooltip-popup.active {
		left: 0;
	}

	.forms-tooltip .forms-tooltip-popup::after,
	.greyd-forms-tooltip .greyd-forms-tooltip-popup::after {
		left: 45px;
	}
}

@media (max-width: 576px) {

	.input-wrapper .forms-tooltip,
	.input-wrapper .greyd-forms-tooltip {
		position: absolute;
		right: 0px;
	}

	.forms-tooltip .forms-tooltip-popup,
	.greyd-forms-tooltip .greyd-forms-tooltip-popup {
		width: 240px;
		left: auto;
		right: 0;
		margin-top: -1px;
		margin-inline: -4px;
	}

	.greyd-forms-tooltip .greyd-forms-tooltip-popup {
		margin-inline: -2px;
	}

	.forms-tooltip.on .forms-tooltip-popup,
	.greyd-forms-tooltip-popup.active {
		left: auto;
		margin-top: 5px;
	}

	.forms-tooltip .forms-tooltip-popup::after,
	.greyd-forms-tooltip .greyd-forms-tooltip-popup::after {
		left: auto;
		right: 4px;
	}
}


/*
----------------------------------------------------------

                                Messages

----------------------------------------------------------
*/
.greyd_form ~ .after-message {
	display: block;
	height: 0;
	opacity: 0;
	overflow: clip;
	overflow-clip-margin: 20px;
}

.message {
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: var(--wp--preset--font-size--base, 1em);
	font-weight: var(--wp--custom--font-weight--regular, 400);
	line-height: var(--wp--custom--line-height--normal, 1.5);
	padding: var(--wp--preset--spacing--small, 1em);

	border-width: 1px 1px 1px 5px;
	border-radius: 2px;
	border-style: solid;
	color: var(--wp--preset--color--foreground, currentColor);
	background-color: var(--wp--preset--color--lightest, #ffffff);
	box-shadow: 0px 6px 9px -2px rgba(0, 0, 0, 0.2);
}

.message:empty {
	display: none;
}

/* info */
.message.info {
	border-color: var(--wp--preset--color--vivid-cyan-blue, #0693e3);
}

/* success */
.message.success {
	border-color: var(--wp--preset--color--vivid-green-cyan, #00d084);
}

/* danger */
.message.danger {
	border-color: var(--wp--preset--color--vivid-red, #cf2e2e);
}

/**
 * Icon support for messages
 * @since 1.4.7
 */
.message::before {
	font-family: 'ElegantIcons' !important;
	speak: never;
	font-style: normal !important;
	font-weight: normal !important;
	font-variant: normal !important;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	vertical-align: middle;
	position: initial;
	color: inherit;
}

.message.info::before {
	content: "\70";
	padding: var(--wp--preset--spacing--small, 0.5em);
}

.message.success::before {
	content: "\52";
	margin-right: var(--wp--style--block-small, 0.5em);
	vertical-align: middle;
}

.message.danger::before {
	content: "\73";
	margin-right: var(--wp--style--block-small, 0.5em);
}

/** confirm password message */
.confirm-password-message:empty {
	display: none;
}

.confirm-password-message {
	display: block;
	margin: 0.5em 0;
}

.confirm-password-message::before {
	content: "\e06e";
	margin-right: var(--wp--style--block-small, 1em);
	vertical-align: middle;
}


/*
----------------------------------------------------------

                            Form Pop-ups

----------------------------------------------------------
*/
.greyd_form ~ .after-popup {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background-color: var(--wp--preset--color--background);
	opacity: 0;
	display: none;
}

.greyd_form ~ .after-popup.in {
	display: block;
}

.greyd_form ~ .after-popup.fullscreen {
	position: fixed;
	z-index: 9999;
}

body.no-scroll {
	overflow: hidden;
}



/*
----------------------------------------------------------

                                Quiz

----------------------------------------------------------
*/
.multistep_wrapper[data-quiz='true'] .input-inner-wrapper input.input-unfocus {
	box-shadow: unset;
}

.multistep_wrapper[data-quiz='true'] .input-inner-wrapper .input-field-icon::before {
	content: '';
}

/* Correct Answer */
.multistep_wrapper[data-quiz='true'] .answer-correct span {
	color: var(--wp--preset--color--vivid-green-cyan, #00d084);
}

.multistep_wrapper[data-quiz='true'] .input-inner-wrapper.answer-correct .input-field-icon::before {
	content: "\4e";
	color: var(--MGStxtcolor);
}

.multistep_wrapper[data-quiz='true'] .input-inner-wrapper.answer-correct input.input-unfocus {
	box-shadow: 0 0 0 1px var(--MGStxtcolor) inset;
}

/* False Answer */
.multistep_wrapper[data-quiz='true'] .answer-false span {
	color: var(--MGDtxtcolor);
}

.multistep_wrapper[data-quiz='true'] .input-inner-wrapper.answer-false .input-field-icon::before {
	content: "\4d";
	color: var(--wp--preset--color--vivid-red, #cf2e2e);
}

.multistep_wrapper[data-quiz='true'] .input-inner-wrapper.answer-false input.input-unfocus {
	box-shadow: 0 0 0 1px var(--wp--preset--color--vivid-red, #cf2e2e);
}

/*            Live Survey
__________________________________
*/
.live_survey_option {
	display: flex;
}

.live_survey_option .progress_wrapper {
	width: 100%;
	align-items: center;
}

.live_survey_progress {
	width: 100%;
	position: relative;
	overflow: hidden;
	height: 8px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background-color: rgba(150, 150, 150, .3);
}

.live_survey_progress .bar {
	position: absolute;
	left: 0;
	width: 0;
	bottom: 0;
	top: 0;
	background-color: var(--wp--preset--color--primary);
	-moz-transition: width var(--anim);
	-webkit-transition: width var(--anim);
	-o-transition: width var(--anim);
	transition: width .2s;
}
.live_survey_option label {
	margin-right: 10px;
}
/* Flex */
.live_survey_option.flex-row {
	flex-direction: row !important;
}

.live_survey_option.flex-column {
	flex-direction: column !important;
}
.progress_wrapper {
	display: flex;
}
.progress_wrapper.flex-justify-start {
	justify-content: flex-start !important;
}

.progress_wrapper.flex-justify-center {
	justify-content: center !important;
}
.progress_wrapper.flex-justify-end {
	justify-content: flex-end !important;
}

.live_survey_option.flex-align-start {
	align-items: flex-start !important;
}

.live_survey_option.flex-align-center {
	align-items: center !important;
}

.live_survey_option.flex-align-end {
	align-items: flex-end !important;
}
.live_survey_option label {
	text-wrap: nowrap;
}

/**
 * Accessibility
 * @since 2.7.0
 */
.visually-hidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: auto;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}