/*
    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
*/

/* ***** Tabs ******************************************************************************************************* */

.widget-tabs {
    border-collapse: collapse;
    border-spacing: 0;
}

.widget-tab-spacer-side {
    border-bottom: 1px solid #669;
    width: 1.5em;
}

.widget-tab-spacer-between {
    border-bottom: 1px solid #669;
    width: 1em;
}

.widget-tab {
    border-top: 1px solid #669;
    border-left: 1px solid #669;
    border-right: 1px solid #669;
    border-bottom: 1px solid #dde;
}

.widget-tab-active {
    background: #dde;
    color: #336;
    font-weight: bold;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    line-height: 1.5em;
    white-space: nowrap;
}

.widget-tab-inactive {
    background: #eee;
    color: #669;
    font-weight: bold;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    line-height: 1.5em;
    white-space: nowrap;
}

.widget-tabs-panel {
    border-left: 1px solid #669;
    border-right: 1px solid #669;
    border-bottom: 1px solid #669;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 2em;
    padding-right: 2em;
}

/* ***** XForms Instance Inspector ********************************************************************************** */

.widgets-xforms-instance-inspector {
    display: block;
    clear: both;
    background-color:white;
    border: 1px solid #333366;
    margin: 1em;
    padding: .5em;

}

.widgets-xforms-instance-inspector-source {
    background-color: #eeeeee;
    border: solid #336 1px;
    padding: .5em;
    line-height: 110%;
    overflow: auto;
    font-family: "Lucida Console", "Courier New", Courier, monospace;
    font-size: 9pt;
}

.widgets-xforms-instance-inspector .xforms-label {
    display: inline;
    font-weight: bold;
    font-style: italic;
    margin-right: .5em
}

.widgets-xforms-instance-inspector td {
    padding: .5em
}

.widgets-xforms-instance-inspector h2 {
    margin: 0
}

.widgets-xforms-instance-inspector .xforms-mediatype-text-html { text-align: left }

/* Override definition which might be added by Form Runner */
.xbl-widget-xforms-instance-inspector .xforms-select1-appearance-full span { display: inline }