form.contacts input[type=text],
form.contacts textarea {
    font-family: 'Open Sans', sans-serif;;
    font-weight: 400;
    font-size: 14px;
    width: 100%;
    margin: 0;
    padding: 6px 12px;
    line-height: 24px;
    border: 1px solid var(--border);
    border-radius: 2px;
    background-color: var(--white);
    color: var(--black);
    box-sizing: border-box;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

form.contacts button[type=submit] {
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

form.contacts button[type=submit] {
    display: inline-block;
    padding: 1px 30px 0 30px;
    background-color: var(--red);
    color: var(--white);
    font-size: 16px;
    line-height: 40px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .5s ease;
}

form.contacts button[type=submit]:hover { background-color: var(--dark-red); }

/* Checkbox */
form.contacts label.checkbox {
    line-height: 19px;
    /*white-space: nowrap;*/
    padding: 5px 20px 5px 30px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: bottom;
    display: inline-block;
}

form.contacts label.checkbox input { display: none;}

form.contacts label.checkbox span {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: var(--white);
    border: 1px solid var(--border);
    content: ' ';
    vertical-align: bottom;
    margin-right: 6px;
    margin-left: -30px;
}

form.contacts label.checkbox:hover span { border-color: var(--red); }

form.contacts label.checkbox input:checked + span {
    position: relative;
    background-color: var(--red);
    border-color: var(--red);
}

form.contacts label.checkbox input:checked + span::before {
    position: absolute;
    display: block;
    content: ' ';
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    width: 4px;
    height: 8px;
    top: 3px;
    left: 6px;
    transform: rotate(45deg);
}

/* LOADER */
form.disabled { position: relative; }

form.disabled .mgLoader {
    position: absolute;
    inset: 0;
    background-color: #FFFFFF99; /* INFO: body background-color + alpha 99 */

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    opacity: 0;
    transition: opacity 0.5s ease;
}

.mgLoader .circular {
    animation: loaderRotate 2s linear infinite;
    height: 48px;
    position: relative;
    width: 48px;
}

.mgLoader .path {
    stroke-dasharray: 1,200;
    stroke-dashoffset: 0;
    animation: loaderDash 1.5s ease-in-out infinite;
    stroke-linecap: round;
    stroke: var(--red);
}

@keyframes loaderRotate {
    100%{ transform: rotate(360deg); }
}

@keyframes loaderDash {
    0%{
        stroke-dasharray: 1,200;
        stroke-dashoffset: 0;
    }
    50%{
        stroke-dasharray: 89,200;
        stroke-dashoffset: -35;
    }
    100%{
        stroke-dasharray: 89,200;
        stroke-dashoffset: -124;
    }
}
/* <<<<<< */


/*SUCCESS START*/
svg.success path:first-child {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: success-dash 5s linear forwards;
}

svg.success path:last-child {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: success-dash 5s linear forwards;
    animation-delay: .5s;
}

@keyframes success-dash {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}
/*SUCCESS END*/

/*FAIL START*/
svg.failed path:first-child {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: failed-dash 5s linear forwards;
}

svg.failed path:nth-child(2) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: failed-dash 5s linear forwards;
    animation-delay: .4s;
}

svg.failed path:last-child {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: failed-dash 5s linear forwards;
    animation-delay: .6s;
}

@keyframes failed-dash {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}
/*FAIL END*/