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

/* always visible styles */
.selectbox {
}

.selectbox .display {
	background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #CCCCCC;
    border-radius: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: block;
    font-size: 13px;
    height: 32px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
    overflow: hidden;
}
.selectbox .display .text {
	font-size: 13px;
	height: 1em;
	line-height: 1em;
	white-space:nowrap;
}

.selectbox .display .text .description {
	display: none;
}

.selectbox.disabled .display {
	color:#999;
}

.selectbox.focused .display .text {
	background-color:#3399ff;
	color:#fcfcfc;
	display:inline-block;
	*display:inline;
	zoom:1;
}

.selectbox .display.active{
	border-color:#7b7d83;
}

.selectbox .display .arrow_btn {
    background:#dbdbdb url(../../images/select_arrow_bg.gif) repeat-x center center;
    background-size: 9px 5px;
    border:1px solid #707070;
    display:block;
    height:1.15em;
    line-height:.92em;
    padding:1px;
    position:absolute;
    right: 7px;
    text-align:center;
    top:.5em;
    width:1.08em;
}
.selectbox .display .arrow_btn .arrow {
    background:transparent url(../../images/select_arrow.gif) no-repeat center center;
    background-size: 9px 5px;
    display: block;
    height: 4px;
    top: .5em;
    left: .33em;
    position: absolute;
    width: 7px;
}
.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:#fff;
  border:1px solid #828790;
  display:block;
  font-family:arial;
  font-size: 13px;
  font-weight: bold;
  list-style-type:none;
  margin:0;
  overflow-x:hidden;
  overflow-y:auto;
  padding:0 5px 1px 0;
  z-index:99999;
  -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;}
.selectbox.items li.first{margin-top:0;}
.selectbox.items li>.item{color:#000;cursor:default;display:block;padding:1px 6px 2px 6px;text-decoration:none;}
.selectbox.items li>.item>.text{display:inline-block;*display:inline;zoom:1;padding: 0;margin:0;}
.selectbox.items li>.item>.text>.description{font-style:italic;font-weight: normal; color: #555;}
.selectbox.items li.selected>.item{background: #ffc;}
.selectbox.items li.disabled>.item{color:#999;}
.selectbox.items li.hover>.item{background-color:#3399ff;color:#fcfcfc;}
.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{display: block;cursor:default;font-weight:normal; font-style:italic;line-height:1em;color: #444; border-bottom: 1px dotted #aaa; padding-bottom: 3px;}
.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;}

.selectbox .selected:before,
.selectbox .selected:after {
	display: none !important;
	border: none !important;
}