ul.tagit {
    padding: 1px 5px;
    overflow: auto;
    margin-left: inherit; /* usually we don't want the regular ul margins. */
    margin-right: inherit;
}
ul.tagit li {
    display: block;
    float: left;
    margin: 2px 5px 2px 0;
}
ul.tagit li.tagit-choice {    
    position: relative;
    line-height: inherit;
}
input.tagit-hidden-field {
    display: none !important;
}
ul.tagit li.tagit-choice-read-only { 
    padding: .2em .5em .2em .5em; 
} 

ul.tagit li.tagit-choice-editable { 
    padding: .2em 18px .2em .5em; 
} 

ul.tagit li.tagit-new {
    padding: .25em 4px .25em 0;
}

ul.tagit li.tagit-choice a.tagit-label {
    cursor: pointer;
    text-decoration: none;
}
ul.tagit li.tagit-choice .tagit-close {
    cursor: pointer;
    position: absolute;
    right: .1em;
    top: 50%;
    margin-top: -8px;
    line-height: 17px;
}

/* used for some custom themes that don't need image icons */
ul.tagit li.tagit-choice .tagit-close .text-icon {
    display: none;
}

ul.tagit li.tagit-choice input {
    display: block;
    float: left;
    margin: 2px 5px 2px 0;
}
ul.tagit input[type="text"] {
    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:         border-box;

    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;

    border: none;
    margin: 0;
    padding: 0;
    width: inherit;
    background-color: inherit;
    outline: none;
}

/*****************************************************/
/*****   T H E M E    P A N E L   ********************/
/*****************************************************/

.tb_cp .tagit {
  margin: 0;
  padding: 0 5px;
  display: block;
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 20px;
  color: #333;
  background: #eee;
  border: 1px solid #ddd;
  border-color: #c0c0c0 #e6e6e6 #e6e6e6 #c0c0c0;
  border-radius: 3px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  vertical-align: top;
}
.tb_cp .tagit .tagit-new,
.tb_cp .tagit .tagit-new > input
{
  margin: 0 !important;
  padding: 0 !important;
}
.tb_cp .tagit .tagit-choice {
  height: auto;
  margin: 5px 5px 5px 0;
  padding: 0 5px;
  line-height: 20px;
  white-space: nowrap;
  background: #f9f9f9;
  border: 0 none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.tb_cp .tagit .tagit-choice .tagit-label {
  font-weight: 600;
  color: #333;
}
.tb_cp .tagit .tagit-choice .tagit-close {
  position: static;
  display: inline-block;
}
.tb_cp .tagit .tagit-choice .ui-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 -2px 0 2px;
  line-height: 16px;
  vertical-align: top;
  background-image: none;
}
.tb_cp .tagit .tagit-choice .ui-icon:before {
  content: '\f00d';
  display: block;
  text-align: center;
  text-indent: 0 !important;
  font-family: 'FontAwesome';
  font-size: 11px;
  font-weight: normal;
  color: #e86d4b;
}
.tb_cp .tagit .tagit-choice .ui-icon:hover:before {
  color: #333;
}
