.tags_filter h5 .button.remove_tags {top: -5px; right: -15px; display: none;}
.tags_filter h5 .button.remove_tags .i-close {left:0;}
.tags_filter h5 .i-tag {font-size: 20px; display: inline-block; vertical-align: middle; position: relative; top: -1px;}
.tags_filter .tags_filter_inlay {overflow: visible;}

.tags_item, .type_button.tags_item {display: inline-block; margin-right: 5px; margin-bottom: 8px; vertical-align: middle; font-size: 14px; text-decoration: none; position: relative; line-height: normal; -webkit-transition: 0.2s; transition: 0.2s; cursor: pointer; text-overflow: ellipsis; overflow: hidden;  max-width: 100%;}
.tags_item .close, .type_button.tags_item .close {display: none; width: 8px; height: 8px; top: 11px !important; right: 11px !important; padding:0;}
.type_button.tags_item .i-close {display: none; cursor: pointer; font-size:15px; width: 19px; height: 15px; line-height: 14px; text-align: center; margin: 0; opacity:0.8; position: relative; left: 2px;}
.type_button.tags_item.invert_transparent .i-close {display: inline-block;}
.tags_item:hover .close, .type_button.tags_item:hover .close, .type_button.tags_item .i-close:hover {opacity:1;}

.tags_item.type_button.active .i-close {display: inline-block;}
.tags_item.invert_transparent {cursor: pointer;}
.tags_item input { display: none !important; }

.type_button.tags_item + .tooltip .tooltip-inner {white-space: normal; word-break: break-word; text-align: left; max-width: 160px;}

.more_tags {text-decoration: none; display: inline-block; border-bottom: 1px dotted; }
.more_tags:hover {border-color: transparent; }
[data-class="tags_modal"] .popup_content {max-width:555px;}
[data-class="tags_modal"] .popup_content .section_header, [data-class="tags_modal"] .popup_content .close.button {display: none;}
[data-class="tags_modal"] .popup_content .tags_filter .item_wrapper {padding-left:0; padding-right:0; padding-bottom:0; background: transparent; -webkit-box-shadow:none;  box-shadow: none; overflow: visible;}

@media (max-width: 1024px) {
	#search .tags_filter .tags_filter_inlay {background: #fff; padding: 25px 24px 20px 24px; margin-top: 20px; -webkit-box-shadow: 0 1px 2px 1px rgba(0,0,0,0.05);   box-shadow: 0 1px 2px 1px rgba(0,0,0,0.05);}
	.tags_filter h5 .button.remove_tags {margin-top: 30px;}
}

@media (max-width: 768px) {
	[data-class="tags_modal"] .popup_content {max-width:440px;}
	.tags_filter { margin-top:0 !important;}
	
	#search .tags_filter { margin-left: 24px;  margin-right: 24px; width: auto !important;}
	#search .tags_filter .item_wrapper { overflow: visible; margin-top: 10px;}

}

.tags_block {padding: 2px 0 2px 0px; margin-top: 5px;}
.tags_block a {font-size: 15px; text-decoration: none; padding: 0 0 0 3px; font-weight: 400; position: relative; word-break: break-word; overflow-wrap: break-word;}
.tags_block a:hover {opacity:0.8;}
.tags_block .i {display: inline-block; vertical-align: middle; font-size: 16px; position: relative; top: -1px; opacity:0.8;}
.material_wrapper .tags_block {border: none; border-top: 1px solid transparent; padding-top: 20px; }

#search_result .material_wrapper .tags_block { margin-top: 0; padding-top: 7px; }

.text-overflow_clip_important {text-overflow: clip!important;}

.tags_block._size-x a, .tags_block._size-x .i-tag{font-size: 14px;padding:0;}