/*  ###########################################################################
    company:    http://42.nl/
    client:     42 / kensas
    date:       June 2008
    author:     Egor Kloos
    author:     ---
    ########################################################################### */


/*  FORMS [WARNING! low specificity!]------------------------------------------ */

    form {
        padding: 0 0 0.5em 0;
        width: 100%;
        }

    fieldset {
        padding: 0 0 0.5em 0;
        }

    label {
        clear: left;
        float: left;
        line-height: 2;
        display: block;
        width: 33%;
        }

    input[type=text] {
        width: 65%;
        }

    input[type=password] {
        width: 65%;
        }

    input[type=checkbox]+label {
        float: none;
        display: inline;
        }

    input[type=radio]+label {
        float: none;
        display: inline;
        }

    select {
        margin: 0;
        padding: 0;
        width: auto;
        }

    textarea {
        width: 65%;
        }

    #searchsubmit {
        float: right;
        }

    .text {
        width: 60%;
        font-size: 0.95em;
        }

    .password {
        width: 60%;
        }

    .street {
        width: 65%;
        }

    .housenumber {
        width: 15%;
        }

    .zipcode {
        width: 20%;
        }

    .city {
        width: 40%;
        }

    .year {
        width: 24%;
        }

    input.creditcard {
        width: 3em;
        }

    fieldset div:after {
        content: ".";
        display: block;
        clear: both;
        float: none;
        visibility: hidden;
        line-height: 0;
        height: 0;
        }

    span.required {
        color: #900;
        }

    label.error {
        position: static;
        display: block;
        float: none;
        width: 50%;
        height: 2em;
        padding-left: 33%;
        color: #900;
        }

    input[type=checkbox] {
        float: left;
        }

    input[type=radio] + label.error,
    input[type=checkbox] + label.error {
        float: left;
        display: block;
        clear: none;
        width: auto;
        padding: 0 0.5em;
        color: #900;
        }

    .buttons {
        padding: 1em 0 0 33%;
        }

    form p {
        margin: 1em 0 1em 33%;
        }

    button[type=submit] {
        margin: 1em 0 1em 33%;
        }

/*  QUICKSEARCH FORM --------------------------------------------------------- */

    #home .searchInput {
        padding: 0;
        width: 100%;
        }

    #home .searchInput fieldset {
        border-bottom: 1px solid #ccc;
        padding: 3px 0;
        min-height: 3em;
        }

    #home .searchInput label {
        width: 22%;
        }

    #home .searchInput .text {
        margin: 0.15em 0 0 0;
        width: 50%;
        font-size: 0.95em;
        }

    .searchInput h4 {
        padding: 0 0 0.2em 0;
        line-height: 1;
        }

    .searchInput fieldset {
        min-height: 2.2em;
        }

    .searchInput label {
        float: left;
        width: 25%;
        line-height: 2;
        }

    .searchInput input {
        float: left;
        width: 50%;
        }

    .searchInput input[type=text] {
        margin: 0.1em 0 0 0;
        }