

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600);

.form-control
{
    background: transparent;
}

form
{
    width: 100%;
    margin: 0px;
    min-width: 100%;
}

form > div
{
    position: relative;
    overflow: hidden;
}

form input, form textarea
{
    width: 100%;
    border: 2px solid gray;
    background: rgb(255, 248, 220);
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 8px 12px;
    outline: 0;
}

form input:valid, form textarea:valid
{
    background: white;
}

form input:focus, form textarea:focus
{
    border-color: #f26521;
}

form input:focus + label, form textarea:focus + label
{
    background: #f26521;
    color: white;
    font-size: 70%;
    padding: 1px 6px;
    z-index: 2;
    text-transform: uppercase;
}

form label
{
    -webkit-transition: background 0.2s, color 0.2s, top 0.2s, bottom 0.2s, right 0.2s, left 0.2s;
    transition: background 0.2s, color 0.2s, top 0.2s, bottom 0.2s, right 0.2s, left 0.2s;
    position: absolute;
    color: #999;
    padding: 7px 6px;
    font-weight: normal;
}

form textarea
{
    display: block;
    resize: vertical;
}

form.go-bottom input, form.go-bottom textarea
{
    padding: 12px 12px 12px 12px;
}

form.go-bottom label
{
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

form.go-bottom input:focus, form.go-bottom textarea:focus
{
    padding: 4px 6px 20px 6px;
}

form.go-bottom input:focus + label, form.go-bottom textarea:focus + label
{
    top: 100%;
    margin-top: -16px;
}

form.go-right label
{
    border-radius: 0 5px 5px 0;
    height: 100%;
    top: 0;
    right: 100%;
    width: 100%;
    margin-right: -100%;
}

form.go-right input:focus + label, form.go-right textarea:focus + label
{
    right: 0;
    margin-right: 0;
    width: 40%;
    padding-top: 5px;
}

@media (max-width:479px)
{
    .small_contact
    {
        font-size: xx-small;
    }
    .form_small
    {
        max-width: 100%;
        min-width: 100%;
        padding-left: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }
}

.form_contact
{
    min-width: 100%;
    max-width: 100%;
    padding-left: 0px;
    margin-left: 5px;
}

.button_enviar
{
    background: white;
    color: white;
    width: 50%;
    background-color: rgba(255,255,255,.2);
    margin-left: 25%;
}

