.idealform select{
  position: absolute;
  left: -9999px;
}
.idealform .idealselect,
  display: inline-block;
}
.idealform div {
  margin-bottom: 1em;
}
.idealform ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.idealform input[type="text"], .idealform input[type="password"] {
  line-height: 1;
  width:200px;
  height:18px;
  border: 0;
  text-decoration: none;
  font-size: 14px;
  font-family: Arial, sans-serif;
  display: inline-block;
  padding: .5px;
  border: 2px solid #b3b3b3;
  background: #ffffff;
  -moz-box-shadow: inset 0 1px rgba(0, 0, 0, 0.2), transparent 0 0 0;
  -webkit-box-shadow: inset 0 1px rgba(0, 0, 0, 0.2), transparent 0 0 0;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.2), transparent 0 0 0;
  -webkit-border-radius: 4px 4px 4px 4px;
  -moz-border-radius: 4px 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
}
.idealform input[type="text"]:focus, .idealform input[type="password"]:focus, .idealform textarea:focus {
  border: 1px solid #999;
  -moz-box-shadow: 0 0 2px #1ba5c7, transparent 0 0 0;
  -webkit-box-shadow: 0 0 2px #1ba5c7, transparent 0 0 0;
  box-shadow: 0 0 2px #1ba5c7, transparent 0 0 0;
}
.idealform .idealselect a {
  line-height: 0.5;
  width:150px;
  height:5px;
  border: 1;
  text-decoration: none;
  font-size: 14px;
  font-family: Arial, sans-serif;
  display: block;
  padding: .5em;
}
.idealform .idealselect .idealselect-title {
  position: relative;
  color: #666;
  border: 1px solid #999;
  background: #FFF;
}
.idealform .idealselect .idealselect-title span {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-block;
  height: 100%;
  width: 2em;
  border-left: 1px solid #999;
 }
.idealform .idealselect .idealselect-title small {
  position: relative;
  display: inline-block;
  vertical-align: top;
  top: 50%;
  left: 50%;
  margin: -0.25em 0 0 -0.5em;
  border-width: .4em;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}
.idealform .idealselect ul {
  position: absolute;
  overflow-y: scroll;
  z-index: 8;
  border: 1px solid #969696;
  background: #d6d6d6;
  background: -moz-linear-gradient(top, #CCC 0%, #CCC 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #CCC), color-stop(100%, #CCC));
  background: -webkit-linear-gradient(top, #CCC 0%, #CCC 100%);
  background: -o-linear-gradient(top, #CCC 0%, #CCC 100%);
  background: -ms-linear-gradient(top, #CCC 0%, #CCC 100%);
  background: linear-gradient(top, #CCC 0%, #CCC 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6d6d6', endColorstr='#fcfcfc',GradientType=0 );
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}

.idealform .idealselect ul a {
  color: #000;
}
.idealform .idealselect ul a:hover {
  background: #666;
  color: #CCC;
}