.form__item {
	display: inline-block;
	width: 100%;
	clear: both;
	padding-bottom: 1rem;

	&.has-roletka {
		position: relative;
	}

	&.readonly {
		pointer-events: none;
		color: lighten($color--gray, 15%);
	}

	table &,
	.drag-drop__item & {
		padding: 0.2rem 0 0.2rem 0;
	}
}

.form__item__caption {
	font-size: 1.2rem;
	display: block;
	line-height: 1.8rem;
	color: $color--black;
	font-weight: 600;
	height: 1.8rem;

	.readonly & {
		color: lighten($color--gray, 30%);
	}
}

.form__item__field {
	display: block;
	width: 100%;
	border: 0.1rem solid $color--seashell;
	background: $color--white;
	padding: 0rem 1rem;
	height: 3rem;
	line-height: 3rem;
	border-radius: 2px;


	&[required],
	&.required {
		background-image: url(imgs/asterisk.png);
		background-position: right center;
		background-repeat: no-repeat;
		background-size: contain;
		border-color: rgba($color--additional, 0.3);
	}

	&[readonly],
	&.readonly,
	&[disabled],
	&.disabled,
	.readonly & {
		border: none;
		background-color: $color--grayforms-border;
		box-shadow: none;
		pointer-events: none;
		&:hover,
		&:focus {
			border: none;
		}

		&[required],
		&.required {
			border: none;
		}
	}


	.highlighted & {
		border-color: $color--additional-highlighted;
		&:hover {
			border-color: lighten($color--additional-highlighted, 10%);
		}
		&:focus {
			outline: none;
			border-color: $color--additional-highlighted;
		}
	}

	table & {
		font-size: 1.3rem;
		padding: 0.3rem 0.6rem;
	}

	&:hover {
		border-color: darken($color--grayforms-border, 10%);
	}
	&:focus {
		outline: none;
		border-color: darken($color--grayforms-border, 25%);
	}
}