/* Selectmenu - http://jqueryui.com/selectmenu/
   ========================================================================== */

.ui-selectmenu-menu {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.ui-selectmenu-menu .ui-menu {
    overflow: auto;
    padding-bottom: 1px;
}

.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
    font-size: 1em;
    font-weight: bold;
    line-height: 1.5;
    padding: 2px 0.4em;
    margin: 0.5em 0 0 0;
    height: auto;
    border: 0;
}

.ui-selectmenu-open {
    display: block;
}

.ui-selectmenu-button {
    display: inline-block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.ui-selectmenu-button span.ui-icon {
    right: 0.5em;
    left: auto;
    margin-top: -8px;
    position: absolute;
    top: 50%;
}

.ui-selectmenu-button span.ui-selectmenu-text {
    text-align: left;
    padding: 0.4em 2.1em 0.4em 1em;
    display: block;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Selectmenu - http://jqueryui.com/selectmenu/
   ========================================================================== */

.ui-selectmenu-menu {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    display: none;
}

.ui-selectmenu-menu .ui-menu {
    padding-bottom: 1px;
    overflow: auto;
}

.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
    margin: 0.5em 0 0 0;
    padding: 2px 0.4em;
    border: 0;
    height: auto;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.5;
}

.ui-selectmenu-open {
    display: block;
}

.ui-selectmenu-button {
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.ui-selectmenu-button span.ui-icon {
    position: absolute;
    top: 50%;
    right: 0.5em;
    left: auto;
    margin-top: -8px;
}

.ui-selectmenu-button span.ui-selectmenu-text {
    display: block;
    text-align: left;
    padding: 0.4em 2.1em 0.4em 1em;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

Use my order of CSS rules
Use my order of CSS rules
