/* The container must be positioned relative: */
.custom-select {
  position: relative;
  display: inline-block;
  font-family: 'SentinelBook';
  font-size: 14px;
  color: #000;
  vertical-align: middle;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  height: 25px;
  line-height: 20px;
  background-color: #E9E4E1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 10px;
  right: 9px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-color: #000 transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #000 transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  width: 130px;
  padding: 2px 25px 2px 10px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: default;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: #E9E4E1;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  max-height: 50vh;
  overflow-y: auto;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

/*
-------------------------------------------------------------------------- */
.select-items div:first-child{
  display: none;
}
.select-selected.selectedValue{
  color: #fff;
  background-color: #A8A5A2;
}
.select-selected.selectedValue:after{
  opacity: 0;
}
/*.select-selected.selectedValue:before{
  content: '';
  position: absolute;
  top: 7px;
  right: 9px;
  width: 12px;
  height: 12px;
  background-image: url(../img/close-filter.svg);
  background-repeat: no-repeat;
  background-position: center;
}*/
.close-select{
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  height: 100%;
  background-image: url(../img/close-filter.svg);
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  cursor: pointer;
  display: none;
}
.custom-select.selectedValue .close-select{
  display: block;
}

@media only screen and (max-width: 767px){
  .custom-select{
    width: calc(50% - 4px);
    float: left;
    margin-top: 4px;
  }
  .custom-select:nth-child(2n){
    margin-left: 4px;
  }
  .select-items div, .select-selected{
    width: 100%;
  }
  .select-items{
    max-height: 30vh;
  }
}