.dropdown {
	border: 1px solid #b3b3b3;
	background-color: #fff;

	font-family: sans-serif;
	font-weight: normal;
	font-size: 14px;
	color: #949599;

	display: inline-block;
	width: 100%;
	height: 30px;
	line-height: 30px;
	padding: 0px 15px;

	position: relative;

	-webkit-transition: 300ms color ease-in-out;
	-moz-transition: 300ms color ease-in-out;
	-ms-transition: 300ms color ease-in-out;
	-o-transition: 300ms color ease-in-out;
	transition: 300ms color ease-in-out;

	-webkit-touch-action: manipulation;
	-moz-touch-action: manipulation;
	-ms-touch-action: manipulation;
	-o-touch-action: manipulation;
	touch-action: manipulation;
}

.dropdown.focus {
	outline: -webkit-focus-ring-color auto 5px;
	outline-offset: -2px;
}

/* .dropdown.open { color: #c8c9cb; } */

.dropdown select {
	width: 1px;
	height: 1px;
	color: transparent !important;
	background-color: transparent !important;
	opacity: 0.01;
	border: 0px;
	margin: 0px;
	padding: 0px;
	font-size: 0px;
	position: absolute;
	bottom: 0px;
	right: 0px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 0) {
	.dropdown select {
		font-size: 50px !important;
		top: 0px;
		left: 0px;
		width: 100% !important;
		height: 100% !important;
		z-index: -1;
	}

	.dropdown.ddlmobile select {
		z-index: 1;
		opacity: 1.0 !important;
	}
}

@media only screen and (max-width: 768px) {
	.dropdown select option {
		font-family: 'Libre Franklin', sans-serif;
		font-size: 16px;
		color: #000;
	}
}

.dropdown label {
	min-width: 48px;
	height: 100%;
	display: block;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

.dropdown label::after {
	content: '';
	clear: both;
	display: block;
}

.dropdown label span {
	display: block;
	vertical-align: middle;
	text-align: left;
}

.dropdown label span:last-child {
	height: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.dropdown label span:first-child {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;

	width: 28px;
	height: 28px;
	text-align: center;
}

.dropdown label span:first-child::after
, .dropdown label span:first-child::before {
	content: '';

	display: block;
	margin: 5px auto;

	width: 0px;

	vertical-align: middle;

	border-left: 7px solid transparent;
	border-right: 7px solid transparent;

	-webkit-transition: border 150ms ease-in-out;
	-moz-transition: border 150ms ease-in-out;
	-ms-transition: border 150ms ease-in-out;
	-o-transition: border 150ms ease-in-out;
	transition: border 150ms ease-in-out;
}

.dropdown label span:first-child::before { border-bottom: 7px solid #d9d9d9; }
.dropdown label span:first-child::after { border-top: 7px solid #d9d9d9; }

.dropdown:not(.disabled):hover label span:first-child::before { border-bottom-color: #bbb; }
.dropdown:not(.disabled):hover label span:first-child::after { border-top-color: #bbb; }

.dropdown.open label span:first-child::before { border-bottom-color: #f6f6f6; }
.dropdown.open label span:first-child::after { border-top-color: #f6f6f6; }

.dropdown label .option { color: #c7c8cb; }

.dropdown_menu {
	font-family: sans-serif;
	font-weight: normal;
	font-size: 13px;
	color: #949599;

	max-height: 0px;
	position: absolute;
	z-index: 99999;
	overflow: auto;

	-ms-overflow-y: auto;
	-ms-overflow-x: hidden;
	overflow-y: auto;
	overflow-x: hidden;

	background-color: #fff;
	border: 1px solid #b3b3b3;
	border-width: 0px 1px;
	
	-webkit-transition: max-height 300ms ease-in-out;
	-moz-transition: max-height 300ms ease-in-out;
	-ms-transition: max-height 300ms ease-in-out;
	-o-transition: max-height 300ms ease-in-out;
	transition: max-height 300ms ease-in-out;
	
	-webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
}

.dropdown_menu::-webkit-scrollbar-track {
	background-color: rgba(0, 0, 0, 0.0);

	overflow: hidden;
	
	-webkit-transition: background-color 300ms ease-in-out;
	-moz-transition: background-color 300ms ease-in-out;
	-ms-transition: background-color 300ms ease-in-out;
	-o-transition: background-color 300ms ease-in-out;
	transition: background-color 300ms ease-in-out;
}

.dropdown_menu::-webkit-scrollbar {
	width: 0px;
	overflow: hidden;
}

.dropdown_menu::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, 0.0);

	-webkit-transition: background-color 300ms ease-in-out;
	-moz-transition: background-color 300ms ease-in-out;
	-ms-transition: background-color 300ms ease-in-out;
	-o-transition: background-color 300ms ease-in-out;
	transition: background-color 300ms ease-in-out;
}

.dropdown_menu:hover::-webkit-scrollbar { width: 8px; }
.dropdown_menu:hover::-webkit-scrollbar-track { background-color: rgba(0, 0, 0, 0.5); }
.dropdown_menu:hover::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.5); }

.dropdown_menu li {
	padding: 0px 15px;
	word-wrap: break-word;
	cursor: default;
	line-height: 30px;
	height: 30px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;

	border: 1px solid #b3b3b3;
	border-width: 0px 0px 1px 0px;

	-webkit-transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
	-moz-transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
	-ms-transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
	-o-transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
	transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
}

.dropdown_menu.top li { border-width: 1px 0px 0px 0px; }

.dropdown_menu li:hover {
	background-color: #b4252d !important;
	color: #fff;
}

.dropdown_menu li.selected {
	background-color: #c35157;
	color: #fff;
	font-weight: normal;
}

.dropdown_menu.open { max-height: 300px; }
.dropdown.disabled { opacity: 0.3; }
.dropdown.disabled:hover { background-color: #fff; }