.tags_and_view{
    text-transform: uppercase;
}
.tags_and_view.nline{
    margin-left: 95rem;
}
.tags_and_view:after {
    content: '';
    display: block;
    clear: both; }
.tags_and_view .tags {
    width: 100%;
    padding-right: 100rem;
    box-sizing: border-box; }
.tags_and_view .tags .item-tag {
    display: inline-block;
    padding: 3rem 10rem;
    margin: 20rem 15rem 0 0;
    font-size: 12rem;
    border-radius: 50rem;
    border: 1px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    cursor: default;
    position: relative; }
.tags_and_view .tags .item-tag.delite {
    border-color: #c20012 !important;
    color: #c20012 !important;
    background: #c20012 !important;
    cursor: pointer; }
.tags_and_view .tags .item-tag .text {
    position: absolute;
    left: 0;
    top: 5rem;
    width: 100%;
    text-align: center;
    color: #fff !important;
    font-size: 8rem; }
.tags_and_view .tags .filter {
    display: inline-block; }
.tags_and_view .tags .filter .filter-button {
    position: relative;
    line-height: 60rem;
    cursor: pointer;
    padding: 10rem 30rem 10rem 20rem;
    text-decoration: underline;
    font-size: 14rem;
    color: #fff;
    text-transform: uppercase; }
.tags_and_view .tags .filter .filter-button:after {
    content: "";
    display: inline-block;
    width: 14rem;
    height: 14rem;
    position: absolute;
    top: 35%;
    right: 6rem;
    background: url("/bitrix/templates/BSTemplate_Desktop/image/icons/array_down.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transform: rotate(-180deg);
}
.tags_and_view .tags .filter .tags-all {
    position: absolute;
    width: 100%;
    left: 0;
    background: #161c21;
    min-width: 100%;
    padding: 0 0 30rem 0;
    z-index: 100;
    display: none; }
.tags_and_view .tags .filter .tags-all .wrapper {
    width: 1720rem;
    margin: 0 auto; }
.tags_and_view .tags .filter .tags-all .wrapper .group .name {
    margin: 20rem 0 0 0;
    font-size: 14rem;
    color: #fff; }
.tags_and_view .tags .filter .tags-all .wrapper .group .item-tag {
    margin: 15rem 15rem 0 0;
    border: 1px solid #8f6e4f;
    color: #8f6e4f;
    cursor: pointer; }
.tags_and_view .tags .filter .tags-all .wrapper .group .item-tag:hover {
    background: #8f6e4f;
    color: #fff; }
.tags_and_view .tags .filter .tags-all .wrapper .group .item-tag.disable {
    border-color: #67696a;
    color: #67696a;
    cursor: default; }
.tags_and_view .tags .filter .tags-all .wrapper .group .item-tag.disable:hover {
    background: transparent;
    color: #67696a; }
.tags_and_view .tags .filter .tags-all .wrapper .group .item-tag.active {
    border-color: #a1bf35;
    color: #a1bf35; }
.tags_and_view .tags .filter .tags-all .wrapper .group .item-tag.active:hover {
    background: transparent;
    color: #a1bf35; }
.tags_and_view .tags .filter.active {
    background: #161c21;
    color: #fff; }
.tags_and_view .tags .filter.active .tags-all {
    display: block; }
.tags_and_view .tags .filter.active .filter-button:after {
    transform: scale(1, -1); }
.tags_and_view .tags .clear-tags {
    display: inline-block;
    padding: 3rem 10rem;
    font-size: 12rem;
    border-radius: 50rem;
    border: 1px solid #ebebeb;
    background: #ebebeb;
    color: #fff;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    cursor: pointer; }
.tags_and_view .tags .clear-tags:hover {
    background: #8f6e4f;
    border-color: #8f6e4f; }
.tags_and_view .count-view, .tags_and_view .date {
    float: right;
    padding: 20rem 0 21rem 0; }
.tags_and_view .count-view .view, .tags_and_view .date .view {
    display: inline-block;
    font-size: 14rem;
    margin-left: 15rem;
    color: #000;
    cursor: pointer; }
.tags_and_view .count-view .view.active, .tags_and_view .date .view.active {
    color: #8f6e4f;
    text-decoration: underline; }
.tags_and_view .count-view .view:hover, .tags_and_view .date .view:hover {
    text-decoration: underline; }
.tags_and_view .date {
    color: #8f6e4f;
    font-size: 14rem; }
.tags_and_view .tags .filter:first-child {
    padding-left: 0 !important;
}

.tags_and_view.b .tags .item-tag {
    border: 1px solid #000;
    color: #000;}
.tags_and_view.b .tags .item-tag .text,
.tags_and_view.b .tags .filter .filter-button{
    color: #000;}
.tags_and_view .tags .filter.active .filter-button {
    color: #fff; }