/* Overlays css autocomplete*/
.ui-autocomplete {
	position: absolute;
	top: 0;
	left: 0;
	cursor: default;
    background-color: #777620;
	z-index:100000;
}
.ui-widget.ui-widget-content.ui-autocomplete {
	z-index: 100000 !important;
}

.ui-menu {
	list-style: none;
	/* padding: 0; */
	margin: 0;
	display: block;
	outline: 0;
}
.ui-menu .ui-menu {
	position: absolute;
}

.ui-menu .ui-menu-item-wrapper {
	position: relative;
	/* padding: 1px 6px 3px 1px; */
}
.ui-menu .ui-menu-divider {
	/* margin: 5px 0; */
	height: 0;
	font-size: 0;
	line-height: 0;
	border-width: 1px 0 0 0;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
	/* margin: -1px; */
	cursor: pointer;
	background-color: #e8e8e8;
}

/* icon support */
.ui-menu-icons {
	position: relative;
}
.ui-menu-icons .ui-menu-item-wrapper {
	padding-left: 2em;
}

/* left-aligned */
.ui-menu .ui-icon {
	position: absolute;
	top: 0;
	bottom: 0;
	left: .2em;
	margin: auto 0;
}

/* right-aligned */
.ui-menu .ui-menu-icon {
	left: auto;
	right: 0;
}

/* Component containers
----------------------------------*/
.searchtext2 {
	border-bottom: 1px solid #F1F2F2;
  }


  .ui-widget div {
	padding-left: 10px;
	padding-right: 10px;
  }

  .ui-widget div:hover {
	background-color: #e9e9e9; 
  }


.ui-widget {
	font-family: 'thongterm';
	font-style: normal;
	font-weight: 400;
	font-size: 16px !important;
	line-height: 34px;
	color: #5A5A5A;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 15px;
	padding-bottom: 10px;
	border-bottom: 1px #F1F2F2;
	margin-top:5px;
}

.ui-widget .ui-widget {
	font-size: 1em;
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
	font-family: 'krungsri-med';
	font-size: 1em;
}
/*
@media (min-width:990px) {
	.ui-widget.ui-widget-content {
		background: #FFFFFF;
		box-shadow: 1px 2px 10px rgba(35, 19, 18, 0.1);
		border-radius: 3px;
		width: 570px;
	}
}

@media (min-width:768px) {
	.ui-widget.ui-widget-content {
		background: #FFFFFF;
		box-shadow: 1px 2px 10px rgba(35, 19, 18, 0.1);
		border-radius: 3px;
		width: 540px;
	
	}
}

/* @media (min-width:412px) {
	.ui-widget.ui-widget-content {
		background: #FFFFFF;
		box-shadow: 1px 2px 10px rgba(35, 19, 18, 0.1);
		border-radius: 3px;
		width: 550px;
	
	}
}

@media (min-width:390px) {
	.ui-widget.ui-widget-content {
		background: #FFFFFF;
		box-shadow: 1px 2px 10px rgba(35, 19, 18, 0.1);
		border-radius: 3px;
		width: 540px;
	
	}
}

@media (min-width:360px) {
	.ui-widget.ui-widget-content {
		background: #FFFFFF;
		box-shadow: 1px 2px 10px rgba(35, 19, 18, 0.1);
		border-radius: 3px;
		width: 345px;
	
	}
} 
*/

 .ui-widget.ui-widget-content {
	background: #FFFFFF;
	box-shadow: 1px 2px 10px rgba(35, 19, 18, 0.1);
	border-radius: 3px;
} 

.ui-widget-content {
	background: #FFFFFF;
	box-shadow: 3px 3px 3px #0000001A; 
	border-radius: 0px 0px 15px 15px;

}
.ui-widget-content a {
	color: #333333; 
	border-radius: 0px 0px 15px 15px;

} 
.ui-widget-header {
	border: 1px solid #dddddd; 
	background: #e9e9e9;
	font-weight: bold;
}
.ui-widget-header a {
	 color: #333333; 
}


/* autocomplete --------------------------------------------*/

/*.autocomplete {
	position: relative;
	display: inline-block;
	
  }
  
  .autocomplete-items {
	font-family: 'thongterm';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 34px;
	color: #5A5A5A;

	position: absolute;
	border-bottom: none;
	border-top: none;
	z-index: 99;
	top: 100%;
	left: 0;
	right: 0;
	background: #FFFFFF;
	box-shadow: 1px 4px 10px rgba(35, 19, 18, 0.1);
	border-radius: 0px 0px 15px 15px;
	
  }
  
  .autocomplete-items div {
	padding-left: 20px;
	padding-right: 10px;
	padding-top: 4px;
	padding-bottom: 3px;
	cursor: pointer;
	background: #FFFFFF;

  }
  .autocomplete-list{
	box-shadow: 3px 3px 3px #0000001A; 
	border-radius: 0px 0px 15px 15px;
  }
  
  when hovering an item:
  .autocomplete-items div:hover {
	background-color: #e8e8e8; 
  }
  
  /*when navigating through the items using the arrow keys:*/
  /* .autocomplete-active {
	background-color: DodgerBlue !important; 
	color: #ffffff; 
  } */

/* Interaction states
----------------------------------*/

/* Overlays */
.hxc-overlay input {
	margin: 0px;
	padding: 0px;
	width: 100%;
	outline: none;
}

.hxc-overlay button {
	position: absolute;
	top: 0;
	/* border-radius: 5px; */
	right: 0px;
	z-index: 2;
	border: none;
	/* top: 2px; */
	height: 64px;
	width: 64px;
	cursor: pointer;
	color: white;
	background-color: #1e90ff;
	transform: translateX(2px);
}

.ui-autocomplete .ui-state-active {
	border:none;
	color:inherit;
}