/*------------------------------------*\
    
    WebFX Choices.js Customizations - Global styling for select box/text inputs using Choices.js

    Add custom Choices.js select input styling to this file if it should be applied to all Choices.js select inputs on the site
    Otherwise, put your styles in individual block stylesheets

\*------------------------------------*/

.choices__inner {
	width: 100%;
	display: block;
	height: 51px;
	border: 1px solid #b3b3b3;
	padding: 18px 15px 5px;
	font-size: 16px;
	background: transparent;
	text-align: left;
	font-weight: 700;
	color: #000;
	font-family: "Barlow", sans-serif;
	text-transform: capitalize;
	background-color: #fff;
}

.choices__list--dropdown input {
	display: none !important;
}

.choices__list--single {
	padding: 0 !important;
}

.choices[data-type*="select-one"]:after {
	content: "\e902";
	font-family: "icomoon" !important;
	border: none;
	font-size: 10px;
	color: #f0002b;
	right: 16px;
	transform: translate(0, -50%);
	width: auto;
	height: auto;
	line-height: 1em;
	margin: 2px 0 0;
	top: 50%;
}

.choices[data-type*="select-one"].is-open:after {
	transform: translate(0, -50%) rotate(180deg);
	margin: 1px 0 0;
}

.choices__list--dropdown .choices__item {
	text-align: left;

	@media( max-width : 1500px ) {
		padding-right: 0;

		&:after {
			display: none;
		}
	}
}

.is-focused .choices__inner,
.is-open .choices__inner,
.form-col
	.choices:not(
		:has(.choices__item.choices__item--choice:first-child.is-selected)
	)
	.choices__inner {
	border: 1px solid #000;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.28);
}

.form-col
	.choices:not(
		:has(.choices__item.choices__item--choice:first-child.is-selected)
	) {
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.28);
}

.is-open .choices__list--dropdown {
	border-color: #000;
}

@media (min-width: 1200px) {
	.choices[data-type*="select-one"]:after {
		font-size: 13px;
		right: 13px;
	}
}
