﻿.group {
    position: relative;
}

    .group input {
        font-size: 16px;
        display: block;
        width: 100%;
        margin-bottom: 35px;
    }

.contactFormBox .group input {
    margin-bottom: 35px;
    margin-top: 0;
}

.contactFormBox .group select {
    margin-bottom: 35px;
    margin-top: 0;
}

input:focus {
    outline: none;
}

/* LABEL ======================================= */
.group label {
    color: #999;
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 15px;
    top: 14px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
input:focus ~ label, input:valid ~ label {
    top: -20px;
    left: 0;
    font-size: 14px;
    color: #141414;
}

input.error ~ label {
    color: red;
}

.group.select label {
    left: 0;
    font-size: 14px;
    color: #141414;
}

/* BOTTOM BARS ================================= */
.bar {
    position: relative;
    display: block;
    width: 100%;
}

    .bar:before, .bar:after {
        content: '';
        height: 2px;
        width: 0;
        bottom: 1px;
        position: absolute;
        background: #62b144;
        transition: 0.2s ease all;
        -moz-transition: 0.2s ease all;
        -webkit-transition: 0.2s ease all;
    }

    .bar:before {
        left: 50%;
    }

    .bar:after {
        right: 50%;
    }

/* active state */


/* HIGHLIGHTER ================================== */
.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */

/* ANIMATIONS ================ */
