* {
  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: #f6a11a;
}

/* 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;
  color: black;
}

@media all and (max-width: 600px) {
	 width: 290px;
}

/* #### Mobile Phones Portrait  #### */
@media all (min-width: 320px) and (max-width: 480px) {
  width: 290px;
}


input {
  border: 1px solid transparent;
  background-color: white;
  padding: 10px;
  margin-left: -35px;
  color: black;
}

input[type=text] {
  background-color:  #fff;
  border: 1px solid  #ddd; 
  width: 100%;
  margin-left: -35px;
}

input[type=submit] {
  background-color: #f7b140;
  color: #343a40;
  cursor: pointer;
}

input[type="submit"]:hover {
    border: 1px solid #343a40;
    background-color: #f6a11a;
    color: #343a40;
}

.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;
  margin-left: -35px;
  margin-right: 35px;
  color: black;
}

.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; 
}
