/*!
  * Select2 Bootstrap v5.0.0 theme By ArizoTech
  * Copyright 2020-2025 Morteza Fard Saffari - ArizoTech Co. (https://arizotech.com)
  * Licensed under MIT License
  */
.select2-container--bootstrap5 {
	width: 100% !important;
}
/* flex display required to using input-group-text in input-group for bootstrap 5 */
.input-group .select2-container--bootstrap5 {
	display: flex;
	align-content: center;
	align-items: center;
	flex-direction: row;
	flex: 1;
}
.select2-container--bootstrap5 .selection {
	width: 100%;
}
.select2-container--bootstrap5 .select2-selection {
	border: 1px solid #bfbfbf;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	width: 100%;
}

.select2-container--bootstrap5 .select2-selection {
	display: flex;
	align-items: center;
	min-height: 43px;
	padding: 5px 15px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	color: #4e4e4e;
	vertical-align: middle;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 16px 12px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid #bfbfbf;
}

.select2-container--bootstrap5 .select2-selection:after {
	content: '\f078';
	padding: 0 15px;
	font-family: 'Font Awesome 5 Pro';
	font-size: 24px;
	font-weight: 400;
	position: absolute;
	right: 0;
	color: #0e418f;
}

.select2-container--bootstrap5.select2-container--open .select2-selection:after {
	content: '\f077';
	padding: 0 20px;
	font-family: 'Font Awesome 5 Pro';
	font-size: 24px;
	font-weight: 400;
	position: absolute;
	right: 0;
	color: #0e418f;
}

.select2-container--bootstrap5.select2-container--open .select2-selection {
	border-color: #bfbfbf;
}

.select2-container--bootstrap5.select2-container--open.select2-container--below .select2-selection {
	border-bottom: none !important;
  	border-color: #bfbfbf;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0 !important;
}

.select2-container--bootstrap5.select2-container--open.select2-container--above .select2-selection {
	border-top: none !important;
  border-color: #bfbfbf;
	border-top-left-radius: 0;
	border-top-right-radius: 0 !important;
}

.select2-container--bootstrap5
	.select2-selection--single
	.select2-selection__placeholder {
	color: #4e4e4e;
	line-height: inherit;
}
.select2-container--bootstrap5
	.select2-selection--single
	.select2-selection__rendered {
	padding: 0 0 0 4px;
	line-height: inherit;
	margin: 0;
	list-style: none;
}
.select2-container--bootstrap5[dir='rtl']
	.select2-selection--single
	.select2-selection__rendered {
	padding: 0 4px 0 0;
}
.select2-container--bootstrap5
	.select2-selection--single
	.select2-selection__arrow,
.select2-container--bootstrap5[dir='rtl']
	.select2-selection--single
	.select2-selection__arrow {
	display: none;
}
.select2-container--bootstrap5
	.select2-search--dropdown
	.select2-search__field {
	display: block;
	width: 100%;
	/* padding: .375rem .75rem; */
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #4e4e4e;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

.select2-container--bootstrap5 .select2-selection:focus {
	border: 1px solid #ced4da;
}

.select2-search__field:hover {
  cursor: pointer;
}

.select2-container--bootstrap5 .select2-results__message {
	color: #6c757d;
}
.select2-container--bootstrap5 .select2-selection--multiple {
	background-color: #fff;
	/* min-height: calc(1.5em + 0.75rem + 2px) !important; */
}
.select2-container--bootstrap5
	.select2-selection--multiple
	.select2-selection__rendered {
	width: 100%;
	padding: 0;
	margin: 0;
	list-style: none;
}
.select2-container--bootstrap5 .select2-selection__clear,
.select2-container--bootstrap5 .select2-search--inline {
	float: left;
}
.select2-container--bootstrap5 .select2-search--inline .select2-search__field {
	outline: 0;
	margin-top: 0;
	font-weight: 600;
}
.select2-container--bootstrap5[dir='rtl'] .select2-selection__clear,
.select2-container--bootstrap5[dir='rtl'] .select2-search--inline {
	float: right;
	margin-left: 0;
	margin-right: 4px;
}
.select2-container--bootstrap5
	.select2-selection--multiple
	.select2-selection__choice {
		border-radius: 2.25rem;
		color: #4e4e4e;
		border: 0;
		display: inline-flex;
		align-items: center;
		justify-content: space-between;
		flex-direction: row-reverse;
		font-size: 14px;
		transition: transform .1s;
		padding: 5px 5px 5px 15px;
		line-height: .5;
		border: 1px solid #BFBFBF;
		background-color: #f6f6f8;
		min-width: 150px;
		font-weight: 400;
		margin: 0 5px;
}
/* .select2-container--bootstrap5[dir='rtl']
	.select2-selection--multiple
	.select2-selection__choice {
	float: right;
} */
.select2-container--bootstrap5
	.select2-selection--multiple
	.select2-selection__choice__remove {
		color: #0e418f;
		font-weight: 800;
		font-size: 24px;
		box-shadow: none;
		display: flex;
		opacity: 1;
		padding: 3px;
		width: 20px;
		height: 20px;
		align-items: center;
		position: relative;
		top: 0;
}
/* .select2-container--bootstrap5[dir='rtl']
	.select2-selection--multiple
	.select2-selection__choice__remove {
	margin-right: 0;
	margin-left: 0.15rem;
} */
.select2-container--bootstrap5
	.select2-selection--multiple
	.select2-selection__choice__remove:hover {
	background-color: #0e418f;
	color: #fff;
	border-radius: 50px;
	cursor: pointer;
}
.input-group-text ~ .select2-container--bootstrap5 .select2-selection {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}

.input-group-text
	~ .select2-container--bootstrap5[dir='rtl']
	.select2-selection {
	border-top-left-radius: 0.25rem;
	border-bottom-left-radius: 0.25rem;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}
.select2-container--bootstrap5:not(:last-child) .select2-selection {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}

.select2-container--bootstrap5:not(:last-child):focus .select2-selection:focus {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 0px;
}

.select2-container--bootstrap5[dir='rtl']:not(:last-child) .select2-selection {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}
.select2-container--bootstrap5.select2-container--disabled .select2-selection,
.select2-container--bootstrap5.select2-container--disabled
	.select2-selection
	.select2-selection__choice {
	background-color: #fff;
	color: #7b758b;
	cursor: not-allowed;
	border-color: #ced4da;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.select2-container--bootstrap5.select2-container--disabled
	.select2-selection--multiple
	.select2-selection__choice__remove:hover {
	opacity: 0.5;
}
.select2-container--bootstrap5
	.select2-dropdown
	.select2-results__option[aria-selected='true'] {
	color: #bfbfbf;
	background-color:#fff;
	pointer-events: none;
	cursor:not-allowed;
}
.select2-container--bootstrap5 .select2-results__option--highlighted,
.select2-container--bootstrap5
	.select2-results__option--highlighted.select2-results__option[aria-selected='true'] {
    background: #FAFAFA;
  	color: #4E4E4E;
}
.select2-container--bootstrap5 .select2-results > .select2-results__options {
	max-height: 60vh;
	max-height: calc(50vh - 40px);
	overflow-y: auto;
}

.select2-dropdown {
	border: 1px solid #bfbfbf;
}

.select2-container--open .select2-dropdown--above {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
  overflow: hidden;
}

.select2-container--open .select2-dropdown--below {
	border-top: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
  	overflow: hidden;
}

.select2-container--open:focus .select2-dropdown--below:focus,
.select2-container--open:active .select2-dropdown--below:active {
	border-top: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}