/* --- EASYDROPDOWN DEFAULT THEME --- */

/* PREFIXED CSS */

.dropdown,
.dropdown div,
.dropdown li,
.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;
}

.dropdown .selected::after,
.dropdown.scrollable div::after{
	-webkit-pointer-events: none;
	-moz-pointer-events: none;
	-ms-pointer-events: none;
	pointer-events: none;
}

/* WRAPPER */

.dropdown{
	position: relative;
	width: 100%;
    height: 33px;
	border: 0px solid #ccc;
	cursor: pointer;
	background: url(images/ddlArrow.png) no-repeat right transparent;

	border-radius: 3px;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.dropdown.open{
	z-index: 2;
}

.dropdown:hover{
	box-shadow: 0 0 5px rgba(0,0,0,.15);
}

.dropdown:focus{
	box-shadow: 0 0 5px rgba(51,102,248,.4);
}

/* CARAT */

.dropdown .carat{
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -4px;
	border: 6px solid transparent;
	/*border-top: 8px solid #668AA7;*/
    border-top: 8px solid transparent;
}

.dropdown.open .carat{
	margin-top: -10px;
	border-top: 6px solid transparent;
	/*border-bottom: 8px solid #668AA7;*/
    border-bottom: 8px solid transparent;
}

.dropdown.disabled .carat{
    /*border-top-color: #999;*/
	border-top-color: transparent;
}

.dropdown .carat:after{
	margin-top: -10px;
	right: -8px;
	/*border-top-color: #f8f8f8;*/
    border-top-color: transparent;
}

.dropdown:hover .carat:after{
	border-top-color: #f4f4f4;
}

.dropdown.focus .carat{
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -4px;
	border: 6px solid transparent;
    border-top: 8px solid transparent;
	/*border-top: 8px solid #668AA7;*/
}

.dropdown.focus .carat:after{
	border-top-color: #0180d1;
}

/* OLD SELECT (HIDDEN) */

.dropdown .old{
	position: absolute;
	left: 0;
	top: 0;
	height: 0;
	width: 0;
	overflow: hidden;
}

.dropdown select{
	position: absolute;
	left: 0px;
	top: 0px;
}

.dropdown.touch .old{
	width: 100%;
	height: 100%;
}

.dropdown.touch select{
	width: 100%;
	height: 100%;
	opacity: 0;
}

/* SELECTED FEEDBACK ITEM */ 

.dropdown li{
	display: block;
	font-size:.9em;
	line-height: 1;
	color: #000;
	padding: 12px 12px;
	overflow: hidden;
	white-space: nowrap;
}

.dropdown .selected {
	display: inline-block;
	font-size:.9em;
	line-height: 1;
	/*color: #000;*/
	padding: 12px 12px;
	overflow: hidden;
	/*white-space: nowrap;*/
    margin-right:25px;
}

.dropdown.disabled .selected{
	/*color: #999;*/
}

.dropdown .selected::after{
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 25px;
	background: url(images/ddlArrow.png) no-repeat right #fff;
	border-radius: 0 2px 2px 0;
	box-shadow: inset -55px 0 25px -20px transparent;
}

/* DROP DOWN WRAPPER */

.dropdown div{
	position: absolute;
	height: 0;
	left: -1px;
	right: -1px;
	top: 100%;
	margin-top: -1px;
	background: #fff;
	border: 1px solid #ccc;
	border-top: 1px solid #eee;
	border-radius: 0 0 3px 3px;
	/*overflow: hidden;*/
	opacity: 0;
}

/* Height is adjusted by JS on open */

.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;
	height: 50px;
	
	box-shadow: inset 0 -50px 30px -35px #fff;
}

.dropdown.scrollable.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;
    padding:0px;
    margin:0px;
    background-color:white;
}

.dropdown.scrollable.open ul{
	overflow-y: auto;
}

/* DROP DOWN LIST ITEMS */

.dropdown li{
	list-style: none;
	padding: 8px 12px;
}

/* .focus class is also added on hover */

.dropdown li.focus{
	background: var(--LabelBG);
	position: relative;
	z-index: 3;
	color: #fff;
}

.dropdown li.active{
	font-weight: 700;
}

/* --- EASYDROPDOWN DEFAULT THEME --- */

/* PREFIXED CSS */

.ddlYears,
.ddlYears div,
.ddlYears li,
.ddlYears 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;
}

.ddlYears .selected::after,
.ddlYears.scrollable div::after{
	-webkit-pointer-events: none;
	-moz-pointer-events: none;
	-ms-pointer-events: none;
	pointer-events: none;
}

/* WRAPPER */

.ddlYears{
	position: relative;
	width: 100%;
    height: 35px;
	border: 0px solid #ccc;
	cursor: pointer;
	background: url(images/ddlArrow.png) no-repeat right transparent;

	border-radius: 3px;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.ddlYears.open{
	z-index: 2;
}

.ddlYears:hover{
	box-shadow: 0 0 5px rgba(0,0,0,.15);
}

.ddlYears:focus{
	box-shadow: 0 0 5px rgba(51,102,248,.4);
}

/* CARAT */

.ddlYears .carat{
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -4px;
	border: 6px solid transparent;
	/*border-top: 8px solid #668AA7;*/
    border-top: 8px solid transparent;
}

.ddlYears.open .carat{
	margin-top: -10px;
	border-top: 6px solid transparent;
	/*border-bottom: 8px solid #668AA7;*/
    border-bottom: 8px solid transparent;
}

.ddlYears.disabled .carat{
    /*border-top-color: #999;*/
	border-top-color: transparent;
}

.ddlYears .carat:after{
	margin-top: -10px;
	right: -8px;
	/*border-top-color: #f8f8f8;*/
    border-top-color: transparent;
}

.ddlYears:hover .carat:after{
	border-top-color: #f4f4f4;
}

.ddlYears.focus .carat{
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -4px;
	border: 6px solid transparent;
    border-top: 8px solid transparent;
	/*border-top: 8px solid #668AA7;*/
}

.ddlYears.focus .carat:after{
	border-top-color: #0180d1;
}

/* OLD SELECT (HIDDEN) */

.ddlYears .old{
	position: absolute;
	left: 0;
	top: 0;
	height: 0;
	width: 0;
	overflow: hidden;
}

.ddlYears select{
	position: absolute;
	left: 0px;
	top: 0px;
}

.ddlYears.touch .old{
	width: 100%;
	height: 100%;
}

.ddlYears.touch select{
	width: 100%;
	height: 100%;
	opacity: 0;
}

/* SELECTED FEEDBACK ITEM */ 

.ddlYears li{
	display: block;
	font-size:.9em;
	line-height: 1;
	color: #000;
	padding: 12px 12px;
	overflow: hidden;
	white-space: nowrap;
}

.ddlYears .selected {
	display: inline-block;
	font-size:.9em;
	line-height: 1;
	/*color: #000;*/
	padding: 12px 12px;
	overflow: hidden;
	/*white-space: nowrap;*/
    margin-right:25px;
}

.ddlYears.disabled .selected{
	/*color: #999;*/
}

.ddlYears .selected::after{
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 25px;
	background: url(images/ddlArrow.png) no-repeat right #fff;
	border-radius: 0 2px 2px 0;
	box-shadow: inset -55px 0 25px -20px transparent;
}

/* DROP DOWN WRAPPER */

.ddlYears div{
	position: absolute;
	height: 0;
	left: -1px;
	right: -1px;
	top: 100%;
	margin-top: -1px;
	background: #fff;
	border: 1px solid #ccc;
	border-top: 1px solid #eee;
	border-radius: 0 0 3px 3px;
	/*overflow: hidden;*/
	opacity: 0;
}

/* Height is adjusted by JS on open */

.ddlYears.open div{
	opacity: 1;
	z-index: 2;
}

/* FADE OVERLAY FOR SCROLLING LISTS */

.ddlYears.scrollable div::after{
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 50px;
	
	box-shadow: inset 0 -50px 30px -35px #fff;
}

.ddlYears.scrollable.bottom div::after{
	opacity: 0;
}

/* DROP DOWN LIST */

.ddlYears ul{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	list-style: none;
	overflow: hidden;
    padding:0px;
    margin:0px;
    background-color:white;
}

.ddlYears.scrollable.open ul{
	overflow-y: auto;
}

/* DROP DOWN LIST ITEMS */

.ddlYears li{
	list-style: none;
	padding: 8px 12px;
}

/* .focus class is also added on hover */

.ddlYears li.focus{
	background: var(--LabelBG);
	position: relative;
	z-index: 3;
	color: #fff;
}

.ddlYears li.active{
	font-weight: 700;
}