/*
 * --------------------
 * Styles for cf7 forms
 * --------------------
 */

.wpcf7 {
    position: relative;
}

.wpcf7 .screen-reader-response p {
    margin: 0;
}

.wpcf7 form:not(.loaded)::after, .wpcf7 form.submitting::after, .wpcf7 form.processing::after {
    content: '';
    position: absolute;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient( 45deg, var( --color-pearlgray-light ) 0px, var( --color-pearlgray-light ) 10px, var( --color-white ) 10px, var( --color-white ) 20px );
    animation-name: loading;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    background-size: 28.2842712475px 28.2842712475px;
    background-repeat: repeat;
    opacity: 0.9;
    border: 1px solid var( --color-pearlgray-light );
}

.wpcf7 form .wpcf7-form-control-wrap > * {
    width: 100%;
}

.wpcf7 form .wpcf7-list-item:not(:last-child) {
    margin: 0 10px 10px 0;
}

.wpcf7 form .wpcf7-list-item label {
    cursor: pointer;
    position: relative;
    display: block;
    border: 1px solid;
    border-color: var( --color-pearlgray );
    border-radius: 2px;
    padding: 8px 10px;
    margin: 0 !important;
    line-height: 1em;
    font-size: 12px;
    min-width: 32px;
    min-height: 32px;
    background-color: var( --color-pearlgray-light );
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -ms-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}

.wpcf7 form .wpcf7-list-item label.active {
    border-color: var( --color-panthagray );
    background-color: var( --color-white );
}

.wpcf7 form .wpcf7-list-item label.disabled {
    pointer-events: none;
}

.wpcf7 form .wpcf7-list-item label.disabled::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: calc( 100% + 2px );
    height: calc( 100% + 2px );
    margin: -1px;
    background: repeating-linear-gradient( 45deg, var( --color-orange ), var( --color-orange ) 5px, var( --color-white ) 5px, var( --color-white ) 10px );
    opacity: 0.2;
    border: 1px solid var( --color-orange );
}

.wpcf7 form .wpcf7-list-item label:hover {
    border-color: var( --color-panthagray );
    background-color: var( --color-white );
    box-shadow: 0px 0px 10px rgb( 46 48 60 / 10% );
}

.wpcf7 form .wpcf7-list-item label input,
.wpcf7 form .wpcf7-list-item label span {
    position: relative;
    vertical-align: middle;
}

.wpcf7 form input[type="submit"] {
    margin-top: 0 !important;
}

.wpcf7 form input[type="submit"]:not(:last-child) {
    margin-right: 5px;
}