.badge {
    display: inline-block;
    padding: 2px 4px;
    font-size: 11.844px;
    font-weight: bold;
    line-height: 14px;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #999;
}

.label {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.badge {
    padding-right: 9px;
    padding-left: 9px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

    .label:empty, .badge:empty {
        display: none;
    }

a.label:hover, a.label:focus, a.badge:hover, a.badge:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.label-important, .badge-important {
    background-color: #b94a48;
}

    .label-important[href], .badge-important[href] {
        background-color: #953b39;
    }

.label-warning, .badge-warning {
    background-color: #f89406;
}

    .label-warning[href], .badge-warning[href] {
        background-color: #c67605;
    }

.label-success, .badge-success {
    background-color: #468847;
}

    .label-success[href], .badge-success[href] {
        background-color: #356635;
    }

.label-info, .badge-info {
    background-color: #3a87ad;
}

    .label-info[href], .badge-info[href] {
        background-color: #2d6987;
    }

.label-inverse, .badge-inverse {
    background-color: #333;
}

    .label-inverse[href], .badge-inverse[href] {
        background-color: #1a1a1a;
    }

.btn .label, .btn .badge {
    position: relative;
    top: -1px;
}

.btn-mini .label, .btn-mini .badge {
    top: 0;
}



.bootstrap-tagsinput {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    display: inline-block;
    padding: 4px 8px;
    margin-bottom: 10px;
    color: #555;
    vertical-align: middle;
    /*border-radius: 4px;*/
    /*max-width: 100%;*/
    width:100%;
}
    .bootstrap-tagsinput .label {
        width:auto;
        padding-left:5px;
        padding-right:5px;
    }
    .bootstrap-tagsinput input {
        border: none;
        box-shadow: none;
        outline: none;
        background-color: transparent;
        padding: 0;
        margin: 0;
        /*width: auto !important;*/
        /*max-width: inherit;*/
        height: 25px;
    }

        .bootstrap-tagsinput input:focus {
            border: none;
            box-shadow: none;
        }

    .bootstrap-tagsinput .tag {
        margin-right: 2px;
        color: white;
    }

        .bootstrap-tagsinput .tag [data-role="remove"] {
            margin-left: 8px;
            cursor: pointer;
        }

            .bootstrap-tagsinput .tag [data-role="remove"]:after {
                content: "x";
                padding: 0px 2px;
            }

            .bootstrap-tagsinput .tag [data-role="remove"]:hover {
                box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
            }

                .bootstrap-tagsinput .tag [data-role="remove"]:hover:active {
                    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
                }

