/**
 * Copyright (C) 2010 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
 */
.xbl-fr-dialog-select .fr-component-group { display: inline-block }

#doc .fr-grid .xbl-fr-dialog-select .xforms-select-appearance-full span label,
        #doc4 .fr-grid .xbl-fr-dialog-select .xforms-select-appearance-full span label {
    width: auto;
}

.fr-dialog-select-double-list-dialog td { vertical-align: top; padding: .5em }
.fr-dialog-select-double-list-dialog select { height: 10em; width: 15em }
.fr-dialog-select-double-list-dialog table .xbl-fr-button { display: block; margin: .5em }
.fr-dialog-select-double-list-dialog .xforms-label { display: block; font-weight: bold }
.fr-dialog-select-double-list-dialog .fr-dialog-buttons { text-align: right; padding-right: .5em; padding-top: .5em; padding-bottom: .5em; margin-top: .5em; border-top: 2px solid #DDDDEE; clear: both }

.fr-dialog-select-double-list-dialog td {
    vertical-align: middle;
}

.fr-dialog-select-double-list-dialog .fr-add-button,
.fr-dialog-select-double-list-dialog .fr-remove-button {
    display: block; /* So button show one below the other, rather than next to each other */
    margin: 1em 0;  /* Add spacing between buttons */
}

.fr-dialog-select-double-list-dialog .fr-add-button button span     { background: url(../../../apps/fr/style/images/pixelmixer/right_16.png) no-repeat 5px 3px  }
.fr-dialog-select-double-list-dialog .fr-remove-button button  span { background: url(../../../apps/fr/style/images/pixelmixer/left_16.png)  no-repeat 5px 3px; }

.fr-dialog-select-double-list-dialog .fr-add-button button span,
.fr-dialog-select-double-list-dialog .fr-remove-button button span {
    width: 25px; height: 20px;  /* Size button to correspond to icon size */
    text-indent: -9999px;       /* Move the text so it isn't visible */
    display: block;             /* Without which text-indent has no effect; inline-block would be OK too, but isn't supported by IE7 */
}

.fr-dialog-select-single-list-dialog .xforms-selected,
.fr-dialog-select-single-list-dialog .xforms-deselected,
.fr-dialog-select1-single-list-dialog .xforms-selected,
.fr-dialog-select1-single-list-dialog .xforms-deselected {
    display: block;             /* Checkboxes and radio button to show vertically */
}

.fr-dialog-select-single-list-dialog .bd,
.fr-dialog-select1-single-list-dialog .bd {
    position: relative;
}

.xbl-fr-dialog-select .fr-non-empty,
.xbl-fr-dialog-select1 .fr-non-empty {
    padding-right: 1em;         /* Space between values and button */
}

.fr-dialog-select-single-list-dialog .xforms-select,
.fr-dialog-select1-single-list-dialog .xforms-select {
    white-space: nowrap;        /* Prevent text from wrapping below the checkbox on IE because a scrollbar is added */
}