textarea, input[type="text"], input[type="button"], input[type="reset"], input[type="search"], input[type="email"], input[type="submit"], input[type="url"], input[type="tel"] {
	appearance: none;
}

select::-ms-expand {
	display: none;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
	padding: 0;
	border: 0;
}

input[type="checkbox"], input[type="radio"] {
	border: 0;
	padding: 0;
	background: transparent none;
	margin: 0;
	width: auto;
	border-radius: 0;
}

input:disabled, textarea:disabled, select:disabled, .btn:disabled {
	opacity: .75;
	cursor: default;
	box-shadow: none;
	pointer-events: none;
	filter: grayscale(1);
}

button {
	padding: 0;
	margin: 0;
	border-width: 0;
	background: transparent none;
	box-shadow: none;
	border-radius: 0;
	color: currentColor;
	cursor: pointer;
	font: inherit;
	outline: none;
	transition: color .15s, border-color .15s, background .15s;
}

input, textarea, select, .btn {
	background: var(--inputBgColor);
	border: 1px solid var(--inputBdrColor);
	padding: 8px clamp(12px, 4vw, 24px);
	margin: 0;
	display: inline-block;
	text-decoration: none;
	width: 100%;
	line-height: 1.5rem;
	transition: all .1s;
	border-radius: 0;
	font-family: inherit;
	text-transform: none;
	font-size: 1em;
	vertical-align: middle;
	visibility: visible;
	outline: none;
	color: var(--textColor);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	min-height: 2.5em;
	font-weight: var(--fwN);
	border-radius: 30px;
}

input[type="file"] {
	appearance: none;
	line-height: 1.2em;
	font-size: .875em;
}

select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M241 369c-9.4 9.4-24.6 9.4-33.9 0L47 209c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l143 143L367 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L241 369z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 20px top 50%;
	padding-right: 30px;
	position: relative;
	background-size: 12px auto;
}

input, textarea, select, .select2 {
	font-size: 16px;
}

input:focus, textarea:focus, select:focus .inputBox__input:not(:placeholder-shown) {
	border-color: #3D4146;
	background-color: white;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

.btn, button {
	cursor: pointer;
}

.inputBox__input::-webkit-input-placeholder {
	color: var(--inputBgColor);
	line-height: normal !important;
	font-style: italic;
}


/*BUTTON*/

.btn {
	width: auto;
	border-color: transparent;
	color: currentColor;
	text-decoration: none;
	display: inline-flex;
	vertical-align: middle;
	position: relative;
	z-index: 1;
	text-align: center;
	cursor: pointer;
	overflow: visible;
	background-size: 100% 0;
	transition: all .1s ease-out;
	border-color: currentColor;
	border-width: 1px;
	background-color: transparent;
	min-height: 0;
	gap: .75em;
	justify-content: center;
	align-items: center;
	fill: currentColor;
}

.btn [fill] {
	fill: currentColor;
}

.btn [stroke] {
	stroke: currentColor;
	fill: none;
}

.btn:hover {
	color: white;
	border-color: var(--primColor);
	background: var(--primColor);
	text-decoration: none;
}

.btn2 {
	border-color: var(--secColor);
	background-color: var(--secColor);
	color: white;
}

.btn2:hover {
	border-color: var(--textColor);
	background-color: white;
	color: var(--textColor);
}

.btn3 {
	border-color: var(--primColor);
	background-color: var(--primColor);
	color: white;
}

.btn3:hover {
	border-color: var(--secColor);
	background-color: var(--secColor);
	color: white;
}

.btn4 {
	border-color: #6E83A5;
	background-color: #6E83A5;
	color: white;
}

.btn--submitForm {
	background: var(--positiveColor);
	border-color: var(--positiveColor);
	color: white;
	padding-top: 1em;
	padding-bottom: 1em;
}

.btn--disabled {
	pointer-events: none;
	opacity: .5;
	filter: grayscale(1);
}

.btn--square {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	display: grid;
	place-content: center;
	aspect-ratio: 1;
}

.fa.arrowHover {
	width: 0;
	text-align: right;
	font-size: 14px;
	line-height: 12px;
	display: inline-block;
	overflow: hidden;
	opacity: 0;
	transition: width .25s;
}

.btn:not(.btn--disabled):hover .fa.arrowHover {
	opacity: 1;
	width: 22px;
}

.btn-xs {
	font-size: .75em;
	min-height: 0;
	padding-top: 4px;
	padding-bottom: 4px;
}


/* numinput*/

.numInput {
	position: relative;
	display: inline-flex;
	align-items: stretch;
	background-color: white;
	display: grid;
	grid-template-columns: 40px 4em 40px;
	gap: 4px 0;
}

.numInput__unit {
	padding-left: .25em;
	font-size: .75rem;
	grid-column: 1 / -1;
	text-align: center;
	color: var(--text2Color);
	order: -10;
}

.numInput input {
	color: var(--textColor);
	padding: 0;
	font-size: 1em;
	border-radius: 0;
	border: 0;
	text-align: right;
	margin: 0;
	background: transparent;
	box-shadow: none;
	font-weight: var(--fwB);
	padding: 0;
	min-height: 0;
	text-align: center;
	border: 0;
	appearance: textfield;
	height: 100%;
	border: 1px solid #444955;
	height: 42px;
}

.numInput:has(input:disabled) .numInput__btn {
	visibility: hidden;
}



.numInput__input:has(input:disabled) input {
	background: #e8e8e8;
	border-color: #ccc;
}

.numInput input::-webkit-outer-spin-button, .numInput input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.numInput input:disabled {
	opacity: 1;
	color: var(--textColor);
}

.numInput__btn:hover, .numInput__btn:focus {
	background: var(--secColor);
	color: white;
}

.numInput__btn {
	text-align: center;
	background-color: #F4F4F5;
	line-height: 20px;
	cursor: pointer;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--textColor);
}

.numInput__btn--down {
	order: -1;
}

.btn-s {
	padding: 8px 12px;
	font-size: .875em;
}


/* layout formulare */

form, fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.orderBox .form {
	max-width: 28.5rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.orderBox .form .btn {
	max-width: 100%;
	width: 100%;
}

.form__text {
	margin: 0 0 1em 0;
	text-align: center;
}

.form__item {
	margin: 1.75em 0;
}

.form__item:first-child {
	padding-top: 0;
}


/* patch na slideToggle */

.form div[style] > *:first-child {
	margin-top: 0;
}

.form div[style] > *:last-child {
	margin-bottom: 0;
}

.inputBox input, .inputBox textarea {
	font-weight: var(--fwB);
}

.inputBox--fill .inputBox__label,
/*.inputBox__input:not(:placeholder-shown) + .inputBox__label,*/

.inputBox:focus-within .inputBox__label {
	top: -.5em;
	background-color: white;
	font-size: .75rem;
	min-height: 0;
}

.inputBox--fill .inputBox__input, .inputBox:not(.inputBox--hasError):hover .inputBox__input, .inputBox__input:-webkit-autofill, .inputBox__input:-internal-autofill-selected {
	background: white;
	-webkit-box-shadow: 0 0 0 30px white inset !important;
}

.inputBox:not(.inputBox--hasError):hover .inputBox__input:read-write {
	background-color: white;
	border-color: #3D4146;
}

.inputBox__label + .inputBox__input::-webkit-input-placeholder, .inputBox__label + .inputBox__input::placeholder {
	color: transparent;
	line-height: normal !important;
}

.label {
	padding-bottom: 5px;
	display: block;
	line-height: 1.25em;
}

.inputBox {
	position: relative;
	display: flex;
	gap: 1em;
	align-items: center;
	flex: auto;
	justify-content: space-between;
}

label {
	line-height: 1.15em;
}

.inputBox--required label:after {
	content: '*';
	display: inline-block;
	padding-left: .5em;
	font-size: 1em;
	padding-right: .25em;
}

.inputBox__label {
	display: flex;
	align-items: center;
	position: absolute;
	left: calc(clamp(10px, 4vw, 30px) - 6px);
	top: 0;
	min-height: 3.125em;
	padding: 0 6px;
	pointer-events: none;
	transition: all .1s ease-out;
	z-index: 2;
}

.inputBox--status .inputBox__input {
	padding-right: 60px;
}

.inputBox__input[type="date"] {
	padding-right: 15px;
}

.inputBox__input[type="range"]::-webkit-slider-runnable-track {
	cursor: pointer;
}

.inputBox__input[type="range"] {
	padding: 0;
	accent-color: var(--primColor);
	appearance: none;
	border-width: 0;
	background: linear-gradient(to bottom, #d4dae0 0%, #d4dae0 100%) no-repeat 0 center;
	background-size: 100% 5px;
}

.inputBox__status {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(/img/ico-ok.svg) center center no-repeat;
}

.inputBox__btn:hover {
	background: var(--primColor);
	color: white;
}

.inputBox__btn {
	position: absolute;
	top: 0;
	height: 50px;
	right: 0;
	width: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border-radius: 30px;
	color: var(--textColor);
}

.inputBox:has(.inputBox__status) input, .inputBox:has(.inputBox__btn) input {
	padding-right: 60px;
}

.inputBox__unit {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 56px;
	display: flex;
	align-items: center;
	background: none;
	color: var(--textColor);
	font-weight: var(--fwB);
	justify-content: center;
}

.inputBox--hasError .inputBox__status {
	background-image: url(/img/ico-wrong.svg);
}

.inputBox--hasError .select2 .select2-selection, .inputBox--hasError .switcher__l, .inputBox--hasError .switcher__r {
	border-color: #D92314;
}

.inputBox--hasError .inputBox__label, .inputBox--hasError .inputBox__input {
	border-color: #D92314;
	color: #D92314;
}

.inputBox--hasError label {
	color: #D92314;
}

.inputBox__note {
	position: relative;
	z-index: 2;
	line-height: 1.2em;
	margin-bottom: -1.1875rem;
	min-height: 20px;
	padding: 10px 0;
}

.inputBox__note--error .inputBox__noteText {
	color: #FF6B00;
	text-align: left;
}

.inputBox__note--error {
	border-top-color: #FF6B00;
}

.inputBox__noteText {
	display: inline-block;
}

.inputBox__select {
	flex: auto;
	width: 100%;
}

.inputBox--switcher {
	justify-content: flex-start;
}

.form__row {
	margin: 1.75em 0;
}

.form__row .form__item {
	margin: 0;
}

.form__submit {
	margin-top: var(--hSpace);
}

.labelBox {
	font-size: .875em;
	font-weight: var(--fwN);
	margin-bottom: 1em;
}

.rowForm {
	display: flex;
	gap: 8px;
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
	flex: auto;
}

#fastOrderItemsList .inputBox > div {
	width: 100%;
}

@media (max-width: 760px) {
	.form p {
		margin: 0;
		display: block;
		margin-top: 10px;
	}
	.form div[class^="col"] {
		margin: 0 0;
	}
	.form__row {
		margin: 1.25rem 0;
	}
	.form__row .row {
		gap: 1.25rem;
	}
}

@media (max-width: 479px) {}

@media (min-width: 480px) {
	.rowForm__l {
		flex: auto;
	}
	.rowForm__input {
		text-align: left;
	}
	.btn.rowForm__btn {
		width: auto;
	}
	.rowForm {
		display: flex;
		margin-left: auto;
		margin-right: auto;
		gap: 8px;
		flex-flow: row wrap;
	}
	.rowForm__r {
		flex: none;
	}
}
