.b-flag {
    display: inline-block;
    height: 13px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    text-transform: uppercase;
}
.b-flag_style_none {
  color: #000000;

}
.b-flag_style_bordered {
    color: #b5b7b9;
}

.b-flag__inner,
.b-flag__text {
    position: relative;
    display: block;
}

.b-flag__text {
    width: 33px;
    height: 7px;
    line-height: 9px;
    padding: 3px 0;
    background: #FFF;
    font-style: normal;
    z-index: 2;
    -moz-transition: 0.2s linear background, 0.2s linear color;
    -moz-transition: 0.2s linear background, 0.2s linear color;
    transition: 0.2s linear background, 0.2s linear color;
}

.b-flag_style_bordered .b-flag__text {
    border: 1px solid #bdbfc1;
}

.b-flag_style_red .b-flag__text {
    background: #C20E0E;
}

.b-flag_style_red:hover .b-flag__text {
    background: #D41616;
}

.b-flag_style_red:active .b-flag__text {
    background: #9E0707;
}

.b-flag_style_bordered .b-flag__text {
    background: #ebebeb;
}

.b-flag_style_bordered:hover .b-flag__text {
    background: #fff;
}

.b-flag_style_bordered:active .b-flag__text {
    color: #fff;
    background: #d6d6d6;
}

.b-flag_style_green .b-flag__text {
    background: #00a651;
}

.b-flag_style_green:hover .b-flag__text {
    background: #0ac264;
}

.b-flag_style_green:active .b-flag__text {
    background: #048e48;
}

.b-flag__corner,
.b-flag__corner-substrate {
    position: absolute;
    right: -5px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 7px solid rgba(0, 0, 0, 0);
    border-left: 5px solid #FFF;
    border-bottom: 6px 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;
    z-index: 2;
}

.b-flag_style_red .b-flag__corner {
    border-left-color: #C20E0E;
}

.b-flag_style_red:hover .b-flag__corner {
    border-left-color: #D41616;
}

.b-flag_style_red:active .b-flag__corner {
    border-left-color: #9E0707;
}

.b-flag_style_bordered .b-flag__corner {
    border-left-color: #ebebeb;
}

.b-flag_style_bordered:hover .b-flag__corner {
    border-left-color: #fff;
}

.b-flag_style_bordered:active .b-flag__corner {
    border-left-color: #d6d6d6;
}

.b-flag_style_green .b-flag__corner {
    border-left-color: #00a651;
}

.b-flag_style_green:hover .b-flag__corner {
    border-left-color: #0ac264;
}

.b-flag_style_green:active .b-flag__corner {
    border-left-color: #048e48;
}

.b-flag__corner-substrate {
    display: none;
    right: -6px;
    z-index: 1;
}

.b-flag_style_bordered .b-flag__corner-substrate {
    display: block;
    border-left-color: #bdbfc1;
}