.idealselect {
  position: relative;
  width: 100%;
  display: inline-block;
  text-align:left;
  zoom: 1;
}

.idealselect * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}

.idealselect:before,
.idealselect:after {
  content: "";
  display: table
}

.idealselect:after { clear: both }

.idealselect:focus { outline: none }

.idealselect ul {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  list-style: none
}

.idealselect .title {
  position: relative;
  display: block;
  height:40px;
  padding-right: 12px;
  line-height: 40px;
  text-indent:10px;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid #ddd;
}

.idealselect .title:after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  margin-top: -1px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent;
  border-top-color: #444
}

.idealselect .title i {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 28px;
}

.idealselect .title:hover {
  background: #EEE;
}

.idealselect .title:focus { outline:none }

.idealselect:focus .title {
  border-color: #ccc;
}

.idealselect.openfocus .title {
  border-color: #ccc;
}

.idealselect.open .title {
}

.idealselect.open .title:after {
  margin-top: -7px;
  border-color: transparent;
  border-bottom-color: #444
}

.idealselect .dropdown {
  display: none;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-top: 0;
  /*-webkit-border-bottom-left-radius: 3px;
  border-bottom-left-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  border-bottom-right-radius: 3px;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);*/
}

.idealselect .dropdown li {
  padding: 0 7px;
  height: 30px;
  line-height: 30px;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
}

.idealselect .dropdown li:hover { color:#fff;background: #999 }

.idealselect .dropdown li.selected,
.idealselect .dropdown li.selectedactive {
  color: #fff;
  background: #666;
  /*background: -webkit-linear-gradient(#285d85, #3070a0);
  background: -moz-linear-gradient(#285d85, #3070a0);
  background: -o-linear-gradient(#285d85, #3070a0);
  background: -ms-linear-gradient(#285d85, #3070a0);
  background: linear-gradient(#285d85, #3070a0)*/
}

.idealselect.open .dropdown { display: block }

.ie9 .idealselect .dropdown {
  width: auto;
  min-width: 100%
}
