/* BASE RULES */


body {
    margin: 0 auto;
    padding: 0;
    
background: url(images/bg.png) #9A0606 50% 0 repeat-y;
    
color: #000;
    
font: 70%/1.5em verdana, sans-serif;

    
/*text-align: center;*/
}




/* TYPOGRAPHY RULES */


h1 {
    margin: 0 0 1em 0;
    
padding-bottom: 0.2em;
    
color: #000;
    
border-bottom: 1px solid #000;
    
font: small-caps bold 150% georgia, serif;
}

h2 {
    
margin: 0 0 0.5em 0;
    
font-size: 120%;
}

h3 {
    margin: 0 0 0.2em 0;
    font-size: 100%;
}

p {
    margin: 0 0 1em 0;
}

blockquote {
    margin-bottom: 1em;
    padding-top: 0.5em;
    padding-left: 1.5em;
    background: url(images/quote_tl.png) top left no-repeat;
    font-style: italic;
    text-align: justify;
}

blockquote p {
    margin: 0;
    padding-right: 1.5em;
    padding-bottom: 0.5em;
    background: url(images/quote_br.png) bottom right no-repeat;
}

acronym {
    border-bottom: 1px dashed #ccc;
    cursor: help;
}

kbd, code {
    padding: 0.1em;
    border: 1px dashed #ccc;
    background-color: #f0f0f0;
    color: green;
}

p.footer {
    margin: 0;
    padding: 10px 20px;
    background-color: #fff;
    text-align: right;
    font-size: smaller;
    width: 560px;
    position: absolute; /* in case someone whacks it in the content div rather than outside it */
    margin-left: -280px; /* half the width */
    left: 50%;
}


/* HYPERLINK RULES */

a:link {
    color: #9A0606;
    text-decoration: underline;
}

a:visited {
    color: purple;
    text-decoration: underline;
}

a:hover {
    color: blue;
    text-decoration: none;
}

a:active {
    color: red;
    text-decoration: none;
}


/* NAVIGATION RULES */

#navigation {
    position: relative;
    margin: 0;
    /*padding: 100px 10px 0 10px;*/
	  padding-top: 100px;
	  padding-bottom: 20px;
    background: url(images/topbanner.jpg) #fff 50% 0 no-repeat;
    width: 670px;
/* New code by Tom Mynors 06.11.07 */
    position: relative;
    margin-left: -335px; /* note this is half of the width */
    left: 50%;
    text-align: center;
/* end new code */
}

#navigation ul {
		padding-left: 0px;
		padding-right: 0px;
    margin: 0;
    padding: 0;
    /*background-color: #413D3D;*/
    color: #fff;
    width: 670px;
}

#navigation ul li {
    display: inline;
}

#navigation ul li a {
    padding: 0.2em 0.8em;
    background-color: #9A0606;
    color: #fff;
    text-decoration: none;
    border-right: 1px solid #fff;
}

#navigation ul li a:hover {
    background-color: #000;
    color: #fff;
}

/* CONTENT RULES */

#content {
    padding: 0px;
    border-width: 0px 0;
    border-style: solid;
    border-color: #f0f0f0;
    background-color: #fff;
    width: 600px;
/*
OLD CODE
    margin: 0;
    position: center;
*/
/* New code by Tom Mynors 06.11.07 */
    position: relative;
    margin-left: -300px; /* note this is half of the width */
    left: 50%;
/* end new code */

    text-align: left;
}


/* IMAGE RULES */

img {
    margin: 0 0 1em 0;
    padding: 10px;
    border-top: 1px solid #f0f0f0;
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    border-left: 1px solid #f0f0f0;
}


.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */

}




/* TABLE RULES */

table {
    margin: 0 0 1em 0;
    border-collapse: collapse;
    width: 100%;
}

th, td, caption {
    margin: 0;
    padding: 2px 4px;
}

th {
    background-color: #069;
    color: #fff;
    text-align: left;
}

td {
    border: 1px solid #ccc;
}

caption, tfoot {
    background-color: #f0f0f0;
}

caption {
    border: 1px solid #ccc;
    text-align: left;
}


/* FORM RULES */

form {
    margin: 0 0 1em 0;
}

fieldset {
    margin: 0 0 1em 0;
    padding: 1em;
}

input, select, textarea {
    font: 100% verdana, sans-serif;
}

label {
    margin: 1em 0 0.3em 0;
    display: block;
    font-weight: bold;
    font-size: smaller;
}


/* LIST RULES */

ul {
    margin-left: 0;
    list-style: none;
}

ul li {
    /*margin-left: 1.5em;
    padding-left: 2em;*/
    /* background: url(images/arrow.png) #fff left center no-repeat; */
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 0 0.5em 1em;
}