main {
  background: linear-gradient(to right, #fff 0%, #fff 60%, #f4f7f4 60%, #f4f7f4 100%);
}
main > div:first-child p {
  padding-bottom: 2em;
}

.entry-content > p {
  padding: 2em;
  margin-bottom: 2em;
  border: 2px solid #03ac4b;
  border-radius: 0.5em;
  background-color: white;
}
.entry-content form table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}
.entry-content form table tr th {
  background-color: #e0ede0;
  border: none;
  width: 32%;
  position: relative;
}
.entry-content form table tr th p {
  padding: 0;
}
.entry-content form table tr th span {
  font-size: 75%;
  font-weight: 400;
  display: inline-block;
  background-color: white;
  padding: 0 0.5em;
  position: absolute;
  right: 0.5em;
  top: calc(50% - 1em);
}
.entry-content form table tr th span.required {
  color: #03ac4b;
  border: 1px solid #03ac4b;
}
.entry-content form table tr th span.optional {
  color: #444;
  border: 1px solid #666;
}
.entry-content form table tr td {
  padding: 0.5em 0 0.5em 1em;
  border: none;
  background-color: white;
}
.entry-content form table tr td .wpcf7-list-item {
  margin: 0;
}
.entry-content form table tr td input {
  width: 90%;
  padding: 0.5em;
  border: 1px solid #b3e6c9;
  border-radius: 3px;
}
.entry-content form table tr td input[type=checkbox] {
  width: auto;
}
.entry-content form table tr td select {
  width: 90%;
  border: 1px solid #b3e6c9;
  border-radius: 3px;
  font-size: 100%;
  padding: 0.5em 0;
  height: 2.4em;
}
.entry-content form table tr td textarea {
  width: 90%;
  padding: 0.5em;
  border: 1px solid #b3e6c9;
  border-radius: 3px;
}
.entry-content form table tr:first-child td p {
  display: flex;
}
.entry-content form table tr:first-child td p span {
  width: 40%;
}
.entry-content form table tr:first-child td p span:first-of-type {
  margin-right: 10%;
}
.entry-content form table tr:first-child td p input {
  width: 100%;
}
.entry-content form input[type=submit] {
  margin: 30px auto;
  width: 12em;
  padding: 1em 0;
  display: block;
}

@media screen and (max-width: 768px) {
  .entry-content form table tr th, .entry-content form table tr td {
    display: block;
    width: 100%;
  }
  .entry-content form table tr th p {
    padding: 0.5em 0;
  }
}