.text-xs-left { text-align: left; }
.text-xs-right { text-align: right; }
.text-xs-center { text-align: center; }
.text-xs-justify { text-align: justify; }

a:focus, a:active, a:visited, a:link {
	text-decoration:none;
}

@media (min-width: 500px) {
    .text-sm-left { text-align: left; }
    .text-sm-right { text-align: right; }
    .text-sm-center { text-align: center; }
    .text-sm-justify { text-align: justify; }
}

@media (min-width: 700px) {
    .text-md-left { text-align: left; }
    .text-md-right { text-align: right; }
    .text-md-center { text-align: center; }
    .text-md-justify { text-align: justify; }
}

@media (min-width: 900px) {
    .text-lg-left { text-align: left; }
    .text-lg-right { text-align: right; }
    .text-lg-center { text-align: center; }
    .text-lg-justify { text-align: justify; }
}

@media (max-width: 700px) {
.text-xs-right .bxr-sortbutton {
	margin: 5px 0 5px 10px !important;
}
}

.bxr-sort-panel{
    margin-bottom: 20px;
}


.bxr-sortbutton::first-letter {
    text-transform:  capitalize;
}

.bxr-color-flat .bxr-sortbutton
,.bxr-color-flat .bxr-view-mode{
    color: #FFF;
    text-decoration: none;
    margin: 5px 10px 5px 0px;
    padding: 5px 10px;
    display: inline-block;
    border: 1px solid rgba(255,255,255, 0);
}

.bxr-border-color .bxr-sortbutton
,.bxr-border-color .bxr-view-mode{
    text-decoration: none;
    margin: 10px 10px 10px 0px;
    padding: 7px 10px;
    display: inline-block;
    border: 1px solid rgba(255,255,255, 0);
    font-size: 13px;
}

.bxr-sortbutton i{
    margin-left: 10px;
}


.bxr-sortbutton i{
    margin: 0 0 0 10px;
}

.bxr-view-mode {
    margin-left: 3px;
    margin-right: 0;
    min-width: 36px;
    text-align: center;
}

.bxr-view-mode i{
    font-size: 16px;
    padding: 0;
}

.bxr-sortbutton.active
,.bxr-sortbutton:hover
,.bxr-view-mode.active
,.bxr-view-mode:hover{
    text-decoration: none;
}

.bxr-color-flat .bxr-sortbutton.active
,.bxr-color-flat .bxr-sortbutton:hover
,.bxr-color-flat .bxr-view-mode.active
,.bxr-color-flat .bxr-view-mode:hover{
    border: rgba(255,255,255, 0.5) 1px solid;
    color:  #FFF;
}

/* ---------------------------------------------------------------------------
 * Панель сортировки.
 * Переключатель вида отображения убран, осталась только сортировка по цене,
 * оформленная как явный сегментированный переключатель с подписью.
 * ------------------------------------------------------------------------ */
.bxr-sort-panel .row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.bxr-sort-panel .bxr-sort-panel-sort{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.bxr-sort-panel .bxr-sort-panel-label{
    margin-right: 12px;
    color: #6b7580;
    font-size: 13px;
    white-space: nowrap;
}

.bxr-sort-panel .bxr-sort-panel-label i.fa{
    margin-right: 4px;
    color: #2d86ed;
}

.bxr-sort-panel .bxr-sort-group{
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border: 1px solid #cfdcea;
    border-radius: 3px;
    overflow: hidden;
}

/* Перебиваем общие правила .bxr-border-color .bxr-sortbutton и less.css. */
.bxr-sort-panel .bxr-sort-group .bxr-sortbutton{
    margin: 0;
    padding: 7px 14px;
    border: 0;
    border-left: 1px solid #cfdcea;
    border-radius: 0;
    background: #fff;
    color: #4a5560;
    font-size: 13px;
    line-height: 18px;
    text-decoration: none;
    white-space: nowrap;
    -webkit-transition: background .15s ease, color .15s ease;
            transition: background .15s ease, color .15s ease;
}

.bxr-sort-panel .bxr-sort-group .bxr-sortbutton:first-child{
    border-left: 0;
}

.bxr-sort-panel .bxr-sort-group .bxr-sortbutton i.fa{
    margin: 0 0 0 5px;
    font-size: 12px;
    opacity: .65;
}

.bxr-sort-panel .bxr-sort-group .bxr-sortbutton:hover{
    background: #eef5fd;
    color: #1060bd;
}

.bxr-sort-panel .bxr-sort-group .bxr-sortbutton.active{
    background: #2d86ed;
    color: #fff;
}

.bxr-sort-panel .bxr-sort-group .bxr-sortbutton.active i.fa{
    opacity: 1;
}

.bxr-sort-panel .bxr-sort-panel-count{
    padding-top: 8px;
    padding-bottom: 8px;
}

@media (max-width: 767px){
    .bxr-sort-panel .bxr-sort-panel-label{
        width: 100%;
        margin: 0 0 8px;
    }
    .bxr-sort-panel .bxr-sort-group{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
    }
    .bxr-sort-panel .bxr-sort-group .bxr-sortbutton{
        -webkit-box-flex: 1;
            -ms-flex: 1 1 0;
                flex: 1 1 0;
        padding: 8px 6px;
        text-align: center;
        white-space: normal;
    }
}
