 
.dropdown{
	position: relative;
	width: 195px;
	border: 1px solid #ccc;
	cursor: pointer;
	background: #fff;
	padding:10px;
    right: 0px;
    top:0px;
	border-radius: 3px;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.dropdown.open{
	z-index: 1;
}

.dropdown:hover{
	box-shadow: 0 0 5px rgba(0,0,0,.15);
}

.dropdown.focus{
	box-shadow: 0 0 5px rgba(51,102,248,.4);
} 
.dropdown .carat{
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -4px;
	border: 10px solid transparent;
	border-top: 10px solid #000;
}

.dropdown.open .carat{
	margin-top: -14px;
	border-top: 10px solid transparent;
	border-bottom: 10px solid #000;
}

.dropdown.disabled .carat{
	border-top-color: #999;
} 
.dropdown .old{
	position: absolute;
	left: 0;
	top: 0;
	height: 0;
	width: 0;
	overflow: hidden;
}

.dropdown select{
	position: absolute;
	left: 0px;
	top: 0px;
} 
.dropdown .selected,
.dropdown li{
	display: block;
	font-size: 20px;
	line-height: 1;
	color: #555555;
	padding: 5px;
	overflow: hidden;
	white-space: nowrap;
}

.dropdown.disabled .selected{
	color: #555555;
}
 
.dropdown div{
	position: absolute;
	height: 0;
	left: -1px;
	right: -1px;
	top: 100%;
	margin-top: -1px;
	background: #fff;
	border: 1px solid #a7a7a7;
	border-radius: 0 0 3px 3px;
	overflow: hidden;
	opacity: 0;
} 

.dropdown.open div{
	opacity: 1;
	z-index: 2;
}

/* FADE OVERLAY FOR SCROLLING LISTS */

.dropdown.scrollable div::after{
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0; 
	box-shadow: inset 0 -50px 30px -35px #fff;
}

.dropdown.scrollable.drop-bottom div::after{
	opacity: 0;
}

/* DROP DOWN LIST */

.dropdown ul{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	list-style: none;
	overflow: hidden;
}

.dropdown.scrollable.open ul{
	overflow-y: auto;
}

/* DROP DOWN LIST ITEMS */

.dropdown li{
	list-style: none;
	padding: 12px 14px;
	border-top: 1px solid #a7a7a7;
}

/* .focus class is also added on hover */

.dropdown li.focus{
	background: #f4f4f4;
	position: relative;
	z-index: 3;
	color: #555555;
} 