/*
 * bootstrap-tagsinput v0.8.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 6px;
  color: #555;
  vertical-align: middle;
  border-radius: 4px;
  width: 100%;
  line-height: 22px;
  cursor: text;
}
.bootstrap-tagsinput input {
    border: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    padding: 0 6px;
    margin: 0;
    width: auto;
    font-size: 14px;
    max-width: inherit;
}
.bootstrap-tagsinput.form-control input::-moz-placeholder {
  color: #777;
  opacity: 1;
}
.bootstrap-tagsinput.form-control input:-ms-input-placeholder {
  color: #777;
}
.bootstrap-tagsinput.form-control input::-webkit-input-placeholder {
  color: #777;
}
.bootstrap-tagsinput input:focus {
  border: none;
  box-shadow: none;
}
.bootstrap-tagsinput .badge {
  margin: 2px 0;
  padding:5px 8px;
}
.bootstrap-tagsinput .badge [data-role="remove"] {
  margin-left: 8px;
  cursor: pointer;
}
.bootstrap-tagsinput .badge [data-role="remove"]:after {
  content: "×";
  padding: 0px 4px;
  background-color:rgba(0, 0, 0, 0.1);
  border-radius:50%;
  font-size:13px
}
.bootstrap-tagsinput .badge [data-role="remove"]:hover:after {

  background-color:rgba(0, 0, 0, 0.62);}
.bootstrap-tagsinput .badge [data-role="remove"]:hover:active {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.tt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    cursor: pointer;
}

.tt-suggestion {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333333;
    white-space: nowrap;
}

.tt-suggestion:hover,
.tt-suggestion:focus {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #428bca;
}

/* --------- BOOTSTRAP TAGSINPUT : DARK MODE --------- */
body.darkMode .bootstrap-tagsinput {
    background-color: #3f3f3f;
    border: 1px solid #2A2E2E;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.6);
    color: #F2F4F3;
}

body.darkMode .bootstrap-tagsinput input{
  color:#FFFFFF;
}

body.darkMode .bootstrap-tagsinput.form-control input::-moz-placeholder{
  color:#9AA09B;
}
body.darkMode .bootstrap-tagsinput.form-control input:-ms-input-placeholder{
  color:#9AA09B;
}
body.darkMode .bootstrap-tagsinput.form-control input::-webkit-input-placeholder{
  color:#9AA09B;
}

/* Tags / badges */
body.darkMode .bootstrap-tagsinput .badge{
  background-color:#1E2222;
  color:#FFFFFF;
}

body.darkMode .bootstrap-tagsinput .badge [data-role="remove"]:after{
  background-color:rgba(255,255,255,.15);
  color:#FFFFFF;
}

body.darkMode .bootstrap-tagsinput .badge [data-role="remove"]:hover:after{
  background-color:rgba(255,255,255,.6);
  color:#000;
}

body.darkMode .bootstrap-tagsinput .badge [data-role="remove"]:hover:active{
  box-shadow: inset 0 3px 5px rgba(0,0,0,.5);
}

/* --------- TYPEAHEAD DROPDOWN --------- */
body.darkMode .tt-menu{
  background-color:#141616;
  border:1px solid #2A2E2E;
  box-shadow:0 6px 12px rgba(0,0,0,.6);
}

body.darkMode .tt-suggestion{
  color:#E6E8E7;
}

body.darkMode .tt-suggestion:hover,
body.darkMode .tt-suggestion:focus{
  background-color:#2E7DD1;
  color:#FFFFFF;
}
