/* Dropdown control */
.selectBox-dropdown {
        min-width: 100%;
    position: relative;
    border: 1px solid #F6F6F6;
    text-decoration: none;
    text-align: left;
    color: #333;
    outline: none;
    vertical-align: middle;
    border-radius: 6px;
    display: inline-block;
    cursor: default;
    padding: 11px 10px 12px 18px;
    padding-right: 30px;
    font-size: 16px;
    font-family: arial;
    background: #f6f6f6;
	height: 50px;
}
.mandy-notfilled .selectBox-dropdown {
    border-color: #EB5441;
}
.mandy-filled .selectBox-dropdown.selectBox-menuShowing {
    border-color: #61CDFD;
}
.mandy-notfilled .selectBox-dropdown .selectBox-label{
	color: #EB5441;
}
.mandy-filled .selectBox-dropdown {
    background: #fff;
}
/* .selectBox-dropdown:focus {
    border-color: #61CDFD;
} */

.selectBox-dropdown.selectBox-menuShowing-bottom {
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-bottomright: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.selectBox-dropdown.selectBox-menuShowing-top {
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.selectBox-dropdown .selectBox-label {
    padding: 0;
/*     display: inline-block; */
	font-size: 16px;
    font-family: arial;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.selectBox-dropdown .selectBox-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: transparent url('/views/citigold/images/icons/carat_gold.png') calc(100% - 12px) center no-repeat;
    border-left: 0;
    /*background-size: 17px auto;*/
	transform: rotate(0);
	transition: transform 0.25s ease;
}
/* .selectBox-menuShowing.selectBox-dropdown .selectBox-arrow {
	transform: rotate(180deg);
} */
.selectBox-menuShowing {
	border:1px solid #B4975A;
	box-shadow: none;
}

/* Dropdown menu */
.selectBox-dropdown-menu {
    position: absolute;    
    z-index: 1301 ;
    max-height: 200px;
    min-height: 1em;
   /*  border: solid 1px #1e90ff; */
   border: 1px solid #d6d6d6;
    background: #fff;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.selectBox-dropdown-menu li:first-child{
	display: none !important;
}
/* Inline control */
.selectBox-inline {
    min-width: 150px;
    outline: none;
    border: solid 1px #BBB;
    background: #FFF;
    display: inline-block;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    overflow: auto;
}

.selectBox-inline:focus {
    border-color: #666;
}

/* Options */
.selectBox-options,
.selectBox-options LI,
.selectBox-options LI A {
    list-style: none;
    display: block;
    cursor: default;
    padding: 0;
    margin: 0;
	width: 100%;
}


.selectBox-options.selectBox-options-top{
    border-bottom:none;
	margin-top:1px;
	-moz-border-radius-topleft: 2px;
    -moz-border-radius-topright: 2px;
    -webkit-border-top-left-radius: 2px;
    -webkit-border-top-right-radius: 2px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}
.selectBox-options.selectBox-options-bottom{
/* 	border-top:none; */
    -moz-border-radius-bottomleft: 2px;
    -moz-border-radius-bottomright: 2px;
    -webkit-border-bottom-left-radius: 2px;
    -webkit-border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

.selectBox-options LI A {
    white-space: normal;
    overflow: hidden;
	padding: 12px 15px;
    color: #282828;
	font-size: 16px;
    font-family: arial;
	font-weight: 300;
	background: #fff;
	line-height: 19px;
	display: block;
	vertical-align: middle;
	font-family: interstate-light, arial;
}
.selectBox-options li:not(:first-child) a {
    border-top: 1px solid #ccc;
}
.selectBox-options LI.selectBox-disabled A {
    color: #888;
    background-color: transparent;
}

.selectBox-options LI.selectBox-selected A,.selectBox-options LI.selectBox-hover A {
    background-color: #B4975A;
    color: #fff;
}

.selectBox-options .selectBox-optgroup {
    color: #282828;
    background: #EEEEEE;
    /* font-weight: 600; */
    padding: 10px 18px;
    white-space: nowrap;
    font-family: 'Microsoft JhengHei', sans-serif;
	/*font-family: interstate-light, arial;*/
    font-size: 16px;
	line-height: 19px;
	box-shadow: inset 0 0 10px rgba(0,0,0,0.15);
}
.selectBox-options .selectBox-optgroup ~ li a {
    /* padding-left: 20px; */

}
.selectBox-options .selectBox-optgroup + li a{
	border-top: 0;
}

/* Disabled state */
.selectBox.selectBox-disabled {
    color: #888 !important;
}

.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
    opacity: .5;
    filter: alpha(opacity=50);
    border-color: #666;
}

.selectBox-inline.selectBox-disabled {
    color: #888 !important;
}

.selectBox-inline.selectBox-disabled .selectBox-options A {
    background-color: transparent !important;
}

@media (min-width: 768px){
	.selectBox-dropdown {
		width: 100%!important;
	}
}
@media (max-width: 767px){
	.selectBox-dropdown-menu {
		position: fixed;
		max-height: initial;
		height: calc(100vh - 145px);
		top: 104px !important;
		left: 0 !important;
		bottom: 0;
		margin: 0 20px;
		width: calc(100% - 40px) !important;
		z-index: 999;
	}
	.selectBox-dropdown-menu li:first-child {
		display: block !important;
	}
	.selectBox-options LI A {
		white-space: normal;
	}
	.selectBox-dropdown .selectBox-label {
		display: block;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		width: 100% !important;
	}
	.selectBox-dropdown-menu .close_select {
		position: fixed;
		right: 25px;
		top: 65px;
		width: 30px;
		height: 30px;
		background: url("/views/citigold/images/close_icon.png") no-repeat center;		
		background-size: 17px;
		display: inline-block;
		z-index: 9;
	}
	.selectBox-dropdown{
		padding: 14px 30px 14px 18px;
	}
	.selectBox-dropdown-menu .mCSB_scrollTools {
		top: 0;
	}
	.selectBox-options li {    
		display: table;	
		padding: 0 18px;
	}
}
