
.bootstrap-tagsinput {
  background-color: #fff;
  border: 1px solid #d2d6de;
  border-radius: 0px;
  margin-bottom: 18px;
  padding: 3px 6px 4px;
  text-align: left;
  font-size: 14px;
  height: auto;
}

.bootstrap-tagsinput .label {
  border-radius: 4px;
  background-color: #ebedef;
  color: #7b8996;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  overflow: hidden;
  margin: 0 5px 0 0;
  padding: 6px 28px 6px 14px;
  transition: .25s linear
}

.bootstrap-tagsinput .label>span {
  color: #fff;
  padding: 0 10px 0 0;
  cursor: pointer;
  font-size: 14px;
  position: absolute;
  right: 0;
  text-align: right;
  text-decoration: none;
  top: 0;
  width: 100%;
  bottom: 0;
  z-index: 2
}

.bootstrap-tagsinput .label>span:after {
  content: "x";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 14px;
  font-size: 14px;
  position: absolute;
  top:2px;
}

@media(hover:hover) {
  .bootstrap-tagsinput .label {
    padding: 3px 6px 4px;
  }

  .bootstrap-tagsinput .label>span {
    opacity: 0;
    filter: "alpha(opacity=0)";
    transition: opacity .25s linear
  }

  .bootstrap-tagsinput .label:hover {
    background-color: #16a085;
    color: #fff;
    padding-right: 28px;
    padding-left: 14px
  }

  .bootstrap-tagsinput .label:hover>span {
    padding: 0 15px 0 0;
    opacity: 1;
    -webkit-filter: none;
    filter: none
  }
}

.bootstrap-tagsinput input[type=text] {
  /*line-height: 14px;*/
  font-size: 14px;
  border: 0;
  box-shadow: none;
  outline: 0;
  background-color: transparent;
  padding: 0;
  margin: 0;
  width: auto!important;
  max-width: inherit;
  min-width: 80px;
  vertical-align: top;
  height: 24px;
  color: #34495e
}


.tagsinput-primary .bootstrap-tagsinput {

  margin-bottom: 0
}

.tagsinput-primary .label {
  background-color: #1abc9c;
  color: #fff
}
