/* fancySelect */

.alarm_wrapper div.fancy-select {
  position: relative;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  color: #007b9b;
}

.alarm_wrapper div.fancy-select.disabled {
  opacity: 0.5;
}

.alarm_wrapper div.fancy-select select:focus+div.trigger {
  box-shadow: 0 0 0 2px #4B5468;
}

.alarm_wrapper div.fancy-select select:focus+div.trigger.open {
  box-shadow: none;
}

.alarm_wrapper div.fancy-select div.trigger {
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 24px 9px 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  background: #cceef1;
  transition: all 240ms ease-out;
  -webkit-transition: all 240ms ease-out;
  -moz-transition: all 240ms ease-out;
  -ms-transition: all 240ms ease-out;
  -o-transition: all 240ms ease-out;
  margin-top: -8px;
  font-size: 14px;
  color: #056882;
}

.alarm_wrapper div.fancy-select div.trigger input{
  width: 100%;
  background: none;
  border: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  color: #056882;
  text-align: center;
  padding:0;
}

.alarm_wrapper div.fancy-select.block div.trigger {
  background: #fff;
}

.alarm_wrapper .sound_selector_wrapper div.fancy-select div.trigger {
  background: #007b9b;
  color: #fff;
}

.alarm_wrapper sound_selector_wrapper div.fancy-select.block div.trigger {
  background: #4b4b4b;
  color: #fff;
}

.alarm_wrapper div.fancy-select div.trigger:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: #4B5468;
  top: 20px;
  right: 9px;
}

.alarm_wrapper sound_selector_wrapper div.fancy-select div.trigger:after {
  border-top-color: #fff;
}

.alarm_wrapper div.fancy-select div.trigger.open {
  background: #1ea0c1;
  //border: 1px solid #007b9b;
  color: #fff;
  box-shadow: none;
}

.alarm_wrapper div.fancy-select div.trigger.open:after {
  border-top-color: #7A8498;
}
.alarm_wrapper .sound_selector_wrapper div.fancy-select div.trigger:after {
border-top-color: #fff;
}

.alarm_wrapper div.fancy-select ul.options {
  list-style: none;
  margin: 0;
  position: absolute;
  top: 40px;
  left: 0;
  visibility: hidden;
  opacity: 0;
  z-index: 101;
  max-height: 300px;
  overflow: auto;
  min-width: 138px;
  border-color: #007b9b;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  margin-top: 3px;
  transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
  -webkit-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
  -moz-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
  -ms-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
  -o-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
}

.alarm_wrapper .sound_selector_wrapper div.fancy-select ul.options {
  min-width: 369px;
}

.alarm_wrapper div.fancy-select ul.options.open {
  visibility: visible;
  top: 45px;
  opacity: 1;
  border-color: #007b9b;
  /* have to use a non-visibility transition to prevent this iOS issue (bug?): */
  /*http://stackoverflow.com/questions/10736478/css-animation-visibility-visible-works-on-chrome-and-safari-but-not-on-ios*/
  transition: opacity 300ms ease-out, top 300ms ease-out;
  -webkit-transition: opacity 300ms ease-out, top 300ms ease-out;
  -moz-transition: opacity 300ms ease-out, top 300ms ease-out;
  -ms-transition: opacity 300ms ease-out, top 300ms ease-out;
  -o-transition: opacity 300ms ease-out, top 300ms ease-out;
}

.alarm_wrapper div.fancy-select ul.options.overflowing {
  top: auto;
  bottom: 40px;
  transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
  -webkit-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
  -moz-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
  -ms-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
  -o-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
}

.alarm_wrapper div.fancy-select ul.options.overflowing.open {
  top: auto;
  bottom: 50px;
  transition: opacity 300ms ease-out, bottom 300ms ease-out;
  -webkit-transition: opacity 300ms ease-out, bottom 300ms ease-out;
  -moz-transition: opacity 300ms ease-out, bottom 300ms ease-out;
  -ms-transition: opacity 300ms ease-out, bottom 300ms ease-out;
  -o-transition: opacity 300ms ease-out, bottom 300ms ease-out;
}

.alarm_wrapper div.fancy-select ul.options li {
  padding: 8px 10px;
  color: #2B8686;
  cursor: pointer;
  white-space: nowrap;
  transition: all 150ms ease-out;
  -webkit-transition: all 150ms ease-out;
  -moz-transition: all 150ms ease-out;
  -ms-transition: all 150ms ease-out;
  -o-transition: all 150ms ease-out;
  display: block;
  font-size: 14px;
  background: #007b9b;
  color: #ffffff;
  font-weight: 600;
  border-bottom-style: dotted;
  border-width: 1px;
  border-bottom-color: #6baec5;
  ;
}

.alarm_wrapper div.fancy-select ul.options li.selected {
  color: #fff;
}

.alarm_wrapper div.fancy-select ul.options li.hover {
  color: rgba(0, 0, 0, 0.5);
}
