/* form starting stylings ------------------------------- */
.group {
    position: relative;
    margin-bottom: 25px !important;
}

input {
    font-size: 16px !important;
    display: block !important;
    border: none !important;
    border-bottom: 1px solid #7f7f7f !important;
    line-height: 60px !important;
    margin-top: 0px !important;
    border-radius: 0px !important;
    height: 50px !important;
    padding-top: 20px !important;
    font-weight: 400 !important
}

input:focus {
    outline: none;
}

/* LABEL ======================================= */
label {
    color: #999 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    font-weight: normal !important;
    position: absolute !important;
    pointer-events: none !important;
    top: 25px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    margin-bottom: initial !important;
    display: initial !important;
}

/* active state */
input:focus~label, input:valid~label {
    top: 4px;
    font-size: 14px;
    color: #5264AE;
}

/* BOTTOM BARS ================================= */
.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before, .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0px;
    position: absolute;
    background: #00a0fc;
    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 */
input:focus~.bar:before, input:focus~.bar:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */
input:focus~.highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

.checkbox-custom + .checkbox-custom-label:before {
    border-radius: 2px !important;
    /* background:#fff !important; */
    border: 2px #00a0fc solid;
    display: inline-block !important;
    width: 18px;
    height: 18px;
}

.checkbox-custom:checked + .checkbox-custom-label:before {
    content: "\e010";
    font-family: 'rightlywritten';
    background: #00a0fc;
    color: #fff;
    font-size: 12px;
    padding-top: 0px;
    padding-left: 2px;
    /* padding-bottom: 2px; */
    /* display: inline-block; */
    /* margin-top: -2px; */
    font-weight: bold;
    line-height: 1.2;
    margin-top: 1px;
}

/*.checkbox-custom:checked + .checkbox-custom-label:before {
    content: "\f00c";
    font-family: 'FontAwesome';
    background: #00a0fc;
    color: #fff;
    font-size: 12px;
    padding-top: 0px;
    padding-left: 3px;
}
*/