.tag-item {
    height: 1rem;
    padding: 0 10px;
    border-radius: 3px;
    display: inline-block;
    line-height: 0.9rem;
    font-size: 0.6rem;
    border: 1px solid;
    box-sizing: border-box;
}

.tag-item.can_close:after {
    content: 'x';
    position: relative;
    left: 0.3rem;
    transform: scale(1.2, 0.9);
    display: inline-block;
}

.result-tag {
    min-height: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.center {
    /* margin: 0 auto; */
    padding: 5px;
}

.all-tag .tag-item, .result-tag .tag-item {
    margin: 3px 4px;
}

.all-tag {
    min-height: 7rem;
}

.tag-label {
    color: #999;
    line-height: 2rem;
    margin-left: 15px;
}

.nothing {
    text-align: center;
    color: #888;
}

/* tag */

.gray {
    color: #999;
    border-color: #999;
}

.red {
    color: #d9534f;
    border-color: #d9534f;
}

.orange {
    color: #f0ad4e;
    border-color: #f0ad4e;
}

.green {
    color: #5cb85c;
    border-color: #5cb85c;
}

.blue {
    color: #5bc0de;
    border-color: #5bc0de;
}

.darkblue {
    color: #0275d8;
    border-color: #0275d8;
}

.zi {
    color: #663399;
    border-color: #663399;
}

/* back */

.gray.active {
    background-color: #999;
    border-color: transparent;
    color: white;
}

.red.active {
    background-color: #d9534f;
    border-color: transparent;
    color: white;
}

.orange.active {
    background-color: #f0ad4e;
    border-color: transparent;
    color: white;
}

.green.active {
    background-color: #5cb85c;
    border-color: transparent;
    color: white;
}

.blue.active {
    background-color: #5bc0de;
    border-color: transparent;
    color: white;
}

.darkblue.active {
    background-color: #0275d8;
    border-color: transparent;
    color: white;
}

.zi.active {
    background-color: #663399;
    border-color: transparent;
    color: white;
}