/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Aug 5, 2015, 2:27:30 PM
    Author     : dhaval.panchal
*/
.contactForm .input {
    display: block;
    margin: 1em 0;
    position: relative;
    vertical-align: top;
    width: 100%;
    z-index: 1;
}
.contactForm .input__field {
    position: relative;
    display: block;
    float: right;
    border: none;
    border-radius: 0;
    font-weight: normal;
    font-family: 'Lato-Regular';
    font-size: 16px;
    line-height: 24px;
    -webkit-appearance: none;
    margin-top: 1em;
    padding: 0.85em 0.15em;
    width: 100%;
    background: transparent;
    color: #363636;
}
.contactForm .input__field:focus {
    outline: none;
}
.contactForm .input__label {
    display: inline-block;
    float: right;
    color: #363636;
    font-weight: normal;
    font-size: 70.25%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 0.25em;
    width: 100%;
    height: calc(100% - 1em);
    text-align: left;
    pointer-events: none;
    margin: 0;
}
.contactForm .input__label-content {
    display: block;
    font-family: "Lato-Regular";
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 16px;
    padding: 1.6em 0;
    position: absolute;
    text-transform: uppercase;
    width: 100%;
}
.contactForm .input--hoshi {
    overflow: hidden;
}
.contactForm .input__label--hoshi::before,
.contactForm .input__label--hoshi::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 5px);
    border-bottom: 1px solid rgba(5,7,8,0.2);
}
.contactForm .input__label--hoshi::after {
    margin-top: 2px;
    border-bottom: 4px solid #59bff8;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}
.contactForm .input__field--hoshi:focus + .input__label--hoshi::after,
.contactForm .input--filled .input__label--hoshi::after {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.contactForm .input__field--hoshi:focus + .input__label--hoshi .input__label-content--hoshi,
.contactForm .input--filled .input__label-content--hoshi {
    -webkit-animation: anim-1 0.3s forwards;
    animation: anim-1 0.3s forwards;
}

@-webkit-keyframes anim-1 {
    50% {
        opacity: 0;
        -webkit-transform: translate3d(1em, 0, 0);
        transform: translate3d(1em, 0, 0);
    }
    51% {
        opacity: 0;
        -webkit-transform: translate3d(-1em, -40%, 0);
        transform: translate3d(-1em, -40%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, -40%, 0);
        transform: translate3d(0, -40%, 0);
    }
}
@keyframes anim-1 {
    50% {
        opacity: 0;
        -webkit-transform: translate3d(1em, 0, 0);
        transform: translate3d(1em, 0, 0);
    }
    51% {
        opacity: 0;
        -webkit-transform: translate3d(-1em, -40%, 0);
        transform: translate3d(-1em, -40%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, -40%, 0);
        transform: translate3d(0, -40%, 0);
    }
}

/*Newsletter*/
.newsletterForm  .input__field {
    color: #fff;
}
.newsletterForm .input__label {
    color: #fff;
}
.newsletterForm .input__label--hoshi::before {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.newsletterForm .input__label--hoshi::after {
    border-bottom: 4px solid #59bff8;
}