/******* SweetReport2 Styles *******/


/* Data Table and Cells */

.swt_tbl { /* main Sweet Report <TABLE> tag */
    border: 1px solid #D0D6E5; margin: 0px;
    background-color: white;
    }
.swt_tbl TD, .swt_tbl TH { /* all cells and headers  */
    font-family: Verdana;
    font-size: 12px;        
    }
.swt_tbl TBODY TD, .swt_tbl TBODY TH  { /* all body cells, and headers  */

    }
.swt_tbl TBODY TH { /* column headers */
    background-color: #D0D6E5; font-weight: bold;
    }
.swt_tbl THEAD .buttons { /* submit buttons -top */ 
    border-bottom: 1px solid #D0D6E5;
    padding: 1px 2px 2px 2px;
   }
.swt_tbl TFOOT .buttons { /* submit buttons -top */ 
    border-top: 0px solid #D0D6E5;
    padding: 2px;
   }
.swt_tbl THEAD .nav { /* records and pagenav container - head  */
    border-bottom: 2px solid #D0D6E5;
    padding: 2px;
    }
.swt_tbl TFOOT .nav { /* records and pagenav container - foot  */
    border-top: 2px solid #D0D6E5;
    padding: 2px;
    }
.swt_tbl .records { /* records container "a-b of x records" */
    }
.swt_tbl .pages { /* page nav container "< prev 1.2.3 next >" */
    text-align: right;
    }
.swt_tbl TR.row1 { /* alternating row on */
    background-color: #f5f5f5;
    }
.swt_tbl TR.row0 { /* alternating row off */
    background-color: #fafafa;
    }
.swt_tbl TH.check, .swt_tbl TD.check { /* checkbox column */
    width: 5px;
    }
.swt_tbl TH.row_num, .swt_tbl TD.row_num { /* in-row numbers columns */
    width: 5px; white-space: nowrap; 
    }
.swt_tbl TH.r_btn, .swt_tbl TD.r_btn { /* in-row buttons column */
    width: 5px; white-space: nowrap;
    }

/* Groups and Totals */

.swt_tbl .row_group   { /* row group stripe TH */
    background-color: #FAFBFD; 
    border-top: 2px solid #D0D6E5;
    border-bottom: 1px solid #E7EEFE;
    border-left: 0px solid #E0E6F5;
    border-right: 0px solid #E0E6F5;
    text-align: left;
    padding: 4px 2px 2px 2px;
    }

.swt_tbl .row_group_lbl { /* row group label */
    font-weight: bold;
    }    
.swt_tbl .row_group_size { /* row group size and also sub-total description on the right of row band */
    color: #9BAACF; font-weight: normal;
    }
.swt_tbl .row_group A { /* anchor inside group stripe */
    font-weight: bold;
    }
.swt_bullet { /* row group bullet `[+]` */
    font-size: 9px; line-height: 6px; background-color: white; color: #000099; text-align: center;
    border: 1px solid #7778BF; padding: 0px 0px 1px 0px; margin-top: 2px; margin-right: 2px;
    width: 9px; cursor: pointer; cursor: hand;
    }
.swt_ld { /* inline loading indicator */
    color: red; font-weight: bold; font-size: 10px;
    padding-left: 10px; 
    display: none;
    }
#swt_ld_1 { /* top loading indicator */
    display: none;
    color: red; font-size: 10px; font-weight: bold;
    }
#swt_ld_2 { /* bottom loading indicator */
    display: none;
    color: red; font-size: 10px; font-weight: bold;
    }
.swt_tbl_collapse { /* expand/collapse table */
    margin: 2px 2px 2px 1px;
    }
.swt_tbl_collapse TD { 
    font-family: Verdana; font-size: 10px;   
    }
.swt_tbl .plain_header TH { /* plain headers inside groups */
    background-color: white; font-weight: bold;
    border-bottom: 0px solid #d9d9d9;
    }
.swt_tbl .total TD { /* total row TDs */
    padding: 0px 0px 2px 0px; 
    }
.swt_tbl .total_val { /* grand total value DIV */
    border-top: 2px solid #D0D6E5; margin-top: 4px;
    padding: 2px; font-weight: bold; 
    }
.swt_tbl .total_sub_val { /* sub total value DIV */
    border-top: 0px solid #d9d9d9;
    padding: 0px 2px 2px 2px; font-weight: bold;
    }    
.swt_tbl .padding { /* group indentation cell */
    background-color: white;
    border-right: 0px solid #E0E6F5;
    }

   
/* Links */

.swt_tbl A { /* links */
    color: #000099; text-decoration: none;
    }
.swt_tbl A:visited { /* visited state for links */
    color: #993366; text-decoration: none;
    }
.swt_tbl A:hover { /* hover state for links */
    color: #CC3366; text-decoration: underline;
    }
A.swt_ctrl, A.swt_ctrl:visited { /* record navigation and control links */
    color: #000099; text-decoration: none;
    }
A.swt_ctrl:hover { /* hover state for control links */
    color: #CC3366; text-decoration: underline;
    }
.swt_tbl .orderby { /* order-by indicator */
    color: red; font-weight: bold; 
    }
.swt_tbl .orderby2 { /* order-by indicator for groups */
    color: black; font-weight: bold; 
    }


    
/* Misc */

.swt_filters { /* filter and search table */
    font-family: Verdana; font-size: 12px;  
    width: 100%; margin: 2px 0px 6px 0px;
    }
B.search_hilite {
    background-color: #fffacd;
    }
    

/* Form Elements */

.swt_frm SELECT { /* select tags */
    font-size: 12px;
    }
.swt_frm INPUT { /* all input tags */
    font-size: 12px;
    }
.swt_frm TEXTAREA { /* textarea tag */
    font-size: 12px;
    }
.swt_search { /* search button */

    }
.swt_button { /* submit button */
    color: #000099; font-weight: normal;
    background-color: #D0D6E5;
    border-width: 2px; border-style: solid;
    border-color: #E5EBFA #B0B6C5 #B0B6C5 #E5EBFA;
    margin: 0px;
    }
.swt_button:hover { /* submit button hover */
    background-color: #E0E6F5;
    cursor: pointer; cursor: hand;
    }
.swt_checkbox {
    
    }
    


/* Error */

.swterr { /* outer error container (DIV) */
    margin: 2px;
    padding: 15px; background-color: whitesmoke;
    border: 1px solid silver;
    font-size: 12px;
    font-family: Verdana;
    }
.swterr_title { /* error title paragraph */
    margin-top: 0px;
  	color: #CC0000; font-weight: bold;
    }
.swterr_message { /* error message paragraph */
    }
.swterr_sql  { /* SQL box (PRE)  */
    background-color: #FDFDFD;
    border: 1px solid #DDDDDD;
    padding: 10px 20px 10px 20px; 
    font-size: 12px;
    }
.swterr_sql B { /* sql comments  */
    color: gray; font-weight: normal;
    }
