/**
* CSS file for handling forms layout
* Oliver Schwarz <oliver.schwarz@vaicon.de>
*
* Note: Generally forms may use the class .awbforms for
* having a unique layout. In some cases, special elements
* are appended to the end of this file.
*/

.awbforms {
    padding-bottom: 2em;
    }

.awbforms fieldset {
    border: none;
    margin: 0;
    padding: 0;
    }

.awbforms legend {
    display: none;
    }

#formerror {
    color: #c00f0f;
    margin: 1em 2em;
    }

.awbforms .error input.field {
    border-color: #c00f0f;
    }

.awbforms .error label {
    color: #c00f0f;
    }

.awbforms p {
    clear: both;
    padding: 0.4em 0;
    }

.awbforms .fixed label {
    float: left;
    width: 115px;
    }

.awbforms input.field, #registration textarea {
    border: 1px solid #333;
    }

.awbforms .button, .awbforms .submit {
    text-align: right;
    }

.awbforms .textarea {
    padding-left: 115px;
    }

.awbforms #submit, .submitbutton {
    background: #c00f0f;
    border: 1px solid #ccc;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    margin: 1em 2em;
    padding: 0.2em 0.4em;
    }

/* =TRAININGLIST
--------------------------------------------------------------------
    The traininglist is a special table for listing training
    information in an overview in booktrainings.cmp.php.
    */

#traininglist {
    border-collapse: collapse;
    }

#traininglist th, #traininglist td {
    padding: 0.3em 0.5em;
    vertical-align: top;
    }

#traininglist th {
    text-align: left;
    color: #fff;
    }

#traininglist td.even {
    background: #eee;
    }

#traininglist td a {
    color: #666;
    }

#traininglist td a:hover {
    color: #000;
    }

#traininglist thead {
    background: #C00F0F url(/gfx/rightbox_head_background.gif) repeat-y scroll left top;
    }

/* =TRAININGFORM
--------------------------------------------------------------------
    The traininglist is a special table for listing training
    information in an overview in booktrainings.cmp.php.
    */

#trainingform {
    border: 1px solid #999;
    }

#trainingform fieldset {
    border: none;
    margin: 0;
    padding: 0;
    }

#trainingform legend {
    display: none;
    }

#trainingform h3 {
    background: #C00F0F url(/gfx/rightbox_head_background.gif) repeat-y scroll left top;
    padding: 0.3em 0.5em;
    color: #fff;
    }

#trainingform p {
    padding: .4em 1em;
    }
    
#trainingform p.padded {
    padding-top: 1.2em;
}

#trainingform #count {
    border: 1px solid #999;
    }

#trainingform p.submit {
    text-align: right;
    }

#trainingform #booktrainingbutton {
    background: #c00f0f;
    border: 1px solid #ccc;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    padding: 0.2em 0.4em;
    }

/* =MATRIX TABLE
--------------------------------------------------------------------
    The matrix table is a special table for checkbox fields. Layout
    is used in orderbrochures.cmp.php.
    */

#matrix {
    border-collapse: collapse;
    margin: 0 0 2em 0;
    }

#matrix th, #matrix td {
    padding: 0.2em 0.4em 0.2em 0;
    }

#matrix tbody th {
    text-align: left;
    color: #666;
    }

#matrix tbody td {
    text-align: center;
    }

/* =WARRANTY REGISTRATION
--------------------------------------------------------------------
    */

#warrantyregistration fieldset h3 {
    margin: 1em 0;
    }

#warrantyregistration #instdate_year {
    width: 80px;
    }

/* =DEALERSEARCH
--------------------------------------------------------------------
    */

#dealersearch {
    background: #fff;
    border: 1px solid #ccc;
    }

#dealersearch h3 {
    background: #C00F0F url(/gfx/rightbox_head_background.gif) repeat-y scroll left top;
    padding: 0.3em 0.5em;
    color: #fff;
    }

#dealersearch p {
    padding: 1em 1em 0 1em;
    }

#dealersearch #bt_search {
    background: #c00f0f;
    border: 1px solid #ccc;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    padding: 0.2em 0.4em;
    }

.results {
    margin: 2em 0 0 0;
    border: 1px solid #ccc;
    background: #fff;
    }

.results h3 {
    background: #C00F0F url(/gfx/rightbox_head_background.gif) repeat-y scroll left top;
    padding: 0.3em 0.5em;
    color: #fff;
    }

.results p {
    color: #999;
    padding: 0.3em 0.5em;
    }

.results ul {
    list-style: none;
    }

.results li {
    border-top: 1px solid #ccc;
    padding: 0.3em 0.5em;
    }

.results li.even {
    background: #eee;
    }

.results li .contact a {
    color: #999;
    font-size: 0.9em;
    }

/* =MY-ACCOUNT
--------------------------------------------------------------------
    */

#contactdataform .fixed label,
#authdataform .fixed label{
    width: 144px;
    }