/* Dropdown control */
.selectBox-dropdown 
{
    height:56px;
    line-height:56px;
    min-width: 99%;
    position: relative;
    border: solid 2px #d8d8d8;
    text-decoration: none;
    text-align: left;
    outline: none;
    vertical-align: middle;
    background: #ffffff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    display: inline-block;
    cursor: default;
    
    -webkit-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
	-moz-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
	-o-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
	transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.selectBox-dropdown:focus {
    border-color: #a0a0a0;
    
    -webkit-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
	-moz-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
	-o-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
	transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.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 {
    padding: 0 0 0 10px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    color: #3b3b3b;
    font-size:16px;
    font-weight:bold;
}

.selectBox-dropdown .selectBox-arrow {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 96px;
    height: 60px;
    background: #9835E0 url(../images/dash-dropdown-arrow.png) 50% center no-repeat;
    border:none;
    
    -moz-border-radius-topright: 2px;
    -moz-border-radius-bottomright: 2px;
    -webkit-border-top-right-radius: 2px;
    -webkit-border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    
    -webkit-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
	-moz-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
	-o-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
	transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

    .selectBox-dropdown:focus .selectBox-arrow, .selectBox-dropdown:hover .selectBox-arrow {
        background: #ed202c url(../images/dash-dropdown-arrow.png) 50% center no-repeat;
        -webkit-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
        -moz-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
        -o-transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
        transition: color .15s linear, background-color .15s ease-in-out, border-color .15s ease-in-out;
    }

/* Dropdown menu */
.selectBox-dropdown-menu {
    position: absolute;
    z-index: 99999;
    max-height: 200px;
    min-height: 1em;
    border: solid 2px #3b3b3b; /* should be the same border width as .selectBox-dropdown */
    background: #3b3b3b;
    color:#ffffff;
    font-weight:bold;
    font-size:14px;
    -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;
    -webkit-overflow-scrolling: touch;
}

/* Inline control */
.selectBox-inline 
{
    min-width: 750px;
    outline: none;
    border: solid 1px #BBB;
    background: #000000;
    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;
}

.selectBox-options LI A {
    line-height: 2.5;
    padding: 5px 20px 5px 20px;
    white-space: nowrap;
    overflow: hidden;
    background: 6px center no-repeat;
}

.selectBox-options LI.selectBox-hover A {
    background-color: #9835E0;
    color:#ffffff;
}

.selectBox-options LI.selectBox-disabled A {
    color: #888;
    background-color: transparent;
}

.selectBox-options LI.selectBox-selected A {
    background-color: #9835E0;
    color:#ffffff;
}

.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;
}