:root {
  --active: rgba(136, 180, 236, 0.8);
  --not-active: rgba(136, 180, 236, 0.4);
  --input: rgba(214, 214, 214, 0.8);
}

div#hauslieferung-form input[type="text"],
div#hauslieferung-form input[type="number"],
div#hauslieferung-form input[type="e-mail"],
div#hauslieferung-form input[type="tel"] {
  background: var(--input);
  padding: 15px;
  min-width: 100%;
}

div#hauslieferung-form input::placeholder,
div#hauslieferung-form textarea::placeholder {
  color: black;
}

div#hauslieferung-form #send-hauslieferung {
  background: var(--not-active);
  padding: 10px;
  margin: 0px 0 0 0;
  cursor: pointer;
  position: relative;
}

div#hauslieferung-form #send-hauslieferung button {
  background: var(--not-active);
  cursor: pointer;
  color: black;
  text-align: center;
  width: 100%;
  background: none;
}

div#hauslieferung-form li {
  margin: 0 0 5px 0 !important;
  list-style: none !important;
}

div#hauslieferung-form textarea {
  padding: 5px;
  background: var(--input);
}

div#hauslieferung-form legend.list {
  margin: 0px 0 0 0;
}

div#hauslieferung-form div#messages [id^="form-message-"] {
  display: none;
  color: rgb(255, 255, 255);
  font-size: 1.2rem;
  line-height: 1.2rem;
}

div#hauslieferung-form section {
  margin: 0 0 50px 0;
}

div#hauslieferung-form select {
  font-weight: bold;

  width: 100%;
  padding: 15px 15px;
  border: 1px solid none;
  background: var(--active);
  appearance: none; /* Removes the default browser styling */
  -webkit-appearance: none; /* Removes the default browser styling in Safari */
  -moz-appearance: none; /* Removes the default browser styling in Firefox */
}

#hauslieferung-form select option {
  background: var(--not-active);
  font-weight: bold;
}

#hauslieferung-form {
  position: relative;
}

div#hauslieferung-form div#messages {
  display: none;
  background: orange;
  padding: 12px;
}

div#hauslieferung-form input[type="radio"] {
  margin: 0px 0 0 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px rgba(214, 214, 214, 0.8) inset;
  transition: background-color 5000s ease-in-out 0s;
}

#hauslieferung-form .city li {
  margin: 0 0 0px 0;
  display: block;
  min-width: 50%;
}

#hauslieferung-form ul.city {
  margin: 0 0 5px 0;
}

#hauslieferung-form .city label {
  padding: 10px;
  display: block;
  cursor: pointer;
  background: var(--not-active);
  min-width: 50%;
  text-align: center;
}

#hauslieferung-form .package li {
  margin: 0 0 20px 0;
}

#hauslieferung-form .package label {
  padding: 10px;
  display: block;
  cursor: pointer;
  background: var(--not-active);
}

#hauslieferung-form .payment li {
  margin: 0 0 20px 0;
  min-width: 50%;
}

#hauslieferung-form .payment label {
  padding: 10px;
  display: block;
  cursor: pointer;
  background: var(--not-active);
  text-align: center;
}

#hauslieferung-form.time input {
  margin: 0 0 20px 0;
  cursor: pointer;
  text-align: left;
}

#hauslieferung-form .time label {
  padding: 10px;
  display: block;
  cursor: pointer;
  background: var(--not-active);
}

#hauslieferung-form input[type="radio"] {
  display: none;
}

#hauslieferung-form input[type="radio"]:checked + label {
  background: var(--active);
  font-weight: bold;
}

#hauslieferung-form input[type="radio"]:checked + label::before {
  content: "✓";
  padding: 0 5px 0 0;
}

#hauslieferung-form #group-price {
  font-size: 1.5rem;
  width: 100%;
  text-align: center;
  margin: 50px 0 50px 0;
}

#hauslieferung-form #price {
  font-size: 1.5rem;
  width: 100%;
  text-align: center;
  margin: 50px 0 50px 0;
}

#hauslieferung-form #price-description {
  font-size: 1.5rem;
  width: 100%;
  text-align: center;
  margin: 50px 0 50px 0;
  font-size: 0.8rem !important;
}

#hauslieferung-form input[type="submit"] {
  background: rgb(58, 61, 212) !important;
  color: white;
  font-size: 1.3rem;
}
