/* Dropdown control */

.selectBox-dropdown {
    border: solid 1px #a0a0a0;
    color: #333;
    cursor: default;
    display: inline-block;
    font-size: 13px;
    height: 29px;
    line-height: 1.5;
    min-width: 150px;
    outline: none;
    position: relative;
    text-align: left;
    text-decoration: none;
    vertical-align: middle;
}

.selectBox-required { border: solid 1px #d00000; }

.selectBox-dropdown:focus,
.selectBox-dropdown:focus .selectBox-arrow { /*border-color: #666;*/ }

.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 {
    display: inline-block;
    overflow: hidden;
    padding: 5px 8px;
    white-space: nowrap;
}

.selectBox-dropdown .selectBox-arrow {
    background: url(../images/jquery.selectBox-arrow.png) 50% center no-repeat;
    border-left: solid 1px #a0a0a0;
    height: 94%;
    position: absolute;
    right: 0;
    top: 1px;
    width: 23px;
}

/* Dropdown menu */

.selectBox-dropdown-menu {
    -webkit-overflow-scrolling: touch;
    background: #FFF;
    background-color: #f0f1f1;
    border: solid 1px #a0a0a0; /* should be the same border width as .selectBox-dropdown */
    color: #7b7c7c;
    max-height: 200px;
    min-height: 1em;
    /* -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);*/
    overflow: auto;
    position: absolute;
    z-index: 99999;
}

/* Inline control */

.selectBox-inline {
    background: #FFF;
    border: solid 1px #a0a0a0;
    display: inline-block;
    min-width: 150px;
    outline: none;
    /*-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 {
    cursor: default;
    display: block;
    list-style: none;
    margin: 0px 0px;
    padding: 0;
}

.selectBox-options.selectBox-options-top {
    border-bottom: none;
    margin-top: 1px;
    /*-moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;*/
}

.selectBox-options.selectBox-options-bottom { border-top: none;
    /*-moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;*/ }

.selectBox-options LI A {
    background: 6px center no-repeat;
    color: #333;
    font-family: segoe_uiregular;
    font-size: 13px;
    line-height: 1.5;
    overflow: hidden;
    padding: 0 .5em;
    white-space: nowrap;
}

.selectBox-options LI.selectBox-hover A {
    background-color: #003259;
    color: #fff;
    font-family: segoe_uiregular;
}

.selectBox-options LI.selectBox-disabled A {
    background-color: transparent;
    color: #f0f1f1;
}

.selectBox-options LI.selectBox-selected A { /*background-color: #003259;*/ }

.selectBox-options .selectBox-optgroup {
    background: #EEE;
    color: #666;
    font-weight: bold;
    line-height: 1.5;
    padding: 0 .3em;
    white-space: nowrap;
}

/* Disabled state */

.selectBox.selectBox-disabled { color: #888 !important; }

.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
    border-color: #666;
    filter: alpha(opacity=50);
    opacity: .5;
}

.selectBox-inline.selectBox-disabled { color: #888 !important; }

.selectBox-inline.selectBox-disabled .selectBox-options A { background-color: transparent !important; }