/*
 * forms.css
 * Forms style (cross theme)
 *
 */
label {
    cursor: pointer;
}
 
.required {
    color: red;
}

.form-helptext {
    color: gray;
    font-size: 0.75em;
    font-family: Tahoma, sans-serif;
    padding-left: 14px;
    background: transparent
                url(/global/css/info.gif)
                top left no-repeat;
}

.form-errortext {
    color: red;
    font-weight: bold;
    font-size: 0.75em;
    font-family: Tahoma, sans-serif;
    padding-left: 14px;
    background: transparent
                url(/global/css/error.gif)
                top left no-repeat;
}

/*
 * Form marks
 */
 .formmark-required {
     color: red;
 }
 .formmark-multiple {
     color: gray;
 }
/* 
 * Table (Form Layout)
 */ 
.form-label {
    width: 12em;
}

table.form-layout {
    background: #fff;
    border: 1px solid #dedfde;
    margin-top: 5px;
    width: 80%;
}
table.form-primary {
    border: 1px solid #000063;
}
 
/* 
 * Table Header (Form group title) 
 */
table.form-layout thead th {
    text-align: left;
    
    background: #dedfde;
}
table.form-layout thead td {
    text-align: right;
    
    background: #dedfde;
}

table.form-layout thead th label {
    display: block;
    width: 100%;
}

table.form-primary thead th {
    padding: 2px 5px;
    
    background: #000063;
    color: white;
}

/*
 * Table Body (Form labels, fields)
 */
table.form-layout tbody th {
    text-align: right;
    vertical-align: top;
    padding-left: 1.6em;
    
    font-weight: normal;
    color: black;
}
table.form-layout tbody th:after {
    content: " :";
}

table.form-layout tbody td {
    vertical-align: top;
    padding-left: 1.6em;
    
    color: gray;
}
table.form-layout tbody td label {
    color: black;
}
table.form-layout tbody td input {
    vertical-align: middle;
}

table.form-layout tbody td fieldset {
    border: 1px dotted #dedfde;
}

table.form-layout tbody td fieldset legend label {
    display: inline;
    padding-right: 5px;
    color: gray;
}

table.form-layout tbody td fieldset label {
    display: block;
    width: 5em;
    color: gray;
}

/*
 * Submit
 */
div.submit {
    margin-top: 1em;
    width: 80%;
    text-align: center;
}

div.submit div.cancel {
    width: 40%;
    float: left;
}
div.submit div.confirm {
    width: 40%;
    float: right;
}

/*
 * Sublabel
 */
 label.sublabel {
     float: left;
     font-size: .8em;
     text-align: center;
 }
 label.sublabel input,
 label.sublabel textarea,
 label.sublabel select
 {
     display: block;
     clear: both;
 }
 
 
/*
 * Input classes
 */
 input.numeric {
     text-align: right;
     font-size: .9em;
     padding: .05em;
 }
 
 td.numeric input.numeric {
     margin-right: -.5em;
 }

