.utabs {
    position: relative;
    display: inline-block;
    text-align: center;
}
.utabs-list div {
    cursor: pointer;
    position: relative;
    padding: 2px 0 2px 25px;
}
.utabs-list div:before {
    /*content: '';
    display: block;
    position: absolute;
    left: 8px;
    top: 8px;
    height: 10px;
    width: 10px;
    border-radius: 20px;
    background: #c9ccda;
    transition: all ease .2s;
    transform: scale(1);*/
}
.utabs-list div.active:before {
    transform: scale(0);
    
}
.utabs-list div:after {
    content: '';
    left: 10px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid #383535;
    border-width: 0px 2px 2px 0px;
    position: absolute;
    transform: rotate(45deg) scale(0);
    transition: all ease .2s
}
.utabs-list div.active:after {
    transform: rotate(45deg) scale(1);
    left: 35px;
}
.utabs-list._show {
    top: 36px;
    opacity: 1;
    z-index: 999;
}
.utabs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    background: #fff;
    border: 1px solid #d2d2d2;
    box-shadow: 0 2px 5px rgb(0 0 0 / 15%);
    z-index: -3;
    right: 0;
    left: 0;
    top: 50px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity .2s linear,top .2s linear;
}
.utab-selected {
    padding: 14px 26px 5px 26px;
    cursor: pointer;
    position: relative;
    user-select: none;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: var(--ui-elem-bdrs);
    z-index: 4;
    /*max-width: 150px;
    min-width: 100px;*/
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    height: var(--ui-elem-height);
}
.utab-selected:after {
    /*content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    margin-top: -3px;
    border: 6px solid transparent;
    border-top-color: #666;*/
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.utab-selected:before {
    /*content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 100%;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAHCAYAAADebrddAAAAG0lEQVQoU2PcsWPHfwYiASOR6sDKSFM8BJ0BAJPhCX1uTz7oAAAAAElFTkSuQmCC) no-repeat 50% 50%;*/
    content: "\f055";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    padding-right:10px;
}
.utab-stat-info {
    display: inline-block;
    cursor: pointer;
    margin: 12px 0;
    border-bottom: 1px dashed #bbb;
    user-select: none;
}
.utab-stat-data {
    position: absolute;
    background: #fff;
    z-index: 999;
    left: 0;
    right: 0;
    border: 1px solid #d2d2d2;
    min-width: 320px;
    box-shadow: 0 1px 5px rgb(0 0 0 / 15%);
    padding: 10px;
    visibility: hidden;
}
.utab-stat-data.show {
    visibility: visible;
}
.utab-bar-overlay {
    position: relative;
    background: #eee;
    width: 100%;
    height: 15px;
    min-width: 80px;
    border-radius: 5px;
    overflow: hidden;
}
.utab-bar-perc {
    position: absolute;
    text-align: center;
    line-height: 16px;
    width: 100%;
}
.utab-bar {
    background: #f55b5b;
    height: 100%;
}
.utab-table {
    width: 100%;
}

.utab-table th {
    color: #424347;
    font-weight: 600;
}

.utab-table td {
    padding: 2px 0px;
    font-size: 13px;
}

.utab-tabs {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 8px 0;
    gap: 8px;
}
.utab-tabs div {
    user-select: none;
    color: #1d1c1c;
    padding: 8px 6px;
    cursor: pointer;
    flex-grow: 1;
    text-align: center;
    min-width: auto;
    background: #DDDDDD;
    border-radius: 8px;
    font-size: 14px;
}
.utab-tabs .active {
    background: #717174;
    color: #fff;
}
.utab-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.utab-fitem {
    width: auto !important;
    flex-grow: 1;
    display: inline-block;
    width: 300px;
    height: 40px;
    line-height: 22px;
    padding: 8px 15px;
    vertical-align: middle;
    border-radius: 4px;
    background: #fbfbfb;
    border: 1px solid #dcdcdc;
    transition: border 0.2s linear 0s;
    box-shadow: inset 0 1px 4px 0 rgb(0 0 0 / 6%);
    box-sizing: border-box;
}
.utab-fitem:focus {background: #fff}

@media only screen and (max-width: 600px) {
    #utab-sort-title {
        width: 100% !important;
    }
}



/*Информ сообщение*/
.utab-info {
    background-color: rgba(20, 20, 20, 0.9);
    position: relative;
    border-radius: 4px;
    box-shadow: 2px 2px 4px rgb(0 0 0 / 60%);
    color: #fff;
    display: inline-block;
    margin: 0 10px 10px;
    padding: 10px 15px 10px 36px;
    text-align: left;
    font-size: 14px;
}
.utab-info:before {
    content: '';
    display: block;
    height: 15px;
    width: 15px;
    position: absolute;
    top: calc(50% - 10px);
    left: 8px;
    background: #4f71b9 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAM1BMVEUAAACBgYC6urr8+/y7u7v8/Pzk5OTCwsG+vr64uLizs7P7/Pq0tLOZmJmXl5eLi4v///9hN67aAAAAEHRSTlMABXX4efvJjn5xafdrMzEW5GpgtwAAAEZJREFUCNdtjDkOwDAMw5zYOXvx/6+thxodEi0SIYAikiRD9pIVOpjXmief4wq4gf4LVMfWlgwsxTNhhrpVqO2zKaVw+HgBjsgCAgUeeRgAAAAASUVORK5CYII=) no-repeat 50% 50%;
    border-radius: 20px;
    padding: 3px;
}
.utab-msg {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    text-align: center;
    z-index: 999;
    display: block;
}

.utab-no-access {
    border: 1px solid #a08447;
    padding: 15px 10px;
    border-radius: 5px;
    background: #eddfc1;
}


@keyframes fadeInInfo {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.fadeInInfo {
    animation-name: fadeInInfo;
    animation-duration: .5s;
    animation-fill-mode: both;
}





/*кнопка загрузить еще*/
#utab-load-more {
    margin: auto;
    display: block;
    cursor: pointer;
    background: #d3d3d7;
    color: #111;
    border-radius: 6px;
    padding: 8px 30px;
    border: 0;
}


/*оформление новостей*/
.utab-news {
    display: flex;
    border: 1px solid #d6d6d8;
    border-radius: 10px;
    margin-bottom: 6px;
    padding: 6px;
    position: relative;
    box-shadow: inset 0 1px 4px 0 rgb(0 0 0 / 6%);
    background: #fbfbfb;
}
.utab-poster {
    width: 80px;
    height: 80px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 6px;
}
.utab-poster img {
    object-fit: cover;
    height: 80px;
    width: 80px;
}
.utab-news-title {
    color: #333;
    display: block;
    font-weight: 600;
    margin-right: 150px;
}

.utab-news-info {
    padding-left: 20px;
    overflow: hidden;
    z-index: 4;
}
.utab-news-stat, .utab-news-cat {
    font-size: 13px;
}
.utab-news-rate {
    margin: 4px 0 0 -7px;
    position: relative;
}
.nowrap, .utabs-list div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*список в новостях*/
.utab-news-header {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.utabs-short .utab-selected {
    border-top: none;
    border-right: none;
    border-radius: 0 0 0 10px;
}
.utab-news-header span {
    margin-left: 8px;
    visibility: hidden;
}
.utab-news-header:before {
    content: '';
    display: none;
    position: absolute;
    border-bottom: 1px solid #e0d9d9;
    height: 1px;
    left: 114px;
    right: 162px;
}
@media only screen and (max-width: 600px) {
    .utab-news {padding-top: 32px}
    .utab-news-header:before {display: block;}
    .utab-news-header span {visibility: visible;}
}

.utabs-list div {
    position: relative;
    padding-left: 35px !important;
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 16px 16px;
}

/* Иконка "Смотрю" */
.utabs-list div[data-tid="1"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></svg>');
}

/* Иконка "Просмотрено" */
.utabs-list div[data-tid="2"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
}

/* Иконка "Запланировано" */
.utabs-list div[data-tid="3"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>');
}

/* Иконка "Брошено" */
.utabs-list div[data-tid="4"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"/></svg>');
}

/* Иконка "Отложено" */
.utabs-list div[data-tid="5"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
}
