/* applied to original <select> to hide */
.has_sb{position:absolute;left:-999999em;text-indent:-999999em;}

/* always visible styles */
.selectbox{/*display:inline-block;*display:inline;font-family:arial;font-size:1em;margin:1px;position:relative;vertical-align:middle;zoom:1;*/}
.selectbox .display{
	background:#fff;
	color:#000;
	cursor:default;
	display:block;
	font-weight:normal;
	line-height:30px;
	overflow:hidden;
	outline:none;
	padding:0 24px 0 3px;
	position:relative;
	text-decoration:none;
	overflow:hidden;
	height: 30px;
  
	background-color: #ffffff;
	*background-color: #dbdbdb;
	background-image: -ms-linear-gradient(top, #ffffff, #dbdbdb);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#dbdbdb));
	background-image: -webkit-linear-gradient(top, #ffffff, #dbdbdb);
	background-image: -o-linear-gradient(top, #ffffff, #dbdbdb);
	background-image: -moz-linear-gradient(top, #ffffff, #dbdbdb);
	background-image: linear-gradient(top, #ffffff, #dbdbdb);
	background-repeat: repeat-x;
	border: none;
  -webkit-box-shadow: 0 1px 2px #676767;
     -moz-box-shadow: 0 1px 2px #676767;
          box-shadow: 0 1px 2px #676767;
  -webkit-border-radius: 18px;
     -moz-border-radius: 18px;
          border-radius: 18px;
}
.selectbox .display .text {
	color: #888787;
	text-shadow: 0 1px 1px #fff;
	line-height: 30px;
	margin-left: 5px;
	padding: 1px 5px 0;
}
.selectbox.disabled .display{color:#999;}
.selectbox.focused .display .text{/*background-color:#0095ab;color:#fcfcfc;*/display:inline-block;*display:inline;zoom:1;}
.selectbox .display.active{
	border-color:#7b7d83;
  -webkit-border-radius: 18px 18px 0 0;
     -moz-border-radius: 18px 18px 0 0;
          border-radius: 18px 18px 0 0;
}
.selectbox .display .arrow_btn{
    display:block;
    height:30px;
    position:absolute;
    right:0;
    text-align:center;
    top:0;
    width:30px;
}
.selectbox .display .arrow_btn .arrow{
    background:transparent url(../img/arrow-down.png) no-repeat center center;
    display:inline-block;*display:inline;
    height:8px;
    left:10px;
    position:absolute;
    top:13px;
    width:7px;
    zoom:1;
}
.selectbox .display.active .arrow_btn{
    /*-moz-box-shadow:inset 0 0 1px 1px #9eb0ba;
    -webkit-box-shadow:inset 0 0 1px 1px #9eb0ba;*/
}
.selectbox .display.hover .arrow_btn{/*background-image:url(images/select_arrow_bg_hover.gif);*/}
.selectbox .value{display:none;}

/* dropdown styles */
.selectbox.items{
	background:#dbdbdb;
	/*border:1px solid #828790;
	border-top: none;*/
	border:none;
	display:block;
	font-family:arial;
	font-size:1em;
	list-style-type:none;
	margin:0;
	overflow-x:hidden;
	overflow-y:auto;
	padding:0 6px 1px 6px;
	z-index:99999;
	width: 155px;
	color: #787878;
	text-shadow: 0 1px 1px #fff;
	-moz-box-shadow:0 3px 5px rgba(0,0,0,.5);
	-webkit-box-shadow:0 3px 5px rgba(0,0,0,.5);
}
.selectbox.items.above{}
.selectbox.items li{display:block;margin:0;padding:0;/*white-space:nowrap; maybe necessary if using fixedWidth: false */}
.selectbox.items li.first{margin-top:0;}
.selectbox.items li>.item{color:#787878;cursor:default;display:block;padding:4px 6px;text-decoration:none;}
.selectbox.items li>.item>.text{display:inline-block;*display:inline;zoom:1;}
.selectbox.items li.selected>.item{border-bottom:1px dotted #999;border-top:1px dotted #999;}
.selectbox.items li.disabled>.item{color:#999;}
.selectbox.items li.hover>.item{background-color:#0095ab;color:#fcfcfc;text-shadow: none;}
.selectbox.items .value{display:none;}

/* optgroup styles */
.selectbox.items .optgroup .items{
  border:none;
  margin:0;
  padding:0;
  -moz-box-shadow:none;
  -webkit-box-shadow:none;
}
.selectbox.items .optgroup>.label{cursor:default;font-weight:bold;line-height:1em;}
.selectbox.items .optgroup .items li>.item{padding-left:1em;}

/* easy rounding styles */
.selectbox .round_sb.display{
  padding:2px 26px 2px 5px;
  border-radius:5px;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
}
.selectbox .round_sb.display .arrow_btn{
  right:2px;
  top:2px;
  border-radius:3px;
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
}
.selectbox.round_sb.items{
  border-radius:5px;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
}
.selectbox.round_sb.items>li>a{padding:4px 6px;}
.selectbox.round_sb.items>li.first>.item{
  -moz-border-radius-topleft:5px;
  -moz-border-radius-topright:5px;
  -webkit-border-top-left-radius:5px;
  -webkit-border-top-right-radius:5px;
}
.selectbox.round_sb.items>li.last>.item{
  -moz-border-radius-bottomleft:5px;
  -moz-border-radius-bottomright:5px;
  -webkit-border-bottom-left-radius:5px;
  -webkit-border-bottom-right-radius:5px;
}
/* for optgroups */
.selectbox.round_sb.items>li>.label{line-height:2.08em;padding:4px 6px;}
.selectbox.round_sb.items>li>.items li>.item{padding:4px 6px 4px 12px;}

/* fixed width example styles */
.selectbox .display.fixed_width{
  width:73px;
  padding:0 24px 0 3px;
}

.selectbox.fixed_width.items{
  width:100px; /* width of display text plus the padding (60 + 27) = 87 */
}

.selectbox .display.fixed_width2{
  width:60px;
  padding:0 24px 0 3px;
}

.selectbox.fixed_width2.items{
  width:300px; /* width of display text plus the padding (60 + 27) = 87 */
}
