@import "mixin";

.ms-container{
  background: transparent url('switch.png') no-repeat 270px 80px;
  &:after{
  content: ".";
  display: block;
  height: 0;
  line-height: 0;
  font-size: 0;
  clear: both;
  min-height: 0;
  visibility: hidden;
  }
  & .ms-selectable,
  & .ms-selection{
    background: #fff;
    color: #555555;
    float: left;
  }

& .ms-list{
  @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.075));
  transition: border linear 0.2s, box-shadow linear 0.2s;
  border: 1px solid #ccc;
  }
}

.ms-selected{
  display:none;
}
.ms-container .ms-selectable{
  margin-right: 40px;
}

.ms-container .ms-list.ms-focus{
  border-color: rgba(82, 168, 236, 0.8);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  outline: 0;
  outline: thin dotted \9;
}

.ms-container ul{
  margin: 0;
  list-style-type: none;
  padding: 0;
}

.ms-container .ms-optgroup-container{
  width: 100%;
}

.ms-container ul.ms-list{
  width: 260px;
  height: 200px;
  padding: 0;
  overflow-y: auto;
}

.ms-container .ms-optgroup-label{
  margin: 0;
  padding: 5px 0px 0px 5px;
  cursor: pointer;
  color: #999;
}

.ms-container .ms-selectable li.ms-elem-selectable,
.ms-container .ms-selection li.ms-elem-selection{
  border-bottom: 1px #eee solid;
  padding: 5px 10px;
  color: #555;
  font-size: 14px;
}

.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-hover{
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  background-color: #08c;
}

.ms-container .ms-selectable li.disabled,
.ms-container .ms-selection li.disabled{
  background-color: #eee;
  color: #aaa;
  cursor: text;
}
.ms-header{
  padding: 4px 10px;
  border: 1px solid #d1d1d1;
  background-clip: padding-box;
  @include linear-gradient(#f9f9f9,#ededed);
}
.ms-select-all,.ms-select-all:hover,.ms-deselect-all,.ms-deselect-all:hover{
    text-decoration: none;
    margin-top: 3px !important;
}

.ms-header .form-control.ms-filter{
  width: 140px;
  display: inline;
}

.ms-container .ms-selectable li.ms-elem-selectable, .ms-container .ms-selection li.ms-elem-selection{
  font-size: 12px;
}

.ms-filter{
  height: 20px;
}

.ms-container {
  background: transparent image-url('switch.png') no-repeat 270px 80px;
}
