.rubr21-nav-block nav span {
cursor: pointer;
font-size: 14px !important;
line-height: 18px;
    font-weight: bold;
    margin-left: 16px;
    color: rgba(0, 113, 179, 0.54) !important;
    transition: 0.3s;
}
.rubr21-nav-block nav span:first-child {
	margin-left: 0;
}
.rubr21-nav-block nav .active {
	color: #0071B3 !important;
}
.rubr21-nav-block nav span:hover {
	opacity: 0.7;
}

/*nav#switch-others span {
	cursor: pointer;
}
nav#switch-others .active {
	font-weight: bold;
}*/

/*.category-block-content[data-type="allothers"] {
	border: 1px solid red;
}

.category-block-content time {
	display: block;
	font-size: 0.8em;
	color: #888;
}*/

.row div.col .rcatalog.category-block-content {
	height: auto;
	padding: 28px 69px;
    margin-bottom: 35px;
}
.rubr21 h4 {
	color: #00C0CF;
	margin-bottom: 0;
}
.rubr21 .page-header {
	margin-bottom: 21px;
    display: flex;
    justify-content: space-between;
}
.rubr21 .page-title {
    margin-bottom: 16px;
}
.rubr21 .page-title-block {
    margin-right: 40px;
    flex-grow: 1;
}

#cat-archive-and-search {
/*    flex-grow: 1;*/
    flex-shrink: 0;
    width: 280px;
}
#category-search label {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    z-index: 3;
    width: 53px;
    height: 40px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#category-search label input {
  display: none;
}
#category-search label:before {
  font-family: 'iconfont' !important;
  font-weight: normal;
  display: block;
  content: "\e908";
  color: rgba(51, 48, 90, 0.5);
  font-size: 18px;
  transition: 0.3s;
}
#category-search label:hover:before {
  color: #33305A;
}
#category-search {
  position: relative;
}
#category-search {
  display: -ms-flexbox;
  display: flex;
}
#category-search input[type="text"] {
  padding: 0 53px 0 12px;
  font-size: 14px;
  color: #33305A;
  border: 0 none;
  box-shadow: none;
  height: 40px; 
  line-height: 40px;
  z-index: 2;
background: #F1F4F7;
border: 1px solid #E0E2EA;
    border-radius: 2px;
    width: 100%;
}

#category-search input[type="text"]::placeholder { 
  color: rgba(51, 48, 90, 0.5); opacity: 1;  }
#category-search input[type="text"]::-webkit-input-placeholder {color: rgba(51, 48, 90, 0.5);}
#category-search input[type="text"]::-moz-placeholder          {color: rgba(51, 48, 90, 0.5);}
#category-search input[type="text"]:-moz-placeholder           {color: rgba(51, 48, 90, 0.5);}
#category-search input[type="text"]:-ms-input-placeholder      {color: rgba(51, 48, 90, 0.5);}
#category-search input[type="text"]:-webkit-autofill {
  background: rgba(51, 48, 90, 0.05) !important; 
}
#show-archiveposts-block {
    margin-top: 20px;
}
#show-archiveposts-block label {
    display: flex;
    align-items: center;
}
#show-archiveposts-block label input {
    margin-right: 12px;
}
#show-archiveposts-block label span {
    font-size: 14px;
    line-height: 18px;
    color: #323059;
}
.rubr21-nav-block {
	margin-bottom: 17px;
}
.rubr21-nav-block-dop {
	/*margin-top: 54px;*/
}
.rubr21-nav-block-dop nav select {
    margin-right: 19px;
    background: #F8F8F8;
    cursor: pointer;
}
.rcatalog .onlajn-seminar time, .rcatalog.rcatalog-others time {
	display: none;
}
.rcatalog-others ul {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
}
.rcatalog.rcatalog-others ul li {
	margin-right: 20px;
  padding-left: 35px;
	display: -ms-flexbox;
	display: flex;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
	    margin-bottom: 0;
    padding-bottom: 16px;
}

.rcatalog.rcatalog-others li:before {
	display: block;
  width: 20px;
  height: 20px;
  background: none;
  top: 0;
  position: absolute;
}
.rcatalog-others li:after {
    display: none;
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 10px;
    background: #fff;
    padding: 3px 6px;
    font-size: 13px;
    -webkit-box-shadow: 0px 0px 7px 1px rgb(0 0 0 / 28%);
    -moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.28);
    box-shadow: 0px 0px 7px 1px rgb(0 0 0 / 28%);
    color: #33305A;
    z-index: 1001;
}
.rcatalog-others li:hover:after {
    display: block;
    -webkit-transform: translate(-100%, 80%);
    -ms-transform: translate(-100%, 80%);
    transform: translate(-100%, 80%);
}

.rcatalog-others li.dopolnitelnye-materialy:before {
    content: url(../img/search-dopolnitelnye-materialy.svg);
}
.rcatalog-others li.dopolnitelnye-materialy:after {
    content: 'Дополнительный материал';
}
.rcatalog-others li.izmeneniya:before {
    content: url(../img/search-izmeneniya.svg);
}
.rcatalog-others li.izmeneniya:after {
    content: 'Изменение в 1С';
}
.rcatalog-others li.kejs:before {
    content: url(../img/search-kejs.svg);
}
.rcatalog-others li.kejs:after {
    content: 'Кейс';
}
.rcatalog-others li.lajfhaki:before {
    content: url(../img/search-lajfhaki.svg);
}
.rcatalog-others li.lajfhaki:after {
    content: 'Лайфхаки';
}
.rcatalog-others li.novost:before {
    content: url(../img/search-novost.svg);
}
.rcatalog-others li.novost:after {
    content: 'Новость';
}
.rcatalog-others li.obzor-obnovlenij:before {
    content: url(../img/search-obzor-obnovlenij.svg);
}
.rcatalog-others li.obzor-obnovlenij:after {
    content: 'Обзор обновлений';
}
.rcatalog-others li.onlajn-seminar:before {
    content: url(../img/search-onlajn-seminar.svg);
}
.rcatalog-others li.onlajn-seminar:after {
    content: 'Онлайн семинар';
}
.rcatalog-others li.vopros-otvet:before {
    content: url(../img/search-vopros-otvet.svg);
}
.rcatalog-others li.vopros-otvet:after {
    content: 'Ответы на вопросы';
}
.rcatalog-others li.oshibki:before {
    content: url(../img/search-oshibki.svg);
}
.rcatalog-others li.prog-oshibki:before {
    content: url(../img/search-oshibki.svg);
}
.rcatalog-others li.oshibki:after {
    content: 'Ошибка';
}
.rcatalog-others li.prog-oshibki:after {
    content: 'Программная ошибка';
}
.rcatalog-others li.podborka:before {
    content: url(../img/search-podborka.svg);
}
.rcatalog-others li.podborka:after {
    content: 'Подборка';
}
.rcatalog-others li.pi:before {
    content: url(../img/search-pi.svg);
}
.rcatalog-others li.pi:after {
    content: 'Пошаговые инструкции';
}
.rcatalog-others li.sv:before {
    content: url(../img/search-sv.svg);
}
.rcatalog-others li.sv:after {
    content: 'Сложный вопрос';
}
.rcatalog-others li.statya:before {
    content: url(../img/search-statya.svg);
}
.rcatalog-others li.statya:after {
    content: 'Статья';
}
.rcatalog-others li.sp:before {
    content: url(../img/search-sp.svg);
}
.rcatalog-others li.sp:after {
    content: 'Судебная практика';
}
.rcatalog-others li.test:before {
    content: url(../img/search-test.svg);
} 
.rcatalog-others li.test:after {
    content: 'Тест';
}

.taglink.active span { font-weight: bold; color: #fff; background: #0785CE;}
.taglink.active span a { color: #fff !important; }

@media screen and (max-width: 1600px) {
  #switch-others {
  	width: 100%;
  	margin-top: 10px;
  }
}
@media screen and (max-width: 991.98px) {
    .rubr21 .page-header {
        flex-wrap: wrap;
    }
    #cat-archive-and-search {
        width: auto;
    }
  #switch-others > div {
  	width: 100%;
  	margin-top: 10px;
  }
}
@media screen and (max-width: 767.98px) {
	.row div.col .rcatalog.category-block-content {
	    padding: 28px;
	}
  .rcatalog-others ul {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }
	.rcatalog.rcatalog-others ul li {
		margin-right: 0;
	}

    .rcatalog.rcatalog-others ul li:hover:after {
        -webkit-transform: translate(10px, -90%);
        -ms-transform: translate(10px, -90%);
        transform: translate(10px, -90%);
        left: 0;
    }
}




.filter-tags {
  padding: 29px 10px;
  border: 1px solid #e0e1e9;
  display: inline-block;
  margin-bottom: 50px;
}
.filter-tags-header {
  font-weight: bold;
  font-size: 18px;
  line-height: 23px;
  text-align: center;

  color: rgba(51, 48, 90, 0.85);
  margin-bottom: 21px;
}
.filter-tags ul.subcateg {
    margin-bottom: 0;
}
.filter-tags .taglink {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 12px;
}
.filter-tags .taglink span a {
  padding: 8px 17px;
  border-radius: 100px;
  background: #F1F4F7;
  display: block;
  line-height: 18px;
  color: #33305A;
  position: relative;
}
.filter-tags .taglink.active span a { font-weight: bold; color: #fff; background: #0785CE; padding-right: 35px;}
.filter-tags .taglink.reset span a { font-weight: bold; background: none; color: rgba(36, 112, 182, 0.68); padding-right: 35px;}
.filter-tags .taglink.active span a:after, .filter-tags .taglink.reset span a:after {
  display: flex;
  transform: translate(0,-50%);
  width: 16px;
  height: 16px;
  content: url("../img/tags-active.svg");
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: 2px;
}
.filter-tags .taglink.reset span a:after {
  content: url("../img/tags-reset.svg");
}