/* Contact Form 7 */
.wpcf7 p {
    position: relative;
}
.wpcf7-form-control-wrap {
    display: block;
}
#content .wpcf7 {
    margin-bottom: 1.15rem;
    margin-bottom: calc(35px - 1.15rem);
}
#content .wpcf7:after {
    clear: both;
    display: block;
    height: 0;
    font-size: 0;
    visibility: hidden;
    content: ".";
}
#content .wpcf7-submit {
    cursor: pointer;
    margin: 0;
    color: var(--buttons-text-color);
    font-size: 10px;
    text-align: center;
    background: var(--buttons-background-color);
    border: none;
    overflow: hidden;
    position: relative;
    padding: 17px 24px;
    min-width: 166px;
    letter-spacing: 2px;
    line-height: 0;
    height: 45px;
    font-weight: inherit;
    text-transform: uppercase;
    box-shadow: none;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#content .wpcf7-submit:hover {
    color: var(--buttons-text-color-hover);
    opacity: 1;
    background: var(--buttons-background-color-hover);
}

.buttons-style-outline #content .wpcf7-submit {
    border: 1px solid var(--buttons-background-color);
    background: 0;
}
.buttons-style-outline #content .wpcf7-submit:hover {
    background: var(--buttons-background-color-hover);
    border-color: var(--buttons-background-color-hover);
}
#content .wpcf7-submit:active,
.buttons-style-outline #content .wpcf7-submit:active {
    background: var(--buttons-background-color-active);
    border-color: var(--buttons-background-color-active);
    transition: all ease .1s;
}
#content .wpcf7-submit:active {
    color: var(--buttons-text-color-active);
}

.buttons-shape-round .wpcf7-submit {
    border-radius: 30px;
}
.buttons-shape-superround .wpcf7-submit {
    border-radius: 50%;
}
.buttons-shape-superround #page #content .wpcf7-submit {
    background: 0 0;
    color: inherit;
    border: none;
    overflow: visible;
}
.buttons-shape-superround #page #content .wpcf7-submit .border-helper {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    box-sizing: border-box;
    transition: all ease 0.2s;
}
.buttons-shape-superround #page #content .wpcf7-submit:hover .border-helper {
    transform: scale(0.97);
}
.buttons-shape-superround #page #content .wpcf7-submit:active {
    transform: scale(0.97);
    transition: all ease 0.1s;
}
.buttons-shape-superround #page #content .wpcf7-submit span {
    display: inline-block;
    position: relative;
    transition: 0.2s;
    transform: translateY(0);
    line-height: 1;
}
.buttons-shape-superround #page #content .wpcf7-submit:hover .char:nth-child(odd) {
    transform: translateY(-14%);
}
.buttons-shape-superround #page #content .wpcf7-submit:hover .char:nth-child(even) {
    transform: translateY(14%);
}
.buttons-shape-rounded .wpcf7-submit {
    border-radius: 3px;
}

#content input[type=text].wpcf7-not-valid,
#content input[type=password].wpcf7-not-valid,
#content input[type=email].wpcf7-not-valid,
#content input[type=tel].wpcf7-not-valid,
#content textarea.wpcf7-not-valid,
#page select.wpcf7-not-valid + .ss-main .ss-single-selected {
    border-color: #ff6161;
}
.wpcf7-not-valid-tip {
    color: #ff6161;
    margin-top: .575em;
    font-size: .875em;
    line-height: 1.45;
    font-size: 75%;
    display: inline-block;
    font-weight: inherit;
    float: left;
    clear: both;
}
#content .wpcf7-validation-errors,
#content .wpcf7-mail-sent-ok,
#content .wpcf7-response-output {
    border: none;
    margin: 0 0 1.15rem;
    padding: 0;
    float: left;
    clear: both;
    max-width: 608px;
}
#content .wpcf7 .ajax-loader {
    z-index: 2;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%) scale(0);
    transition: all ease .4s;
    border-radius: 0;
    background: transparent;
    border: none;
    animation: none;
    transform-origin: center;
    opacity: 0;
    visibility: hidden;
    margin: 0;
    margin-left: 1.15rem;
    width: 16px;
}
#content .wpcf7 .ajax-loader .path {
    stroke: var(--secondary-color);
}
#content .wpcf7 .submitting .ajax-loader {
    visibility: visible;
    opacity: 1;
    transform: translate(0, -50%) scale(1);
}
#content .wpcf7 .ajax-loader:before {
    content: '';
    display: block;
    padding-top: 100%;
    position: relative;
    background: transparent;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    border-radius: 0;
    transform-origin: initial;
    animation: none;
}
.wpcf7-submit:disabled {
    opacity: .15;
    pointer-events: none;
}
#page .wpcf7-list-item {
    margin: 0 0 .575em;
    display: block;
}
#page .wpcf7-list-item.last {
    margin-bottom: 0;
}
.wpcf7 .hint {
    margin-top: .575em;
    font-size: .875em;
    line-height: 1.45;
    font-size: 75%;
    display: inline-block;
    float: left;
    clear: both;
}

/* reCAPTCHA */
.grecaptcha-badge {
    visibility: hidden;
}
#page .grecaptcha {
    font-size: .875em;
    color: var(--secondary-color);
    line-height: 1.45;
    max-width: 455px;
}
#page .grecaptcha a {
    color: #999;
    box-shadow: 0 1px 0;
}
#page .grecaptcha a:hover {
    color: var(--primary-color);
}