/* Dropdown control */
.selectBox-dropdown {
    width: 434px; /* width = (desired width) - padding-right */
    padding-right: 40px;
    position: relative;
    border: solid 1px #BBB;
    line-height: 1.5;
    text-decoration: none;
    color: #000;
    outline: none;
    vertical-align: middle;
    background: none repeat scroll 0 0 #FFFFFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
    min-width: 150px;
    max-width: 444px;
}

    .selectBox-dropdown.selectBox-menuShowing {
        -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-label {
        width: 99%;
        padding-left: 2px;
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        font-family: Arial, Tahoma, Verdana, sans-serif;
        min-width: 127px;
        max-width: 451px;
    }

    .selectBox-dropdown .selectBox-arrow {
        position: absolute;
        top: 0;
        right: 0;
        width: 20px;
        height: 19px;
        padding-top: 0px;
        background: url(images/selecticon.png) 50% no-repeat;
        background-position: 0px 2px; /*center center;*/
        border-left: solid 1px #BBB;
    }


/* Dropdown menu */
.selectBox-dropdown-menu {
    position: absolute;
    z-index: 99999;
    max-height: 200px;
    border: solid 1px #BBB; /* should be the same border width as .selectBox-dropdown */
    background: #FFF;
    overflow: auto;
}


/* Inline control */
.selectBox-inline {
    width: 100%;
    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;
    color: #000;
    font-family: Arial,Tahoma,Verdana,sans-serif;
    font-size: 12px;
}

    .selectBox-options LI A {
        line-height: 1.5;
        padding-left: 2px;       
        white-space: pre-wrap;
        height: auto;
        overflow: hidden;
        background: 6px center no-repeat;
    }

    .selectBox-options LI.selectBox-hover A {
        background-color: #fcfcc4;
    }

    .selectBox-options LI.selectBox-disabled A {
        color: #888;
        background-color: transparent;
    }

    .selectBox-options LI.selectBox-selected A {
        background-color: #C8DEF4;
        font-weight: bold;
    }

    .selectBox-options .selectBox-optgroup {
        color: #666;
        background: #EEE;
        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 {
    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;
    }
