.dmh-form {
--dmh-navy: #002338;
--dmh-steel: #7da1c4;
--dmh-wash: #f4f6f8;
--dmh-border: #d8dde2;
--dmh-text: #222222;
--dmh-muted: #555555;
--dmh-fine: #7c807e; --dmh-error: #b3261e;
--dmh-success: #1e6b3a;
background: var(--dmh-wash);
border: 1px solid var(--dmh-border);
padding: 32px;
margin: 0 0 48px;
color: var(--dmh-text);
box-sizing: border-box;
}
.dmh-form *,
.dmh-form *::before,
.dmh-form *::after {
box-sizing: inherit;
} .dmh-grid {
display: grid; grid-template-columns: minmax(0, 1fr);
gap: 20px 24px;
}
@media (min-width: 768px) {
.dmh-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.dmh-field {
margin: 0;
min-width: 0;
}
.dmh-field--full {
grid-column: 1 / -1;
} .dmh-form label,
.dmh-form .dmh-label {
display: block;
margin: 0 0 6px;
font-size: 14px;
line-height: 1.4;
font-weight: 600;
color: var(--dmh-muted);
}
.dmh-req {
color: var(--dmh-error);
font-weight: 700;
}
.dmh-help {
display: block;
margin: 6px 0 0;
font-size: 13px;
line-height: 1.5;
color: var(--dmh-muted);
}
.dmh-required-note {
margin: 12px 0 0;
font-size: 13px;
color: var(--dmh-fine);
} .dmh-form .dmh-input,
.dmh-form input[type="text"],
.dmh-form input[type="email"],
.dmh-form input[type="tel"],
.dmh-form textarea {
width: 100%;
max-width: 100%;
padding: 12px 14px; font-size: 16px;
line-height: 1.4;
color: var(--dmh-text);
background: #ffffff;
border: 1px solid var(--dmh-border);
border-radius: 2px;
min-height: 46px;
transition: border-color .15s ease, box-shadow .15s ease;
}
.dmh-form textarea {
min-height: 150px;
resize: vertical;
}
.dmh-form .dmh-input::placeholder {
color: #9aa3ab;
opacity: 1;
}
.dmh-form .dmh-input:focus,
.dmh-form textarea:focus,
.dmh-form .dmh-file:focus + .dmh-file-button,
.dmh-form .dmh-submit:focus {
outline: 3px solid var(--dmh-steel);
outline-offset: 2px;
border-color: var(--dmh-navy);
}  .dmh-form .wpcf7-not-valid-tip {
position: static;
top: auto;
left: auto;
display: block;
margin: 6px 0 0;
padding-left: 18px;
font-size: 13px;
line-height: 1.45;
font-weight: 600;
color: var(--dmh-error);
background: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b3261e'%3E%3Cpath d='M8 1L0 15h16L8 1zm0 4.5c.4 0 .75.35.7.78l-.3 3.5a.4.4 0 01-.8 0l-.3-3.5A.72.72 0 018 5.5zm0 6a.9.9 0 110 1.8.9.9 0 010-1.8z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: 0 2px;
background-size: 13px 13px;
}
.dmh-form .wpcf7-not-valid {
border-color: var(--dmh-error);
border-left-width: 4px;
} .dmh-form__summary {
margin: 0 0 24px;
padding: 16px 20px;
background: #ffffff;
border: 1px solid var(--dmh-error);
border-left: 4px solid var(--dmh-error);
}
.dmh-form__summary[hidden] {
display: none;
}
.dmh-form__summary h3 {
margin: 0 0 8px;
font-family: Georgia, "Times New Roman", serif;
font-size: 18px;
line-height: 1.3;
color: var(--dmh-error);
}
.dmh-form__summary ul {
margin: 0;
padding-left: 20px;
}
.dmh-form__summary li {
margin: 4px 0;
font-size: 14px;
}
.dmh-form__summary a {
color: var(--dmh-error);
text-decoration: underline;
}
.dmh-form__summary:focus {
outline: 3px solid var(--dmh-steel);
outline-offset: 2px;
} .dmh-file-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
} .dmh-form .dmh-file {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.dmh-file-button {
display: inline-block;
margin: 0 !important;
padding: 12px 22px;
min-height: 46px;
font-size: 15px;
font-weight: 600;
line-height: 1.4;
color: var(--dmh-navy) !important;
background: #ffffff;
border: 1px solid var(--dmh-navy);
border-radius: 2px;
cursor: pointer;
transition: background-color .15s ease, color .15s ease;
}
.dmh-file-button:hover {
background: var(--dmh-navy);
color: #ffffff !important;
}
.dmh-file-name {
font-size: 14px;
color: var(--dmh-muted);
word-break: break-all;
min-width: 0;
}
.dmh-file-clear {
appearance: none;
border: 0;
background: none;
padding: 4px 8px;
font-size: 16px;
line-height: 1;
color: var(--dmh-muted);
cursor: pointer;
}
.dmh-file-clear:focus {
outline: 3px solid var(--dmh-steel);
outline-offset: 2px;
} .dmh-turnstile {
margin: 0;
min-height: 0;
} .dmh-actions {
margin-top: 8px;
}
.dmh-form .dmh-submit,
.dmh-form input.wpcf7-submit {
display: inline-block;
width: auto;
padding: 14px 32px;
min-height: 48px;
font-size: 15px;
font-weight: 600;
letter-spacing: .08em;
text-transform: uppercase;
color: #ffffff;
background: var(--dmh-navy);
border: 1px solid var(--dmh-navy);
border-radius: 2px;
cursor: pointer;
transition: background-color .15s ease;
}
.dmh-form .dmh-submit:hover,
.dmh-form input.wpcf7-submit:hover {
background: #01374f;
}
@media (max-width: 767px) {
.dmh-form {
padding: 20px;
}
.dmh-form .dmh-submit,
.dmh-form input.wpcf7-submit {
width: 100%;
}
}  .dmh-hp {
position: absolute;
left: -9999px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
} .dmh-form + .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
margin: 24px 0 0;
padding: 18px 22px;
border: 1px solid var(--dmh-border);
border-left: 4px solid var(--dmh-steel);
background: #ffffff;
font-size: 15px;
line-height: 1.6;
}
.wpcf7 form.sent .wpcf7-response-output {
border-color: var(--dmh-border);
border-left-color: var(--dmh-success);
color: var(--dmh-text);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
border-left-color: var(--dmh-error);
color: var(--dmh-text);
} .dmh-success {
background: #ffffff;
border: 1px solid var(--dmh-border);
border-left: 5px solid var(--dmh-success);
padding: 32px;
margin: 0 0 48px;
}
.dmh-success:focus {
outline: 3px solid var(--dmh-steel);
outline-offset: 2px;
}
.dmh-success h3 {
margin: 0 0 12px;
font-family: Georgia, "Times New Roman", serif;
font-size: 22px;
line-height: 1.3;
color: var(--dmh-navy);
}
.dmh-success p {
margin: 0 0 8px;
font-size: 15px;
line-height: 1.65;
color: var(--dmh-text);
}
.dmh-success p:last-child {
margin-bottom: 0;
color: var(--dmh-muted);
} .dmh-form .screen-reader-text {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
} @media (prefers-reduced-motion: reduce) {
.dmh-form *,
.dmh-success,
.dmh-form__summary {
transition: none !important;
animation: none !important;
scroll-behavior: auto !important;
}
}