.sorting.drop {
    min-width: 270px;
    padding-right: 0!important;
}
.sorting.drop .dropdown,
.sorting.drop .dropdown.show {
    display: block!important;
    text-align: right;
    width: 100%;
    min-width: 270px;
    cursor: pointer;
    transform: translateX(10px);
    z-index: 30;
}
.sorting_box .sorting-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: fit-content;
    color: #a9a9a9;
    border: 1px solid #c49c58;
    margin: 0 0 0 auto;
    height: 41px;
    border-radius: 5px;
    padding: 10px 20px;
}
.sorting.drop .dropdown-menu.show {
    display: flex!important;
    align-items: flex-end;
    justify-content: flex-end;
    flex-flow: column;
    width: 100%;
    left: unset!important;
    top: 45px!important;
    right: 0;
    max-width: 270px;
    transform: unset!important;
}
.sorting_box .sorting.drop .sorting_item {
    background-color: #fff;
    padding: 5px 10px;
    width: 100%;
    text-align: left;
}
.sorting_box .sorting.drop .sorting_item:active,
.sorting_box .sorting.drop .sorting_item.active {
    background-color:#fff;
}
.sorting_box .sorting .sorting_item a {
    display: block;
    -webkit-transition: .2s ease-out;
    transition: .2s ease-out;
    color: #a9a9a9;
    width: 100%;
    max-width: 100%;
    border: none;
    height: unset;
    padding: 0;
    margin: 0 0 0 auto;
    text-align: left;
}
.sorting_box .sorting.drop .sorting_item:active a,
.sorting_box .sorting.drop .sorting_item.active a {
    background-color:#fff;
}
.sorting_box .sorting.drop .sorting_item.active a {
    display: flex;
    align-items: center;
}
.sorting_box .sorting.drop .sorting_item .fa {
    margin-left: 10px;
}

@media all and (max-width: 999px) {
    .sorting.drop {
        min-width: 100%;
    }

}



.sort-line{
    min-height: 40px;
    line-height: 38px;
    color: #424242;
    font-size: 14px;
    margin: 20px 0 15px 0;
}
.sort-line:after {
    content: '';
    display: table;
    clear: both;
}
.sort-line .sort-col{
    float: left;
    height: 40px;
    font-weight: 600;
}
.sort-line .sort-col:first-child{
    padding: 0px 10px 0px 0px;
}
.sort-line .sort-col-right {
    float: right;
    width: 50px;
}
.sort-line .sort-btn{
    height: 38px;
    line-height: 38px;
    padding: 0px 10px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: #555555;
    position: relative;
    font-size: 0.928571em;
}
.sort-line .sort-btn span{

}
.sort-line .sort-btn:hover{
    text-decoration: underline;
}
.sort-line .sort-btn.active{
    background: #eeeeee;
    color: #555555;
    border-radius: 4px;
    padding-right: 30px;
}
.sort-line .sort-btn.active:hover{
    text-decoration: underline;
}
.sort-line .sort-btn.active[data-sorttype="asc"]:after{
    content: '';
    width: 30px;
    height: 38px;
    background: url('images/asc-black.png') no-repeat center;
    position: absolute;
    right: 0px;
    top: 0px;
}
.sort-line .sort-btn.active[data-sorttype="desc"]:after{
    content: '';
    width: 30px;
    height: 38px;
    background: url('images/desc-black.png') no-repeat center;
    position: absolute;
    right: 0px;
    top: 0px;
}
.sort-element-cnt{
    margin-right: 4px;
}
.view-mode-box{
    margin: 0px 15px 0px 0px;
}
.view-mode-box .view-mode-btn{
    display: inline-block;
    vertical-align: top;
    width: 38px;
    height: 38px;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
.view-mode-box .view-mode-btn.active{
    background-color: #eeeeee;
}
.view-mode-box .view-mode-btn.tile{
    background-image: url('images/tile-bg-black.png');
}
.view-mode-box .view-mode-btn.list{
    background-image: url('images/list-bg-black.png');
}

.sort-type {
    float: left;
}

.sort-limit {
    float: right;
}

@media (max-width: 600px) {
    .sorting.drop .dropdown, 
    .sorting.drop .dropdown.show {
        min-width: unset;
    }
    .sorting_box .sorting-title {
        max-width: 100%;
    }
}
@media (max-width: 481px) {

    .sort-limit, .sort-type {
        float: left;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .sort-limit .sbHolder{
        margin-left: 5px;
    }
}