/* CSS styles */
body {
  padding: 0;
  margin: 0;
  font: 16px Arial;
}
#heading-back {
  background: #8B0B45;
  width: 100%;
  height: 100px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 70%);
  padding-top: 20px;
}
#heading {
  text-align: center;
  color: #ffffff;
}
#main {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
#twosplit {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.subcontainer {
  border: solid #BFBFBF 1px;
  border-radius: 7px;
  width: 350px;
  height: 300px;
  max-width: 100vw;
  background: #F2F2F2;
}
.subc-heading {
  background: #8B0B45;
  border: solid #8B0B45 1px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  color: #ffffff;
  padding: 7px;
}
.subc-content {
  padding: 10px
}
h3 {
  margin: 0px 0px 5px 0px;
  text-align: center;
  
}
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}
input {
  border: 1px solid transparent;
  background-color: #F2F2F2;
  padding: 10px;
  font-size: 16px;
}
input[type=text] {
  background-color: #F2F2F2;
  width: 300px;
  max-width: 100vw;
  padding: 0px 10px ;
  height: 40px;
  border-radius: 7px;
  border: solid 1px #BFBFBF;
}

.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;
}