/*  Formy - CSS Framework 0.8   */

/*
    reset.css
*/

fieldset, form, label, legend, input, textarea {
    margin:0;
    padding:0;
    border:0;
    font-weight:inherit;
    font-style:inherit;
    font-size:100%;
    font-family:inherit;
    vertical-align:baseline;
}

form.nomaxheight{
    max-height:none;
}

/*
    Structural
*/

fieldset { margin: 0 0 1.5em 0; padding: 1.4em; }

legend { padding: 0 .4em; font-size:1.2em; }


label {
    float:left;
    width:12em;
    display:block;
    clear:left;
    margin-right:1em;
    text-align:left;
    cursor:hand;
    font-weight:bold;
}
.submit {
    margin-left:13em;
}
.submit input {
}

textarea, input, select, label, button, optgroup { margin-top:0; }

input[type="checkbox"] ,input[type="radio"] { margin-bottom:7px; }

/*
    Color palette
*/

fieldset { border:1px solid #ccc; }

legend { background-color: #e3dfdf; color: #333; }

select { background-color: #fff; color: #000; }

textarea,
input[type="text"],
input[type="password"] {
    padding:3px;
    border:1px solid #ccc;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    -o-border-radius:3px;
    -khtml-broder-radius:3px;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus {
    border: 1px solid #888;
}

input[type="submit"] {
    padding:0.3em 1em;
    border:solid 1px #666;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    -o-border-radius:3px;
    -khtml-broder-radius:3px;
    font-weight:bold;
}

input[type="checkbox"] { color: #000; }

input[type="radio"] { background-color: #fff; color: #000; }

option { background-color:#fff; color:#000; }

optgroup { background-color:#ccc; color:#000; }

.help,
.errorlist {
    font-size:0.8em;
}

.help {
    color:#888888;
}
.helptext {
    margin-left:16em;
    width:50%;
}
.errorlist {
    display:inline;
    margin:0;
    padding:0;
    list-style-type:none;
    color:#f00;
}
.errorlist li {
    display:inline;
    margin:0;
    padding:0 1em 0 0;
}

