﻿/*the container must be positioned relative:*/
.custom-select {
  position: relative;
   font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
}

.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  
}

/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    top: 18px;
    right: 19px;
    width: 0;
    height: 0;
    border: solid #a9b1b6;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
    border: solid #a9b1b6;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);

}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #4d5858;
  padding: 8px 16px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
  text-align: left;
}

/*style items (options):*/
.select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 102;
  background-color: #fff;
  outline: 1px solid #a9b1b6;
  overflow-y: scroll;
  max-height: 720px;
}

/*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);
}