@import "./mixins/variables";
@import "./mixins/mixins";
.u-combo{
  position: relative;
  option{
    display: none;
  }
  .u-input-group{
    width:100%
  }
}

.u-combo-ul{
  background-color: #fff;
  position: fixed;
  list-style: none;
  height: auto;
  width: auto;
  max-height: 224px;
  min-width: 124px;
  padding: 0;
  margin: 0;
  opacity: 0;
  filter:alpha(opacity=0); 
  //clip: rect(0 0 0 0);
  //z-index: -1;
  display: block;
  border: none;
  border-radius: 2px;
  overflow-y: auto;
  overflow-x: hidden;
  transform: scale(0);
  transform-origin: 0 0;
  border:1px solid \9;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display:none \9;

  &.is-visible{
    opacity:1;
    filter:alpha(opacity=100); 
    transform: scale(1);
    display:block \9;
    //z-index: 999;
  }
  &.is-animating {
    transition: opacity $menu-fade-duration $animation-curve-default;
    //clip $menu-expand-duration $animation-curve-default;
  }
}

.u-combo-li{
  display: block;
  border: none;
  color: rgba(0,0,0, 0.87);
  background-color: transparent;
  text-align: left;
  margin: 0;
  padding: 0 16px;
  outline-color: rgb(189,189,189);
  position: relative;
  
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  /*height: 28px;
  overflow: hidden;
  white-space: nowrap;*/
  line-height: 28px;
  word-wrap: break-word;
  break-word: break-all;
  
  //opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  &:hover {
    background-color: $default-item-hover-bg-color;
  }

  &:focus {
    outline: none;
    background-color: $default-item-focus-bg-color;
  }

  &:active {
    background-color: $default-item-active-bg-color;
  }

  &.is-selected {
    background-color: $default-item-focus-bg-color;
    font-size: bold;
  }
}

.u-combo-name{
  display: inline-block;
  position: relative;
  text-shadow: none;
  border-radius: 3px;
  background-color: #1c8ed7;
  background-image: none;
  padding: 1px 5px;
  //padding-right: 22px;
  margin: 0 3px 3px 0;
  line-height: 20px;
  color: #FFFFFF;
  font-size: 12px;
  .remove{
    width: 20px;
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    //width: 17px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: inherit;
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
    padding: 1px 0 0 0;
    border-left: 1px solid rgba(0, 0, 0, 0);
    -webkit-border-radius: 0 2px 2px 0;
    -moz-border-radius: 0 2px 2px 0;
    border-radius: 0 2px 2px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
}
.u-combo-name-par{
  position: absolute;
  bottom: 2px;
  left: 4px;
}