.lsfw-sort {
    padding: 10px 10px 10px 40px;
    border: 1px solid #f1ebd3;
    border-radius: 5px;
    font-family: 'apercu_pro', sans-serif;
    margin: 20px 0;
    text-transform: uppercase;
    font-size: 13px;
    position: relative;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.lsfw-sort-wrap .lsfw-sort .lsfw-sort__link {
    color: #c96e31;
    vertical-align: top;
}

.lsfw-sort-wrap .lsfw-sort .lsfw-sort__cell {
    margin-left: 30px;
}

.lsfw-sort-wrap .lsfw-sort .lsfw-sort__amount {
    left: auto;
    right: 10px;
    top: 0;
    line-height: 21px;
}

.lsfw-sort-wrap .lsfw-sort {
    margin: 0 0 0 auto;
    padding: 0 40px 0 0;
    border: none;
}

.lsfw-sort-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.lsfw-sort__hide-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lsfw-sort .lsfw-sort__mobile {
    display: none;
    text-transform: uppercase;
}

.lsfw-sort .lsfw-sort__link.active {
    font-weight: bold;
    color: #475669;
}

.lsfw-sort .lsfw-sort__amount.active::before {
    content: '\f161';
}

.lsfw-sort .lsfw-sort__amount .lsfw-sort__link:first-child::after, .lsfw-sort .lsfw-sort__cell .lsfw-sort__link:not(:last-child)::after {
    content: '/';
    margin: 0 5px;
}

.lsfw-sort .lsfw-sort__link {
    color: #318cc6;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.lsfw-sort.lsfw-sort--loader > * {
    visibility: hidden;
}

.lsfw-sort.lsfw-sort--loader {
    background: #eeeeee;
    -webkit-animation: sortLoader 5s infinite;
    animation: sortLoader 5s infinite;
    border: none;
}

@keyframes sortLoader {
    0% {
        background-color: #eeeeee;
    }
    50% {
        background-color: #f8f8f8;
    }
    100% {
        background-color: #eeeeee;
    }
}

@media screen and (min-width: 1025px) {
    .lsfw-sort-wrap .lsfw-sort .lsfw-sort__link:hover {
        color: #ff8e41;
    }
}

@media screen and (min-width: 767px) {
    .lsfw-sort .lsfw-sort__amount:hover .hint {
        display: block;
    }

    .lsfw-sort .lsfw-sort__cell.no-scrollbar {
        white-space: nowrap;
        overflow: auto;
    }

    .lsfw-sort .lsfw-sort__amount a {
        color: #475669;
        font-weight: normal !important;
    }

    .lsfw-sort .lsfw-sort__amount {
        border: none;
        background: transparent;
        font-size: 18px;
        display: block;
        position: absolute;
        left: 10px;
        top: 13px;
        color: #ff8e41;
    }
}

@media screen and (max-width: 1199px) {
    .lsfw-sort .lsfw-sort__link {
        font-size: 12px;
    }
}

@media screen and (max-width: 1023px) {
    .lsfw-sort .lsfw-sort__amount .lsfw-sort__link:first-child::after, .lsfw-sort .lsfw-sort__cell .lsfw-sort__link:not(:last-child)::after {
        margin: 0 0 0 2px;
    }
}

@media screen and (max-width: 767px) {
    .lsfw-sort .lsfw-sort__amount .hint {
        display: block !important;
        position: static;
        padding: 0;
        line-height: 30px !important;
        box-shadow: none;
        font-size: 13px;
        text-transform: uppercase;
    }

    .lsfw-sort .lsfw-sort__cell::-webkit-scrollbar {
        height: 0;
        width: 0;
    }

    .lsfw-sort__hide-mobile .lsfw-sort .lsfw-sort__cell {
        margin-top: 5px;
    }

    .lsfw-sort__hide-mobile {
        display: none;
    }

    .lsfw-sort .lsfw-sort__cell {
        padding: 0;
        border-right: 10px solid #ffffff;
        border-left: 10px solid #ffffff;
        background: #ffffff;
        border-radius: 5px;
        white-space: nowrap;
        overflow: auto;
    }

    .lsfw-sort .lsfw-sort__amount {
        border: none;
        background: #ffffff;
        width: 100%;
        padding: 0 10px;
        line-height: 30px;
        border-radius: 5px;
    }

    .lsfw-sort .lsfw-sort__amount::before {
        display: none;
    }

    .lsfw-sort__hide-mobile > * {
        margin-top: 5px;
    }

    .title-flex + .lsfw-sort {
        margin-top: 10px;
    }

    .lsfw-sort.lsfw-sort--brd-mobile {
        padding: 5px 10px 7px 10px;
        border-radius: 2px;
    }

    .lsfw-sort:not(.lsfw-sort--brd-mobile) {
        padding: 10px !important;
        display: block;
        border: none;
        background-color: #d0dce3;
        border-radius: 0;
        margin: 10px 0;
    }

    .lsfw-sort .lsfw-sort__mobile::before {
        content: "\f160";
        font-weight: bold;
        font-family: "Font Awesome 5 Free";
        margin-right: 10px;
        font-size: 13px;
        display: inline-block;
        vertical-align: top;
        line-height: 31px;
    }

    .lsfw-sort .lsfw-sort__mobile::after {
        content: '\f078';
        transition: 0.3s;
        font-weight: bold;
        font-family: "Font Awesome 5 Free";
        position: absolute;
        right: 15px;
        top: 0;
        font-size: 10px;
    }

    .lsfw-sort.active .lsfw-sort__mobile::after, .lsfw-sort .lsfw-sort__mobile.active::after {
        transform: rotate(180deg);
    }

    .lsfw-sort .lsfw-sort__mobile {
        display: block;
        background-color: #ffffff;
        width: 100%;
        color: #30698c;
        font-size: 11px;
        padding: 0 15px;
        line-height: 30px;
        height: 30px;
        border-radius: 5px;
        border: none;
        text-align: left;
        position: relative;
        font-weight: bold;
        font-family: 'apercu_pro', sans-serif;
    }

    .lsfw-sort .lsfw-sort__link {
        line-height: 30px;
        font-size: 10px;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort .lsfw-sort__link {
        line-height: normal;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort .lsfw-sort__mobile::after {
        display: none;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort .lsfw-sort__mobile::before {
        position: static;
        margin: 0;
        line-height: inherit;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort__hide-mobile .lsfw-sort__link {
        vertical-align: top;
        line-height: 25px !important;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort__hide-mobile .lsfw-sort__amount .hint {
        line-height: 25px !important;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort__hide-mobile > * {
        margin: 0;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort__hide-mobile .lsfw-sort__cell {
        margin: 0;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort__hide-mobile .lsfw-sort__amount {
        line-height: 25px;
        display: block;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort__hide-mobile {
        position: absolute;
        padding: 5px;
        box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.3);
        background: #ffffff;
        border-radius: 5px;
        z-index: 10;
        right: 0;
        top: 30px;
        max-width: 90vw;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort .lsfw-sort__mobile {
        width: 25px;
        background: #f9f6e5;
        height: 25px;
        text-align: center;
        line-height: 25px;
        color: #c96e31;
        padding: 0;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort__hide-mobile .lsfw-sort__link.active {
        color: #c96e31;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort__hide-mobile .lsfw-sort__link {
        color: #666666;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort .lsfw-sort__mobile.active {
        color: #ffffff;
        background: #c96e31;
    }

    .lsfw-sort-wrap.lsfw-sort-wrap--nowrap .lsfw-sort {
        padding: 0 !important;
        margin: 0 0 0 auto;
        background: transparent;
    }

    .lsfw-sort-wrap:not(.lsfw-sort-wrap--nowrap) {
        display: block;
        margin-bottom: 0;
    }

    .lsfw-sort.active .lsfw-sort__hide-mobile {
        display: block;
    }

    .lsfw-sort-wrap .lsfw-sort {
        margin: 15px 0 5px 0;
    }
}