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

.selectric-responsive {
    width: 100%;
}

.selectric {
    border: none;
    background: none;
    position: inherit;
    border-radius: 4px;
    width: 100%;
}

.selectric .label {
    /*display: block;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 23px 0 4px;
    line-height: 20px;
    color: #444444;
    height: 20px;
}

.selectric .button {
    background: transparent;
    border: none;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 22px;
    height: 22px;
    color: #444444;
    text-align: center;
    font: 0/0 a;
    *font: 22px/22px Lucida Sans Unicode, Arial Unicode MS, Arial;
}

.selectric .button:after {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: #777;
    border-bottom: none;
}

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

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

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

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

.selectric-open .selectric {
    background: #fff;
}

.selectric-open .selectric-items {
    display: block;
    /*margin: 0 -7px 0 -7px;*/
}

.selectric-disabled {
    filter: alpha(opacity=50);
    opacity: 0.3;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric-hide-select {
    position: relative;
    overflow: hidden;
    width: 0;
    height: 0;
}

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

.selectric-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 1px !important;
    height: 1px !important;
    outline: none !important;
    border: none !important;
    *font: 0/0 a !important;
    background: none !important;
}

.selectric-temp-show {
    position: absolute !important;
    visibility: hidden !important;
    display: block !important;
}

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

.selectric-items .selectric-scroll {
    height: 100%;
    overflow: auto;
    border: 1px solid #c0c0c0;
    border-radius: 5px;
    box-shadow: none;
}

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

div.selectric-items {
    background: rgba(0,0,0,0);
    border: none;
    width: 100%
}

.selectric-items ul, .selectric-items li {
    list-style: none;
    padding: 0;
    margin: 0;
    /*font-size: 12px;*/
    /*line-height: 20px;*/
    /*min-height: 20px;*/
    background: #F8F8F8;
    border: none;
}

.selectric-items li {
    display: block;
    padding: 2px 5px;
    margin: 0;
    border: none;
    color: #000;
    background: #fff;
    cursor: pointer;
}

.selectric-items li:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.selectric-items li:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.selectric-items li.selected, .selectric-items li.hover {
    background: #3ba9da;
    color: #fff;
}

/*.selectric-items li:hover {*/
    /*background: rgba(59, 169, 218, 0.75);*/
    /*color: #fff;*/
/*}*/

/*.selectric-items li:hover {*/
    /*background: #3ba9da;*/
    /*color: #fff;*/
/*}*/

.selectric-items .disabled {
    /*filter: alpha(opacity=50);*/
    /*opacity: 0.5;*/
    cursor: default !important;
    background: none !important;
    color: #ccc !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.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;
    background: none;
    color: #444;
}

.selectric-items .selectric-group.disabled li {
    filter: alpha(opacity=100);
    opacity: 1;
}

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