/* ***************************************************************************
 *                                                                           *
 * FILE NAME:  ff_gerrymander.css                                            *
 *                                                                           *
 * FraudFactor.com Gerrymander Style Sheet - Gerrymander specific styles     *
 *                                                                           *
 * VERSION  DATE        PROGRAMMER   CHANGE DESCRIPTION                      *
 *  0001C   2005-08-24  M. ROBBINS   Added black and white background        *
 *                                   patterns for election map districts.    *
 *  0001B   2005-08-19  M. ROBBINS   Changed unmarked election district      *
 *                                   table cell edges from default to gray.  *
 *  0001A   2005-08-18  M. ROBBINS   Initial version.                        *
 *                                                                           *
 *************************************************************************** */

/*
<!-- style id="FraudFactor_Main_Styles" -->
<style>
<!--
 */


@import url("ff_test.css") screen, print, handheld, projection;



@media screen, print, handheld, projection {



/* Generic Table Styles */
table.noborder { border: none; }



/* Quote Table Style */

table.quote   { background-color: #ffffff; border: #ff0000 6px solid; border-style: ridge; }
td.quote      { padding: 2px; }



/* Mathematical Formula Styles */

/* Black border, light yellow bg color */
td.formula_y   { border: #000000 2px solid; background-color: #ffffcc; }
/*  td.formula_y    { border: rgb(0,0,0) 2px solid; }  */
td.formula_w   { border: #000000 2px solid; background-color: #ffffff; }
td.formula_b   { border: #000000 2px solid; background-color: #ccccff; }



/* Election District Map Description Table Style */

table.mapdesc { margin: 10px; background-color: #e8e8e8; border: 4px solid; border-style: ridge; }
td.mapdesc    { padding: 10px; }



/* Election District Map / Table Border Style */

table.b_lrtb  { border-left: #000000 4px solid; border-right: #000000 4px solid; border-top: #000000 4px solid; border-bottom: #000000 4px solid; border-collapse: collapse /* separate */ }

/*  table.b_lrtb  { background-color: #000000; border-width: 2px border-style: solid; border-color: #000000; }  */



/* Election District Precinct / Table Cell Border Styles with Thin Gray Border for Unmarked Edges */

td.b_      { border-left: #999999 1px solid; border-right: #999999 1px solid; border-top: #999999 1px solid; border-bottom: #999999 1px solid; }

td.b_b     { border-left: #999999 1px solid; border-right: #999999 1px solid; border-top: #999999 1px solid; border-bottom: #000000 4px solid; }

td.b_t     { border-left: #999999 1px solid; border-right: #999999 1px solid; border-top: #000000 4px solid; border-bottom: #999999 1px solid; }

td.b_tb    { border-left: #999999 1px solid; border-right: #999999 1px solid; border-top: #000000 4px solid; border-bottom: #000000 4px solid; }

td.b_r     { border-left: #999999 1px solid; border-right: #000000 4px solid; border-top: #999999 1px solid; border-bottom: #999999 1px solid; }

td.b_rb    { border-left: #999999 1px solid; border-right: #000000 4px solid; border-top: #999999 1px solid; border-bottom: #000000 4px solid; }

td.b_rt    { border-left: #999999 1px solid; border-right: #000000 4px solid; border-top: #000000 4px solid; border-bottom: #999999 1px solid; }

td.b_rtb   { border-left: #999999 1px solid; border-right: #000000 4px solid; border-top: #000000 4px solid; border-bottom: #000000 4px solid; }

td.b_l     { border-left: #000000 4px solid; border-right: #999999 1px solid; border-top: #999999 1px solid; border-bottom: #999999 1px solid; }

td.b_lb    { border-left: #000000 4px solid; border-right: #999999 1px solid; border-top: #999999 1px solid; border-bottom: #000000 4px solid; }

td.b_lt    { border-left: #000000 4px solid; border-right: #999999 1px solid; border-top: #000000 4px solid; border-bottom: #999999 1px solid; }

td.b_ltb   { border-left: #000000 4px solid; border-right: #999999 1px solid; border-top: #000000 4px solid; border-bottom: #000000 4px solid; }

td.b_lr    { border-left: #000000 4px solid; border-right: #000000 4px solid; border-top: #999999 1px solid; border-bottom: #999999 1px solid; }

td.b_lrb   { border-left: #000000 4px solid; border-right: #000000 4px solid; border-top: #999999 1px solid; border-bottom: #000000 4px solid; }

td.b_lrt   { border-left: #000000 4px solid; border-right: #000000 4px solid; border-top: #000000 4px solid; border-bottom: #999999 1px solid; }

td.b_lrtb  { border-left: #000000 4px solid; border-right: #000000 4px solid; border-top: #000000 4px solid; border-bottom: #000000 4px solid; }



/* Election District Precinct / Table Cell Border Alternate Styles with Default Border for Unmarked Edges */
/*
td.b_      {  }

td.b_b     { border-bottom: #000000 4px solid; }

td.b_t     { border-top: #000000 4px solid; }

td.b_tb    { border-top: #000000 4px solid; border-bottom: #000000 4px solid; }

td.b_r     { border-right: #000000 4px solid; }

td.b_rb    { border-right: #000000 4px solid; border-bottom: #000000 4px solid; }

td.b_rt    { border-right: #000000 4px solid; border-top: #000000 4px solid; }

td.b_rtb   { border-right: #000000 4px solid; border-top: #000000 4px solid; border-bottom: #000000 4px solid; }

td.b_l     { border-left: #000000 4px solid; }

td.b_lb    { border-left: #000000 4px solid; border-bottom: #000000 4px solid; }

td.b_lt    { border-left: #000000 4px solid; border-top: #000000 4px solid; }

td.b_ltb   { border-left: #000000 4px solid; border-top: #000000 4px solid; border-bottom: #000000 4px solid; }

td.b_lr    { border-left: #000000 4px solid; border-right: #000000 4px solid; }

td.b_lrb   { border-left: #000000 4px solid; border-right: #000000 4px solid; border-bottom: #000000 4px solid; }

td.b_lrt   { border-left: #000000 4px solid; border-right: #000000 4px solid; border-top: #000000 4px solid; }

td.b_lrtb  { border-left: #000000 4px solid; border-right: #000000 4px solid; border-top: #000000 4px solid; border-bottom: #000000 4px solid; }
 */



/* Election District Precinct / Table Cell Border Alternate Styles with No Border for Unmarked Edges */
/*
td.b_      { border-left: none; border-right: none; border-top: none; border-bottom: none; }

td.b_b     { border-left: none; border-right: none; border-top: none; border-bottom: #000000 2px solid; }

td.b_t     { border-left: none; border-right: none; border-top: #000000 2px solid; border-bottom: none; }

td.b_tb    { border-left: none; border-right: none; border-top: #000000 2px solid; border-bottom: #000000 2px solid; }

td.b_r     { border-left: none; border-right: #000000 2px solid; border-top: none; border-bottom: none; }

td.b_rb    { border-left: none; border-right: #000000 2px solid; border-top: none; border-bottom: #000000 2px solid; }

td.b_rt    { border-left: none; border-right: #000000 2px solid; border-top: #000000 2px solid; border-bottom: none; }

td.b_rtb   { border-left: none; border-right: #000000 2px solid; border-top: #000000 2px solid; border-bottom: #000000 2px solid; }

td.b_l     { border-left: #000000 2px solid; border-right: none; border-top: none; border-bottom: none; }

td.b_lb    { border-left: #000000 2px solid; border-right: none; border-top: none; border-bottom: #000000 2px solid; }

td.b_lt    { border-left: #000000 2px solid; border-right: none; border-top: #000000 2px solid; border-bottom: none; }

td.b_ltb   { border-left: #000000 2px solid; border-right: none; border-top: #000000 2px solid; border-bottom: #000000 2px solid; }

td.b_lr    { border-left: #000000 2px solid; border-right: #000000 2px solid; border-top: none; border-bottom: none; }

td.b_lrb   { border-left: #000000 2px solid; border-right: #000000 2px solid; border-top: none; border-bottom: #000000 2px solid; }

td.b_lrt   { border-left: #000000 2px solid; border-right: #000000 2px solid; border-top: #000000 2px solid; border-bottom: none; }

td.b_lrtb  { border-left: #000000 2px solid; border-right: #000000 2px solid; border-top: #000000 2px solid; border-bottom: #000000 2px solid; }
 */


td.d_sz  { width: 32px; HEIGHT: 32px; padding: 0px; text-align: center; }


/*
District 1 = white  = #ffffff
District 2 = yellow = #ffffcc
District 3 = blue   = #ccffff
District 4 = purple = #ffccff
District 5 = green  = #99ff99
 */

td.bg_1w   { background-color: #ffffff }    /* District 1, background color = white  */
td.bg_2y   { background-color: #ffffcc }    /* District 2, background color = yellow */
td.bg_3b   { background-color: #ccffff }    /* District 3, background color = blue   */
td.bg_4p   { background-color: #ffccff }    /* District 4, background color = purple */
td.bg_5g   { background-color: #99ff99 }    /* District 5, background color = green  */


/*
District 1 = white  = #ffffff = No pattern
District 2 = yellow = #ffffcc = Dashed Horizontal Line pattern
District 3 = blue   = #ccffff = Light Horizontal Line pattern
District 4 = purple = #ffccff = Light Upward Diagonal Line pattern
District 5 = green  = #99ff99 = Outlined Diamond pattern
 */

/* Black and white background patterns */
/*
td.bg_1w   { background-color: #ffffff; }    / *  District 1, background color = white   * /
td.bg_2y   { background-color: #ffffcc; background: url("../images/patterns/Pattern405-Dashed_Horizontal-32x32.gif"); }    / *  District 2, background color = yellow  * /
td.bg_3b   { background-color: #ccffff; background: url("../images/patterns/Pattern303-Light_Horizontal-32x32.gif"); }    / *  District 3, background color = blue    * /
td.bg_4p   { background-color: #ffccff; background: url("../images/patterns/Pattern203-Light_Up_Diagonal-32x32.gif"); }    / *  District 4, background color = purple  * /
td.bg_5g   { background-color: #99ff99; background: url("../images/patterns/Pattern707-Outlined_Diamond-32x32.gif"); }    / *  District 5, background color = green   * /
 */


td.b_blue   { BORDER: 4px #000099 } 


/*

   Example usages for Election District Table Cell:

   (* Border on right, top, and bottom cell edges, white cell background color: *)
   <TD bgColor=#ffffff class="b_rtb bg_1w d_sz">

   (* Border on left, right, and top cell edges, yellow cell background color: *)
   <TD bgColor=#ffffcc class="b_lrt bg_2y d_sz">

   (* Border on left and right cell edges, blue cell background color: *)
   <TD bgColor=#ccffff class="b_lr bg_3b d_sz">

   (* Border on left, right, and bottom cell edges, purple cell background color: *)
   <TD bgColor=#ffccff class="b_lrb bg_4p d_sz">

   (* Border on left, right, and bottom cell edges, green cell background color: *)
   <TD bgColor=#ffccff class="b_lrb bg_5g d_sz">

 */


}    /* @media screen, print, handheld, projection */


/*
-->
</style>
 */
