.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #fff;
  border-radius: 5px;
  border: solid 1px #e8e8e8;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  float: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  height: 42px;
  line-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 30px;
  position: relative;
  text-align: left !important;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  white-space: nowrap;
  width: auto;
}

.nice-select:hover {
  border-color: #dbdbdb;
}

.nice-select:active,
.nice-select.open,
.nice-select:focus {
  border-color: #999;
}

.nice-select:after {
  border-bottom: 2px solid #999;
  border-right: 2px solid #999;
  content: "";
  display: block;
  height: 5px;
  margin-top: -4px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform-origin: 66% 66%;
  transform: rotate(45deg);
  transition: all 0.15s ease-in-out;
  width: 5px;
}

.nice-select.open:after {
  transform: rotate(-135deg);
}

.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.nice-select.disabled {
  border-color: #ededed;
  color: #999;
  pointer-events: none;
}

.nice-select.disabled:after {
  border-color: #cccccc;
}

.nice-select.wide {
  width: 100%;
}

.nice-select.wide .list {
  left: 0 !important;
  right: 0 !important;
}

.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: 5px;
  box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
  box-sizing: border-box;
  margin-top: 4px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9;
}

.nice-select .list:hover .option:not(:hover) {
  background-color: transparent !important;
}

.nice-select .option {
  cursor: pointer;
  font-weight: 400;
  line-height: 40px;
  list-style: none;
  min-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 29px;
  text-align: left;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: #f6f6f6;
}

.nice-select .option.selected {
  font-weight: bold;
}

.nice-select .option.disabled {
  background-color: transparent;
  color: #999;
  cursor: default;
}

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

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

.nice-select.open .list li:first-child {
  display: none;
}

.nice-select.open .list {
  -webkit-padding-end: 10px;
}

.nice-select.open .list div {
  overflow-y: auto;
  max-height: 390px;
  padding-right: 12px;
}

.nice-select.open .list div::-webkit-scrollbar {
  width: 10px;
  margin-right: 10px;
}

.nice-select.open .list div::-webkit-scrollbar-track {
  width: 10px;
}

.nice-select.open .list div::-webkit-scrollbar-thumb {
  background: #e1e1e1;
}

.nice-select {
  border-radius: 0px;
  width: 100%;
  border-color: #cccccc;
}

.nice-select:after {
  width: 0 !important;
  height: 0;
  transform-origin: 50%;
  transform: rotate(0deg);
  border-top: 5px solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-bottom: 0px solid transparent;
  transition: transform 0.12s linear;
}

.nice-select.open:after {
  transform: rotate(180deg);
}

.nice-select.open .list {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

.nice-select:active,
.nice-select.open,
.nice-select:focus {
  border-color: #ccc;
}

.nice-select .list {
  width: 100%;
  border-radius: 0px;
  margin-top: 1px;
  padding: 10px 15px;
  width: 404px;
  left: -1px;
  border: solid 1px #ccc;
  margin-top: 0px;
  z-index: 999;
}

.nice-select .list li {
  font-size: 15px;
  font-weight: 300;
  height: 33px;
  line-height: 33px;
  min-height: 33px;
  padding: 0px;
  font-family: Tahoma;
  font-weight: 100;
}

.nice-select .list li.disabled {
  font-size: 12px;
  font-weight: 900;
  color: #000;
  box-sizing: border-box;
  border-bottom: solid 1px #d6dde7;
  min-height: auto;
  padding: 12px 0px;
  height: initial;
  white-space: initial;
  line-height: 18px;
}

.nice-select .current {
  font-weight: 100;
  font-size: 16px;
  color: #222222;
}

.nice-select .current.picked {
  color: #222222;
}

.nice-select {
  margin-bottom: 10px;
  padding-left: 12px;
  line-height: 1;
}

.nice-select .option.selected {
  font-weight: inherit;
  font-size: 15px;
}

@media (max-width: 1024px) {
  select.nice-select {
    display: block !important;
    opacity: 1;
    height: 43px;
  }

  .newtype .cs-wrapper {
    height: 43px;
    margin-bottom: 10px;
  }
}