.CF7_table {
  width: 100%;
  display: block;
}
.CF7_table .entry-content p {
  margin-top: 20px;
  margin-left: 25px;
}
.CF7_table tr {
  display: block;
  margin-bottom: 1.5rem;
}
.CF7_table th {
  display: block;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-align: left;
}
.CF7_table th .CF7_req {
  display: inline-block;
  background: #e63946;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-right: 0.5rem;
}
.CF7_table td {
  display: block;
}
.CF7_table td input[type=text],
.CF7_table td input[type=email],
.CF7_table td textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}
.CF7_table td input[type=text]:focus,
.CF7_table td input[type=email]:focus,
.CF7_table td textarea:focus {
  border-color: #0077cc;
  outline: none;
}
.CF7_table td textarea {
  min-height: 150px;
  resize: vertical;
}
.CF7_table td.message-100 textarea {
  width: 100%;
}
@media (min-width: 768px) {
  .CF7_table {
    display: table;
    border-collapse: collapse;
  }
  .CF7_table tr {
    display: table-row;
    margin-bottom: 0;
  }
  .CF7_table th,
  .CF7_table td {
    display: table-cell;
    vertical-align: top;
    padding: 1rem;
  }
  .CF7_table th {
    width: 25%;
    background: #f8f8f8;
  }
  .CF7_table td {
    width: 75%;
  }
}

.CF7_btn {
  text-align: center;
  margin-top: 2rem;
}
.CF7_btn input[type=submit] {
  background: #0077cc;
  color: #fff;
  padding: 1rem 3rem;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}
.CF7_btn input[type=submit]:hover {
  background: #005fa3;
}

.wpcf7 {
  margin-top: 40px;
}