/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

/* contact form 7 */
.wpcf7 div[id] {
    position: relative;
    display: none;
}

.wpcf7 div[id].active {
    display: block;
}

.wpcf7 div[id]>p:not(:last-of-type) {
    margin-bottom: .5rem;
}

.wpcf7 div[id] a {
    max-width: fit-content;
    cursor: pointer;
}

.wpcf7 div[id] a:only-child {
    margin-left: auto;
}

.wpcf7 form[action*="formulier"] label:has(~ span>[aria-required=true])::after {
    content: " *";
    color: var(--wc-red);
}

.wpcf7 .vc_group p {
    gap: 1rem;
    display: flex;
    margin: .75rem 0 0;
    justify-content: space-between;
}

.wpcf7 .hidden {
    display: flex;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    transition: 1s cubic-bezier(0, 1, 0, 1);
}

.wpcf7 .hidden.active {
    max-height: 10000px;
    transition: 2s .15s ease-in-out;
}

.wpcf7 .vc_group.min {
    padding: 1rem;
    flex-wrap: wrap;
    flex-direction: row;
    margin: .5rem 0 1rem;
    border: 1px solid var(--dgr);
    justify-content: space-around;
}

.wpcf7 .vc_group.min .add {
    background-color: var(--wc-blue) !important;
    color: var(--whi) !important;
    margin: 0;
}

.wpcf7 .vc_group.min .remove {
    background-color: var(--wc-red) !important;
    color: var(--whi) !important;
    margin: 0;
}

.wpcf7 .hidden.active+.hidden.active+.vc_group.min .add,
.wpcf7 .hidden:not(.active)+.hidden:not(.active)+.vc_group.min .remove {
    display: none;
}

.wpcf7 input[type="submit"] {
    background-color: var(--sec);
    transition: .2s ease-in-out;
    padding: 0 20px !important;
    max-width: fit-content;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--whi);
    line-height: 40px;
    cursor: pointer;
    display: block;
    float: right;
    margin: 0;
    border: 0;
}

.wpcf7 input[type="submit"]:disabled,
.wpcf7 input[type="submit"]:hover {
    opacity: .7;
}

.wpcf7 input[type="submit"]:disabled {
    background-image: linear-gradient(15deg, transparent 0%, transparent 42%, red 45%, red 55%, transparent 58%, transparent 100%),
        linear-gradient(-15deg, transparent 0%, transparent 42%, red 45%, red 55%, transparent 58%, transparent 100%);
}

.wpcf7 span[class*="menu-"] {
    transition: opacity .2s ease-in-out;
    position: relative;
}

.wpcf7 span[class*="menu-"]:hover {
    opacity: .7;
}

.wpcf7 span[class*="menu-"]::after {
    content: "\f078";
    transition: opacity .2s ease-in-out;
    font-family: "Font Awesome 5 Pro";
    background: var(--dgr);
    pointer-events: none;
    text-align: center;
    position: absolute;
    font-weight: bold;
    line-height: 35px;
    width: 35px;
    top: -6px;
    right: 0;
}

.wpcf7 span[class*="menu-"] select {
    appearance: none;
    border: 0;
    outline: 0;
    width: 100%;
    height: 35px;
    max-width: 100%;
    font-size: 1rem;
    cursor: pointer;
    color: var(--sec);
    margin: .15rem 0 1rem;
    background: var(--whi);
    padding: 0 42px 0 10px;
    font-family: var(--font-header);
}

.wpcf7 span[class*="menu-"] select option {
    cursor: pointer;
    padding-right: 35px;
}

.wpcf7 form .wpcf7-response-output {
    font-family: var(--font-header);
    margin: 1rem 0 0;
    border: none;
    padding: 0;
}

.wpcf7 form.invalid .wpcf7-response-output {
    color: red;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: var(--wc-green);
    text-align: right;
}

.wpcf7 .wpcf7-not-valid-tip {
    font-family: var(--font-header);
    color: red;
    margin-top: 0rem;
}

.wpcf7 .wpcf7-spinner {
    transform: translate(-50%);
    position: absolute;
    margin: 0;
    left: 50%;
    top: 50%;
}

.wpcf7 form {
    transition: .2s ease-in-out;
}

.wpcf7 form.submitting {
    pointer-events: none;
    user-select: none;
    opacity: .7;
}
