/* ----------------------------------------------------------------------
   www.else.net.nz stylesheet
   ---------------------------------------------------------------------- */


/* ---------------------------------------------------------------------- 
   Main look 'n feel 
   ---------------------------------------------------------------------- */

html { 
  margin: 0px;
  padding: 0px;
}

body    {
  font-family: sans-serif;
  color: #000000;
  background-color: #c0c0c0;
  text-align: center;
}

/* ----------------------------------------------------------------------
   Layout
   ---------------------------------------------------------------------- */

/*
#container {
  display: block;
  background-color: #c0c0c0;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
}
*/

#content {
  display: block;
  background-color: #FFFFFF;
  color: #000000;
  padding-top: 0em;
  padding-left: 4em;
  padding-right: 4em;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  width: 40em;
  text-align: justify;
  border-left: 2px solid #808080;
  border-right: 2px solid #808080;
}

#copy { 
  background-color: #c0c0c0;
  color: #000000;
  margin-left: -4em;
  margin-right: -4em;
  margin-top: 0em;
  margin-bottom: 0em;
  text-align: right;
 }

#validator { 
  font-size: 90%;
  background-color: #c0c0c0;
  margin: 0px;
}

.nav {
  color: #000000;
  background-color: #D5D5D5;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  font-family: sans-serif;
  font-weight: normal;
  padding-left: .5em;
  margin-top: 0em;
  margin-bottom: 0em;
  margin-left: -4em;
  margin-right: -4em;
}

.nav a { 
  background-color: #D5D5D5;
  color: blue;
  text-decoration: none;
  border: none;
}

.nav a:visited { 
  background-color: #D5D5D5;
  color: blue;
  border: none;
  text-decoration: none;  
 }

.nav a:hover { 
  background-color: #D5D5D5;
  color: #FF0000;
  text-decoration: none;
  border: none;
 }

.prevcontback { 
  text-align: right;
}

.centredimage {
  background-color: #FFFFFF;
  text-align:center;
  margin-top:1em;
  margin-bottom:1em;
  padding:0px;
}

/* ----------------------------------------------------------------------
   Headings and Rules
   ---------------------------------------------------------------------- */
h1 {
  background-color: #FFFFFF;
  font-family: sans-serif;
  font-size: 200%;
  font-weight: normal;
  margin-bottom: 0em;
  margin-top: .5em;
  border-bottom: 2px solid #D5D5D5;
}

h1.mono {
  background-color: #FFFFFF;
  font-family: Courier, monospace;
  font-size: 200%;
  font-weight: normal;
  margin-bottom: 0em;
  margin-top: .5em;
}

h2 {
  background-color: #FFFFFF;
  font-family: sans-serif;
  font-size: 130%;
  font-weight: normal;
  text-decoration: underline;
/*border-bottom: 1px solid black;*/
}

h3 {
  background-color: #FFFFFF;
  font-family: sans-serif;
  font-size: 120%;
  font-weight: normal;
  text-decoration: underline;
}

hr { 
  margin-top: 0em;
  margin-bottom: 0em;
}

img { 
  border: none;
 }

/* ----------------------------------------------------------------------
   Link Styles 
   ---------------------------------------------------------------------- */
a {
  background-color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px dotted #D5D5D5;
  color: #FF0000;
}

a:visited { 
  text-decoration: none;
  border-bottom: 1px dotted #C5C5C5;
  color: #FF0000;
}

a:hover {
  background-color: #D5D5D5;
  text-decoration: none;
  border-bottom: 1px dotted #FF0000;
}

a:active {
  text-decoration: none;
  border-bottom: 1px dotted #FF0000;
  color: #D5D5D5;
  background-color: #FF0000;
}

a.external { 
  background-image: url(/images/extlink.png);
  background-position: right center;
  background-repeat: no-repeat;
  padding-right: 16px;
}

a.internal { 
  background-image: url(/images/intlink.png);
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 23px;
}

a.mail { 
  background-image: url(/images/maillink.png);
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 23px;
}

a.cite { 
  background-color: #FFFFFF;
  font-style: italic;
}


/* ------------------------------------------------------------------------------
   LISTS
   ------------------------------------------------------------------------------ */

ul.linklist { 
  list-style: none;
  margin-left: 0;
  padding-left: 1em;
  text-indent: -1em;
}

.linklist li { 
  margin-bottom: .5em;
}

ol { 
  list-style-position: inside;
 }

/* ------------------------------------------------------------------------------
   Bibliography Page
   ------------------------------------------------------------------------------ */


#bibliography { 
  margin-bottom: 1em;
 }

#bibliography ul { 
  list-style: none;
  margin-left: 0;
  display: inline;
 }

li.bibtitle { 
  text-decoration: underline;
}
li.bibseries { 
  font-style: italic;
}
li.bibauthor { 
  
}
li.bibpub { 

}
li.bibyear { 

}
li.bibisbn { 

}
li.bibback { 

}

/* ------------------------------------------------------------------------------
   TABLES
   ------------------------------------------------------------------------------ */

/* Table Formatting */

table {
  width: 40em; /* Keep this the same as the width of div #content for full-width tables */
  margin-top: 1em;
  margin-bottom: 1em;
}

caption { 
  caption-side: top;
  font-weight: bold;
}

td.heraldiccolor { 
  width: 4em;
 }

td.tincturename { 
  width: 9em;
}

td.tincturecolour {
  border: 1px solid black;
 }

td.tincturehex { 
  width: 8em;
  text-align: right;
  font-family: monospace;
 }

.headrow {font-weight: bold;}

/* th {  */
/*   font-family: serif; */
/* } */
/* td {  */
/*   font-family: sans-serif; */
/* } */

td a { 
  border: none;
  text-decoration: none;
  
}

td a:hover { 
  border: none;
}


/* ---------------------------------------------------------------------------
   IMAGES
  ------------------------------------------------------------------------- */

.floatleft { 
  float: left;
  padding-right: 1ex;
}

.floatright { 
  float: right;
  padding-left: 1ex;
 }

.floatclear { 
  clear: both;
 }
