/* Discern Forms: matches the look of the old Ninja Forms forms on discerncx.com. */
.dcf-form { margin: 0; font-family: inherit; }
.dcf-form *, .dcf-form *::before, .dcf-form *::after { box-sizing: border-box; }

.dcf-sr, .dcf-hp {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.dcf-hp { left: -9999px; }

.dcf-form input[type="text"], .dcf-form input[type="email"], .dcf-form input[type="tel"],
.dcf-form select, .dcf-form textarea {
	display: block; width: 100%; height: 50px; margin: 0; padding: 12px;
	border: 0; border-radius: 0; outline: none; box-shadow: none;
	background: #636363; color: #fff;
	font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.4;
}
.dcf-form textarea { height: 200px; resize: vertical; }
/* The site theme styles every select; out-rank it and draw our own arrow once. */
form.dcf-form .dcf-field select {
	padding: 0 40px 0 12px; appearance: none; -webkit-appearance: none;
	background-color: #636363;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
.dcf-form ::placeholder { color: #fff; opacity: 1; }
.dcf-form input:focus, .dcf-form select:focus, .dcf-form textarea:focus { box-shadow: inset 0 0 0 2px #1f8bc1; }
.dcf-form [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #e5484d; }

.dcf-error { display: block; min-height: 0; margin-top: 4px; color: #ff8a8d; font-size: 13px; }
.dcf-error:empty { display: none; }

.dcf-status { margin-top: 12px; font-size: 15px; color: #fff; }
.dcf-status:empty { display: none; }
.dcf-status--ok { color: #8fd694; }
.dcf-status--error { color: #ff8a8d; }

/* The site theme colours and upper-cases submit buttons; out-rank it.
   btn-custom-typo (set in the HTML) opts out of the theme's bold, spaced button lettering,
   so the button text matches the form fields. */
form.dcf-form button.dcf-submit {
	display: inline-flex; text-transform: none !important; min-width: 0; box-shadow: none; align-items: center; justify-content: center;
	height: 50px; padding: 0 12px; border: 0; border-radius: 8px; cursor: pointer;
	background: #1f8bc1; color: #f7f7f7;
	font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1; letter-spacing: normal;
}
form.dcf-form button.dcf-submit:hover { background: #1a78a8; }
form.dcf-form button.dcf-submit:disabled { opacity: .6; cursor: wait; }

/* Contact form: two columns where the old form had them. */
.dcf-form--contact { display: flex; flex-wrap: wrap; gap: 25px 10px; }
.dcf-form--contact .dcf-field { flex: 1 1 100%; }
.dcf-form--contact .dcf-field--half { flex: 1 1 calc(50% - 5px); }
.dcf-form--contact .dcf-actions, .dcf-form--contact .dcf-status { flex: 1 1 100%; }
form.dcf-form--contact button.dcf-submit { width: 340px; max-width: 100%; }
@media (max-width: 600px) {
	.dcf-form--contact .dcf-field--half { flex-basis: 100%; }
}

/* Footer sign-up: email box and a square send button side by side. */
.dcf-form--subscribe { display: flex; flex-wrap: wrap; align-items: flex-start; max-width: 260px; }
.dcf-form--subscribe .dcf-field { flex: 0 1 128px; min-width: 0; }
.dcf-form--subscribe input[type="email"] { background: #848484; color: #ddd; }
.dcf-form--subscribe ::placeholder { color: #fff; }
form.dcf-form--subscribe button.dcf-submit { width: 65px; padding: 0; color: #fff; }
.dcf-form--subscribe .dcf-status { flex: 1 1 100%; }
