/**
 * Copyright (C) 2009 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
 */

/* ***** Summary Page *********************************************************************************************** */

.fr-summary-repeat-selection-checkbox { width: 1em } /*force minimum column width*/
.fr-summary-repeat-selection-checkbox label { display: none } /*prevent second line in td after checkbox*/

.fr-summary-repeat-column-number { text-align: right; width: 3em }

.fr-summary-search .xforms-label {
    display: block;     /* So control is not displayed next to the help icon but on a new line */
    /*margin-top: 0.3em;  *//* Insert some space between the label / help and the control */
    /*clear: both;*/
    margin-bottom: .1em;
}

.fr-summary-table-div tbody tr:hover td { background-color: #426FD9 }               /* Cursor over row: background is darker blue color from YUI */
.fr-summary-table-div tbody tr:hover td a { color: #FFFFFF }                        /* Cursor over row: text color is white */
.fr-summary-table-div tbody a { text-decoration: none; color: black; outline: 0 }   /* Links in table must appear as normal text */
.fr-summary-table-div tr.yui-dt-selected td { background-color: transparent }       /* Override YUI class that highlights selected row */
.fr-summary-table-div td { white-space: nowrap }                                    /* Mainly to prevent dates to wrap */
.fr-summary-table-div td a {                                                        /* Link to take as much space as possible in the cell */
    width: 100%;
    display: -moz-inline-box;
    display: inline-block;
    *zoom: 1;
    *display: inline;
    vertical-align: middle;
}

.fr-summary-search-count {  display: block; margin-top: 1em; margin-bottom: 1em }

.fr-summary-search { display: block; margin: 2em 0 }
.fr-summary-search-item { float: left; margin-right: .5em }
.fr-summary-search-item select, .fr-summary-search-item input { width: 12em }

.fr-summary-search .fr-search-button-td { vertical-align: bottom; padding-left: 1em; }
.fr-summary-search .fr-search-options-td { vertical-align: middle; font-size: 77%; padding-left: 1em; }
.fr-summary-search p { margin-bottom: 0 }
.fr-summary-search .fr-search-options-div { float: left; border: 1px solid #99C; padding: .5em 1em 1em 1em;
    background: #F8F8F8 url(logo-bg.gif) repeat-x scroll center top;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; width: 100%; *width: auto }
.fr-summary-search .fr-search-options-title { font-weight: bold; padding: .2em 0 1em 0; }
.fr-summary-search .fr-search-options-buttons { clear: both; padding: 1em 0 0 0; }
.fr-summary-search .fr-search-options-buttons .yui-button { margin: 0; }
.fr-summary-search .fr-search-options-buttons a { vertical-align: middle; font-size: 77%; margin: 0 0 0 1em; }
.fr-summary-search .xforms-label { font-weight: normal; }

.fr-paging-buttons { padding: .5em 0 1em 0 }
.fr-paging-buttons button { vertical-align: middle }
.fr-paging-buttons button img { margin: 0 } /* as other buttons set an img margin */
.fr-paging-numbers { vertical-align: middle; margin-left: .5em; margin-right: .5em }

.fr-search-input input {
    padding: 3px 0 3px 3px; /* Make the input a bit bigger to look more proportional to the search button */
    margin: 2px 0 0 0;
    width: 25em; /* Wider text field, inspired by Gmail */
}

/* Controls added just to expose instance nodes to JavaScript */
.fr-expose-to-javascript { display: none }

.xforms-readonly input { background-color: white; background-image: none; border: 0 solid white }
