/* icon */

.sb .arrow,
.cb,
.rb {
    background-image: url(icon.png);
}


/* select box */

.sb {
    display: inline-block;
    *display: inline;
    zoom: 1;
    vertical-align: middle;
    border: solid 1px #ddd;
    cursor: pointer;
    background-color: #ffffff;
    position: relative;
    /*
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    */
}

.sb_active {
    border: solid 1px #ddd;
    z-index: 6000;
    box-shadow: 0px 2px 4px 1px rgba(189,189,189,.4);
    /*
    border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    */
}

.sb * {
    cursor: pointer;
}

.sb .opts {
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0px 2px 4px 1px rgba(189,189,189,.4);
    cursor: pointer;
    display: none;
    height: auto;
    left: 0;
    max-height: 121px;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 0;
    width: auto;
    text-align: left;
    z-index: 999;
}

.sb>.selected {
    /*padding: 0 15px 0 8px;*/
    /*overflow: hidden;*/
    /*position: absolute;*/
    /*cursor: pointer;*/
    /*left: 0;*/
    cursor: pointer;
    left: 0;
    margin: 0 20px 0 8px;
    text-align: left;
    /*word-break:keep-all;*/
    /*white-space:nowrap;*/
    overflow: hidden;
    border-right: 1px solid #f2f2f2;
    background-color: #fff;
    /*text-overflow:ellipsis;*/
    /*
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    */
}

.sb.disabled,
.sb.disabled>.selected {
    background-color: #eee;
}

.sb .opts a {
    width: auto;
    height: 24px;
    line-height: 24px;
    padding: 0 8px;
    cursor: default;
    outline: none;
    text-decoration: none;
    display: block;
    cursor: pointer;
    white-space: nowrap;
    color: #555;
    z-index: 9999;
}

.sb .opts a.ellipsis {
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb .opts a.selected {
    background: #ffffe1;
}

.sb .opts a.none {
    background: #fff;
}

.sb .opts a:hover {
    background: #ffffe1;
    cursor: pointer;
}

.sb .sb_input {
    height: 1px;
    border: 0 none;
    position: absolute;
    top: -1px;
    /*right: 30px;*/
    right: -1px;
    width: 1px;
    visibility: hidden;
}

.sb .sb_icon {
    width: 7px;
    height: 4px;
    position: absolute;
    cursor: pointer;
    right: 6px;
}

.sb .arrow {
    background-position: -27px -18px;
}

.sb_active .arrow {
    background-position: -27px -4px;
}

.sb .none{
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
    background-color: #ffffe1;
}

.sb .sb_search {
    display: none;
    z-index: 1000;
    position: absolute;
    width: 100%;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    left: -1px;
    background-color: #fff;
    position: relative;
}

.sb .sb_search .icon{
    background-image: url(search.png);
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 7%;
    width: 12px;
    height: 12px;
    z-index: 1;
    background-color: #fff;
}

.sb_active .sb_search {
    display: flex;
}

.sb .sb_search input {
    width: 83%;
    padding-right: 10%;
    border: 1px solid #95C76A;
    height: 24px;
    line-height: 24px;
}


/* checkbox box */

.cb {
    width: 13px;
    height: 13px;
    display: inline-block;
    *display: inline;
    zoom: 1;
    background-position: 0 0;
    cursor: pointer;
    vertical-align: middle;
}

.cb_active {
    background-position: 0 -13px;
}


/* radio box */

.rb {
    width: 13px;
    height: 13px;
    margin: 0 auto;
    padding: 0;
    display: inline-block;
    *display: inline;
    zoom: 1;
    vertical-align: middle;
    background-position: -13px 0;
    cursor: pointer;
}

.rb_active {
    background-position: -13px -13px;
}

.disabled,
.disabled>.selected {
    cursor: auto;
}