
form {
    position: relative;
    margin: 0 auto;
    padding: 25px 25px 25px;
    width: 310px;
    background: white;
    border-radius: 10px;

}
/*text inside input boxes*/

form input {
    width: 100%;
    background: none;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 8px 12px;
    outline: 0;
    border: 2px solid #f3f3f3;
}
form input:valid {
    background: white;
}
form input:focus {
    border-color: #AEC8E7;
}
form input:focus + label {
    background: #AEC8E7;
    color: white;
    font-size: 70%;
    padding: 1px 6px;
    z-index: 2;
    text-transform: uppercase;
}
form.go-bottom input {
    padding: 12px 12px 12px 12px;
}
form.go-bottom label {
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}
form.go-bottom input:focus {
    padding: 4px 6px 20px 6px;
}
form.go-bottom input:focus + label {
    top: 100%;
    margin-top: -16px;
}


a:hover {
    color: #e0a665;
}


#submit {
    margin-top: 9px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    padding: 5px 20px 5px 20px;
    border: 1px solid #999;
    text-decoration: none;
    background-color: #AEC8E7;
    color: white;
}

#submit:hover {
    border: 1px solid #00A7FF;
    color: #00A7FF;
}

