.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #fff;
  border-radius: 5px;
  box-sizing: border-box;
  border: 1px solid #555;
  clear: both;
  cursor: pointer;
  display: block;
  float: left;
  font-size: 15px;
  font-weight: normal;
  outline: none;
  padding: 1em 1em;
  position: relative;
  text-align: left;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  white-space: nowrap;
  width: auto; 
}
.nice-select.open { border-radius: 5px 5px 0 0; }
.nice-select > span { 
  width: 100%;
  display: inline-block;
  position: relative; 
}
.nice-select > span:after {
  border-bottom: 2px solid #999;
  border-right: 2px solid #999;
  content: '';
  display: block;
  width: 8px; 
  height: 8px;
  margin-top: -6px;
  position: absolute;
  right: 3px;
  top: 50%;
  -webkit-transform-origin: 66% 66%;
      -ms-transform-origin: 66% 66%;
          transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
.nice-select.open > span:after {
  -webkit-transform: rotate(-135deg);
      -ms-transform: rotate(-135deg);
          transform: rotate(-135deg); 
}
.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
      -ms-transform: scale(1) translateY(0);
          transform: scale(1) translateY(0); 
}
.nice-select.disabled {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  color: #999;
  pointer-events: none; 
}
.nice-select.disabled > span:after {
    border-color: #ccc; 
}
.nice-select.wide {
  width: 100%; 
}
.nice-select.wide .list {
  left: -1px !important;
  right: 0 !important; 
  width: calc(100% + 2px);
}
.nice-select.right {
  float: right; 
}
.nice-select.right .list {
  left: auto;
  right: 0; 
}
.nice-select.small {
  font-size: 12px;
  height: 36px;
  line-height: 34px; 
}
.nice-select.small:after {
  height: 4px;
  width: 4px; 
}
.nice-select.small .option {
  line-height: 34px;
  min-height: 34px; 
}
.nice-select .list {
  background-color: #fff;
  border-radius: 0 0 5px 5px;
  border: 1px solid #555;
  border-top: none;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  margin-top: 35px;
  padding: 5px 15px;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  -webkit-transform-origin: 50% 0;
      -ms-transform-origin: 50% 0;
          transform-origin: 50% 0;
  -webkit-transform: scale(0.75) translateY(-21px);
      -ms-transform: scale(0.75) translateY(-21px);
          transform: scale(0.75) translateY(-21px);
  -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 1; 
  max-height: 210px;
  overflow-y: scroll;
}
.nice-select .list:hover .option:not(:hover) {
  background-color: transparent !important; 
}
.nice-select .option {
  font-size: 13px;
  list-style: none;
  outline: none;
  padding: 6px 0px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s; 
}
.nice-select .option:not(:last-child) { border-bottom: 1px solid #ececec; }
.nice-select .option:hover, 
.nice-select .option.focus, .nice-select .option.selected.focus {
  background-color: #f6f6f6; 
  font-weight: 600;
}
.nice-select .option.selected {
  font-weight: bold; 
}
.nice-select .option.disabled {
  background-color: transparent;
  color: #999;
  cursor: default; 
}
.nice-select .option.disabled:hover { background-color: transparent; font-weight: normal; }

.no-csspointerevents .nice-select .list { display: none; }

.no-csspointerevents .nice-select.open .list { display: block; }



/*.nice-select .list::-webkit-scrollbar {
  width: 0
}*/


.nice-select.has-multiple {
  white-space: inherit;
  height: auto;
  padding: 7px 12px;
  min-height: 36px;
  line-height: 22px
}

.nice-select.has-multiple span.current {
  border: 1px solid #CCC;
  background: #EEE;
  padding: 0 10px;
  border-radius: 3px;
  display: inline-block;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 3px;
  margin-right: 3px
}

.nice-select.has-multiple .multiple-options {
  display: block;
  line-height: 24px;
  padding: 0
}

.nice-select .nice-select-search-box {
  position: absolute;
  width: calc(100% + 2px);
  top: 91%;
  left: -1px;
  padding: 5px 12px;
  background: #FFF;
  opacity: 0;
  pointer-events: none;
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(.75) translateY(-21px);
  -ms-transform: scale(.75) translateY(-21px);
  transform: scale(.75) translateY(-21px);
  -webkit-transition: all .2s cubic-bezier(.5, 0, 0, 1.25), opacity .15s ease-out;
  transition: all .2s cubic-bezier(.5, 0, 0, 1.25), opacity .15s ease-out;
  border-left: 1px solid #555;
  border-right: 1px solid #555;
  font-size: 13px;
}

.nice-select .nice-select-search {
  border: 1px solid #ddd;
  vertical-align: middle;
  padding: 7px 12px;
  width: 100%;
  outline: 0
}

.nice-select.open .nice-select-search-box {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0)
}

@media screen and (max-width: 639px) {
  .nice-select { font-size: 14px; }
}
