BODY {
    background: #FF9;
    font-family: sans-serif;
    font-size: 10pt;
}

H1 {
    font-size: 16pt;
}
H2 {
    font-size: 14pt;
    margin-top: 8px;
    margin-bottom: 4px;
}
H3 {
    font-size: 12pt;
    margin-top: 0px;
    margin-bottom: 4px;
}
H4 {
    font-size: 11pt;
    margin-top: 0px;
    margin-bottom: 4px;
}


/****************************************************************************
 * Message of the day
 */

TABLE.motd {
    width: 80%;
    margin: auto;
    margin-bottom: 6pt;
    border: solid red 4px;
    background: white;
    color: red;
}


/****************************************************************************
 * svn info
 */

DIV.svn_info P {
    margin: 0px;
    font-weight: bold;
    font-style: italic;
}
TABLE.svn_info {
    margin-top: 2pt;
    border-spacing: 0px;
    border-collapse: collapse;
}
DIV.svn_info TABLE.svn_info {
    /* margin: auto; */
    border: solid black 1px;
}
TABLE.mainrep TABLE.svn_info {
    font-size: smaller;
}
TABLE.svn_info TR TD.svn_info {
    padding: 0px;
    padding-left: 2px;
    padding-right: 2px;
    background: #EEC;
    text-align: left;
}
SPAN.svn_info {
    color: #800;
}
DIV.svn_info SPAN.svn_info {
    font-weight: bold;
}


/****************************************************************************
 * Table of build node specifications
 */

TABLE.node_specs {
    /* margin: auto; */
    border: solid black 1px;
    /* font-size: smaller; */
}
TABLE.node_specs TH {
    text-align: left;
    vertical-align: top;
    font-style: italic;
    font-size: smaller;
}
TABLE.node_specs TD.spec {
    border: solid black 1px;
}


/****************************************************************************
 * Table of 'R CMD config' variables (on the NodeInfo pages)
 */

TABLE.Rconfig {
    border-spacing: 1px;
    font-family: monospace;
}
TABLE.Rconfig TD {
    background: #FFF;
}


/****************************************************************************
 * Glyph styles
 */

SPAN.TIMEOUT {
    font-weight: bold;
    color: white;
}
SPAN.ERROR {
    font-weight: bold;
    color: white;
}
SPAN.WARNINGS {
    font-weight: bold;
    color: white;
}
SPAN.OK {
    font-weight: bold;
    color: #DDD;
}
SPAN.skipped {
    font-weight: bold;
}

.TIMEOUT,
TABLE.summary TD.summary.TIMEOUT {
    background: #A08;
}
.ERROR,
TABLE.summary TD.summary.ERROR {
    background: #B33;
}
.WARNINGS,
TABLE.summary TD.summary.WARNINGS {
    background: #D82;
}
.OK,
TABLE.summary TD.summary.OK {
    background: #282;
}

TABLE.summary {
    margin: auto;
    border-collapse: collapse;
    border-spacing: 0px;
    color: white;
}
TABLE.summary TD {
    width: 28px;
    padding: 0px;
    text-align: center;
}


/****************************************************************************
 * Main table (the big one)
 */

TABLE.mainrep {
    width: 100%;
    border-spacing: 0px;
    border-collapse: collapse;
}

TABLE.mainrep TD {
    padding: 0px;
}
TABLE.mainrep .node {
    text-align: center;
}
TABLE.mainrep .stagecmd {
    width: 120px;
}

TABLE.mainrep TR.header TD,
TABLE.mainrep TD.header {
    /* border-top: solid black 1px; */
    background: inherit;
    font-style: italic;
    font-size: smaller;
}
TABLE.mainrep TR.current,
TABLE.mainrep TD.current {
    font-weight: bold;
}

TABLE.mainrep TD.status {
    /* border: inset 1pt; */
    text-align: center;
}

TABLE.mainrep .odd TH,
TABLE.mainrep .odd TD {
    background: #FFF;
}
TABLE.mainrep .even TH,
TABLE.mainrep .even TD {
    background: #DDD;
}


/****************************************************************************
 * Node specific background colors
 */

/* lamb2 */
DIV.lamb2,
TR.lamb2 TD,
TABLE.mainrep .lamb2,
TABLE.mainrep .odd .lamb2 {
    background: #BCD;
}
TABLE.mainrep .even .lamb2 {
    background: #9AB;
}

/* wilson2 */
DIV.wilson2,
TR.wilson2 TD,
TABLE.mainrep .wilson2,
TABLE.mainrep .odd .wilson2 {
    background: #BDD;
}
TABLE.mainrep .even .wilson2 {
    background: #9BB;
}

/* wellington */
DIV.wellington,
TR.wellington TD,
TABLE.mainrep .wellington,
TABLE.mainrep .odd .wellington {
    background: #EED;
}
TABLE.mainrep .even .wellington {
    background: #CCB;
}

/* churchill */
DIV.churchill,
TR.churchill TD,
TABLE.mainrep .churchill,
TABLE.mainrep .odd .churchill {
    background: #DEF;
}
TABLE.mainrep .even .churchill {
    background: #BCD;
}

/* gladstone */
DIV.gladstone,
TR.gladstone TD,
TABLE.mainrep .gladstone,
TABLE.mainrep .odd .gladstone {
    background: #DED;
}
TABLE.mainrep .even .gladstone {
    background: #BCB;
}

/* lemming */
DIV.lemming,
TR.lemming TD,
TABLE.mainrep .lemming,
TABLE.mainrep .odd .lemming {
    background: #EDD;
}
TABLE.mainrep .even .lemming {
    background: #CBB;
}

/* liverpool */
DIV.liverpool,
TR.liverpool TD,
TABLE.mainrep .liverpool,
TABLE.mainrep .odd .liverpool {
    background: #ECA;
}
TABLE.mainrep .even .liverpool {
    background: #CA8;
}

/* gewurz */
DIV.gewurz,
TR.gewurz TD,
TABLE.mainrep .gewurz,
TABLE.mainrep .odd .gewurz {
    background: #EBA;
}
TABLE.mainrep .even .gewurz {
    background: #C98;
}

/* walpole */
DIV.walpole,
TR.walpole TD,
TABLE.mainrep .walpole,
TABLE.mainrep .odd .walpole {
    background: #FDD;
}
TABLE.mainrep .even .walpole {
    background: #DBB;
}

/* matrix1 */
DIV.matrix1,
TR.matrix1 TD,
TABLE.mainrep .matrix1,
TABLE.mainrep .odd .matrix1 {
    background: #FCC;
}
TABLE.mainrep .even .matrix1 {
    background: #DAA;
}

/* matrix2 */
DIV.matrix2,
TR.matrix2 TD,
TABLE.mainrep .matrix2,
TABLE.mainrep .odd .matrix2 {
    background: #FBB;
}
TABLE.mainrep .even .matrix2 {
    background: #D99;
}

/* pitt */
DIV.pitt,
TR.pitt TD,
TABLE.mainrep .pitt,
TABLE.mainrep .odd .pitt {
    background: #DCE;
}
TABLE.mainrep .even .pitt {
    background: #BAC;
}

/* pelham */
DIV.pelham,
TR.pelham TD,
TABLE.mainrep .pelham,
TABLE.mainrep .odd .pelham {
    background: #DBE;
}
TABLE.mainrep .even .pelham {
    background: #B9C;
}

/* petty */
DIV.petty,
TR.petty TD,
TABLE.mainrep .petty,
TABLE.mainrep .odd .petty {
    background: #DAE;
}
TABLE.mainrep .even .petty {
    background: #B8C;
}
