* {
  box-sizing: border-box;
}


body {
   font-family: Arial, Helvetica, sans-serif;
    font-size: 1.15em;  
}


/* COMMON RADIO AND CHECKBOX STYLES  */
input[type=radio],
input[type=checkbox]{
  /* Hide original inputs */
  visibility: hidden;
  position: absolute;
}
input[type=radio] + label:before,
input[type=checkbox] + label:before{
  height:15px;
  width:15px;
  margin-right: 2px;
  content: " ";
  display:inline-block;
  vertical-align: baseline;
  border:1px solid #777;
}
input[type=radio]:checked + label:before,
input[type=checkbox]:checked + label:before{
  background: #ffb84d;
}

/* CUSTOM RADIO AND CHECKBOX STYLES */
input[type=radio] + label:before{
  border-radius:20%;
}
input[type=checkbox] + label:before{
  border-radius:2px;
}



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

input {
  border: 1px solid transparent;
  background-color: white;
  padding: 10px;
  font-size: 1.0em;
}

input[type=text] {
  background-color: #ffffff;
   border: 1px solid #1d5f64; 
  width: 100%;
}

input[type=submit] {
  background-color: #1d5f64;
  color: #ffff;
  cursor: pointer;
  text-align: center;
}

input[type="submit"]:hover {
    border: 1px solid #1d5f64;
    background-color: #278188;
    color: #ffff;
}



@media (min-width: 320px) and (max-width: 480px) {

 input[type=submit] {
    float: none;
    display: block;
    text-align: center;
    width: 300px;
    margin-top: 20px;
    padding: 12px;
 }


.autocomplete {
  position: relative;
  display: inline-block;
  width: 300px;
}

input[type=text] {
    width: 300px; 
}




}





.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  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;
}

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

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

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