/* --- EASYDROPDOWN DEFAULT THEME --- */

/* PREFIXED CSS */

#search-box dropdown,
#search-box .dropdown div,
#search-box .dropdown li,
#search-box .dropdown div:after{
	-webkit-transition: all 150ms ease-in-out;
	-moz-transition: all 150ms ease-in-out;
	-ms-transition: all 150ms ease-in-out;
	transition: all 150ms ease-in-out;
}

#search-box .dropdown .selected:after,
#search-box .dropdown.scrollable div:after{
	-webkit-pointer-events: none;
	-moz-pointer-events: none;
	-ms-pointer-events: none;
	pointer-events: none;
}

/* WRAPPER */

#search-box .dropdown {
	position: relative;
	width: 100%;
    border: 1px solid rgb(229, 229, 229);
	cursor: pointer;
	background: #fff;
	height: 36px;
	z-index: 3;

	box-shadow: 0 0 0 4px rgba(236, 236, 236, 0.3);
	-webkit-box-shadow: 0 0 0 4px rgba(236, 236, 236, 0.3);
	-moz-box-shadow: 0 0 0 4px rgba(236, 236, 236, 0.3);

	-webkit-border-radius: 1px;
	-khtml-border-radius: 1px;
	-moz-border-radius: 1px;
	-o-border-radius: 1px;
	border-radius: 1px;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

#search-box .dropdown:hover {
	border-color: #CCC;
	.setBoxShadow(0 0 0 4px, #E2E2E2, .3);
}

#search-box .dropdown.open{
	z-index: 11;
	border-color: rgb(79, 202, 188);

	box-shadow: 0 0 0 4px rgba(79, 236, 188, 0.1);
	-webkit-box-shadow: 0 0 0 4px rgba(79, 202, 188, 0.1);
	-moz-box-shadow: 0 0 0 4px rgba(79, 202, 188, 0.1);
}

/* CARAT */
#search-box .dropdown .carat {
	border-left: 1px solid rgb(229, 229, 229);;
	width: 30px;
	height: 36px;
	display: block;
	position: absolute;
	top: -1px;
	right: 0;
}

#search-box .dropdown.open .carat {
	border-left: 1px solid #50c8b4;
	background-color: #50c8b4;
}

#search-box .dropdown .carat:after {
    position: absolute;
    content: "";
    right: 8px;
    top: 50%;
	margin-top: -3px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-top: 6px solid #50c8b4;
    border-right: 6px solid transparent;
}

#search-box .dropdown.open .carat:after {
    border-top-color: #FFF;
}

#search-box .dropdown.disabled .carat{
	border-top-color: #999;
}

/* OLD SELECT (HIDDEN) */

#search-box .dropdown .old{
	position: absolute;
	left: 0;
	top: 0;
	height: 0;
	width: 0;
	overflow: hidden;
}

#search-box .dropdown select{
	position: absolute;
	left: 0px;
	top: 0px;
}

#search-box .dropdown.touch .old{
	width: 100%;
	height: 100%;
}

#search-box .dropdown.touch select{
	width: 100%;
	height: 100%;
	opacity: 0;
}

/* SELECTED FEEDBACK ITEM */ 

#search-box .dropdown .selected,
#search-box .dropdown li{
	display: block;
	font-size: 14px;
	line-height: 1;
	color: #555;
	padding: 10px 12px 15px;
	overflow: hidden;
	white-space: nowrap;
	background-color: transparent;
}

#search-box .dropdown.disabled .selected{
	color: #999;
}

#search-box .dropdown .selected:after{
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 60px;
	
	border-radius: 1px;
	box-shadow: inset -55px 0 25px -20px #fff;
}

/* DROP DOWN WRAPPER */

#search-box .dropdown div {
	position: absolute;
	height: 0;
	left: -1px;
	right: -1px;
	top: 100%;
	margin-top: -1px;
	overflow: hidden;

	-webkit-box-shadow: 2px 3px 4px 0 rgba(0, 0, 0, 0.16);
	   -moz-box-shadow: 2px 3px 4px 0 rgba(0, 0, 0, 0.16);
	        box-shadow: 2px 3px 4px 0 rgba(0, 0, 0, 0.16);

	-webkit-border-radius: 0 0 3px 3px;
	 -khtml-border-radius: 0 0 3px 3px;
	   -moz-border-radius: 0 0 3px 3px;
	     -o-border-radius: 0 0 3px 3px;
	        border-radius: 0 0 3px 3px;

	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	opacity: 0;
	-moz-opacity: 0;
	-khtml-opacity: 0;
}

/* Height is adjusted by JS on open */

#search-box .dropdown.open div{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	opacity: 1;
	-moz-opacity: 1;
	-khtml-opacity: 1;
	z-index: 1;
	border-bottom: 1px solid #F1F1F1;
}

/* FADE OVERLAY FOR SCROLLING LISTS */

#search-box .dropdown.scrollable div:after{
	content: '';
	position: absolute;
	left: 1px;
	right: 1px;
	bottom: 0;
	height: 50px;
	box-shadow: inset 0 -50px 30px -35px #FFF;
	border-bottom: 1px solid #E5E5E5;
}

#search-box .dropdown.scrollable.bottom div:after{
	box-shadow: inset 0 -50px 30px -35px rgba(255,255,255, 0);
	border-bottom: 1px solid #E5E5E5;
}

/* DROP DOWN LIST */
#search-box .dropdown ul {
	position: absolute;
	left: 0;
	top: 2px;
	height: 100%;
	width: 100%;
	list-style: none;
	overflow: hidden;
	padding: 0;
	margin: 0;
	/*border: 1px solid #CCC;*/
	border-top: none;
	background-color: #FFF;
}

#search-box .dropdown.scrollable.open ul{
	overflow-y: auto;
}

/* DROP DOWN LIST ITEMS */

#search-box .dropdown li {
	list-style: none;
	padding: 12px 12px 13px;
	/*border-bottom: 1px solid #F1F1F1;*/
	border: 1px solid #F1F1F1;
	border-bottom: none;
	background-color: #FFF;
}
/* .focus class is also added on hover */

#search-box .dropdown li.focus{
	background: #50c8b4;
	position: relative;
	z-index: 3;
	color: #FFF;
}

#search-box .dropdown li.active{
	font-weight: 700;
	background: #50c8b4;
	color: #FFF;
}