/**
 * Select2 overrides
 * @author Bruno Babic
 * @copyright maxcom
 */

.select2-container {
	min-height: 28px;
}

.select2-container .select2-selection--multiple {
	min-height: 20px;
}

.select2-container--default .select2-selection--multiple {
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
	border-color: #66afe9;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.select2-selection.select2-selection--single {
	padding-left: 4px;
}

span.select2-selection.select2-selection--single {
	height: 30px;
	border: 1px solid inherit;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

/** add arrow to select2's multiple selectboxes **/

.select2-selection--multiple:after {
	content: "";
	position: absolute;
	right: 10px;
	top: 12px;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #888;
}

.select2-container--default .select2-selection--single {
	border: 1px solid #ccc;
}

.has-error .select2-container--default .select2-selection--single {
	border-color: #a94442;
}

.has-error .select2-container--default .select2-selection--multiple {
	border-color: #a94442;
}

.has-warning .select2-container--default .select2-selection--single {
	border-color: #8a6d3b;
}

.has-warning .select2-container--default .select2-selection--multiple {
	border-color: #8a6d3b;
}

span.select2-selection.select2-selection--multiple {
	min-height: 30px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
	padding: 1px 0;
}

.select2-dropdown {
	z-index: 100000 !important;
}

.select2 {
	width: 100% !important;
}

select.select2-hidden-accessible.readonly + .select2-container .select2-selection {
	cursor: not-allowed !important;
	background: #eee !important;
	box-shadow: none;
}

/** AD2 ***************************************************************************************************************************************************/

.select2-results__option {
	overflow: hidden;
	text-overflow: ellipsis;
}

select {
	font-size: 13px;
}

.select2-selection__rendered {
	padding-left: 4px !important;
	font-size: 13px;
}
