﻿/*.tb-container {
                position: relative;
                margin: 0 1.5rem;
                margin-top: 0.75rem;
            }

            .aumd-tb-label {
                position: absolute;
                color: #999;
                top: 50%;
                -webkit-transform: translate(0.75rem, -50%);
                transform: translate(0.75rem, -50%);
                pointer-events: none;
                transition: all .14s ease-in-out;
            }

input[type="text"].aumd-tb, 
input[type="email"].aumd-tb, 
input[type="password"].aumd-tb,
textarea.aumd-tb {
    color: black;
    border: none;
    border-bottom: 1px solid #999;
    padding: 0.75rem 0.75rem;
    font-size: 15px;
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-top: 20px;
}

    input[type="text"].aumd-tb:focus,
    input[type="email"].aumd-tb:focus,
    input[type="password"].aumd-tb:focus,
    textarea.aumd-tb:focus {
        outline: none;
    }

    input[type="text"].aumd-tb.c-fix,
    input[type="text"].aumd-tb:focus,
    input[type="text"].aumd-tb:not(:placeholder-shown),
    input[type="email"].aumd-tb.c-fix,
    input[type="email"].aumd-tb:focus,
    input[type="email"].aumd-tb:not(:placeholder-shown),
    input[type="password"].aumd-tb.c-fix,
    input[type="password"].aumd-tb:focus,
    input[type="password"].aumd-tb:not(:placeholder-shown),
    textarea.aumd-tb.c-fix,
    textarea.aumd-tb:focus,
    textarea.aumd-tb:not(:placeholder-shown) {
        border-color: transparent;
    }

        input[type="text"].aumd-tb.c-fix ~ label,
        input[type="text"].aumd-tb:focus ~ label,
        input[type="text"].aumd-tb:not(:placeholder-shown) ~ label,
        input[type="email"].aumd-tb.c-fix ~ label,
        input[type="email"].aumd-tb:focus ~ label,
        input[type="email"].aumd-tb:not(:placeholder-shown) ~ label,
        input[type="password"].aumd-tb.c-fix ~ label,
        input[type="password"].aumd-tb:focus ~ label,
        input[type="password"].aumd-tb:not(:placeholder-shown) ~ label,
        textarea.aumd-tb.c-fix ~ label,
        textarea.aumd-tb:focus ~ label,
        textarea.aumd-tb:not(:placeholder-shown) ~ label  {
            color: #919292;
            font-size: 12px;
            top: -15px;
            -webkit-transform: translate(0.75rem, 0%);
            transform: translate(0.75rem, 0%);
        }

        input[type="text"].aumd-tb.c-fix ~ span:after,
        input[type="text"].aumd-tb:focus ~ span:after,
        input[type="text"].aumd-tb:not(:placeholder-shown) ~ span:after,
        input[type="email"].aumd-tb.c-fix ~ span:after,
        input[type="email"].aumd-tb:focus ~ span:after,
        input[type="email"].aumd-tb:not(:placeholder-shown) ~ span:after,
        input[type="password"].aumd-tb.c-fix ~ span:after,
        input[type="password"].aumd-tb:focus ~ span:after,
        input[type="password"].aumd-tb:not(:placeholder-shown) ~ span:after,
        textarea.aumd-tb.c-fix ~ span:after,
        textarea.aumd-tb:focus ~ span:after,
        textarea.aumd-tb:not(:placeholder-shown) ~ span:after {
            width: 100%;
            left: 0;
        }

    input[type="text"].aumd-tb::-webkit-input-placeholder,
    input[type="email"].aumd-tb::-webkit-input-placeholder,
    input[type="password"].aumd-tb::-webkit-input-placeholder,
    textarea.aumd-tb::-webkit-input-placeholder {
        color: transparent;
    }

    input[type="text"].aumd-tb::-moz-placeholder,
    input[type="email"].aumd-tb::-moz-placeholder,
    input[type="password"].aumd-tb::-moz-placeholder,
    textarea.aumd-tb::-moz-placeholder {
        color: transparent;
    }

    input[type="text"].aumd-tb:-ms-input-placeholder,
    input[type="email"].aumd-tb:-ms-input-placeholder,
    input[type="password"].aumd-tb:-ms-input-placeholder,
    textarea.aumd-tb:-ms-input-placeholder {
        color: transparent;
    }

    input[type="text"].aumd-tb ~ .validation,
    input[type="email"].aumd-tb ~ .validation,
    input[type="password"].aumd-tb ~ .validation,
    textarea.aumd-tb ~ .validation {
        display: block;
        color: #999;
        font-size: 0.72rem;
        visibility: hidden;
        max-height: 0;
        height: 0;
        transition: all .14s ease-in-out;
        margin-left: 0.75rem;
    }

        input[type="text"].aumd-tb ~ .validation:after,
        input[type="email"].aumd-tb ~ .validation:after,
        input[type="password"].aumd-tb ~ .validation:after,
        textarea.aumd-tb ~ .validation:after {
            display:block;
            transition: all .14s ease-in-out;
            left: 50%;
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            visibility: visible;
            background-color: green;
        }*/


/*Noul stil*/

.tb-container {
    position: relative;
    padding: 0.75rem 0px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #999;
    margin: 0px 15px;
}

.aumd-tb {
    width: 100%;
    height: auto;
    border: none;
    line-height: normal;
    font-size: 16px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    background: none;
    outline: none;
    -moz-outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    -o-border-radius: 0px;
    padding: 0.75rem 0.75rem;
    background-color: white !important;
}

.aumd-tb-label {
    position: absolute;
    pointer-events: none;
    top: 15px;
    left: 9px;
    color: #999;
    font-weight: 700;
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

    .aumd-tb:focus + .aumd-tb-label, .aumd-tb-label.active {
        top: -5px;
        font-size: 11px;
    }
