.stc-form-field,
.form-group {
	display: block;
	margin-bottom: 20px;
	position: relative;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="search"]),
input.form-control:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="search"]),
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="search"]),
.form-control-cellinput:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="search"]),
select,
textarea,
select.form-control,
textarea.form-control {
	border: none;
	/* background-color: transparent; */
	background-color: var(--color-secondary-pale);
	border-bottom: 2px solid var(--color-primary);
	padding: 5px 7px;
	display: block;
	width: 100%;
	border-radius: 0;
	font-family: var(--text-font);
	font-size: 16px;
	box-shadow: none;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="search"]),
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="search"]),
.form-control-cell input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="search"]),
select {
	height: 30px;
}

input:not([type="checkbox"]):focus:not([type="radio"]):focus:not([type="submit"]):not([type="button"]):focus,
.form-group input:not([type="checkbox"]):focus:not([type="radio"]):focus:not([type="submit"]):not([type="button"]):focus,
.form-control-cell input:not([type="checkbox"]):focus:not([type="radio"]):focus:not([type="submit"]):not([type="button"]):focus,
select:focus,
textarea:focus,
textarea.form-control:focus {
	outline: 2px solid var(--color-primary);
	border-bottom: none;
}

textarea,
textarea.form-control {
	min-height: 100px;
	background-color: var(--color-secondary-pale);
}

select {
	color: var(--color-primary);
	font-family: var(--text-font);
	font-size: 16px;
}

::placeholder {
	color: var(--color-text-grey);
	opacity: 0.7;
	text-decoration: none;
	font-weight: normal;
}

.stc-form-field  span,
.form-group label,
.form-control-cell .info,
.picklist-cell .info {
	color: var(--color-primary);
	font-weight: normal;
	display: inline-block;
	margin-bottom: 7px;
	/* padding-left: 5px; */
}

.stc-form-field.required:before
/* .form-group label.required:before,
.form-control-cell .info.required:before,
.picklist-cell .info.required:before */ {
	display: inline-block;
	content: "*";
	color: var(--color-red);
 position: absolute;
    left: -8px;
}

.stc-form-field__checkbox {
	display: flex;
	align-items: flex-start;
}

.stc-form-field__checkbox.required > span, .stc-form-field--has-radios-container.required > span {
display: inline-block;
}

.stc-form-field__checkbox.required > span:before, .stc-form-field--has-radios-container.required > span:before {
display: inline-block;
	content: "*";
	color: var(--color-red);
   
}



.stc-form-field__checkbox input {
	margin-right: 5px;
	margin-top: 4px;
}

.input-append.input-group.datetimepicker span.input-group-addon,
.input-group-addon {
	border: none;
	background-color: transparent;
	box-shadow: none;
}

.input-group-addon {
	position: absolute;
	right: 10px;
	color: var(--color-primary);
}

.stc-form-field--has-radios {
	display: flex;
	column-gap: 10px;
	flex-wrap: wrap;
}

.stc-form-field--has-radios.stacked {
	flex-direction: column;
	row-gap: 10px;
}

@supports not (aspect-ratio: 1/1) {
	.stc-form-field--has-radios {
		column-gap: 0;
	}

	.stc-form-field--has-radios > * {
		margin-right: 10px;
	}

	.stc-form-field--has-radios.stacked {
		row-gap: 0;
	}

	.stc-form-field--has-radios.stacked > * {
		margin-bottom: 10px;
	}
}

.stc-form-field--has-radios {
	margin-bottom: 20px;
}

.stc-form-field--has-radios label,
.stc-form-field--has-radios span {
	margin-bottom: 0;
}

.stc-custom-select-text {
	padding: 5px;
	border-bottom: 2px solid var(--color-primary);
	display: flex;
	justify-content: space-between;
	cursor: pointer;
}

.stc-custom-select-text:after {
	content: "\f077";
	font-family: "fontAwesome";
	transition: transform 0.2s ease-in-out;
}

.stc-custom-select select {
	height: 200px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	display: none;
}

.stc-custom-select select option {
	padding: 5px;
	cursor: pointer;
}

.stc-custom-select select option:first-of-type {
	background-color: var(--color-border-grey);
	color: var(--color-white);
	cursor: auto;
}

.stc-custom-select select option:checked {
	background-color: var(--color-secondary);
	color: var(--color-white);
}

.stc-custom-select select option:before {
	content: "\f00c";
	font-family: "fontAwesome";
	display: inline-block;
	margin-right: 10px;
	color: transparent;
	border: 1px solid var(--color-primary);
}

.stc-custom-select select option:first-of-type:before {
	border-color: var(--color-white);
}

.stc-custom-select select option:checked:before {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.stc-custom-select.open .stc-custom-select-text:after {
	transform: rotate(180deg);
}

.stc-custom-select.open select {
	display: block;
}

.stc-form-checkbox-field {
	display: flex;
	align-items: flex-start;
}

.stc-form-checkbox-field input {
	flex-shrink: 0;
}

.stc-large-checkbox {
	min-width: 20px;
	width: 50px;
	min-height: 20px;
	height: 30px;
	flex-shrink: 0;
}

@media screen and (max-width: 600px) {
	.stc-large-checkbox {
		width: 30px;
		height: 30px;
	}
}

.stc-form-field input:read-only {
	border: none !important;
	padding: 0 !important;
}


.flexed-label-span  {
    display: flex;
    align-items: flex-start;
}

.flexed-label-span > span:first-child {
    flex-shrink: 0;
    margin-right: 8px;
}

