
    /*
    
    	    	    The Hacker's Diet
		    
		      Style Sheet
		      
    	If you found this style sheet floating free somewhere on
	the Web, please visit the book for which it was developed:
	    http://www.fourmilab.ch/hackdiet//e4/
	    
    */

    a:link,  a:visited {    	/* Regular links */
	background-color: #FFFFFF;
    	color: rgb(0%, 0%, 80%);
	text-decoration: none;
    }

    a:hover  {
    	background-color:  rgb(30%, 30%, 100%);
    	color: rgb(100%, 100%, 100%);
    }
    
    a:active {
    	background-color:  rgb(30%, 30%, 100%);
    	color: rgb(100%, 0%, 0%)
    }

    a.f:link,  a.f:visited, a.f:hover {     /* Do nothing for anchor-only definitions */
    	background-color:  rgb(100%, 100%, 100%);
    	color: rgb(0%, 0%, 0%);
	text-decoration: none;
    }
    
    blockquote.j {  	    	/* Justified block quotation */
   	text-align: justify;
    }

    body {  	    	    	/* Standard body copy */
    	background-color: #FFFFFF;
	color: #000000;
        margin-left: 10%;
        margin-right: 10%
    }
        
    body.chapters table {   	/* Items in the table of contents sidebar */
    	width: 100%;
	border: 2px;
	margin-top: 6px;
	margin-bottom: 6px;
    }
     
    body.chapters td {
    	text-align: center;
	font-size: larger;
	font-family: sans-serif;
	font-weight: bold;
    }
    
    body.contents li {	    	/* Hierarchical list items in table of contents */
	font-size: medium;
    }
   
    body.contents li.part {
     	font-weight: bold;
	font-size: x-large;
	margin-top: 0.5em;
    }
    
    body.contents li.chapter {
    	font-size: large;
    	font-weight: normal;
	margin-top: 0.5em;
    }
    
    body.foodcalories h3 {  	/* Category headings in food calorie table */
    	width: 70%;
	margin-left: 15%;
	margin-right: 15%;
    	background-color: #FFFFB0;
	color: #000000;
    	text-align: center;
    }
    
    h2.u {  	    	    	/* Subheadings in unit conversion table */
    	text-align: center;
    }

    p {     	    	    	/* Normal right justified paragraph */
    	text-align: justify;
    }
 
    p.c {   	    	    	/* Centred paragraph */
    	text-align: center;
    }
   
    p.qcite {	    	    	/* Citation for block quotation */
    	margin-top: 0px;
    	text-align: right;
    }

    p.r {   	    	    	/* Right justified paragraph */
    	text-align: right;
    }
 
    p.subsuper {    	    	/* Text with subscript and superscripts */
    	text-align: justify;
    	line-height: 130%;
    }
    
    span.key {	    	    	/* Key on the keyboard */
    	border: medium outset;
	font-family: sans-serif;
	padding-left: 3px;
	padding-right: 3px;
	background-color: #D0D0D0;
	color: #000000;
    }
   
    span.phead {    	    	/* LaTeX-style paragraph head */
     	font-weight: bold;
    }
    
    .subsuper sub, .subsuper sup {  /* Super- and subscripts in p.subsuper */
    	line-height: 0px;
    }
    
    table.abbr td.l {
    	padding-right: 1em;
    }
    
    table.calburn {	    	    /* Calorie burn table */
	background-color: #E8E8E8;
	color: #000000;
	border-style: outset;
	padding: 8px;
    }
    
    table.calburn td {	    	    /* Calorie burn table */
    	text-align: center;
	padding-right: 8px;
	padding-left: 8px;
    }
    
    table.calland td {	    	    /* Calorie soft landing table */
    	text-align: center;
	padding-right: 8px;
	padding-left: 8px;
    }

    table.calories {
    	width: 66%;
	border-collapse: collapse;
    }
    
    table.calories tr.o {
    	background-color: #E8E8E8;
	color: #000000;
    }
    
    table.calories tr.e {
    	background-color: #D0FFD0;
	color: #000000;
    }
    
    table.calories td {     	    /* Items in food calorie tables */
    	vertical-align: top;
    	text-align: right;
    	padding-top: 0px;
    	padding-bottom: 0px;
    	padding-left: 0.5em;
    	padding-right: 0px;
    }
    
    table.calories th {
    	text-align: left;
	font-weight: normal;
    	padding-top: 0px;
    	padding-bottom: 0px;
    	padding-left: 0px;
    	padding-right: 0.5em;
    }
 
    table.eqnarray td {     	    /* Tables used for arrays of equations */
    	padding-top: 0px;
    	padding-bottom: 0px;
    	padding-left: 0.5em;
    	padding-right: 0.5em;
    }
    
    table.optweight {	    	    /* Calorie burn table */
	background-color: #E8E8E8;
	color: #000000;
	border-style: outset;
	padding: 8px;
    }
    
    table.optweight td {    	    /* Optimum weight table */
    	text-align: center;
	padding-right: 8px;
	padding-left: 8px;
    }
    
    table.units {
	background-color: #E8E8E8;
	color: #000000;
	border-style: outset;
	padding: 8px;
	width: 60%;
    }
    
    table.units td {	    	    /* Unit conversion tables */
    	text-align: center;
    }
    
    table.units th.l {
    	text-align: left;
    }
