/*
WIRKSWORTH HERITAGE CENTRE STYLESHEET
+++++++++++++++++++++++++++++++++++++
www.storyofwirksworth.co.uk
October 2008
Colour scheme
Red Lead: #B4191F
Black: #000000
*/
  
/* +++++ Overall stuff ++++++ */
body {
	background: url("/images/bgnd.gif") center repeat-y;
	color: #666666;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;	/* No heavy headings, please */
	font-family: "Gill Sans", "Century gothic", Futura, Helvetica, Arial, Verdana, sans-serif;
	padding: 2px 8px;
}

.page {	/* This is the central column */
	background-color: #000000;
	width: 900px;
	margin: 0 auto;
	padding: 0;
}

/* CSS title shadow effect */
.topbar {
	height: 74px;		/* 74+ 6padding=80 */
	background: #B4191F url("/images/topbarbgnd.gif") no-repeat top;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 200%;
	text-align: left;
	padding: 0px;
	padding-left: 70px;
	padding-top: 6px;
	margin: 0px;
	color: #336666;
	position: relative;
}

.topbar h1 {
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 100%;
	text-align: left;
	padding: 0px;
	margin: 0px;
	margin-left: 70px;
	margin-top: 6px;
	color: #FFFFFF;
	position: absolute;
	top: -0.15ex;
	left: -0.15ex;
/*	background-color: #FFFF00;*/
}

.topbar h2 {
	margin: 0px;
	font-size: 55%;
	color: #FFFFFF;
	text-transform: uppercase;
	text-align: center;
	background: url("/images/topheadingbgnd.gif") no-repeat bottom center;
	padding-bottom: 8px;
/*	background-color: #FF00FF;*/
}


/* +++++  Menu box styles   ++++++ */

.leftmenu {
	/* Overall text style for menu */
	font-size: 100%;
	font-weight: normal;
	font-family: "Gill Sans", "Century gothic", Futura, Helvetica, Arial, Verdana, sans-serif;
}

.leftmenu {
	width: 160px;
	float: left;
}

.leftmenu ul {
	list-style: none;
	border: none;
	margin: 8px 0 0 8px;
	padding: 0;
}

.leftmenu ul li {
	border: none;
	background-color: #000000;
	margin: 0;
	margin-top: 5px;
	padding: 0;
}

.leftmenu ul li.current {
	background-color: #B4191F;
}

.leftmenu ul li a {
	border: none;
	margin: 0;
	padding: 2px 8px;
	color: #FFFFFF;
	font-size: 95%;
	font-weight: normal;	/* No heavy headings, please */
	font-family: "Gill Sans", "Century gothic", Futura, Helvetica, Arial, Verdana, sans-serif;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	text-decoration: none;
	text-transform: uppercase;
}

 .leftmenu ul li a:hover {
	color: #B4191F;
 }
 
 .leftmenu ul li.current a:hover,  .topmenu ul li.current a:hover {
	color: #FFFFFF;	/* No rollover for currently selected item */
}

/* +++++  Timeline top menu styles   ++++++ */

.topmenu {
	/* Background styles */
	background-color: #FFFFFF;
	/* Margins and padding */
	margin: 10px;
	margin-left: 170px;
	padding: 10px;
	/* Text styles */
	color: #666666;
	border: 5px #666666 double;
	background: #FFFFFF url("/images/pagetopbgnd.gif") no-repeat top center;
	
}

.topmenu h1 {
	text-align: center;
	text-transform: uppercase;
	font-size: 100%;
}


/* +++++  Content box styles   ++++++ */

.content {
	/* Background styles */
	background: #FFFFFF url("/images/pagetopbgnd.gif") no-repeat top center;
	/* Margins and padding */
	margin: 10px;
	margin-left: 170px;
	padding: 10px;
	border: 5px #666666 double;
	/* Text styles */
	color: #333333;
}

.content h1 {		font-size: 150%;		}
.content h2 {		font-size: 130%;		}
.content h3 {		font-size: 120%;		}
.content h4 {		font-size: 115%;		}
.content h5 {		font-size: 110%;		}
.content h6 {		font-size: 105%;		}

.content h1, 
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
	color: #B4191F;
	text-transform: uppercase;
	text-align: center;
}

.content h1 {
	background: url("/images/headingbgnd.gif") no-repeat bottom center;
	padding-bottom: 10px;
	
}

.content p  {
	margin: 5px;
	padding: 0;
}

.content a {
	color: #B4191F;
	text-decoration: none;
}

.content a:hover {
	color: #B4191F;
	text-decoration: underline;
}

.content img{
	padding: 5px;
	margin: 10px;
	border: 1px solid #666666;
}

/* +++++  Footer box styles   ++++++ */

.footer {
	/* Background styles */
	background-color: #FFFFFF;
	/* Margins and padding */
	margin: 10px;
	margin-left: 170px;
	
	padding: 10px;
	border: 5px double #666666;
	/* Text styles */
	color: #333333;
	font-size: 75%;
	text-align: center;
}

.footer h3 {
	background-color: #B4191F;
	color: #FFFFFF;
	margin: -10px;
	margin-bottom: 10px;
	text-align: center;
}

/* +++++ Text formatting styles ++++++ */
.subtle {
	color: #999999;
	font-size: x-small;
	text-align: right;
}

/*
p.formula {
	font-weight: bold;
	font-style: italic;
	margin-left: 30px;
}
*/

sup, sub {
/* I want superscripts small so they don't screw up the line spacing */
	font-size: 60%;
}

/* +++++ Table formatting styles ++++++ */

table {
	border: 1px solid #666666;
	width: 100%;
	font-size: small;
}

td, th {
	border: 1px solid #666666;
}

th {
	color: #333333;
}

/* ++++ Image formatting styles +++++ */

img, a img {
	border: 0;	 /* No borders on linked images */
	margin: 0;
}

div.figure {
	/* This provides a box for a diagram or picture
	within the content area. It can have a caption.*/
	margin: 8px auto;
	padding: 4px;
	border: 1px solid #999999;
	text-align: center;
}

div.figureleft {
	/* This provides a box for a diagram or picture
	within the content area. It can have a caption.*/
	margin: 4px 8px;
	float: left;
	padding: 4px;
	border: 1px solid #999999;
	text-align: center;
}

div.figureright {
	/* This provides a box for a diagram or picture
	within the content area. It can have a caption.*/
	margin: 4px 8px;
	float: right;
	padding: 4px;
	border: 1px solid #999999;
	text-align: center;
}

p.caption {
	/* This style wraps a caption with an image for div.figure
	within the content area */
	margin: 0px;
	margin-top: 2px;
	padding: 0px;
	font-size: 75%;
	font-style: italic;
	text-indent: 0;
}

br.spacer {
	/* This prevents the image from overlapping the content box. */
	clear: both;
}

 #timelineContainer{
    display: table;
    margin: 0 auto;
    text-align: center;    /* fixes IE bug */
  }

  #timelineContainer > div{
    display: inline-block; /* fixes IE bug */
  }

  #timelineContainer > div{
    display: inline;       /* fixes IE bug */
  }

  #timelineContainer > div{
    display: table-cell;
    text-align: left;
    background: url('/images/timelinegraphics/timeline-centre-40.png') repeat-x 0 64px;
    border-bottom: 1px solid rgb(220,220,200);
  }

  #timelineContainer > div > div{
    background: url('/images/timelinegraphics/timeline-right-40.png') no-repeat right 64px;
  }

  #timelineContainer > div > div > div{
    background: url('/images/timelinegraphics/timeline-left-40.png') no-repeat left 64px;
    height: 88px;
    overflow: hidden;
    padding: 0 10px;
	}
	

div.formrow {
	padding-top: 10px;
}

div.formrow span.label {
  float: left;
  width: 150px;
  font-size: 12px;
  }

div.formrow span.field {
	margin-left: 10px;
	padding: 5px;
	width: 500px;
	text-align: left;
  } 

	legend{
		font-size: 14px;
		font-weight: bold;
		margin-left: -5px;
		margin-top: 10px;
	}
	
div.story{
	border: 1px solid #CCCCCC;
	padding: 10px;
	margin: 10px;
}
	div.story h2{
		background: url("/images/headingbgnd.gif") no-repeat bottom center;
		padding-bottom: 10px;
	}


/* The map section */
div.map_container{
	padding: 25px;
}
div.fullwidth{
	width: 100%;
	margin: auto;
	

}
#map{
	width: 640px;
	height: 500px;
}

#largemap{
	width: 900px;
	height: 700px;
}

