/*======================================
  Selectric
======================================*/
.selectric-wrapper
{
    position: relative;

    cursor: pointer;
}
.selectric-disabled
{
    cursor: default;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    opacity: .5;

    filter: alpha(opacity=50);
}

.selectric-open
{
    z-index: 9999;
}

.selectric-open .selectric-items
{
    display: block;
}

.selectric-hide-select
{
    position: relative;

    overflow: hidden;

    width: 0;
    height: 0;
}

.selectric-hide-select select
{
    position: absolute;
    left: -100%;
}

.selectric-hide-select.selectric-is-native
{
    position: absolute;
    z-index: 10;

    width: 100%;
    height: 100%;
}

.selectric-hide-select.selectric-is-native select
{
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;

    box-sizing: border-box;
    width: 100%;
    height: 100%;

    opacity: 0;
    border: none;
}

.selectric-input
{
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;

    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;

    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    outline: none !important;
    background: none !important;

    _font: 0/0 a;
}

.selectric-temp-show
{
    position: absolute !important;

    display: block !important;
    visibility: hidden !important;
}


.selectric-open .selectric
{
    z-index: 9999;

    border-color: #ccc;
    background: #fff;
}

.selectric
{
    border: 1px solid silver;
    border-radius: 4px;
    background: url(../images/input-select.png) repeat-x bottom;
    background-color: #fff;
}

.selectric .label
{
    font-size: 15px;
    line-height: 18px;

    display: block;
    overflow: hidden;

    min-height: 18px;
    margin: 0 30px 0 0;
    padding: 9px 7px;

    white-space: nowrap;
    text-overflow: ellipsis;

    color: #444;
}

.selectric .button
{
    position: absolute;
    top: 9px;
    right: 0;

    display: block;

    width: 30px;
    height: 30px;

    text-align: center;

    color: #bbb;
}

.selectric-focus .selectric
{
    border-color: #aaa;
}

.selectric-hover .selectric
{
    border-color: #ccc;
}

.selectric-hover .selectric .button
{
    color: #888;
}

.selectric-hover .selectric .button:after
{
    border-top-color: #888;
}

/* Items box */
.selectric-items
{
    position: absolute;
    z-index: -1;
    top: 100%;
    left: 0;

    display: none;

    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 0 10px -6px;
}

.selectric-items .selectric-scroll
{
    overflow: auto;

    height: 100%;
}

.selectric-above .selectric-items
{
    top: auto;
    bottom: 100%;
}

.selectric-items ul,
.selectric-items li
{
    font-size: 15px;
    line-height: 20px;

    min-height: 20px;
    margin: 0;
    padding: 0;

    list-style: none;
}

.selectric-items li
{
    display: block;

    padding: 8px;

    cursor: pointer;

    color: #666;
}

.selectric-items li.selected
{
    color: #fff;
    background: red;
}

.selectric-items li.highlighted
{
    color: #fff;
    background: red;
}

.selectric-items li:hover
{
    color: #fff;
    background: red;
}

.selectric-items .disabled
{
    cursor: default !important;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    opacity: .5;
    color: #666 !important;
    background: none !important;

    filter: alpha(opacity=50);
}

.selectric-items .selectric-group .selectric-group-label
{
    font-weight: bold;

    padding-left: 10px;

    cursor: default;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    color: #444;
    background: none;
}

.selectric-items .selectric-group.disabled li
{
    opacity: 1;

    filter: alpha(opacity=100);
}

.selectric-items .selectric-group li
{
    padding-left: 25px;
}
