/*
    Copyright (C) 2006 Orbeon, Inc.

    This program is free software; you can redistribute it and/or modify it under the terms of the
        GNU Lesser General Public License as published by the Free Software Foundation; either version
    2.1 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
    without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    See the GNU Lesser General Public License for more details.

    The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
*/
th { padding: 1em; padding-top: 0; text-align: left; vertical-align: top }
td { vertical-align: top }

#main-action-table { width: 64em; margin-top: 1em; margin-bottom: 1em }
#main-action-table .forms-message-fatal { padding-left: 1em }
#language-choice-td { width: 100%; text-align: right }

.forms-main-table { border: solid 2px #ffcc66; width: 64em }
.forms-main-table th p { text-align: center; vertical-align: top }
.forms-main-table td { white-space: nowrap }

.forms-action-table td { white-space: nowrap; vertical-align: middle }
.forms-action-table input { vertical-align: middle }

.forms-gridtable { border-collapse: collapse; width: 95%; margin-left: 1em; margin-right: 1em }
.forms-gridtable th { background-color: #ffcc66; text-align: center; padding: .3em; border: 1px solid #f93 }
.forms-gridtable td { padding: .3em; border: 1px solid #f93; margin: 0; cursor: pointer; vertical-align: middle }
.forms-gridtable .xforms-label { display: none }

.forms-title-table { margin-bottom: 1em }
.forms-title-table td { vertical-align: middle; font-size: 16pt; font-weight: bold; font-family: verdana,sans-serif }

.forms-message-positive { color: green }
.forms-message-negative { color: orange }
.forms-message-fatal { color: red }

.forms-hr { height: 2px; border: 0; background-color: #ffcc66; color: #ffcc66 }

.forms-action-table .xforms-label , .forms-main-table .xforms-label { margin-right: 1em; font-style: italic }
.forms-hidden { display: none }
.xforms-repeat-selected-item-1 td { cursor: default }
.xforms-repeat-selected-item-2 td { cursor: default;  }
.xforms-static.xforms-input { margin-right: 1em; font-variant: small-caps; text-decoration: underline }
.xforms-static.xforms-select1 { margin-right: 1em; font-variant: small-caps; text-decoration: underline }
.xforms-trigger-appearance-minimal img { margin-right: 0.5em; vertical-align: middle }
button.xforms-trigger img, .xforms-trigger button img { padding: .1em .5em .1em .1em }

.dmv-heading-column { padding-top: 1em; padding-bottom: 1em; }
.dmv-data-column { padding-top: 1em; padding-bottom: 1em; }
.dmv-last-name input { width: 20em }
.dmv-driver-license-number input { width: 10em }
.dmv-first-name input { width: 10em }
.dmv-initial input { width: 1.5em }
.dmv-street-number input { width: 5em }
.dmv-street-name-1 input { width: 21em }
.dmv-street-name-2 input { width: 21em }
.dmv-city input { width: 10em }
.dmv-state input { width: 2em }
.dmv-zip input { width: 5em }
.dmv-plate-number input { width: 8em }
.dmv-vin input { width: 17em }
.dmv-company-name input { width: 22em }
.dmv-street-number-name input { width: 22em }
.dmv-apt-number input { width: 5em }
.dmv-address-col1-label { display: -moz-inline-box; display: inline-block; width: expression('7em'); min-width: 7em; }
.dmv-address-col2-label { display: -moz-inline-box; display: inline-block; width: expression('7em'); min-width: 7em; }


.g-325a-table input { width: 10em }
.g-325a-table th { text-align: left }
.g-325a-table { margin-left: 0; margin-right: 0; width: 100% }

.g-325a-subtitle-row th { background: none }

.g-325a-parents-table { border-collapse: collapse; width: 100%; margin-left: 0; margin-right: 0 }
.g-325a-parents-table th { background-color: #ffcc66; text-align: left; padding: .3em; border: 1px solid #f93 }
.g-325a-parents-table td { padding: .3em; border: 1px solid #f93; margin: 0; cursor: pointer; vertical-align: middle }
.g-325a-parents-table td td { padding: 0; border: none; margin: 0 }
.g-325a-parents-table .xforms-repeat-selected-item-1 { background: none }
.g-325a-parents-table .xforms-label { display: inline-block; display: -moz-inline-box; width: 7em }

.g-325a-personal-information-table .xforms-label { display: inline-block; display: -moz-inline-box; width: 7em }

/* Error summary */
.xbl-fr-error-summary { width: 64em }
.xbl-fr-error-summary .xforms-repeat-selected-item-1 { background: none }

.xbl-fr-error-summary .fr-error-title {
    font-size: smaller;
    font-weight: bold;
    background-color: #FF9933;
    color: white;
    padding: 0 0 0 0.5em;
    border-radius: 3px; -moz-border-radius: 2px; -webkit-border-radius: 3px; -ms-border-radius: 2px /* radius appears differently w/ Safari 3.1 vs. Firefox 3.0b4*/
}
.xbl-fr-error-summary .fr-error-summary-body { border-bottom: 2px solid #FFCC66 }
.xbl-fr-error-summary .fr-error-label, .xbl-fr-error-summary .fr-error-row { font-weight: bold }
.xbl-fr-error-summary .fr-error-alert { color: #FF9933 }
