* {
  box-sizing: border-box;
}


.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}


input.autocomplete {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 15px;
  height: 30px;
}

input[type=text].autocomplete {
  background-color: #f1f1f1;
  width: 100%;
}

input[type=submit].autocomplete {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}

.autocomplete_frame {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 13px;
  font-family: Tahoma;
  width: auto;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin: 3px 0px; 	  
}

.autocomplete_frame * {
  box-sizing: border-box;
}

.autocomplete_frame a {
  cursor: pointer;
}

.border0{
  border: 0px solid !important;
}
.autocomplete_selector {
  position: relative;
  display: table;
  overflow: hidden;
  padding: 0 0 0 8px;
  height: 30px;
  border-color: #2f83b7;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  background-color: #fff;
  
  background-clip: padding-box;
  box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
  color: #444;
  text-decoration: none;
  line-height: 24px;
  width: 100%;
}

a.autocomplete_selector, a.autocomplete_selector:active, a.autocomplete_selector:visited
{
	text-decoration: none;	
}

.autocomplete_selector span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete_text
{
	color: blue;
	font-weight: bold;
}

.autocomplete_text_input { 	    position: absolute; z-index: 20;  margin: 0px; height: 40px;     border: solid;     border-color: #076077;   
	border-width: 1px;    border-style: solid;	border-radius: 5px;	padding: 5px;	width: calc(100% - 35px) !important;
}
.autocomplete_des
{
	font-size: 12px;
	color: grey;
	font-weight: normal;
}
.autocomplete_selector div {
  position: absolute;
  top: 0;
  right: 5px;
  display: block;
  width: 25px;
  height: 30px;
  text-align: center;
  padding-top: 7px;
  line-height: 0px;
}

.autocomplete_selector div i 
{
	display: block;
	width: 10px;
	height: 10px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	border: solid black;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
	margin: 0px auto;
	line-height: 0px;
}

.autocomplete_data
{
	position: absolute;
	top: 100%;
	z-index: 1010;
  width: 100%;
  min-width: 160px;
	border: solid 1px #2f83b7;
	border-top: 0;
	
	background: #fff;
	box-shadow: 0px 1px 10px 10px #188306;
	clip: rect(0, 0, 0, 0);	
	margin-top: -5px;
	height: 260px;
	overflow: hidden
	
}
.autocomplete_search
{
	position: relative;
	z-index: 1010;
	margin: 0;
	padding: 3px 4px;
	white-space: nowrap;	
}
.autocomplete_search .autocomplete_search_input
{
	 margin: 1px 0;
	 padding: 4px 20px 4px 5px;
	 width: 100%;
	 height: auto;
	 outline: 0;
	 border: 1px solid #aaa;
	 font-size: 1em;
	 font-family: sans-serif;
	 line-height: normal;
	 border-radius: 0;
}
.autocomplete_search .autocomplete_button_get
{
	margin-left: -80px;	
}

.autocomplete_data_list
{
	height: 225px;
	overflow-y: auto;	
}
.autocomplete-items {
  position: absolute;
  border: 3px solid #d4d4d4;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: hidden;
}

a.autocomplete_data_item{
	width: 100%;
	display: table;
	min-height: 30px;
	height: auto;
	padding: 5px;
	border: solid 1px #e6efff;
	width: 100%;
	color: #060648;;
	font-weight: bold;
	text-decoration: none;
}
a.autocomplete_data_item_active, a.autocomplete_data_item_active:active, a.autocomplete_data_item_active:visited
{
	width: 100%;
	display: table;
	min-height: 30px;
	height: auto;
	padding: 5px;
	border: solid 1px #e6efff;
	width: 100%;
	color: #060648;;
	font-weight: bold;
	background-color: #0762cd;
	color: white;
	text-decoration: none;

}
a.autocomplete_data_item:hover{
	background-color: #333333;
	color: white;
	text-decoration: none;

}

.autocomplete_hightlight
{
	color: #c91010 !important;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9; 
}

.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

.autocomplete-search-text {
	color: red;
	padding: 5px;
	font-weight: bold;
}

a.autocomplete-narrow-down {
   margin-left: -25px;
   text-decoration: none;
   font-size: 15px;
   font-weigh: bold;
}

a.autocomplete-narrow-down:hover{
   color:#F00;
   text-decoration:none;
}


.autocomplete_loader {
  	border: 1px solid #f3f3f3;
  	border-radius: 50%;
  	border-top: 8px solid green;
  	width: 20px;
  	height: 20px;
  	-webkit-animation: spin 2s linear infinite; /* Safari */
  	animation: spin 2s linear infinite;
  	right: 0;
	position: absolute;
	margin: -23px 7px 0px 0px;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


@media only screen and (max-width: 760px)
{
	.autocomplete_frame {
		width: 100%;	
	}
	.autocomplete_selector
	{
		height: 40px; 
		padding: 7px 0 0 8px;	
	}
	.autocomplete_selector div i
	{
		padding: 6px;
	}
	.autocomplete_search .autocomplete_search_input { height: 40px; font-size: 15px}
}