/***********************************
 * Layout
 ***********************************/
.wSelect-el {
  width: 0 !important;
  height: 0 !important;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}

.wSelect {
  display: inline-block;
  *display: inline;
  position: relative;
  vertical-align: middle;
  zoom: 1;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.wSelect-arrow {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 30px;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 0px center;
}

.wSelect.wSelect-multiple {
  overflow: hidden;
}

.wSelect-selected {
  overflow: hidden;
  white-space: nowrap;
  background-repeat: no-repeat;
  background-position: 0 center;
  padding: 12px 20px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.wSelect-options-holder {
  display: none;
  position: absolute;
  left: 0px;
  overflow: hidden;
  z-index: 200;
  overflow-x: hidden;
}

.wSelect-multiple .wSelect-options-holder {
  display: block !important;
  position: relative !important;
  top: auto !important;
  margin-top: -20px !important;
  border: none !important;
  z-index: auto !important;
}

.wSelect-options {
  padding: 30px;
  overflow-x: hidden;
  overflow-y: auto;
}

.wSelect-options::-webkit-scrollbar {
  width: 15px;
}

.wSelect-options::-webkit-scrollbar-button {
  display: none;
}

.wSelect-options::-webkit-scrollbar-thumb {
  border: 4px solid transparent;
  border-radius: 100vw;
  background-color: #CCCCCC;
  background-clip: padding-box;
}

.wSelect-option {
  background-repeat: no-repeat;
  cursor: pointer;
}

.wSelect-option-last {
  margin-bottom: 0px;
}

.wSelect-option-last .wSelect-option-value {
  margin-bottom: 0px;
}

.wSelect-option-value {
  overflow: hidden;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  background-repeat: no-repeat;
  background-position: 0 center;
}

.wSelect-option-disabled .wSelect-option-value {
  filter: alpha(opacity=20);
  opacity: 0.2;
}


/***********************************
 * Theme - classic
 ***********************************/
.wSelect-theme-qb.wSelect {
  float: none !important;
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 4px;
  box-shadow: none !important;
  color: #212121 !important;
  background-size: 0 2px, 100% 1px;
  background-repeat: no-repeat;
  background-position: center bottom, center calc(100% - 1px);
  background-color: #fff;
  transition: background 0s ease-out !important;
}

.wSelect-theme-qb.wSelect:hover {
  outline: 1px solid #663CC4;
  border-color: #663CC4;
}

.wSelect-theme-qb.wSelect-error {
  border: 1px solid #ff6565;
}

.wSelect-arrow {
  background-image: url('../../img/common/ico_arr_dropdown.svg');
}

.wSelect-theme-qb.wSelect-active {
  border: 1px solid #663CC4;
  box-shadow: none;
  outline: 1px solid #663CC4;
  background-size: 100% 2px, 100% 1px !important;
  transition-duration: 0.3s !important;
}

.wSelect-theme-qb .wSelect-options-holder {
  width: 100%;
  margin-top: 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.16);
  background-color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

.wSelect-theme-qb .wSelect-option {
  color: #212121;
  font-size: 16px;
  font-weight: 500;
  background-color: #fff;
}

.wSelect-theme-qb .wSelect-option-disabled {
  color: #313e51 !important;
  background-color: #fff !important;
}

.wSelect-theme-qb .wSelect-option:hover {
  color: #663CC4;
  background-color: #fff;
}

.qb-custom-select>label.error {
  display: none;
}

/***********************************
 * Labels
 ***********************************/
.wLabel-top,
.wLabel-left,
.wLabel-left-top {
  display: block;
  line-height: 16px;
  margin: 5px 0 3px 3px;
  color: #999;
  font-size: 10px;
  vertical-align: middle;
}

.wLabel-left-top {
  vertical-align: top;
}

@media screen and (min-width: 600px) {

  .wLabel-left,
  .wLabel-left-top {
    display: inline-block;
    *display: inline;
    width: 70px;
    margin: 0 0 7px 0;
    text-align: right;
    zoom: 1;
  }
}

@media (max-width: 460.9px) {
  .wSelect-options {
    padding: 15px;
  }
}
