
/* MCDForms WPCF7 */

/* MISC */
.wpcf7.mcdforms * {
    font-family: "Rubik", "Inter", sans-serif !important;
}
.wpcf7.mcdforms h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.5em;
    color: #000;
}
.wpcf7.mcdforms h3 {
    font-size: 20px;
    margin-top: 2.5rem;
    margin-bottom: 0;
    color: #000;
}
.wpcf7.mcdforms p:last-child {
    margin-bottom: 0;
}
.wpcf7.mcdforms .contact-form-info-message {
    font-size: 11px;
}
.wpcf7.mcdforms .field-instructions {
    display: block;
    padding-bottom: 0.5rem;
    font-size: 15px;
}
.wpcf7.mcdforms a,
.wpcf7.mcdforms a:visited {
    color: rgb(0, 68, 19);
    text-decoration-color: rgb(0, 68, 19);
    text-decoration: none;
}
.wpcf7.mcdforms a:hover,
.wpcf7.mcdforms a:active,
.wpcf7.mcdforms a:focus {
    text-decoration: underline;
}
.wpcf7.mcdforms form .wpcf7-response-output,
.wpcf7.mcdforms form .wpcf7-response-output,
.wpcf7.mcdforms form .wpcf7-response-output {
    border-color: #fdc600;
    margin-left: 0;
    margin-right: 0;
}


/* FORM STRUCTURE */


.wpcf7.mcdforms fieldset {
    display: block flex;
    padding-left: 0;
    padding-right: 0;
    background: none;
    border: none;
    padding-bottom: 0;
}

.wpcf7.mcdforms fieldset > .col {
    flex-shrink: 0;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}


.wpcf7.mcdforms fieldset.form-columns-1 > .col {
    flex-basis: 100%;
    flex-wrap: wrap;
}
.wpcf7.mcdforms fieldset.form-columns-2 > .col {
    flex-basis: 50%;
}


.wpcf7.mcdforms fieldset > .col:first-child:not(:only-child) {
    padding-right: 0.25rem;
}
.wpcf7.mcdforms fieldset > .col:last-child:not(:only-child) {
    padding-left: 0.25rem;
}


/* ELEMENTS - GENERAL */


.wpcf7.mcdforms label {
    color: #000;
    font-family: "Rubik", "Inter", sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: .35rem;
    padding-top: 0;
    padding-bottom: 0;
    text-align: left;
    width: auto;
}

.wpcf7.mcdforms fieldset > .col > p {
    margin-bottom: 0;
}
.wpcf7.mcdforms fieldset > .col > p > label {
    display: flex;
    min-height: 3rem;
    align-items: flex-end;
    flex-wrap: wrap;
}
.wpcf7.mcdforms fieldset > .col > p > label + br {
    display: none;
}

.wpcf7.mcdforms select,
.wpcf7.mcdforms input,
.wpcf7.mcdforms textarea {
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #dadada;
    color: #000;
    display: inline-block;
    font-size: .875rem;
    line-height: 1.15;
    font-weight: 400;
    padding: .75rem 1rem;
    width: 100%;
    box-sizing: border-box;
}
.wpcf7.mcdforms select:focus,
.wpcf7.mcdforms input:focus,
.wpcf7.mcdforms textarea:focus {
    border-color: #fdc600 !important;
}

.wpcf7.mcdforms input[type="radio"],
.wpcf7.mcdforms input[type="checkbox"] {
    width: auto;
}

.wpcf7.mcdforms .wpcf7-list-item {
    display: block;
}


/* INVALID FIELDS */


.wpcf7.mcdforms .wpcf7-not-valid-tip {
    display: none;
}
.wpcf7.mcdforms span[data-error-message] > input {
    border-color: #ef6b51;
}
.wpcf7.mcdforms .invalid-field.wpcf7-form-control-wrap::after {
    content: attr(data-error-message);
    font-size: 0.875rem;
    line-height: 1.4;
    display: block;
    position: static;
    color: #ef6b51;
    font-weight: 400;
    margin-top: .7rem;
    margin-bottom: 0;
    width: 100%;
}
.wpcf7.mcdforms .invalid-field.wpcf7-form-control-wrap[data-name="acceptance"]::after {
    margin-bottom: .7rem;
}
.wpcf7.mcdforms input[type="file"][aria-invalid="true"] + .wpcf7-not-valid-tip {
    display: block;
    font-size: 0.875rem;
    line-height: 1.4;
    position: static;
    color: #ef6b51;
    font-weight: 400;
    margin-top: .7rem;
    margin-bottom: .7rem;
    width: 100%;
}

/* ACCEPTANCE CHECKBOXES */


.wpcf7.mcdforms .wpcf7-form-control-wrap[data-name="acceptance"] {
    display: block;
    margin-top: 2rem;
}
.wpcf7.mcdforms .wpcf7-form-control.wpcf7-acceptance > .wpcf7-list-item {
    margin-left: 0;
}
.wpcf7.mcdforms .wpcf7-form-control.wpcf7-acceptance input + span {
    display: inline-block;
    max-width: calc(100% - 25px);
    vertical-align: top;
    margin-left: 6px;
}
.wpcf7.mcdforms .wpcf7-form-control.wpcf7-acceptance label {
    display: block;
    margin-bottom: 0.7rem;
}
.wpcf7.mcdforms .acceptance-comment {
    margin-bottom: 1.4rem;
    font-size: 15px;
    line-height: 1.375;
    font-family: "Rubik", "Inter", sans-serif;
    color: black;
}
.wpcf7.mcdforms .acceptance-comment a,
.wpcf7.mcdforms .acceptance-comment a:visited {
    color: rgb(0, 68, 19);
    text-decoration-color: rgb(0, 68, 19);
    text-decoration: none;
}
.wpcf7.mcdforms .acceptance-comment a:hover,
.wpcf7.mcdforms .acceptance-comment a:active,
.wpcf7.mcdforms .acceptance-comment a:focus {
    color: rgb(0, 68, 19);
    text-decoration: underline;
}


/* SUBMIT BUTTON */

.wpcf7.mcdforms input[type="submit"] {
    background-color: #fdc600;
    border: 1px solid #fdc600;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter, sans-serif;
    font-size: .75rem;
    font-weight: 700;
    height: auto;
    letter-spacing: .03em;
    line-height: 1.1;
    margin: 0;
    padding: 15px 25px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all .15s linear;
    white-space: nowrap;
    width: auto;
}
.wpcf7.mcdforms input[type="submit"]:hover {
    background-color: #004413;
    border-color: #004413;
}
.wpcf7.mcdforms input[type="submit"]:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.wpcf7.mcdforms .form-success-message {
    display: none;
}
.wpcf7.mcdforms .mcdforms-wpcf7.sent .contact-form-wrapper > *:not(.form-success-message) {
    display: none;
}
.wpcf7.mcdforms .mcdforms-wpcf7.sent > .wpcf7-response-output {
    display: none;
}
.wpcf7.mcdforms .mcdforms-wpcf7.sent .contact-form-wrapper > .form-success-message {
    display: block;
    color: #666;
    padding: 0 20px;
}

@media all and (max-width: 768px) {
    .wpcf7.mcdforms fieldset {
        padding-bottom: 0.65rem;
    }
    .wpcf7.mcdforms fieldset.form-columns-2 {
        flex-wrap: wrap;
    }
    .wpcf7.mcdforms fieldset.form-columns-2 > .col {
        flex-basis: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .wpcf7.mcdforms fieldset > .col:nth-child(2) {
        padding-top: 0.65rem;
    }
    .wpcf7.mcdforms.wpcf7.mcdforms fieldset > .col > p > label {
        display: inline-block;
        min-height: auto;
    }
}