:host {
	height: 100%;
	width: calc(100% - 8px);
	display: flex;
	align-items: center;
	margin-left: 4px;
	margin-right: 4px;
}

:host(.invalid)::after {
	content: '';
	margin-left: 4px;
    width: 16px;
    height: 16px;
	border: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" style="fill: none; stroke-width: 2px; stroke: darkgoldenrod;" viewBox="0 0 16 16"><path d="m8 1 7 14H1L8 1z"></path><path d="M7.99 12H8v.01h-.01zM8 6v4"></path></svg>');
}

:host-context(.selected) input {
}

input {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: 1px solid dimgray;
	outline: 0;
	margin-top: 0;
	margin-bottom: 0;
}

input[type=checkbox] {
}
input[type=checkbox]:checked {
	background-image: url('data:image/svg+xml;utf8,<svg height="14" width="14" xmlns="http://www.w3.org/2000/svg"><polyline points="2.5,7 6,10 11,3" style="fill:none;stroke:dimgray;stroke-width:2" /></svg>');
}
input[type=radio] {
	border-radius: 50%;
}
input[type=radio]:checked {
	background-image: url('data:image/svg+xml;utf8,<svg height="14" width="14" xmlns="http://www.w3.org/2000/svg"><circle r="3" cx="50%" cy="50%" fill="dimgray" /></svg>');
}

input:disabled {
	opacity: 0.3;
}

label {
	display: flex;
	align-items: center;
}

label.disabled {
    pointer-events: none;
    opacity: 0.5;
}

span {
	margin-left: 2px;
	align-items: center;
	width: 100%;
	line-height: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

div.ng-wrap {
	display: flex;
	align-items: center;
	width: 100%;
}