/*======================================
  Selectric
======================================*/
.selectric-wrapper {
  position: relative;
  cursor: pointer;
  height: 100%;
}

.selectric-responsive {
  width: 100%;
}

.selectric {
  border: 1px solid rgba(51, 51, 51, 0.1);
  background: #ffffff;
  position: relative;
  border-radius: 6px;
  font-size: 15px;
  height: 100%;
}

.selectric .label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 30px 0 0;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  color: #333333;
  min-height: 18px;
}

.selectric .button {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
  height: 100%;
  color: #BBB;
  text-align: center;
  font: 0/0 a;
  /* IE Fix */
  *font: 20px/30px Lucida Sans Unicode, Arial Unicode MS, Arial;
  background-color: transparent !important;
  cursor: pointer;
  background: #3F91CD url("/local/templates/main/html/common/images/arrow-down.svg") no-repeat 50% 50%;
}

.selectric .button:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-bottom: none;
}



.selectric-hover .selectric .button {
  color: #888;
  cursor: pointer;
}


.selectric-open .selectric {
  background: #ffffff;
  border-bottom-width: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 2px;
}

.selectric-open .selectric-items {
  display: block;
  z-index: 20;
}
.selectric-items {
  height: auto;
}

@media (max-width: 400px) {
  .selectric-items {
    height: 378px !important;
  }
}
.selectric-open .button {
  transform: rotate(180deg);
}

.selectric-open.selectric-above .selectric {
  border-top-width: 0;
  border-bottom-width: 2px;
}

.selectric-open.selectric-above .selectric-items {
  border-bottom-width: 0;
  border-top-width: 2px;
}

.selectric-disabled {
  filter: alpha(opacity=50);
  opacity: 0.5;
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.selectric-hide-select {
  position: relative;
  overflow: hidden;
  width: 0;
  height: 0;
}

.selectric-hide-select select {
  position: absolute;
  left: -100%;
}

.selectric-hide-select.selectric-is-native {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.selectric-hide-select.selectric-is-native select {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  border: none;
  z-index: 1;
  box-sizing: border-box;
  opacity: 0;
}

.selectric-input {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 1px !important;
  height: 1px !important;
  outline: none !important;
  border: none !important;
  *font: 0/0 a !important;
  background: none !important;
}

.selectric-temp-show {
  position: absolute !important;
  visibility: hidden !important;
  display: block !important;
}

/* Items box */
.selectric-items {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(51, 51, 51, 0.1);
  border-top-width: 0;
  z-index: -1;
  padding: 0 24px 30px 0;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}
.selectric-scroll ul {
  max-height: 329px;
}
.selectric-scroll ul::-webkit-scrollbar {
  -webkit-appearance: none;
  border-radius: 3.5px;
  width: 7px;
  -webkit-overflow-scrolling: auto;
}
.selectric-scroll ul::-webkit-scrollbar-thumb {
  background-color: #c4c4c4;
  border-radius: 3.5px;
  -webkit-border-radius: 3.5px;
  width: 7px;
}
.selectric-scroll ul::-webkit-scrollbar-track {
  border-radius: 3.5px;
  -webkit-border-radius: 3.5px;
  background-color: #f2f2f2;
}
.selectric-scroll::-webkit-scrollbar {
  border-radius: 3.5px;
  -webkit-border-radius: 3.5px;
  width: 7px;
}
.selectric-scroll::-webkit-scrollbar-thumb {

  background-color: #c4c4c4;
  border-radius: 3.5px;
  width: 7px;
}
.selectric-scroll::-webkit-scrollbar-track {
  border-radius: 3.5px;
  background-color: #f2f2f2;
}


.selectric-items .selectric-scroll {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.selectric-above .selectric-items {
  top: auto;
  bottom: 100%;
}

.selectric-items ul, .selectric-items li {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  min-height: 20px;
}

.selectric-items li {
  display: block;
  padding: 10px 20px 10px 23px;
  color: #999999;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
  tab-index: 1;
}

.selectric-items li.highlighted {
  color: #3F91CD;
}

.selectric-items li.selected {
  color: #3F91CD;
}

.selectric-items li:hover {
  color: #3F91CD;
}

.selectric-items .disabled {
  display: none;
  filter: alpha(opacity=50);
  opacity: 0.5;
  cursor: default !important;
  background: none !important;
  color: #666 !important;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.selectric-items .selectric-group .selectric-group-label {
  font-weight: bold;
  padding-left: 10px;
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: none;
  color: #444;
}
.selectric-below .label {
  color: #333333;
}
.selectric-items .selectric-group.disabled li {
  filter: alpha(opacity=100);
  opacity: 1;
}

.selectric-items .selectric-group li {
  padding-left: 25px;
}
.selectric-wrapper.multiple .selectric-items li {
  position: relative;
  padding-left: 55px;
  color: #333333;
}
.selectric-wrapper.multiple .selectric-items li::before {
  content: "";
  position: absolute;
  display: block;
  top: 9px;
  left: 20px;
  width: 23px;
  height: 23px;
  border: 1px solid #EAEAEA;
  border-radius: 6px;
  box-sizing: border-box;
}
.selectric-wrapper.multiple .selectric-items li:hover {
  color: #333333;
}
.selectric-wrapper.multiple .selectric-items li.selected::before {
  background: #3F91CD url("/local/templates/main/html/common/images/checked.svg") no-repeat 50% 50%;
}