/**
 * GREYD.Forms Public CSS
 * 
 * @since FSE version
 */

/*
----------------------------------------------------------

                                Wrapper

----------------------------------------------------------
*/
.forms_wrapper {
	position: relative;
	margin: 0;
	padding: 0;
}

.greyd_form {
	position: relative;
	z-index: 1;
}

/*            Input wrapper
__________________________________
*/
.input-outer-wrapper {
	position: relative;
	width: 100%;
}

.input-inner-wrapper {
	position: relative;
	display: inline;
}

/*            Alignment
__________________________________
*/
.input-outer-wrapper.flex-right {
	display: flex;
	justify-content: flex-end;
}

.input-outer-wrapper.flex-center {
	display: flex;
	justify-content: center;
}


/*
----------------------------------------------------------

                                Elemente

----------------------------------------------------------
*/

/*            Labels
__________________________________
*/
label,
.label {
	display: inline-block;
}

.input-wrapper .label_wrap {
	margin-bottom: calc(0.5 * var(--wp--preset--spacing--tiny));
}

.input-wrapper .label_wrap label,
.input-wrapper .label_wrap .label {
	display: inline;
	margin-bottom: 0 !important;
}

.input-wrapper .label_wrap .forms-tooltip {
	display: inline;
}

.input-wrapper .label_wrap.hidden {
	display: none;
}

/*           Dropdown
__________________________________
*/
.input-wrapper.custom-select {
	width: auto;
}

.custom-select select {
	width: 100%;
	height: auto;
}

/*            Hinweis Feld
__________________________________
*/
.forms_wrapper .info-hinweis {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}

.forms_wrapper .info-hinweis img {
	display: inline-block;
	margin: 0 8px 0 0;
}

.forms_wrapper .info-hinweis p {
	margin: 0;
}

/*            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
__________________________________
*/
input[type="range"] {
	padding: 0 !important;
}

input[type="range"] + span.input-field-icon {
	display: none !important;
	/* no validations */
}


/*
----------------------------------------------------------

                                Submit Button

----------------------------------------------------------
*/
.greyd_form [type="submit"],
.submitbutton {
	margin-bottom: 0 !important;
	position: relative;
	overflow: hidden;
}

.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);
	}
}


/*
----------------------------------------------------------

                                Required fields

----------------------------------------------------------
*/
.requirement-style__ .requirement-optional,
/* default (post-meta is empty) */
.requirement-style__required .requirement-optional,
/* highlight only required fields */
.requirement-style__optional .requirement-required,
/* highlight only optional fields */
.requirement-style__none .requirement-required,
.requirement-style__none .requirement-optional

/* highlight no fields */
	{
	display: none;
}


/*
----------------------------------------------------------

                                Required at bottom

----------------------------------------------------------
*/
/* 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;
}


/*
----------------------------------------------------------

                                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 {
	opacity: 0;
	position: absolute;
	z-index: -1;
	width: 100%;
}

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;
}

input[type="file"].custom-file-upload + label .input {
	margin-bottom: 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	outline: none !important;
}

input[type="file"].custom-file-upload + label .input span:not([class*="icon"]) {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

/*        Firefox :focus bugfix
__________________________________
*/
input[type="file"].custom-file-upload.has-focus + label .input {
	border-color: var(--wp--custom--greyd--input--prim--hover--border--color);
}

input[type="file"].custom-file-upload.has-focus + label .input {
	outline: 1px dotted blue;
	outline: -webkit-focus-ring-color auto 5px;
}

/*            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

----------------------------------------------------------
*/

.radio_buttons .option {
	margin: 0 0.5em 0.2em 0;
}

.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;
}


/*
----------------------------------------------------------

                                Checkbox

----------------------------------------------------------
*/

input[type="checkbox"] + span {
	vertical-align: sub;
}

/* styled as radio */
input[type="checkbox"].radio + span::before,
input[type="checkbox"].radio + label::before,
.is-style-radio input[type="checkbox"] + span::before {
	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 {
	content: "\5c";
}


/*
----------------------------------------------------------

                                iOS Switch

----------------------------------------------------------
*/

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: var(--wp--custom--greyd--input--prim--color--background);
	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--custom--greyd--input--prim--color--text);
}

/* 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;
}


/*
----------------------------------------------------------

                                Message

----------------------------------------------------------
*/
.greyd_form ~ .after-message {
	display: block;
	overflow: hidden;
	height: 0;
	opacity: 0;
}


/*
----------------------------------------------------------

                                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;
}


/*
----------------------------------------------------------

                                Validations

----------------------------------------------------------
*/

/* 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;
}

/*            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 {
	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 {
	content: "\4d";
	color: var(--wp--preset--color--vivid-red, #cf2e2e);
}

/*            Success
__________________________________
*/

/* highlight inputs on focus out */
input.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
__________________________________
*/
.greyd_icon_panels {
	display: flex;
	flex-wrap: wrap;
}

/* alignment */
.input-outer-wrapper.flex-center .greyd_icon_panels {
	justify-content: center;
}

.input-outer-wrapper.flex-right .greyd_icon_panels {
	justify-content: flex-end;
}

/* Hide Radio Button */
.greyd_icon_panels input[type="radio"] + span,
.greyd_icon_panels input[type="radio"] + span::before,
.greyd_icon_panels input[type="radio"] + label::before {
	display: none !important;
}


/*            Panels
__________________________________
*/
.greyd_icon_panel {
	display: flex !important;
	padding: 1em;
	cursor: pointer;
}

/*            Images
__________________________________
*/
.greyd_icon_panels .greyd_icon_panel .img_wrap {
	position: relative;
}

.greyd_icon_panels .greyd_icon_panel .img_wrap:not(:empty) {
	margin-bottom: 1em;
}

.greyd_icon_panels .greyd_icon_panel img:not(.icon_ghost) {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

/* on load: hide all other than .default */
.greyd_icon_panels .greyd_icon_panel img:not(.icon_default) {
	opacity: 0;
}

/* on hover: hide all other than .hover */
.greyd_icon_panels .greyd_icon_panel:hover img:not(.icon_hover),
.greyd_icon_panels .greyd_icon_panel.hover img:not(.icon_hover) {
	opacity: 0;
}

/* ...show the .hover */
.greyd_icon_panels .greyd_icon_panel:hover img.icon_hover,
.greyd_icon_panels .greyd_icon_panel.hover img.icon_hover {
	opacity: 1;
}

/* selected: hide all other than .select */
.greyd_icon_panels input:checked + label.greyd_icon_panel img:not(.icon_select),
.greyd_icon_panels input:checked + span + label.greyd_icon_panel img:not(.icon_select),
.greyd_icon_panels .greyd_icon_panel.option.selected img:not(.icon_select),
.greyd_icon_panels .greyd_icon_panel._active img:not(.icon_select) {
	opacity: 0;
}

/* ...show the .select */
.greyd_icon_panels input:checked + label.greyd_icon_panel img.icon_select,
.greyd_icon_panels input:checked + span + label.greyd_icon_panel img.icon_select,
.greyd_icon_panels .greyd_icon_panel.option.selected img.icon_select,
.greyd_icon_panels .greyd_icon_panel._active img.icon_select {
	opacity: 1;
}


/*            New Version (Blocks)
__________________________________
*/

/* wrapper */
.img_pnl_wrapper {
	flex-direction: row;
	align-items: center;
	gap: calc(0.5 * var(--wp--style--block-gap, 1rem));
}

/* panel */
.img_pnl {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	padding: var(--wp--style--block-gap, 1rem);
	margin: 0;
}

/* 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(--FRtxtcolorHover);
	background-color: var(--FRbgcolorHover);
	border-color: var(--FRbocolorHover);
	box-shadow: var(--FRMshadowHover);
}

/* 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 currentColor;
	outline-offset: 3px;
}

/*            Deprecated (Blocks)
__________________________________
*/

/*
    widen the panels
    to always show box-shadows etc. of inside elements
    otherwise they're cut left and right on horizontal overflow
*/
.input-wrapper.icon_panels {
	margin: -12px;
	width: calc(100% + 24px);
	padding: 12px 12px;
	margin-bottom: calc(var(--wp--style--block-gap, 1rem) - 12px);
}

/* responsives Verhalten @deprecated */
.input-wrapper.overflow {
	overflow: auto visible;
}

.input-wrapper.overflow .greyd_icon_panels {
	flex-wrap: nowrap;
}

/* Option: Box Shadow */
.greyd_icon_panels .greyd_icon_panel.shadow {
	box-shadow: 0px 5px 18px -6px rgba(0, 0, 0, .3);
}

/* Flex */
.flex-row {
	flex-direction: row !important;
}

.flex-row-reverse {
	flex-direction: row-reverse !important;
}

.flex-column {
	flex-direction: column !important;
}

.flex-column-reverse {
	flex-direction: column-reverse !important;
}

.flex-justify-start {
	justify-content: flex-start !important;
}

.flex-justify-center {
	justify-content: center !important;
}

.flex-justify-end {
	justify-content: flex-end !important;
}

.flex-justify-between {
	justify-content: space-between !important;
}

.flex-justify-around {
	justify-content: space-around !important;
}

.flex-justify-stretch > label {
	flex: 1 1 0;
}

.flex-align-start {
	align-items: flex-start !important;
}

.flex-align-center {
	align-items: center !important;
}

.flex-align-end {
	align-items: flex-end !important;
}

.flex-align-stretch {
	align-items: stretch !important;
}


/*
----------------------------------------------------------

                                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;
	/*
        widen the outer container
        to always show box-shadows etc. of inside elements
        otherwise they're cut left and right while overflow=hidden
    */
	margin: -0.1px -12px;
	width: calc(100% + 24px);
	padding: 0.1px 12px;
}

.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 Formulare

----------------------------------------------------------
*/
.greyd_form.multistep {
	overflow: visible;
}

.greyd_form .multistep_wrapper {
	position: relative;
	display: flex;
	overflow: visible;
	z-index: 1;
}

.greyd_form.multistep .vc_section,
.greyd_form .step {
	padding: 0 !important;
	margin: 0 !important;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	overflow: visible;
}

.greyd_form.multistep .vc_section:not(.active),
.greyd_form .step:not(.active) {
	opacity: 0;
	position: absolute;
	z-index: -999;
}

.greyd_form.multistep .vc_section.active,
.greyd_form .step.active {
	position: relative;
	opacity: 1;
	z-index: 1;
}

/*              Animations
__________________________________
*/
/* Default */
.greyd_form .multistep_wrapper,
body.animate_fast .greyd_form .multistep_wrapper {
	transition: height 0.2s;
}

.greyd_form.multistep.anim_init .vc_section:not(.active),
.greyd_form.anim_init .step:not(.active) {
	transition: opacity 0.2s;
}

.greyd_form.multistep.anim_init .vc_section.active,
.greyd_form.anim_init .step.active {
	transition: opacity 0.2s;
}

/* None */
.greyd_form.multistep[data-transition="none"] .multistep_wrapper,
.greyd_form .multistep_wrapper[data-transition="none"] {
	transition: none;
}

.greyd_form.multistep[data-transition="none"].anim_init .vc_section:not(.active),
.greyd_form .multistep_wrapper[data-transition="none"].anim_init .step:not(.active) {
	transition: none;
}

.greyd_form.multistep[data-transition="none"].anim_init .vc_section.active,
.greyd_form .multistep_wrapper[data-transition="none"].anim_init .step.active {
	transition: none;
}

/* Swipe */
.greyd_form.multistep[data-transition="swipe"] .vc_section:not(.active),
.greyd_form .multistep_wrapper[data-transition="swipe"] .step:not(.active) {
	position: relative;
	height: 0;
	visibility: hidden;
}

/* TODO: */
/* Move */
.greyd_form.multistep[data-transition="move"] .vc_section:not(.active),
.greyd_form .multistep_wrapper[data-transition="move"] .step:not(.active) {
	transform: translateY(-100%);
}

.greyd_form.multistep[data-transition="move"] .vc_section.active,
.greyd_form.multistep[data-transition="move"] .vc_section.active {
	transform: translateY(0);
}

.greyd_form.multistep[data-transition="move"] .vc_section.active ~ .vc_section:not(.active),
.greyd_form .multistep_wrapper[data-transition="move"] .step.active ~ .step:not(.active) {
	transform: translateY(100%);
}

.greyd_form.multistep[data-transition="move"].anim_init .vc_section:not(.active),
.greyd_form.anim_init .multistep_wrapper[data-transition="move"].step:not(.active) {
	transition: opacity 0.2s, transform 0.2s;
}

.greyd_form.multistep[data-transition="move"].anim_init .vc_section.active,
.greyd_form.anim_init .multistep_wrapper[data-transition="move"] .step.active {
	transition: opacity 0.2s, transform 0.2s;
}

/*              Buttons
__________________________________
*/
/* .greyd_form:not(.multistep) .multistep_button {
    display: none !important;
}

.greyd_form.multistep .multistep_button {
    margin-bottom: 0;
}

.greyd_form.multistep .vc_section:first-of-type .multistep_button.prev_step,
.greyd_form.multistep .vc_section:last-of-type .multistep_button.next_step {
    display: none;
} */

/*          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

----------------------------------------------------------
*/
body {
	--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 > * {
	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;
	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)));
}


/*
=========================================================================================================

                                                            Copied from theme

=========================================================================================================
*/

/**
 * Custom radio
 */
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;
}

input[type="radio"] + span,
input[type="radio"] + label {
	cursor: pointer;
}

input[type="radio"] + span::before,
input[type="radio"] + label::before {
	font-family: ElegantIcons;
	font-weight: 400;
	margin-right: 5px;
}

input[type="radio"].checkbox + span::before {
	content: "\56";
}

input[type="radio"].checkbox:checked + span::before {
	content: "\5a";
}

input[type="radio"] + span::before,
input[type="radio"] + label::before {
	content: "\5b";
}

input[type="radio"]:checked + span::before,
input[type="radio"]:checked + label::before {
	content: "\5c";
}

/**
 * Custom cross browser checkbox without extra markup
 * 
 * @since 1.2.7
 */
input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: none;
	font: inherit;
	display: inline-grid;
	place-content: center;
	margin: 0;
	padding: 0;
	margin-right: 0.2em;
	color: currentColor;
	width: 0.9em;
	height: 0.9em;
	border: 0.1em solid currentColor;
	-moz-border-radius: 0.15em;
	-webkit-border-radius: 0.15em;
	border-radius: 0.15em;
	transform: translateY(0.15em);
	vertical-align: text-top;
}

input[type="checkbox"]::before {
	content: "";
	width: 0.6em;
	height: 0.6em;
	margin: 0;
	transform: scale(0);
	transition: 100ms transform ease-in-out;
	box-shadow: inset 1em 1em currentColor;
	/* checkmark */
	clip-path: polygon(15% 50%, 35% 70%, 84% 5%, 100% 17%, 39% 100%, 3% 65%);

}

input[type="checkbox"]:checked::before {
	transform: scale(1);
}

.checkbox-label input[type="checkbox"] {
	margin-top: 0.1em;
}



/*    GREYD.Forms
__________________________________
*/

/* layout */
.input-wrapper {
	position: relative;
	margin-bottom: var(--wp--style--block-gap, 1rem);
	max-width: 100%;
}

.input-wrapper input,
.input-wrapper .input,
.input-wrapper textarea,
.input-wrapper select {
	margin-bottom: 0;
}

/* elements */
.input-wrapper label.checkbox-label,
.input-wrapper .label.checkbox-label,
fieldset label,
.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);
}

/* Tooltips */
.forms-tooltip {
	position: relative;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-o-user-select: none;
}

form.hide_tooltips .forms-tooltip {
	display: none !important;
}

.forms-tooltip .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);
}

.forms-tooltip .forms-tooltip-toggle::before {
	content: "\e060";
}

.forms-tooltip .forms-tooltip-popup {
	position: absolute;
	z-index: -99;
	width: 250px;
	left: calc(50% - 129px);
	top: calc(100% + 1px);
	padding: 10px 16px;
	margin: 8px;
	min-height: calc(1em + 24px);
	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;
	transform: translateY(-6px);
	transition: transform .2s ease, opacity .15s ease;
}

.forms-tooltip.on .forms-tooltip-popup {
	display: block;
	opacity: 1;
	z-index: 90;
	transform: translateY(0);
}

.forms-tooltip .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);
}

@media (max-width: 992px) {
	.forms-tooltip .forms-tooltip-popup {
		width: 200px;
		left: 0;
		margin: 8px -38px;
	}

	.forms-tooltip.on .forms-tooltip-popup {
		left: 0;
	}

	.forms-tooltip .forms-tooltip-popup::after {
		left: 45px;
	}
}

@media (max-width: 576px) {
	.input-wrapper {
		width: 100%;
	}

	.input-wrapper label.label {
		width: calc(100% - var(--TTfontSizeIcon, 1em) - 5px);
	}

	.input-wrapper .forms-tooltip {
		position: absolute;
		right: 0px;
	}

	.forms-tooltip .forms-tooltip-popup {
		width: 240px;
		left: auto;
		right: 0;
		margin: 5px -4px;
	}

	.forms-tooltip.on .forms-tooltip-popup {
		left: auto;
	}

	.forms-tooltip .forms-tooltip-popup::after {
		left: auto;
		right: 4px;
	}
}


/*    Messages
__________________________________
*/
.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);
	margin: var(--wp--style--block-gap, 1em) 0;
	padding: var(--wp--preset--spacing--small, 1em);

	border-width: 1px 1px 1px 5px;
	border-radius: 2px;
	border-style: solid;
	box-shadow: var(--wp--preset--shadow--natural);
}

.message:empty {
	display: none;
}

/* info */
.message.info {
	color: var(--wp--preset--color--foreground, currentColor);
	background-color: var(--wp--preset--color--lightest, #ffffff);
	border-color: var(--wp--preset--color--vivid-cyan-blue, #0693e3);
}

/* success */
.message.success {
	color: var(--wp--preset--color--foreground, currentColor);
	background-color: var(--wp--preset--color--lightest, #ffffff);
	border-color: var(--wp--preset--color--vivid-green-cyan, #00d084);
}

/* danger */
.message.danger {
	color: var(--wp--preset--color--foreground, currentColor);
	background-color: var(--wp--preset--color--lightest, #ffffff);
	border-color: var(--wp--preset--color--vivid-red, #cf2e2e);
}

/**
 * Icon support for messages
 * @since 1.4.7
 */
.message::before {
	font-family: 'ElegantIcons' !important;
	speak: none;
	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, 1em);
}

.message.success::before {
	content: "\52";
	margin-right: var(--wp--style--block-small, 1em);
	vertical-align: middle;
}

.message.danger::before {
	content: "\73";
	margin-right: var(--wp--style--block-small, 1em);
}