﻿
.GuestDetailsContainer {
    position: relative;
    margin: 20px 0 10px 0;
}

    .GuestDetailsContainer label {
        position: absolute;
        top: 5px;
        left: 0px;
        /*font-size: 1.1em;
        opacity: 0.9;*/
        color: #aeaeae;
        transition: all 0.5s ease-in-out;
        padding: 1px;
        pointer-events: none;
    }

    .GuestDetailsContainer input {
        border: 0;
        border-bottom: 1px solid #a8a8a8;
        background: transparent;
        width: 100%;
        padding: 8px 0 0 0;
        /*font-size: 1.1em;*/
        color: #606060;
    }

        .GuestDetailsContainer input:focus {
            border: none;
            outline: none;
            border-bottom: 1px solid #09800a;
        }

            .GuestDetailsContainer input:focus ~ label,
            .GuestDetailsContainer input:valid ~ label {
                top: -12px;
                color: #09800a;
                font-size: 16px;
                /*font-size: 0.8em;*/
            }
