.nice-select {
	position: relative;
	text-align: start;
	-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;
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.8;
	color: #{$default-color};
	height: 41px;
	background-color: rgb($white);
	background-clip: padding-box;
	border: 1px solid #{$border};
	border-radius: 4px;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  
	&:after {
	  border-block-end: 2px solid #{$border};
	  border-inline-end: 2px solid #{$border};
	  content: '';
	  display: block;
	  height: 5px;
	  margin-block-start: -4px;
	  pointer-events: none;
	  position: absolute;
	  inset-inline-end: 12px;
	  inset-block-start: 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;
	  width: 5px;
	}
  
	&.open {
	  &:after {
		-webkit-transform: rotate(-135deg);
		-ms-transform: rotate(-135deg);
		transform: rotate(-135deg);
	  }
  
	  .list {
		opacity: 1;
		pointer-events: auto;
		-webkit-transform: scale(1) translateY(0);
		-ms-transform: scale(1) translateY(0);
		transform: scale(1) translateY(0);
	  }
	}
  
	&.disabled {
	  border-color: #{$border};
	  color: #{$color};
	  pointer-events: none;
  
	  &:after {
		border-color: #{$border};
	  }
	}
  
	&.wide {
	  width: 100%;
  
	  .list {
		inset-inline-start:0 !important;
		inset-inline-end: 0 !important;
	  }
	}
  
	&.right {
	  float: $float-end;
  
	  .list {
		inset-inline-start:auto;
		inset-inline-end: 0;
	  }
	}
  
	&.small {
	  font-size: 12px;
	  height: 36px;
	  line-height: 34px;
  
	  &:after {
		height: 4px;
		width: 4px;
	  }
  
	  .option {
		line-height: 34px;
		min-height: 34px;
	  }
	}
  
	.list {
	  background-color: rgb($white);
	  border-radius: 5px;
	  box-shadow: 0px 16px 18px #{$shadow-color};
	  border: 1px solid #{$border};
	  box-sizing: border-box;
	  margin-block-start: 4px;
	  opacity: 0;
	  overflow: hidden;
	  padding: 0;
	  pointer-events: none;
	  position: absolute;
	  inset-block-start: 100%;
	  inset-inline-start: 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: 9;
	  width: 100%;
	}
  
	.option {
	  cursor: pointer;
	  font-weight: 400;
	  line-height: 40px;
	  list-style: none;
	  min-height: 40px;
	  outline: none;
	//   padding-inline-start: 18px;
	//   padding-inline-end: 29px;
	  padding-inline-start: 10px;
	  padding-inline-end: 10px;
	  text-align: start;
	  -webkit-transition: all 0.2s;
	  transition: all 0.2s;
  
	  &:hover, &.focus {
		background-color: rgb($white);
	  }
  
	  &.selected {
		&.focus {
		  background-color: rgb($white);
		}
  
		font-weight: bold;
	  }
  
	  &.disabled {
		background-color: transparent;
		color: #{$color};
		cursor: default;
	  }
	}
  }
  
  .no-csspointerevents .nice-select {
	.list {
	  display: none;
	}
  
	&.open .list {
	  display: block;
	}
  }
  
  .nice-select {
	.current {
	  background: transparent;
	}
  
	.form-control {
	  height: inherit;
	}
  }