input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
  display: none;
}
.icon-search {
  height: 22px;
  width: 34px;
  position: absolute;
  fill: #1e1e1e;
  opacity: .6;
  left: 6px;
  top: 12px;
}
.icon-search:focus {
  fill: #fff;
}
input[type=search] {
  padding: 9px 10px 9px 32px;
  background-position-y: 11px;
  background-size: 20px;
  -webkit-border-radius: 10em !important;
  -moz-border-radius: 10em !important;
  border-radius: 10em !important;
  -webkit-transition: all .3s !important;
  -moz-transition: all .3s !important;
  transition: all .3s !important;
}
input:-moz-placeholder {
  color: #999;
  opacity: 1;
}

#weather-location {
  margin: 16px 0;
}

#weather-location input[type=search] {
  text-align: right;
  direction: rtl;
  width: 350px;
  border: 0;
  line-height: 36px;
  height: 45px;
  color: transparent;
  cursor: pointer;
  border: 1px solid #1b3d67;
  box-sizing: border-box;
}

/*
#weather-location input[type=search]:hover
{
  -webkit-box-shadow: 0 3px 3px 0 rgba(0,0,0,0.14), 0 1px 7px 0 rgba(0,0,0,0.12), 0 3px 1px -1px rgba(0,0,0,0.2);
  box-shadow: 0 3px 3px 0 rgba(0,0,0,0.14), 0 1px 7px 0 rgba(0,0,0,0.12), 0 3px 1px -1px rgba(0,0,0,0.2);
}
*/
#weather-location input[type=search]:focus {
  width: 350px;
  padding-left: 32px;
  color: #000;
  background-color: #fff;
  cursor: auto;
  border: 1px solid #66CC75!important;
  -webkit-box-shadow: 0 0 5px rgba(109, 207, 246, .5) !important;
  -moz-box-shadow: 0 0 5px rgba(109, 207, 246, .5) !important;
  box-shadow: 0 0 5px rgba(109, 207, 246, .5) !important;
  outline: none;
}

#weather-location input:-moz-placeholder {
  color: #888;
  opacity: 1;
}
#weather-location input:-moz-placeholder { 
	color:#888; 
  opacity: 1;
}
#weather-location input:-moz-placeholder { 
	color:#888; 
  opacity: 1;
}
#weather-location input:-ms-input-placeholder { 
	color:#888; 
}

#weather-location input:-webkit-input-placeholder {
  color: #999;
}
#weather-location input:-webkit-input-placeholder {
  color: #888;
}

.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}
@media screen and (max-width: 768px) {
  #weather-location input[type=search],#weather-location input[type=search]:focus {
      width: 100%;
      /*line-height: 28px;
      height: 28px;
      margin: 2px 0 0 0;*/
  }
  /*#weather-location input[type=search] {font-size: 12px;}
  .icon-search {
      height: 14px;
      width: 20px;
      opacity: .6;
      left: 5px;
      top: 18px;
  }
  .autocomplete-items {font-size: 12px; color:#333;text-shadow: none;}
  .new-highlight {display:none;}*/
  .autocomplete {display: inherit;float:none;}

  #weather-location {
     margin: 16px 8px;
  }
}
.autocomplete-items {
  position: absolute;
  border-bottom: none;
  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: 280px;
  overflow-y: scroll;
}
/* width */
.autocomplete-items::-webkit-scrollbar {
  width: 8px;
}

/* Track */
.autocomplete-items::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
.autocomplete-items::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
.autocomplete-items::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
.autocomplete-items div {
  padding: 10px;
  text-align: right;
  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;
}