﻿.select3 * {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

.select3 {
  position: relative;
  width: 100%;
  /* height: 40px; */
  height: auto !important;
  min-height: 40px;
  /* border: 1px solid #b5b5b5; */
  /* box-shadow: 0 0 0 1px #b5b5b5; */
  border: unset;
  box-shadow: 0 0 0 1px #b5b5b5 inset;
  /* line-height: 40px; */
  display: inline-block;
  display: flex;
  flex-direction: column;
  justify-content: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* padding: 11px 10px; */
  background-color: #fff;
}

/*
.select3.form-control { border: unset; }

.select3:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
	border: 1px solid #b5b5b5;
	box-sizing: border-box;
}
*/

.select3-list {
  /* display: block; */
  position: absolute;
  top: 100%;
  /* left: -1px; */
  left: 0;
  width: 100%;
  max-height: 240px;
  margin: 0;
  padding: 0 !important;
  border: inherit;
  box-shadow: 0 0 5px #dddddd;
  box-shadow: inherit;
  box-shadow: 0 0 0 1px #b5b5b5;
  list-style: none !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  background-color: #ffffff;
  -webkit-transform: translate(0, 20px);
  transform: translate(0, 20px);
  /* -webkit-transition-property: opacity, transform; */
  /* transition-property: opacity, transform; */
  -webkit-transition-property: opacity;
  transition-property: opacity;
  -webkit-transition-duration: .2s;
  transition-duration: .2s;
}

.select3-list ul,
.select3-list ol {
  list-style: none !important;
  padding: 0;
  margin: 0;
  /* display: block; */
}

.select3-list li {
  /* display: block; */
}

.select3.is-active .select3-list {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
}

.select3-title,
.select3-item {
  /*
	height: 100%;
	font-size: 14px;
	padding: 0 10px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	line-height: 18px;
	*/
  line-height: inherit;
  box-sizing: border-box;
  cursor: pointer;
  /* display: flex; */
  flex-direction: column;
  justify-content: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* padding: 11px 10px; */
  padding: 11px 28px 11px 10px;
}

.select3-item {
  margin-top: 0;
  margin-bottom: 0;
  /* padding: 11px 10px; */
  transition-property: background-color, color;
  transition-duration: 0.2s;
}

.select3-title {
  /* position: relative; */
  /* padding: 0 38px 0 10px;
	min-height: 40px; */
  /* padding-right: 38px;
	margin-right: -10px; */
  width: 100%;
  overflow: hidden;
}

.select3-title {
  /* padding-right: 23px; */
}

/*
.select3-title:after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
	height: 100%;
	background-color: inherit;
	opacity: 0.8;
}
*/


.select3-arrow {
  position: absolute;
  z-index: 9;
  /* right: 10px; */
  right: 8px;
  /* width: 18px; */
  width: 15px;
  height: 9px;
  overflow: hidden;
  display: block;
  /* top: 16px; */
  top: 50%;
  -webkit-transform: translateY(-33%);
  transform: translateY(-33%);
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

.select3-arrow:before {
  content: '';
  position: relative;
  top: -100%;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid #b5b5b5;
  border-color: transparent #b5b5b5 #b5b5b5 transparent !important;
  display: block;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.select3.is-active .select3-arrow {
  -webkit-transform: translateY(-66%) rotate(180deg);
  transform: translateY(-66%) rotate(180deg);
}

.select3-selected,
.select3-item.selected,
.select3-item:hover {
  background-color: #f6f6f6;
}

.select3-item.is-disabled,
.select3-item.select3-placeholder,
.select3-title.is-placeholder {
  color: #b5b5b5;
}

/* .select3-item.select3-placeholder, */
/* .select3-title.is-placeholder, */
.select3-item.is-disabled {
  font-size: 0.8em;
}

/* .select3-item.select3-placeholder, */
.select3-item.is-disabled {
  cursor: not-allowed;
}

.select3.only-option {
  /* background-color: unset; background-color: rgba(255, 255, 255, 0.7); padding-left: 0; padding-right: 0; */
}

.select3.only-option .select3-title {
  cursor: default;
}

.select3.only-option .select3-arrow,
.select3.no-option .select3-arrow,
.select3.only-option .select3-title:after,
.select3.no-option .select3-title:after {
  display: none;
}

@media (max-width: 575.98px) {

  .select3-title,
  .select3-item {
    /* padding-right: 19px; */
    padding-right: 24px;
  }

  /*
.select3-title:after {
	width: 26px;
}
*/
  .select3-arrow {
    right: 6px;
  }
}