.custom_select
{
    display: inline-block;
    font-size: 0.9rem;
    color: #666666; 
    height: 35px;
    z-index: 2;
    position: relative; 
    overflow: visible;
}
.custom_select:hover {    
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 0.3);
    box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 0.3);
}
.custom_select:hover::after {
  background-color: #cc0000;
  color: #FFFFFF;
}
.custom_select .val {
    padding: 5px 45px 7px 15px;
    height: 35px;
    border: 1px solid #CCCCCC;
    background: none;
    box-shadow: none;
    vertical-align: top;
    width: 100%;
    display: inline-block;
    position: relative;
    border-radius: 2px;
    line-height: 22px;
    
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    overflow: hidden;
}
.custom_select .val::after {
    content: "\f107";
    font-family: "FontAwesome";
    padding: 0 10px;
    font-size: 16px;
    position: absolute;
    right: -1px;
    top: 0;
    z-index: 1;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
    background-color: #ececec;
    color: #000000; 
    line-height: 32px;
    height: 100%;
    
    -webkit-transition: -webkit-transform .2s ease-in-out;
    -ms-transition: -ms-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
}
.custom_select.dropped .val::after {
     -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.custom_select .drop {
    display: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    background: #FFFFFF;
}
.custom_select .drop li {
    list-style: none;
    cursor: pointer;
    display: block;
 
}
.custom_select .drop li a {display: block; width: 100%;height: 100%; line-height: 30px; padding: 0px 14px; text-decoration: none;}
.custom_select .drop li.active {background-color: #ECECEC;}
.custom_select .drop li:hover {background-color: #e8fff2;}
.custom_select .fa {font-size: 20px; margin-right: 5px; position: relative;}
.custom_select .fa-sort-desc {top: -2px;}
.custom_select .fa-sort-asc {top: 7px;}
