/* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: 'Montserrat', sans-serif;
}

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

.select-selected {
  background-color: #324954;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

#model-dropdown .select-selected {
 border-right: 0px !important;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  font-size: 12px;
  border-right: 1px solid #001823;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: #324954;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

.select-items:not(:empty) {
	max-height: 700px;
	overflow-y: scroll;
	z-index: 10;
   /* -ms-overflow-style: auto; for Internet Explorer, Edge */
  /* scrollbar-width: 2px;  for Firefox */
}

.elementor-location-popup .select-items:not(:empty) {
	max-height: 300px !important;
	overflow-y: scroll;
	z-index: 10;
}

.select-items:not(:empty)::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.select-items:not(:empty)::-webkit-scrollbar
{
	width: 6px;
	background-color: #F5F5F5;
}

.select-items:not(:empty)::-webkit-scrollbar-thumb
{
	background-color: #001823;
}

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