.gi-tags-container {
	display: table;
	width: 100%;
}

.input-group.gi-tags-container .input-group-btn {
	vertical-align: bottom;
}

.gi-tags-list {
	padding: 0;
	display: table-cell;
	width: 1%;
	white-space: nowrap;
	border: 0;
	background-color: var(--gi-bgcolor-optional);
	box-shadow: inset 0 -1px 0 #ddd;
}

.gi-tags-disabled .gi-tags-list {
	background-color: var(--gi-bgcolor-disabled);
}

.gi-tags-list.gi-tags-many {
	display: block;
	width: 100%;
	text-align: left;
	background: transparent;
	box-shadow: none;
	white-space: normal;
}

.gi-field-required .gi-tags-list {
	background-color: var(--gi-bgcolor-required);
}

.gi-tag {
	display: inline-block;
	margin-right: 5px;
	margin-bottom: 5px;
	font-size: 16px;
	font-weight: normal;
	line-height: 1;
	white-space: nowrap;
	vertical-align: middle;
	color: #333;
	padding: 5px 10px;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.gi-tag-text {
	vertical-align: middle;
}

.gi-tags-remove {
	margin-left: 5px;
	cursor: pointer;
	font-size: 20px;
	font-weight: bold;
	line-height: 16px;
	vertical-align: middle;
}

.gi-tags-input.form-control {
	display: table-cell;
	width: 100%;
	padding: 4px 8px;
}

.gi-tags-disabled {
	cursor: not-allowed;
	background-color: var(--gi-bgcolor-disabled);
	opacity: 1;
}

.gi-tags-disabled .gi-tag {
	cursor: default;
}

.gi-tags-disabled .gi-tags-remove {
	display: none;
}

.gi-tags-disabled .gi-tags-input {
	cursor: not-allowed;
	background-color: transparent;
}

.gi-flag {
	--iti-flag-offset: 100;
	display: inline-block;
	height: 18px;
	width: 24px;
	border-radius: 1px;
	box-shadow: 0 0 1px #888;
	background-image: image-set(url(../img/flags.png) 1x, url(../img/flags@2x.png) 2x);
	background-repeat: no-repeat;
	background-position: calc(var(--iti-flag-offset) * 24px) 0;
	background-size: 5856px 18px;
	vertical-align: middle;
	margin-right: 3px;
}
