/********************************************************************
 * softball.css                                                     *
 *                                                                  *
 * CSS styles specific to softball statistical summaries.           *
 *                                                                  *
 ********************************************************************/

  /* Page structure *************************************************/
                                                             /* {{{ */
#nav {
    width:              28%;
}

#main {
    width:              100%;
}

BODY > * #main {
    width:              70%;
}
                                                             /* }}} */

  /* Navbar *********************************************************/
                                                             /* {{{ */
#nav UL {
    font-weight:        normal;
}

#nav .team-name {
    font-variant:       small-caps;
}

#nav .team-desc {
    font-style:         italic;
    font-size:          80%;
    padding-left:       2em;
}

.update #nav LI.nav-roster {
    background:         #1b3662;
    color:              #fffff0;
    display:            block;
    padding:            0.75ex 1ex;
}
                                                             /* }}} */

  /* Main section ***************************************************/
                                                             /* {{{ */
#main H3 {
    margin:             0 0 1em;
    text-align:         left;
    white-space:        nowrap;
    width:              100%;
}

.cover H3 {
    margin-top:         3em                 !important;
    text-align:         center              !important;
}

#main P {
    margin:             0 0 2pt 0;
    text-align:         right;
    text-indent:        0pt;
}

TABLE {
    margin-bottom:      1.5em;
    width:              100%;
}

THEAD TH {
    background:         #1b3662;
    color:              white;
    font-size:          90%;
    padding:            2pt;
}

TD,TH {
    vertical-align:     top;
    white-space:        nowrap;
}

TR.sep > * {
    border-top:         1px dotted black;
}

      /* Selector box ***********************************************/
                                                             /* {{{ */
.selectbox {
    background:         #fffff0;
    border:             1pt solid black;
    padding:            2pt;
}

#selector INPUT[type="submit"] {
    background:         #1b3662;
    color:              white;
    font-weight:        bold;
    margin:             2pt 0 0 2em;
    padding:            2pt;
    width:              5em;
}
                                                             /* }}} */

      /* Leader boxes ***********************************************/
                                                             /* {{{ */
.leaders .ldrbox {
    background:         #fffff0;
    border:             1pt solid black;
    padding:            2pt;
}

.leaders .ldrbox:hover {
    background:         #ffffcf;
}

.leaders .ldrbox TR:hover {
    color:              red;
}

.leaders .statldr {
    border-collapse:    collapse;
    border-spacing:     0;
    font-size:          90%;
    margin:             0;
    padding:            2pt;
}
                                                             /* }}} */

      /* Stat boxes *************************************************/
                                                             /* {{{ */
.statbox {
    background:         #fffff0;
    border:             1pt solid black;
    border-collapse:    collapse;
    border-spacing:     0;
    padding:            2pt;
}

BODY * > .statbox {
    border-collapse:    inherit;
}

.statbox TBODY TR:hover {
    background:         #ffffcf;
    color:              red;
}

.statbox TBODY TD {
    padding-right:      4pt;
    padding-bottom:     1pt;
}

.statbox TFOOT TR {
    background:         #369;
}

.statbox TFOOT TR > * {
    padding-bottom:     4pt;
}

.statbox TFOOT > TR:first-child > * {
    border-top:         2pt solid black;
}

.statbox TFOOT TH {
    font-variant:       small-caps;
}
                                                             /* }}} */

      /* Box scores *************************************************/
                                                             /* {{{ */
TABLE.scores {
    width:              auto;
}

.update TABLE#innings {
    width:              auto;
}

.update TABLE#stats {
    width:              auto;
}

TABLE.scores {
    width:              60%                 !important;
}

TABLE.scores TD {
    white-space:        nowrap;
}

.boxscore H3 {
    text-align:         left                !important;
}
                                                             /* }}} */

      /* Box score notes ********************************************/
                                                             /* {{{ */
.boxnotes {
    border:             1pt solid black;
    margin:             -1em 0pt 1em;
}

.boxnotes P {
    background:         #336699;
    font-size:          80%;
    line-height:        140%;
    margin:             2pt                 !important;
    padding:            2pt 1em;
    text-align:         left                !important;
}
                                                             /* }}} */
                                                             /* }}} */

  /* Footer *********************************************************/
                                                             /* {{{ */
#footer {
    height:             3em;
}

#validation {
    float:              left;
}
                                                             /* }}} */

/*********************************************************************
 * vim:set fdm=marker:                                               *
 *********************************************************************/

