/* hunnisett.css - main CSS Document for www.hunnisett.org.uk */

/* load standard base & useful files */
@import url("g-base.css");
@import url("g-useful.css");

/* load required additional font faces */
@font-face {
    font-family: 'LucidaCalligraphyItalic';
    src: url('lcallig-webfont.eot');
    src: url('lcallig-webfont.eot?#iefix') format('embedded-opentype'),
         url('lcallig-webfont.woff') format('woff'),
         url('lcallig-webfont.ttf') format('truetype'),
         url('lcallig-webfont.svg#LucidaCalligraphyItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Text styles */
body, textarea { font: 87.5%/1.25 "Trebuchet MS", Arial, Helvetica, sans-serif; }

h1 { /* used only for Title in Header */
	font-family: "Times New Roman", Times, serif;
	font-size: 4.8em;
	line-height: 1.1em;
	margin: 0;
}
h2 {font-size: 2em;} /* page headers */
h3 {font-size: 1.5em;} /* main subsection */
h4 {font-size: 1.2em;} /* secondary subsection */
h5 {font-size: 1.2em;} /* large paragraph header */
h6 {font-size: 1em;} /* paragraph header */

h2,h3,h4,h5 {line-height: 1em;}
h1,h2,h3,h4 {text-align: center;}
h2,h3,h4,h5,h6,p {margin-top: 1em;}
h6 {font-weight: bold;}

h1 {color: #470;}
h2 {color: #740;}

/* -------------------------------------------------------------------------------- */
/*  Layout Section
/* -------------------------------------------------------------------------------- */
	/* layout sizes should generally be defined in ems for scaleability */

/* Banner block - full width of screen */
#banner {
	position: absolute;
	top: 0;
	left: 0;
	height: 5.4em;
	width: 100%;
	background: #F0F0F0 url(../art/names2.gif) repeat center bottom;
}

/* Wrapper for complete web page */
#wrapall { 
	position: relative;
	width: 995px;      /* for fixed width */
/*	width: 100%;      /* for fluid width */
/*	min-width: 760px;	/* no horizontal scrolling at 800 x 600 */
/*	max-width: 99em;	/* fills screen at up to 1280 x 1024 (99 x 13 = 1287px) */
	margin: auto;     /* centre max width page in higher res screens */
}

/* header block */
#header {
	position: relative;
	height: 5.4em;
}

/* status bar - includes crumbs & quicklinks */
#status {
	position: relative;
	clear: both;
	padding: 0 0.5em 0;
}

#crumbs { float: left; }

#quicklinks { float: right; }


/* main page  - includes midcol (housing for content),
	 and leftcol and rightcol if required (defined in separate files) */
#mainpage {
	position: relative;
	clear: both;
	width: 100%;
}

#midcol { /* inside mainpage - housing for content */
	position: relative;
	margin: 0 1em;
	/* puts a simple margin each side of the centre column */
}

#midcol.leftcol { /* allow for left column */
	margin-left: 10em;	/* left col (8) + 2 x margin (1 each) */
}

#midcol.rightcol { /* allow for right column */
	margin-right: 11em;	/* right col (9) + 2 x margin (1 each) */
}

#leftcol {
	position: absolute; /* ref: mainpage */
	top: 0;
	left: 1em;
	width: 8em;
}

#rightcol {
	position: absolute; /* ref: mainpage */
	top: 0;
	right: 1em;
	width: 9em;
}

#content { /* inside midcol */
	position: relative;
	width: 100%;
	max-width: 60em;
	margin: 0 auto;
}

#footer { /* inside content */
	clear: both;
	text-align: center;
	font-size: 0.8em;
	line-height: 1em;
}

#standards { /* inside content */
	text-align: center;
	font-size: 0.75em;
	line-height: 1.25em;
	margin-top: 1em;
	color: #666;
}
#standards img { margin: 0 1em; }

/* -------------------------------- Main Menu Styles ---------------------------------- */
#menu1 ul {
	text-align: center;
	margin: 2px 0 0 0;
}

#menu1 li {
	display: inline;
}

#menu1 li a {
	padding: 0 0.3em;
}

/* for menu colours see below */

/* -------------------------------- SubMenu Styles ---------------------------------- */
#menu2, #menu3 {
	text-align: center;
}

#menu2 p, #menu3 p {
	font-weight: bold;
}

#menu2 ul, #menu3 ul {
	width: 100%;
	margin: 0.5em 0 0 0;
}

#menu2 li, #menu3 li {
	list-style: none;
	margin: 0.2em 0 0 0;
}

#menu2 li a, #menu3 li a {
	display: block;
	width: 100%;
}

/* -------------------------------- Menu colours ---------------------------------- */
#menu1 li a,
#menu2 li a,
#menu3 li a {
	color: #040;
	background-color: #EEE;
	border: 1px solid #360;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
}

#menu1 li a:hover,
#menu2 li a:hover,
#menu3 li a:hover {
	color: #FFF;
	background-color: #470;
	text-decoration: none;
}

#menu1 li.selected a,
#menu2 li.selected a,
#menu3 li.selected a,
#menu1 li.selected a:hover,
#menu2 li.selected a:hover,
#menu3 li.selected a:hover {
	color: #999;
	background-color: #EEE;
}


/* -------------------------------------------------------------------------------- */
/*  General Page styles for this site
/* -------------------------------------------------------------------------------- */

div.transcript {
	margin-top: 1em;
	border: solid 1px #CCC;
	padding: 0 1em 1em;
	font-family: LucidaCalligraphyItalic, "Lucida Calligraphy", "Times New Roman", Times, serif;
	font-size: 1.2em;
	line-height: 1.3em;
	background: url(../art/goldparchment.jpg) repeat;
}

/* used for the table in Richard's inventory */
div.transcript table { margin-top:0; }
div.transcript table td { vertical-align:bottom; }
/* The code below does not work in IE6 or earlier */
div.transcript table td:first-child { }
div.transcript table td:first-child + td { text-align:right; }
div.transcript table td:first-child + td + td { text-align:right; }
div.transcript table td:first-child + td + td + td { text-align:right; }
/* however, although text-align is not supported with col in CSS spec - this works under IE6 ! */
div.transcript table col.money { text-align:right; }

div.sources {
	font-size: 0.85em;
}

div.reference {
	margin-top: 1em;
	padding: 0 1em 1em;
	border: solid 1px #666;
	font-size: 0.90em;
	color: #663300;
}


/* -------------------------------------------------------------------------------- */
/*  Page Specific Styles
/* -------------------------------------------------------------------------------- */

div.home p.attrib {
	font-size: 0.8em;
	color: #600;
	text-align: center;
}

/* ---------------------------- Tree Pages ----------------------------- */
div.trees ul { margin-top: 0.5em; }

div.trees li { margin-top: 0.5em; }

div.children {
margin-left: 5%;
}

div.g-children {
margin-left: 10%;
}

table.births, table.inventory{
	width: 100%;
	text-align: left;
}

td.b-name {width:25%;}
td.b-date {
	width:25%;
	text-align: right;
	padding-right: 1em;
}
td.b-misc {width:50%;}

/* ---------------------------- Places Pages ----------------------------- */
div.places table.equal {
	width: 600px;
}
div.places table.equal td {
	vertical-align: middle;
	border: none;
}
div.places table.equal td hr { 
	color: #CCC;
	border-color: #CCC;
}
div.places p.comment{
	font-size: 0.9em;
	color: #900;
}
div.places p.attrib {
	font-size: 0.8em;
	color: #666;
}

/* ---------------------------- Books Page ----------------------------- */
div.books h6 { margin-top: 0; }

/* ---------------------- Richard's Inventory Page ----------------------- */
col.invitem {width:12em;}

/* ---------------------------- Research Page ----------------------------- */
table.cendates {margin-left: 0;}
table.cendates td {padding: 0 2em; text-align:right;}

/* ---------------------------- Gallery Pages ----------------------------- */
#content.gallery {  }

