form {
	font-size: medium;
}
form p {
	margin-top: 0;
	margin-bottom: 24px;
}
input,
textarea {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 2px;
	padding: 8px;
	border: solid 1px #999;
	border-radius: 5px;
	font-size: 1.6rem;
}
select {
	padding: 8px;
	border-color: #999;
	border-radius: 5px;
	font-size: 1.6rem;
}
input[type="checkbox"],
input[type="radio"] {
	width: revert;
}
input[type="submit"] {
	min-width: 140px;
	min-height: 40px;
	border-radius: 25px;
	margin-top: 32px;
	font-size: 1.6rem;
}

/* ContactForm7 */
.wpcf7 div.screen-reader-response {
	display: none;
}
.wpcf7 small {
	color: #dc3232;
}
.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}
.wpcf7 form.init .wpcf7-response-output {
	display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}
.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}
.wpcf7 form fieldset {
	border-width:0;
}
.wpcf7-not-valid-tip {
	color: #dc3232;
	font-size: 1em;
	font-weight: normal;
	display: block;
}
.wpcf7 input[type="number"] {
	width: 100px;
}
.wpcf7 input[type="submit"] {
	width: 100%;
}
.wpcf7 table {
	width: 100%;
	font-size: revert;
}
.wpcf7 th {
	display: block;
	background-color: #f0f0f0;
}
.wpcf7 td {
	display: block;
}
.wpcf7 th p,
.wpcf7 td p {
	margin-bottom: 0;
}

@media screen and (min-width:500px){
/* ContactForm7 */
.wpcf7 input {
	width: revert;
	max-width: 100%;
}
.wpcf7 input[type="submit"] {
	width: 360px;
}
.wpcf7 p:has(input[type="submit"]) {
	text-align: center;
}
.wpcf7 .wpcf7-spinner {
	display: block;
}
}

@media screen and (min-width:768px){
/* ContactForm7 */
.wpcf7 th,
.wpcf7 td {
	display: revert;
}
.wpcf7 th {
	width: 35%;
}
}
