

.custom-select {
  position: relative;
  font-family: 'prelo_slablight';
  display: inline-flex;

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

.select_text {
float: left;
}


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

.words1 {
	flex: 1 1 auto;
	order: 1;
	text-align: right;
}

 .words2 {
	 flex: 1 1 auto;
	 order: 3;
	 text-align: left;

 }

.select-items div,
.select-selected {
			flex: 0 1 auto;
			order: 2;
		  color: #a4a5a7;
		  /*padding: 8px 16px;
		  border: 2px dashed transparent;
      border-top-color: transparent;
      border-right-color: transparent;
      border-bottom-color: transparent;
      border-left-color: transparent;
		  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;*/
		  cursor: pointer;
		  user-select: none;
		  font-family: 'prelo_slablight';
			background: url(../images/select_alert.png) no-repeat;
			background-position: 100% 24px;
			background-size: 20px 10px;
			/* width:510px; */
			/*border-bottom: 2px dashed #ddd;*/
			margin: auto 12px;
			padding-right: 32px;
}

@media only screen and (max-width: 1279px) {
  .select-selected {
    min-width: 300px;
  }
}

/*style items (options):*/
.select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}
/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

/* Deal with longer select options */
.custom-select[min-width~="900px"] {
	flex-wrap: wrap;
	justify-content: center;
}
.custom-select[min-width~="900px"] .words1 {
	flex: 0 1 auto;
}

.custom-select[min-width~="900px"] .words2 {
	flex: 1 1 100%;
	text-align: center;
}

.custom-select[min-width~="900px"] .select-items div {
	flex: 1 1 50%;
}


.select-items div {
	background: #fff;
	z-index: 999;
	font-size: 18px;
	line-height: 30px;
}

.select-items div:hover, .same-as-selected {
  background-color: #ddd;
}
