/*
 * The country and region fields of address_search.js, drawn as the theme's
 * other inputs are (Bootstrap 3's .form-control). Loaded after Select2's own
 * stylesheet, which it adjusts.
 */
.select2-container--default .select2-selection--single {
	height: 34px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-left: 12px;
	padding-right: 30px;
	line-height: 32px;
	color: #555;
	font-size: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 32px;
	right: 6px;
}

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

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

.select2-dropdown {
	border-color: #66afe9;
	font-size: 12px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	height: 32px;
	padding: 4px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}

.select2-results__option {
	padding: 7px 12px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: #007acc;
}

/* Under 16px, iOS zooms the page in on the search box as it is focused. */
@media (max-width: 767px) {
	.select2-container--default .select2-search--dropdown .select2-search__field {
		font-size: 16px;
	}
}
