.custom-select {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 13px;
  zoom: 1;
  *display: inline;
  width: 220px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.custom-select.small {
  width: 104px;
}

.custom-select.medium {
  width: 164px;
}

.custom-select.large {
  width: 300px;
}

.custom-select.xlarge {
  width: 380px;
}

.custom-select > select {
  display: none !important;
}

.custom-select > a.dropdown-toggle {
  border-radius: 0;
  line-height: 28px;
  box-shadow: none;
  background: #ffffff;
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0 0 0 8px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  color: #888;
  width: 100%;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-top-right-radius: 5px;
  border: none;
  border-bottom-right-radius: 5px;
}

.custom-select > a.dropdown-toggle.disabled,
.custom-select > a.dropdown-toggle.disabled:hover {
  cursor: not-allowed;
  color: #aaa;
  background: #eee;
}

.custom-select > a.dropdown-toggle:hover,
.custom-select.open > a.dropdown-toggle {
  color: #333;
}

.custom-select.open > a.dropdown-toggle {
  border-bottom: 0;
  line-height: 29px;
}

.control-group.error .custom-select > a.dropdown-toggle {
  border-color: #f09784;
  color: #d68273;
}

.custom-select > a.dropdown-toggle > span {
  display: block;
  overflow: hidden;
  margin-right: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  top: 4px;
}

.custom-select > a.dropdown-toggle > b {
  position: absolute;
  top: 0;
  right: 10px;
  display: block;
  width: 18px;
  height: 100%;
  background-image: url(../img/arrow-down-sign-to-navigate-down.png);
  background-position: center center;
  background-repeat: no-repeat;
  transition: all .2s cubic-bezier(.25, .8, .25, 1) !important;
}

.custom-select.open > a.dropdown-toggle > b {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.custom-select > .dropdown-menu {
  margin-top: 0;
  border: 1px solid #aaa;
  border-top: 0 !important;
  padding-bottom: 0;
  padding-top: 0 !important;
  width: auto;
  min-width: 100%;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 0;
  border-top: 1px solid #9a9b97 !important;
  position: relative;
  top: 0;
  left: 0;
}

.custom-select > .dropdown-menu > .custom-select-search {
  position: relative;
  z-index: 1010;
  margin: 0;
  padding: 0 4px;
  white-space: nowrap;
  display: none !important;
}

.custom-select > .dropdown-menu > .custom-select-search > input {
  width: 100%;
  height: 30px;
  margin: 0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 4px 20px 4px 5px;
  border-radius: 0;
}

.custom-select > .dropdown-menu > .custom-select-search:after {
  content: "\f002";
  display: inline-block;
  color: #888;
  font-family: FontAwesome;
  font-size: 14px;
  position: absolute;
  top: 4px;
  right: 10px;
}



.custom-select > .dropdown-menu > ul {
  border-color: #aaa;
  border-top: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 14px;
}

.custom-select > .dropdown-menu > ul::-webkit-scrollbar {
  width: 6px;
}

.custom-select > .dropdown-menu > ul::-webkit-scrollbar-track {
  background: #bbb;
}

.custom-select > .dropdown-menu > ul::-webkit-scrollbar-thumb {
  background: #666;
}

.custom-select > .dropdown-menu > ul::-webkit-scrollbar-thumb:hover {
  background: #000;
}

.custom-select > .dropdown-menu > ul > li > a {
  font-size: 13px;
  margin-bottom: 1px;
  margin-top: 1px;
  display: block;
  padding: 3px 8px;
  clear: both;
  font-weight: normal;
  line-height: 20px;
  color: #333;
  cursor: pointer;
  width: 100%;
  min-height: 80px;
}

.custom-select > .dropdown-menu > ul > li > a strong {
  font-family: 'Nexa Bold', sans-serif;
  font-size: 15pt;
  padding-left: 4px;
  position: relative;
  top: 28px;
}

.custom-select > .dropdown-menu > ul > li > a span.pull-left {
  position: relative;
  top: 22px;
}

.custom-select > .dropdown-menu > ul > li > a span.pull-right {
  width: 183px;
}

.custom-select > .dropdown-menu > ul > li > a:hover,
.custom-select > .dropdown-menu > ul > li > a:focus {
  color: #fff;
  text-decoration: none;
  background-repeat: repeat-x;
}

.custom-select > .dropdown-menu > ul > li > a {
  transition: all .2s cubic-bezier(.25, .8, .25, 1) !important;
}

.custom-select > .dropdown-menu > ul > li > a:hover,
.custom-select > .dropdown-menu > ul > li > a:focus {
  color: #333 !important;
  background: #fdd021;
}

.custom-select > .dropdown-menu > ul > li.empty-result > em {
  text-align: center;
  padding: 4px 8px;
  display: block;
}

.custom-select > .dropdown-menu > .custom-select-action > button {
  border-radius: 0;
  background-image: none;
}

.custom-select > .dropdown-menu:before {
  border: 0;
}