body,
div,
form,
input,
select,
textarea,
p {
  padding: 0;
  margin: 0;
  outline: none;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 22px;
}

h1 {
  position: absolute;
  margin: 0;
  font-size: 36px;
  color: #fff;
  z-index: 2;
}

.addressbox {
  display: flex;
  justify-content: left;
  align-items: center;
  height: inherit;
  padding: 20px;
}

form {
  width: 70%;
  padding: 20px;
  border-radius: 6px;
  background: #fff;
}

input,
textarea,
select {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

input {
  width: calc(100% - 10px);
  padding: 5px;
}

select {
  width: 50%;
  padding: 7px 0;
  background: white;
}

textarea {
  width: calc(100% - 12px);
  padding: 5px;
}

.item:hover p,
.item:hover i,
.question:hover p,
.question label:hover,
input:hover::placeholder {
  color: #333;
}

.item input:hover,
.item select:hover,
.item textarea:hover {
  border: 1px solid transparent;
  box-shadow: 0 0 6px 0 #333;
  color: #333;
}

.item {
  position: relative;
  margin: 10px 0;
}

input[type="time"]::-webkit-inner-spin-button {
  margin: 2px 22px 0 0;
}

input[type="radio"],
input.other {
  display: none;
}

label.radio {
  position: relative;
  display: inline-block;
  margin: 5px 20px 10px 0;
  cursor: pointer;
}

.question span {
  margin-left: 30px;
}

label.radio:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #ccc;
}

#radio_5:checked ~ input.other {
  display: block;
}

input[type="radio"]:checked + label.radio:before {
  border: 2px solid #444;
  background: #444;
}

label.radio:after {
  content: "";
  position: absolute;
  top: 7px;
  left: 5px;
  width: 7px;
  height: 4px;
  border: 3px solid #fff;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  opacity: 0;
}

input[type="radio"]:checked + label:after {
  opacity: 1;
}

.btn-block {
  margin-top: 10px;
  text-align: center;
}

@media (min-width: 568px) {
  .name-item,
  .city-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .city-item select {
    width: calc(50% - 8px);
  }
  #subform {
    background: 53a6ed;
    color: white;
  }
  #subform:hover {
    background: #890a1d;
    color: white;
  }
  label {    
    display: inline-block;
    font-family: sans-serif;
    margin: auto;
  }
  input[type="button"] {
    background-color: #890a1d;
    border: none;
    color: white;
    padding: 6px 20px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    min-width: 100px;
  }
  input:hover[type="button"] {
    background: #a73647;
  }
  input[type="itembutton"] {
    background-color: #890a1d;
    border: none;
    color: white;
    padding: 6px 20px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    width: 20%;
    text-align: center;
    min-width: 100px;
  }
  input:hover[type="itembutton"] {
    background: #a73647;
  }
  input[type="submit"] {
    background-color: #890a1d;
    border: none;
    color: white;
    padding: 6px 20px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    width: 20%;
    min-width: 200px;
  }
  .itemButton {
    background: #a73647;
  }
  .itemButton {
    background-color: #890a1d;
    border: none;
    color: white;
    padding: 6px 20px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    width: 20%;
    min-width: 200px;
  }
  input:hover[type="submit"] {
    background: #a73647;
  }
  input[type="reset"] {
    background-color: #890a1d;
    border: none;
    color: white;
    padding: 6px 20px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    width: 20%;
    min-width: 200px;
  }
  input:hover[type="reset"] {
    background: #a73647;
  }
}
.searchInput {
  background-image: url("https://www.jccal.org/Sites/EmployeesPortal/Images/Main/searchIcon.png"); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-size: 20px 20px;
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 100%; /* Full-width */
  font-size: 16px; /* Increase font-size */
  padding: 12px 20px 12px 40px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
}

#myTable {
  border-collapse: collapse; /* Collapse borders */
  width: 100%; /* Full-width */
  border: 1px solid #ddd; /* Add a grey border */
  font-size: 18px; /* Increase font-size */
}

#myTable th,
#myTable td {
  text-align: left; /* Left-align text */
  padding: 12px; /* Add padding */
}

#myTable tr {
  /* Add a bottom border to all table rows */
  border-bottom: 1px solid #ddd;
}

#myTable tr.header,
#myTable tr:hover {
  /* Add a grey background color to the table header and on hover */
  background-color: #f1f1f1;
}