.form__heading {
	text-transform: uppercase;
	font-weight: 600;
	color: $color--black;
	display:inline-block;
	margin-top:0.5rem;
	margin-bottom:1rem;

	&.small {
		text-transform: none;
		font-size: 1.2rem;
		line-height: 1.8rem;
		height: 1.8rem;
		margin: 0;
	}
}

.checkboxes--linear {
	clear: both;
}

.form__separator {
	border-bottom: 0.1rem solid $color--grayforms-border;
	margin: 0 1.2rem 0.6rem 1.2rem;
	padding-top: 1.2rem;
	clear: both;
}

.form__item__separated--right {
	border-right: 0.1rem solid $color--grayforms-border;
}

.form__item--remove {
	cursor: pointer;
	background-color: $color--additional;
	color: $color--white;
	float: left;
	width: 3rem;
	height: 3rem;
	border-radius: 0.3rem;
	margin: 0.2rem;
	box-shadow: $shadows-visible;
	box-shadow: $shadows-light;
	&:hover {
		background-color: darken($color--additional, 5%);
		box-shadow: none;
	}
}



.form__item--buttons {
	@extend .form__item;
	border-top: 1px dashed $color--grayforms-border;
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	margin-bottom: 1rem;

	.form--filter & {
		border-top: none;
		text-align: right;
		padding-top: 0;
		margin-top: 1rem;
		margin-bottom: 0;
	}
}


.form__item--container {
	@extend .form__item;
	margin: 1rem 0.2rem 0.2rem 0.2rem;
	padding: 0.5rem 1rem;
	border: 0.1rem solid $color--grayforms-border;

	transition: all 0.2s ease-in-out;

	&.is-highlighted {
		border-color: $color--mint;
	}
	&.has-huge-red-border {
		border: 3px solid $color--red;
	}
}

.form__item--container--gray {
	@extend .form__item--container;
	background: $color--graylight;
	border: none;
	box-shadow: 0 2px 10px -3px rgba(0, 0, 0, 0.2);
}

.form__item--container--lightgray {
	@extend .form__item--container;
	background: $color--graylight--lighten;
	border: none;
	box-shadow: 0 2px 10px -3px rgba(0, 0, 0, 0.2);
}

.form-items-in-row {
	display: flex;
	margin: 0 -1px;
	width: calc(100% + 2px);
	align-items: center;
	justify-content: flex-start;

	&.justify-between {
		justify-content: space-between;
	}
	
}

.form-item-in-a-row {
	margin: 0 1px;
	width: 100%;

	display: flex;
	align-items: center;

	&.w-auto {
		width: auto;
	}
}

.form__item__beforetext,
.form__item__aftertext,
.form__item__delimiter {
	padding: 0.1rem 0.5rem 0 0.2rem;
	font-size: 1.2rem;

	&:empty {
		padding: 0;
	}
}