

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
    font-family: var(--wp--preset--font-family--body);
    display: block;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    width: 100%;
    padding: 0.77em 1em;
    background-color: transparent;
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--base-1);
    box-sizing: border-box;
    line-height: normal;
    height: 100%;
    font-weight: 300;
}

.wpcf7 input[type="text"], 
.wpcf7 input[type="email"], 
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"], 
.wpcf7 select, 
.wpcf7 textarea {
    border-radius: 0;
    padding: 0.77em 1em;
    line-height: 1.2;
    border-bottom: 1px solid var(--wp--preset--color--base-1-variant);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.wpcf7 input[type="text"]:focus, 
.wpcf7 input[type="email"]:focus, 
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus, 
.wpcf7 input[type="number"]:focus, 
.wpcf7 select:focus, 
.wpcf7 textarea:focus {
    border-color: var(--wp--preset--color--base-1);
}

select {
    -webkit-appearance: none; /* For WebKit browsers like Safari/Chrome on iOS */
       -moz-appearance: none; /* For Firefox */
            appearance: none; /* Standard property */
    background: none;
    border: none;
    color: var(--wp--preset--color--base-1-variant)
}

.wpcf7 textarea {
    resize: none;
}

.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder,
.wpcf7 input[type="url"]::placeholder,
.wpcf7 input[type="number"]::placeholder, 
.wpcf7 select::placeholder,
.wpcf7 textarea::placeholder {
    color: var(--wp--preset--color--base-1-variant);
    line-height: 1.2;
    font-weight: 400;
}

/* Bottom */

.wpcf7-submit {
    line-height: normal;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

.wpcf7-submit svg {
    display: block;
    color: var(--wp--preset--color--base-1);
    fill: var(--wp--preset--color--base-1);
}

.wpcf7-spinner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 0;
}

.wpcf7 label {
    font-size: var(--wp--preset--font-size--small);
    text-transform: uppercase;
    font-weight: 400;
}

span.wpcf7-form-control-wrap {
    margin-top: 0;
    display: block;
}

.wpcf7-inline-wrapper {
    display: table;
    width: 100%;
} 

.wpcf7-inline-wrapper.wpcf7-input-group {
    display: flex;
}

.wpcf7-inline-wrapper .wpcf7-inline-field {
    width: 50%;
    display: table-cell;
    vertical-align: top;
}
.wpcf7-inline-wrapper.wpcf7-input-group p {
    padding: 0;
    margin: 0;
}

.wpcf7-inline-field.wpcf7-inline-field-title {
    width: 25%;
}

.wpcf7-inline-wrapper > .wpcf7-inline-field:nth-child(1) {
    padding-right: 9px;
}

.wpcf7-inline-wrapper > .wpcf7-inline-field:nth-child(2) {
    padding-left: 9px;
}

.wpcf7-inline-wrapper.wpcf7-input-group .wpcf7-inline-field-text {
    width: 99%;
}
.wpcf7-inline-wrapper.wpcf7-input-group .wpcf7-inline-field-btn {
    width: auto;
    display: block;
}

/** Response Output **/
.wpcf7-not-valid-tip {
    font-size: var(--wp--preset--font-size--small);
}
.wpcf7 form .wpcf7-response-output {
    font-size: 12px;
    margin-left: 0;
    margin-right: 0;
    padding: var(--wp--preset--spacing--18)
}

p.wpcf7-inline-field br {
    display: none;
}

.wpcf7-form > *:not(.hidden-fields-container + *) {
    margin-top: var(--wp--preset--spacing--18);
    margin-bottom: 0;
}

.wpcf7-form .wp-block-button > p {
    margin: 0;
}

.wpcf7-form .wp-block-buttons {
    position: relative;
}

/* Mobile */
@media (max-width: 767px) {
    .wpcf7-inline-wrapper .wpcf7-inline-field.mb-block {
        display: block;
        width: 100%;
        padding-right: 0;
    }
    .wpcf7-inline-wrapper .wpcf7-inline-field.mb-block + .wpcf7-inline-field {
        display: block;
        width: 100%;
        padding-left: 0;
        margin-bottom: 0;
    }
    .wpcf7-inline-wrapper .wpcf7-inline-field.mb-block > .wpcf7-inline-field:first-child {
        width: 100px;
    }
    .wpcf7-inline-wrapper .wpcf7-inline-field.mb-block > .wpcf7-inline-field:not(:first-child) {
        width: auto;
    }
    
}

@media (min-width: 767px) {
    .wpcf7-inline-wrapper .wpcf7-inline-field.mb-block > .wpcf7-inline-field:first-child {
        width: 100px;
    }
    .wpcf7-inline-wrapper .wpcf7-inline-field.mb-block > .wpcf7-inline-field:not(:first-child) {
        width: auto;
    }
}