div.divelect{
	display: inline-flex;
	align-items: center;
	/*align-content: space-between;*/
	border: 1px solid #333;
	width: calc(100% - 2px);
	max-width: calc(100% - 16px);
	background-color: #fff;/*#EDECEC*/;
	height: auto;
	position: relative;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
div.divelect > .caret{
	border-width: 6px !important;
	border-top-color: #898989 !important;
	margin-right: 6px;
	
    border-left-width: 3px !important;
    border-right-width: 3px !important;
	position: absolute;
    right: 0;
    top: calc(50% - 3px);
}
div.divelect > .value{
	white-space: nowrap;
	width: 95%;
	min-height: 15px;
	min-width: 30px;
	margin-right: 3%;
	padding: 3px 8px 3px 4px;
	display: flex;
	align-items: center;
	font-size: 11px;
	color: #666666;
	FONT-FAMILY: Verdana,Arial,SansSerif;
	width: calc(100% - 20px) !important;
	overflow: hidden;
	max-width: calc(100% - 20px) !important;
}
@media only screen and (max-width: 800px) {
	div.divelect > .value{
		min-height: 30px;
	}
	div.divelect > .selection{
		top: 36px !important;
	}
}
div.divelect > .selection{
	background: #fff;
	display: none;
	min-width: 100%;
	z-index: 1;
	max-height: 250px;
	overflow-y: auto;
	overflow-x: hidden;
	position: absolute;
	top: -1px;
	left: -1px;
	border: 1px solid #333;
	top: 21px;
}
div.divelect > .selection > div {
	position: relative;
	padding: 6px;
	font-size: 11px;
}
div.divelect > .selection > div[selected]
div.divelect > .selection > div.search {
	cursor: default;
}
div.divelect > .selection > div[selected]::after {
	content: "\2713";
	position: absolute;
	right: 5px;
	top: 2px;
	font-weight: bold;
}
div.divelect > .selection > div:not([selected]):not(.search):hover {
	background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f13146), color-stop(90%, #d80a21));
    background-image: -webkit-linear-gradient(#f13146 20%, #d80a21 90%);
    background-image: -moz-linear-gradient(#f13146 20%, #d80a21 90%);
    background-image: -o-linear-gradient(#f13146 20%, #d80a21 90%);
    background-image: linear-gradient(#f13146 20%, #d80a21 90%);
    color: #fff;
}


div.divelect > .selection > .search{
	position: sticky;
    background: #fff;
    top: 0;
    left: 0;
    z-index: 1;
	border-bottom: 1px dotted silver;
	cursor: default;
}

div.divelect > .selection > .search > input{
	width: calc(100% - 10px);
	padding: 3px;
	font-size: 11px;
}
div.divelect > .selection > .search > input:focus{
	outline: none;
}

div.divelect > .selection > p{
    font-size: small;
    text-align: center;
    /* margin-left: 15px; */
    font-style: italic;
}

/*************************************************************/
/*************************************************************/

div.divelect > .caret.arrow-up {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  
  border-bottom: 5px solid black;
}

div.divelect > .caret.arrow-down {
  width: 0; 
  height: 0; 
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  
  border-top: 20px solid #f00;
}

/*************************************************************/
/*************************************************************/

div.divelect > .selection::-webkit-scrollbar {
    width: 10px;
	background-color: #F5F5F5;
}
 
div.divelect > .selection::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 1px 0px rgba(0, 0, 0, 0.7);
	background-color: #F5F5F5;
    -webkit-border-radius: 10px;
    border-radius: 0;
}
 
div.divelect > .selection::-webkit-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 5px;
	background: linear-gradient(left, #fff, #e4e4e4);
	border: 1px solid #aaa;
	background-color: #3a3a3a;
}

div.divelect > .selection::-webkit-scrollbar-thumb:hover {
	background-color: #3a3a3ab8;
}
div.divelect > .selection::-webkit-scrollbar-thumb:window-inactive {
	background-color: #D62929;
}
