.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;
}

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


.lsfw-sort .lsfw-sort__mobile {
    display: none;
}

.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: #e7e7e7;
    -webkit-animation: sortLoader 5s infinite;
    animation: sortLoader 5s infinite;
    border: none;
}

@keyframes sortLoader {
    0% {
        background-color: #e7e7e7;
    }
    50% {
        background-color: #f3f3f3;
    }
    100% {
        background-color: #e7e7e7;
    }
}

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

    .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: 1023px) {
    .lsfw-sort .lsfw-sort__link {
        font-size: 11px;
    }
}

@media screen and (max-width: 767px) {
    .lsfw-sort__hide-mobile {
        display: none;
        padding: 5px 10px 10px 10px;
        border: 1px solid #eeeeee;
        margin-top: 0;
        border-radius: 0 0 2px 2px;
        border-top: none;
    }

    .lsfw-sort .lsfw-sort__amount .hint {
        display: block !important;
        position: static;
        padding: 0;
        line-height: normal;
        box-shadow: none;
        font-size: 13px;
        margin-top: 5px;
        text-transform: uppercase;
    }

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

    .lsfw-sort .lsfw-sort__amount {
        border: none;
        background: transparent;
    }

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

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

    .lsfw-sort {
        padding: 0;
        display: block;
        border: none;
    }

    .lsfw-sort .lsfw-sort__mobile::before {
        content: "\f160";
        font-weight: bold;
        font-family: "Font Awesome 5 Free";
        margin-right: 10px;
    }

    .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 .lsfw-sort__mobile.active {
        border-radius: 2px 2px 0 0;
    }

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

    .lsfw-sort .lsfw-sort__mobile {
        display: block;
        background-color: transparent;
        border: 1px solid #eeeeee;
        width: 100%;
        color: #e27200;
        font-size: 13px;
        padding: 0 15px;
        line-height: 30px;
        border-radius: 2px;
        text-align: left;
        position: relative;
        font-family: 'apercu_pro', sans-serif;
    }
}