* {
  box-sizing: border-box;
}
body {
  background-image: url("../img/index/bkground.gif");
  background-repeat: no-repeat;
  background-size: cover;
}

.formcontainer{
  height: 55%;
  width: 40%;
  margin: 20% auto;
  padding: 1%;
  border-radius: 10px;
  text-align: center;
  background: rgb(255, 255, 255);
}

.formcontainer form {
  margin-bottom: 1%;
}
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}
input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;

}
input[type="text"] {
  background-color: #e4e4e4;
  width: 100%;
}
input[type="text"]:hover {
  background-color: #d3d1d1;
  width: 100%;
}
input[type="submit"] {
  background-color: DodgerBlue;
  color: #fff;
}

input[type="submit"]:hover {
  background-color: rgb(29, 134, 238);
}
.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;
}
.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;
}
#errmsg {
  color:red;
  font-size: 12px;
  font-weight: bold;
  font-family: 'PT Serif', sans-serif;
  margin: 0 auto;
  display: block;
  text-align: center;
}

#return {
  bottom: 0;
  left: 0;
  background-color: #CDCDCD;
  color:black;
  border: none;
  padding: 10px 28px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  font-family: 'PT Serif', sans-serif;
  display: block;
  border-radius: 10px;
  margin-top: 10px;
}

#return:hover {
  background-color: #c2c1c1;
}