/*******************
  THE FORM
*******************/


.the-form {
	font-family: var(--titleFont);
	accent-color: var(--color1);
}

.the-form div.wpcf7-response-output  {
	border-radius: 9999px;
  padding: 1em 1.5em;
  line-height: 1.25em;
}
.the-form .title-small {
	clear: both;
	margin-bottom: 0.5em;
}
.the-form .title-small > * {
	font-size: 1em;
	font-weight: 600;
}
.the-form input:not([type="submit"]),
.the-form textarea,
.the-form select {
	display: block;
	width: 100%;
	padding: 1em;
	font-family: var(--baseFont);
	font-size: 1em;
	border: none;
	line-height: 1.25em;
	background: var(--lightGrey);
}

.the-form textarea {
	height: 10em;
}

.the-form .wpcf7-radio input[type="radio"] {
	display: inline-block;
	width: auto;
	padding: 0;
}

.the-form .wpcf7-checkbox span.wpcf7-list-item {
	margin: 0 0 5px 0;
	display: block;
}

.the-form label {
	position: relative;
	display: block;
	line-height: 1.25em;
	font-weight: 700;
	margin-bottom: 0.25em;
}

.the-form .wpcf7-checkbox label {
	position: relative;
	display: block;
	padding-left: 32px;
	line-height: 1.25em;
	font-weight: 700;
	margin-bottom: 0.25em;
}

.the-form .wpcf7-checkbox input[type="checkbox"] {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	width: auto;
}

.the-form .wpcf7-list-item {
	margin: 0 1em 0 0;
}


.the-form .mandatory {
	font-size: 0.75em;
	padding: 0.5em 0;
	text-align: left;
}

.the-form .submit {
	text-align: right;
	margin-top: 1em;
}

.the-form input[type="submit"] {
	display: inline-block;
	font-size: 1em;
	line-height: 1em;
  padding: 1em 1.75em 0.95em 1.75em;
	border-radius: var(--borderRadius);
	background-color: transparent;
	color: var(--color1);
	border: currentColor 2px solid;
	font-family: var(--baseFont);
	font-weight: 700;
}
.the-form input[type="submit"]:hover {
	color: var(--color2);
}

.the-form .boxed {
	background: var(--lightGrey);
	border-radius: var(--borderRadius);
	padding: 1em;
	height: 100%;
}
.the-form .boxed input:not([type="submit"]),
.the-form .boxed textarea,
.the-form .boxed select {
	background: #fff;
}

.the-form.alt input:not([type="submit"]),
.the-form.alt textarea,
.the-form.alt select {
	background: #fff;
	border-radius: 1.5em;
}

.the-form .line {
	display: flex;
	flex-wrap: wrap;
	--g : 0.5em;
	width: calc(100% + (var(--g) * 2));
	margin-left: calc(var(--g) * -1);
}

.the-form input:not([type="submit"]).wpcf7-not-valid,
.the-form textarea.wpcf7-not-valid,
.the-form select.wpcf7-not-valid {
	border: red 1px solid;
}
.the-form .wpcf7-not-valid-tip {
	display: block;
	font-size: 0.8em;
	margin-top: 0.5em;
}

@media screen and (min-width: 600px) {
	.the-form .half {
		flex: 0 0 50%;
		padding: var(--g);
	}
	.the-form .full {
		flex: 0 0 100%;
		padding: var(--g);
	}
}
@media screen and (max-width: 600px) {
	.the-form .half {
		flex: 0 0 100%;
		padding: var(--g);
	}
	.the-form .full {
		flex: 0 0 100%;
		padding: var(--g);
	}
}

.the-form.dark input:not([type="submit"]),
.the-form.dark textarea,
.the-form.dark select {
	background: #fff;
}


.the-form ::placeholder {
  color: currentColor;
  opacity: 0.95; /* Firefox */
}

.the-form ::-ms-input-placeholder { /* Edge 12 -18 */
  color: currentColor;
}