.b-tags__title,
.b-tags__link {
    display: inline-block;
    vertical-align: middle;
    font-style: normal;
}

.b-tags__title {
    margin: 0 8px 0 0;
    color: #fff;
}

.b-statistics__tags_type_header .b-tags__title_type_dark {
    margin: 0 7px 0 0;
}

.b-tags__title_type_dark {
    margin: 0 11px 0 0;
    color: #000;
}

.b-tags__title_type_block {
    display: block;
    margin-bottom: 5px;
}

.b-tags__link {
    margin: 0 13px 0 0;
    position: relative;
    color: #b10101;
    text-decoration: none;
}

.b-tags__link_type_margin-large {
    margin: 0 16px 0 0;
}

.b-tags__link_type_margin-middle {
    margin: 0 16px 0 -5px;
}

.b-tags__link_type_margin-small {
    margin: 0 6px 0 0;
}

.b-tags__link_type_margin-top-large {
    margin: 9px 0 0 75px;
}

.b-tags__link_style_red {
    color: #fff;
}

.b-tags__link:hover {
    color: #666;
}

.b-tags__link_style_red:hover {
    color: #fafafa;
}

.b-tags__link_type_link:hover {
    color: #333;
    text-shadow: 1px 0 0 rgba(255,255,255,.5);
}

.b-tags__link:active {
    color: #333;
}

.b-tags__link_style_red:active {
    color: #fff;
}

.b-tags__link-inner,
.b-tags__link-text,
.b-tags__link-substrate {
    position: relative;
    display: block;
}

.b-tags__link-text {
    padding: 3px 7px;
    background: #fff;
    font-style: normal;
    z-index: 2;
    -moz-transition: 0.2s linear background;
    -moz-transition: 0.2s linear background;
    transition: 0.2s linear background;
}

.b-tags__link_style_red .b-tags__link-text {
    background: #c20e0e;
}

.b-tags__link_size_middle .b-tags__link-text {
    padding: 3px 15px;
}

.b-tags__link:hover .b-tags__link-text {
    background: #E2E2E2;
}

.b-tags__link_style_red:hover .b-tags__link-text {
    background: #d41616;
}

.b-tags__link_type_link:hover .b-tags__link-text {
    background: #E2E2E2;
}

.b-tags__link:active .b-tags__link-text {
    background: #fff;
}

.b-tags__link_style_red:active .b-tags__link-text {
    background: #9e0707;
}

.b-tags__link:active .b-tags__link-inner {
    top: 1px;
}

.b-tags__link-substrate {
    position: absolute;
    top: 0;
    right: -1px;
    bottom: -3px;
    left: 2px;
    background: #A6B0BA;
    z-index: 1;
    -moz-transition: 0.2s linear background;  
    -webkit-transition: 0.2s linear background;  
    transition: 0.2s linear background;
}

.b-tags__link_type_link:hover .b-tags__link-substrate  {
background: #8A8A8A;
}

.b-tags__link:active .b-tags__link-substrate {
    left: -1px;
}

.b-tags__link:active .b-tags__link-substrate {
    bottom: -2px;
}

.b-tags__corner {
    position: absolute;
    right: -6px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 13px solid rgba(0, 0, 0, 0);
    border-left: 6px solid #fff;
    border-bottom: 12px solid rgba(0, 0, 0, 0);
    -moz-transition: 0.2s linear border-left-color;
    -webkit-transition: 0.2s linear border-left-color;
    transition: 0.2s linear border-left-color;
}

.b-tags__link_style_red .b-tags__corner {
    border-left-color: #c20e0e;
}

.b-tags__link:hover .b-tags__corner {
    border-left-color: #ededed;
}

.b-tags__link_style_red:hover .b-tags__corner {
    border-left-color: #d41616;
}

.b-tags__link_type_link:hover .b-tags__corner {
    border-left-color: #E2E2E2;
}

.b-tags__link:active .b-tags__corner {
    border-left-color: #fff;
}

.b-tags__link_style_red:active .b-tags__corner {
    border-left-color: #9e0707;
}

.b-tags__substrate-corner {
    position: absolute;
    right: -7px;
    top: 0;
    bottom: -4px;
    width: 0;
    height: 0;
    border-top: 14px solid rgba(0, 0, 0, 0);
    border-left: 7px solid #A6B0BA;
    border-bottom: 15px solid rgba(0, 0, 0, 0);
    -moz-transition: 0.2s linear border-left-color;
	-webkit-transition: 0.2s linear border-left-color;
	transition: 0.2s linear border-left-color;
}

.b-tags__link_type_link:hover .b-tags__substrate-corner  {
border-left-color: #8A8A8A;
}

.b-tags__link:active .b-tags__substrate-corner {
    border-top-width: 13px;
}