html,
body {
	height: 100%; /* Required for Map page */
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #F1F4EB;
	text-align: center;
}

div#skipnav {
	display: none;
}

/************************************************************
 GENERIC ELEMENTS
 */

p {
	margin: 0 0 1em 0;
}
p.tight {
	margin-bottom: 0;
}

ul,
ol,
li {
	margin: 0;
	padding: 0;
}
em, cite {
	font-style: italic;
}
strong {
	font-weight: bold;
}
a,
ul.tabs a:hover,
ul.tabs a:visited,
div#footer a:hover,
div#footer a:visited {
	color: #6A2109;
	text-decoration: underline;
	background: transparent;
}

a:visited {
	color: #94695B;
}



a img {
	border: none;
}

tr,
td {
	vertical-align: top;
}
th.number,
td.number {
    text-align: right;
	white-space: nowrap;
}

form {
	margin: 0;
	padding: 0;
}

.hide {
	display: none;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}
.bottom {
	vertical-align: bottom;
}

.error {
	color: #600;
}

div.clear {
	clear: both;
	height: 1px;
	font-size: 1px;
	line-height: 1px;
}

div.hr {display: none}
/*/*/a{}
div.hr {
	clear: both;
	display: block;
	margin: 1em 0 0.8em 0;
}
hr {display:none}
/* */


/* Used in both main content and sidebar */
div.content ul.encyclopedia {
	list-style-type: disc;
	margin-left: 20px;
}
div.content ul.encyclopedia ul {
	margin-left: 0;
}
div.extra ul.encyclopedia {
	list-style-type: none;
	margin-left: 0;
}
div.content ul.encyclopedia ul,
div.extra ul.encyclopedia ul {
	margin-bottom: 0;
}

/************************************************************
 BASIC STRUCTURE
 */

div#container {
	text-align: left;
	width: 765px;
	margin: 0 auto;
	padding: 0 5px;
	background: #fff url("img/container_bg.gif") top left repeat-y;
}

div#main {
	background: url("img/tabs_bottom.gif") top left no-repeat;
	padding-top: 10px;
	float: left;
}

/* 
The different basic layouts.

.row-1
	.content-wrapper
		.content
	 __________
	| content |
	|   750   |
	

	
.row-2
	.content-wrapper
		.content
	.extra
	 ______________________________________
	|      content          |    extra    |
	|       485             |     265     |


.row-2b
	.content-wrapper
		.content
	.content
	 ______________________________________
	|      content     |    content last  |
	|       375        |        375       |

*/



div.extra {
	float: left;
	padding: 1em 0;
}


/* Used only on Encyclopedia indiv archive pages.
 Wraps around div.row-2
*/
div.row-wrapper {
	float: left;
}


/* row-1: One wide column */
div.row-1 div.content {
	width: 765px;
	background: url("img/row-1_bg.gif") bottom left repeat-x #fff;
	padding-bottom: 1em;
}


/* row-2: Wide column and a narrow sidebar */
div.row-2 {
	float: left;
	width: 765px;
	background: url("img/row-2_bg.gif") top left repeat-y;
}
div.row-2 div.content,
div.row-2.close div.content, /* Specifier needed for Mac IE */
div.row-2.diary-entry div.content { /* Specifier needed for Mac IE */
	float: left;
	width: 500px;
}
div.row-2 div.extra {
	/* Three pixels smaller than it should be to allow for the reduced row-2 width
	in lt-ie-7.css */
	width: 262px; 
}
/* Used for first row on front page. */
div.row-2.close div.extra {
	padding-bottom: 0;
}
/* Used for all diary entries on front page and monthly archive pages. */
div.row-2.diary-entry div.extra {
	margin-top: 2.9em;
}


/* row-2b: Two equal columns */

div.row-2b div.content {
	float: left;
	width: 383px;
}
div.row-2b div.content.last {
	width: 382px;
	float: left;
	padding-left: 0;
	padding-right: 0;
}


/************************************************************
 HEADER AND MAIN NAVIGATION
 */

div#header {
	background: #050505 url("img/header_pepys.jpg") right bottom no-repeat;
	height: 8.333em;
	padding-top: 1.667em;
	position: relative;
}
div#header h1,
div#header p.h1 {
	font-family: Georgia, Times, serif;
	font-weight: bold;
	margin: 0 0 0 15px;
	color: #BDA450;
}
div#header h1 a,
div#header p.h1 a {
	color: #BDA450;
	text-decoration: none;
}
div#header h1 a:hover,
div#header p.h1 a:hover {
	text-decoration: underline;
	background: transparent;
}
div#header p#tagline {
	font-family: Georgia, Times, serif;
	font-style: italic;
	margin: 0 0 0 18px;
	color: #A18937;
}

#main-nav {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}
#main-nav ul.tabs {
	margin: 0;
	padding: 10px 10px 0 10px;
	list-style: none;
}
#main-nav ul.tabs li {
	float: left;
	margin: 0 10px 0 0;
	padding: 0;
	width: 110px;
}
/* Commented Backslash Hack hides rul.tabs from IE5-Mac \*/
#main-nav ul.tabs li { width: auto; }
/* End IE5-Mac hack */

#main-nav ul.tabs li a,
#main-nav ul.tabs li a:visited {
	display: block;
	background: url("img/tab_off.gif") left bottom repeat-x #E8E7DC;
	margin: 0;
	padding: 0 0 0 0;
	white-space: nowrap;
	text-decoration: none;
	width: auto;
	height: auto;
}
/* We did have height: 1.8em above and then this, below, was hidden from IE 5 Mac.
 * But it messes things up slightly in other browers too.
Commented Backslash Hack hides rul.tabs from IE5-Mac 
#main-nav ul.tabs li a { height: auto; }*/
/* End IE5-Mac hack */

#main-nav ul.tabs li a:hover {
	text-decoration: underline;
}
#main-nav ul.tabs li a span {
	float: left;
	display: block;
	padding: 5px 10px 3px 10px;
}
/* Commented Backslash Hack hides ul.tabs from IE5-Mac \*/
#main-nav ul.tabs li a span { float: none; }
/* End IE5-Mac hack */


#main-nav ul.tabs li.on a {
	color: #000;
	background-image: none;
	background-color: #BDA450;
	text-decoration: underline;
}
#main-nav ul.tabs li.on a.on {
	text-decoration: none;
}

#main-nav ul.tabs li.on a span {
}


/************************************************************
 SUB-NAV (BELOW HEADER)
 */

#sub-nav {
	background: #BDA450;
	padding: 3px 0;
	/* float: left; Removed because it generates lots of blank space further down the annotations on pages like http://www.pepysdiary.com/p/804.php#discussion in Win IE 6. */
	width: 100%;
}
#sub-nav a {
	color: #000;
}

#sub-nav p {
	margin-bottom: 0;
}
#sub-nav ul {
	float: left;
	margin-left: 20px;
	list-style: none;
	margin-top: 0.3em;
}
#sub-nav ul li {
	display: inline;
	margin-right: 1em;
}

#sub-nav #search-form {
	float: right;
	margin-right: 10px;
	margin-top: 1px;
	text-align: right;
	width: 50%;
}
/* Commented Backslash Hack hides rul.tabs from IE5-Mac \*/
#sub-nav #search-form { width: auto; }
/* End IE5-Mac hack */



#sub-nav #search-form input.text {
	width: 140px;
	border: 1px solid #CDBFB1;
}
#sub-nav #search-form input.submit {
}



/************************************************************
 MAIN CONTENT
 */

div.content h1,
div.content h2,
div.content h3,
div.content h4,
div.content h5,
div.content p,
div.content li,
div.content table,
div.content iframe {
	margin-left: 20px;
	margin-right: 20px;
}
div.row-2b div.content p {
	margin-right: 10px;
}


div.content ol,
div.content ul {
	margin-bottom: 1em;
	margin-left: 2em;
}

div.content blockquote {
	margin: 0 0 0 30px;
}
div.row-2 div.content table.full {
 	/* Example in diary: 1668-04-13 */
    width: 460px;
    margin-bottom: 1em;
}
div.row-2 div.content table.valign-bottom td {
    vertical-align: bottom;
}
div.content iframe {
	margin-bottom: 1em;
}

div.content h1 {
	color: #A18937;
	margin-top: 0;
	padding-top: 0.5em; /* 12px if h1 is 24px */
	margin-bottom: 0.75em; 
	line-height: 1.25em; /* 30px if h1 is 24px */
}
div.content div.manuscript h1 {
	/* To make top of diary entry line up with 'on this day'. */
	margin-top: 0.6em;
}
div.content h2 {
	color: #A18937;
	margin-top: 0;
	padding-top: 0.9em; /* 18px if h1 is 20px */
	margin-bottom: 0.45em;
	line-height: 1.2em; /* 24px if h2 is 20px */
}
div.content.entries h2 {
	margin-top: 1em;
}
div.content h2.first {
	padding-top: 0;
}

div.content h2 a {
	color: #A18937;
	text-decoration: none;
}
div.content h2 a:hover {
	color: #5C220F;
	text-decoration: underline;
}

div.content h3,
div.content h4,
div.content h5 {
	margin-top: 1em;
	margin-bottom: 1em;
	line-height: 1.25em;
}

div.content p,
div.content li {
	line-height: 1.5em; /* 12/18px */
}
div.content li p {
	margin-left: 0;
	margin-right: 0;
}


/*/*/a{}
div.content div.hr {
	margin-left: 20px;
	margin-right: 20px;
	border-top: 2px solid #CDBFB1;
}
/* */


/* Tabs in Encyclopedia */

div.content ul.tabs {
	margin: 0 10px 0 10px;
	list-style-type: none;
	padding-bottom: 1px;
	border-bottom: 1px solid #CDBFB1;
}
div.content ul.tabs li {
	display: inline;
	background: #E8E7DC;
	padding: 0.3em 8px 3px 8px;
	margin: 0 0 0 5px;
}
div.content ul.tabs li.on {
	background: #CDBFB1;
}
div.content ul.tabs li a,
div.content ul.tabs li.on a,
div.content ul.tabs li.on a:hover {
	text-decoration: none;
}
div.content ul.tabs li a:hover {
	text-decoration: underline;
}

/* Encyclopedia references */
div.content dl {
	margin: 0 20px 0 20px;
}
div.content dl dt {
	font-weight: bold;
	line-height: 1.5em;
}
div.content dl dd {
	margin: 0 0 1em 0;
	padding: 0;
	line-height: 1.5em;
}

div.content dl.references dd span.month {
	float:left; 
	width: 2.5em;
}

/* Used on /p/324.php */
div.content dl.spaced dt {
	margin-top: 2em;
	margin-bottom: 1em;
}


div.content p.author {
	margin-top: -1em;
	margin-bottom: 0.5em;
	font-weight: bold;
}
div.content.entries p.author {
	margin-top: -0.5em;
}
div.content p.more {
	margin-top: -1em;
	margin-bottom: 0;
	font-weight: bold;
	text-align: right;
}
div.content p.meta {
	/* Used in Encyclopedia topic pages */
	border-top: 2px solid #E8E7DC;
	padding-top: 0.5em;
	clear: both;
}
div.content p.archive-link {
	font-weight: bold;
	margin-top: 1.5em;
	margin-bottom: 0;
}
div.content p.archive-link a {
	padding-right: 23px;
	background: url("img/arrow_r.gif") bottom right no-repeat;
}
#diary_home div.content p.archive-link {
	font-weight: normal;
}
#diary_home div.content p.archive-link a {
	padding-right: 0;
	background: none;
}

div.content p.illustration { 
	text-align: center; 
}
div.content p.illustration img { 
	border: 1px solid #CDBFB1; 
}
div.content img.illustration {
	float: right;
	margin: 0 0 0.5em 5px;
	border: 1px solid #CDBFB1; 
}

div.content div#map {
	height: 400px;
	width: 723px;
	margin: 0 20px;
	border: 1px solid #CDBFB1;
}

div.content .manuscript {
	font-family: Georgia, Times, serif;
}
div.content div.manuscript h2 {
	margin-top: 1.438em; /* 23px if h2 is 16px */
	margin-bottom: 0.0625em; /* 1px if h2 is 16px */
	line-height: 1.438em; /* 20px if h2 is 16px */
}
div.content .manuscript p,
div.content .manuscript li,
div.content .manuscript th,
div.content .manuscript td {
	line-height: 1.769em; /* 13/23px */
}
div.content .footnotes {
	border-top: 1px solid #E8E7DC;
	padding-top: 0.5em;
	margin-left: 20px;
	margin-right: 20px;
}
div.content .footnotes h1,
div.content .footnotes h2,
div.content .footnotes p,
div.content .footnotes li {
	margin-left: 0;
	margin-right: 0;
}
div.content .footnotes li {
	margin-bottom: 1em;
}

div.content p.entry-about {
	border-top: 2px solid #E8E7DC;
}


div.content ul.comments {
	margin: 0 15px 0 10px;
	padding: 0;
	list-style-type: none;
	border-top: 1px solid #CDBFB1;
}
div.content ul.comments.previewing {
	border-top: none;
}
div.content li.comment {
	margin: 0;
	padding: 0.5em 0 0 17px;
	border-bottom: 1px solid #CDBFB1; 
	background: url("img/comment_old.gif") 2px 0.6em no-repeat #F7FAF1; /* was #F1F4EB */
	width: 458px;
}
/* Commented Backslash Hack hides rul.tabs from IE5-Mac \*/
div.content li.comment { overflow: hidden; }
/* End IE5-Mac hack */


div.content li.comment.comment-b {
	background-color: #fff;
}
div.content li.comment.new {
	background-image: url("img/comment_new.gif");
}
div.content li.comment span.new,
div.content li.comment span.old {
	display: none;
}

div.content li.comment p {
	margin-left: 3px;
	margin-right: 10px;
}
div.content li.comment p.byline {
	margin-bottom: 0.3em;
}
div.content li.comment p.byline span.user {
	font-weight: bold;
}


/* Modifications on comment display for the recent comments page summaries. */
div.content ul.recent {
	border-top: none;
	margin-left: 20px;
	margin-right: 20px;
}
div.content ul.recent li.comment {
	background-color: transparent;
	background-position: 2px 0.2em;
	border-bottom: none;
	padding-top: 0;
	margin-bottom: 0.4em;
	width: 443px;
}
div.content ul.recent li p,
div.content ul.recent li.comment p.byline {
	margin-bottom: 0;
	margin-right: 0;
	width: 440px;
}



div.content div.alert {
	background: #C8D4AE;
	border: 1px solid #A18937;
	margin: 1em 15px 1em 15px;
	padding-top: 0.375em; /* 6px */
}
div.content div.alert p {
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 0.5em; /* 6px */
	line-height: 1.5em; /* 12/18px */
}


div.content ul.breadcrumbs {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
div.content ul.breadcrumbs li {
	display: inline;
	margin: 0;
	padding: 0 0 0 24px;
	background: url("img/arrow_breadcrumbs.gif") top left no-repeat;
}
div.content ul.breadcrumbs li.top {
	padding-left: 0;
	margin-left: 15px;
	background: none;
}


/* Columns */
div.content div.two-columns div.col-1,
div.content div.two-columns div.col-2 {
	float: left;
	width: 242px;
}
div.content div.two-columns div.col-1 li {
	margin-right: 0;
}
div.content div.two-columns div.col-2 li {
	margin-left: 0;
}
div.content div.two-columns div.col-1 {
	margin-right: 16px;
}



/* Forms */
p.row {
	width: 460px;
	margin-bottom: 0;
	padding-top: 0.2em;
	clear: left;
	float: left;
}
p.row span.label {
	float: left;
	margin-right: 10px;
	width: 120px;
}

p.row span.formfield {
	float: left;
	width: 330px;
}
p.row span.formfield input.text {
	width: 255px;
	border: 1px solid #CDBFB1;
}
p.row span.formfield input.checkbox {
	border: 1px solid #CDBFB1;
}
p.row span.formfield textarea {
	width: 325px;
	border: 1px solid #CDBFB1;
}
p.textarea {
	padding-top: 0.5em;
	clear: left;
}
p.textarea textarea {
	width: 455px;
	border: 1px solid #CDBFB1;
}
p#comments-open-text small {
	color: #7D6F61;
}

/* Added for comment-challenge plugin */
p#comments-open-challenge {
	margin-bottom: 1em;
}
p#comments-open-challenge span.label {
	width: 170px;
}
p#comments-open-challenge span.formfield {
	width: 280px;
}
p#comments-open-challenge span.formfield input.text {
	width: 205px;
}
p#comments-open-footer {
	clear: left;
}

/* Flag comment form */
body#flag_comment #comments-open-data,
body#flag_comment #comment-form-name,
body#flag_comment #comments-open-text {
	padding-top: 1.5em;
	clear: both;
}



div.search-results h3 {
	margin-bottom: 0;
}
div.search-results p {
	margin-bottom: 0.2em;
}


/* Wikipedia specific stuff */


div#row-wikipedia div.content,
div#row-wikipedia div.content ol.references li {
	overflow: hidden;
}
div#row-wikipedia div.content div.thumb {
	width: auto;
}
div.thumb img {
	border: 1px solid #cdbfb1;
}
div.thumb div.thumbcaption img {
	border: none;
}
div#row-wikipedia div.content table {
	margin: 0 20px 1em 20px ! important;
}
div#row-wikipedia div.content div.infobox.sisterproject {
	width: 200px;
}
div#row-wikipedia div.content div.tright,
div#row-wikipedia div.content div.infobox.sisterproject,
div#row-wikipedia div.content table.infobox {
	clear: right;
	float: right;
	margin: 0 20px 1em 10px ! important;
}
div#row-wikipedia div.content table.infobox {
	width: auto ! important;
	padding: 0px ! important;
	border: 1px solid #cdbfb1;
}
div#row-wikipedia div.content table.infobox tr td div {
	background: none ! important;
}
div#row-wikipedia div.content table.infobox tr td hr {
	display: block;
	color: #cdbfb1;
	background-color: #cdbfb1;
	height: 1px;
}

div#row-wikipedia div.content div.tleft,
div#row-wikipedia div.content div.tnone,
div#row-wikipedia div.content div.floatleft {
	clear: left;
	float: left;
	margin: 0.5em 10px 1em 20px;
}
div.thumb div.thumbcaption {
	/* Also in sidebar */
	line-height: 1.272em; /* 11/14px */
}
div#row-wikipedia div.content div.thumb div.thumbcaption {
	max-width: 220px;
}
div#row-wikipedia span#coordinates,
div#row-wikipedia span.editsection,
div#row-wikipedia span.editlink,
div#row-wikipedia div.NavFrame {
	display: none;
}
div#row-wikipedia table.wikitable,
div#row-wikipedia table.toccolours {
	border-collapse: collapse;
	width: 460px;
}
div#row-wikipedia table.wikitable th,
div#row-wikipedia table.toccolours th,
div#row-wikipedia table.vcard th {
	background-color: #e8e7dc ! important;
	text-align: center;
}
div#row-wikipedia table.wikitable th,
div#row-wikipedia table.wikitable td,
div#row-wikipedia table.toccolours th,
div#row-wikipedia table.toccolours td {
	border: 1px solid #cdbfb1;
	padding: 0.2em 5px;
	line-height: 1.272em; /* 11/14px */
}
div#row-wikipedia div.content table td {
	background-color: #fff ! important;
}
div#row-wikipedia table.wikitable b {
	font-weight: normal;
}
div#row-wikipedia div.references-small {
	column-count: 1 ! important;
	-webkit-column-count: 1 ! important;
	-moz-column-count: 1 ! important;
}
div#row-wikipedia div.content div.mainarticle {
	margin: 0 20px 1em 20px;
	font-style: italic;
}
div#row-wikipedia div.content div.magnify {
	display: inline;
	text-align: baseline;
}


/* Hover tips */
div.tip {
	position: absolute;
	z-index: 100;
	text-align: left;
	width: 316px;
	background: url("img/tip_bg_top.png") top left no-repeat;
	padding: 10px 0 0 0;
}
div.tip div.tip-inner {
	background: url("img/tip_bg_bottom.png") bottom left no-repeat;
	padding: 0 0 18px 0;
}
div.tip h3 {
	line-height: 1.333em; /* 12/16px */
	margin: 0;
	padding: 0 19px 0 19px;
	width: 278px;
}
div.tip p {
	line-height: 1.333em; /* 12/16px */
	margin: 0;
	padding: 0 19px 0 19px;
	width: 278px;
}

div.tip-image {
	width: 426px;
	background-image: url("img/tip-image_bg_top.png");
}
div.tip-image div.tip-inner {
	background-image: url("img/tip-image_bg_bottom.png") ! important;
}
div.tip-image img {
	float: right;
	padding: 0 19px 0 0;
}
div.tip-image h3,
div.tip-image p {
	padding-right: 0;
}

/* To pre-load the hover tip backgrounds. */
div#tab-bg {
	background-image: url("img/tip-image_bg_top.png");
	width: 1px;
	height: 1px;
	position: absolute;
	bottom: 0;
	left: -1000px;
}
div#tab-bg span {
	background-image: url("img/tip-image_bg_bottom.png");
}

/* LETTERS */
div.content .letters_entries li {
	margin-bottom: 1em;
}
div.content div.letter div.manuscript {
	margin-top: 2em;
	margin-bottom: 2em;
}
div.content div.letter h1 {
	margin-bottom: 0;
}
div.content div.letter p.letter-date {
	font-weight: bold;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #E8E7DC;
}
.letter-to {
	font-style: italic;
	margin-bottom: 1em;
}
.letter-from {
	margin-bottom: 1em;
	text-align: right;
}
.letter-to p,
.letter-from p {
	margin-bottom: 0;
}

.letter-yours {
	margin-left: 130px;
	margin-bottom: 1em;
}
div.content .manuscript .letter-yours p {
	margin-left: 0;
	margin-bottom: 0;
}
div.content .manuscript p.letter-indent {
	margin-left: 4em;
}
div.content .manuscript p.letter-indent-2 {
	margin-left: 8em;
}
div.extra ul.letter-correspondents {
	width: 100%;
	float: left;
	margin: 5em 0 2em 0;
}
div.extra ul.letter-correspondents li {
	margin: 0 15px 1.5em 15px;
	float: left;
	text-align: center;
}
div.extra .letter-source {
	margin-top: 2em;
}
div.extra .letter-source img {
	float: right;
	margin: 0 0 0.5em 10px;
}



/************************************************************
 SIDEBAR CONTENT
 */

/* All rows */
div.extra h2 {
	margin: 1em 10px 0.5em 15px;
}

div.extra h3 { 
	/* Used for 'on this day' stuff */
	margin: 1em 10px 0.2em 15px;
	line-height: 1.154em; /* 13/15px */
}

div.row-2.close div.extra h2{ /* Used for first row on front page. */
	margin-top: 0;
}
div.extra p {
	line-height: 1.364em;  /* 11/15px */
}
div.extra ul,
div.extra ol {
	margin-bottom: 1em;
}
div.extra ul {
	list-style-type: none;
}
div.extra li {
	margin-left: 15px;
	margin-right: 10px;
	margin-bottom: 0.2em; /* 7px if li is 11px */
	line-height: 1.364em; /* 11/15px */
}
div.extra ol {
	margin-left: 1.5em;
}



/*/*/a{}
div.extra div.hr {
	margin-left: 15px;
	margin-right: 10px;
	border-top: 2px solid #CDBFB1;
}
/* */

/* row-2 (Narrow extra column) */
div.extra p {
	margin-left: 15px;
	margin-right: 10px;
}


p.nextprev {
	float: left;
	width: 232px;
	padding-top: 0.5em;
	margin-bottom: 0.5em;
}
#diary_archive_individual p.nextprev {
	padding-top: 2em;
}
span.next {
	display: block;
	float: right;
	margin-left: 8px;
	margin-bottom: 0.5em;
	text-align: right;
	width: 48%;
}
/* Commented Backslash Hack hides rul.tabs from IE5-Mac \*/
span.next  { width: auto; }
/* End IE5-Mac hack */

span.next a {
	display: block;
	padding-right: 23px;
	background: url("img/arrow_r.gif") top right no-repeat;
}
span.prev {
	display: block;
	float: left;
	width: 48%;
}
/* Commented Backslash Hack hides rul.tabs from IE5-Mac \*/
span.prev  { width: auto; }
/* End IE5-Mac hack */

span.prev a {
	display: block;
	padding-left: 23px;
	background: url("img/arrow_l.gif") top left no-repeat;
}

div.extra .encyclopedia-entries li small {
	color: #A3A29A;
}

ul.feeds li a {
	padding-left: 16px;
	background: url("img/feed-icon-12x12.gif") bottom left no-repeat;
}
ul.feeds li.more a {
	padding-left: 0;
	background: none;
/*	padding-right: 23px;
	background: url("img/arrow_r.gif") bottom right no-repeat; */
}


div.extra div.temperature {
	margin-top: 1.5em;
}
div.extra div.temperature .temp {
	font-weight: bold;
}

/* At the bottom of the 'on this day' data. */
div.extra p.about {
	text-align: right;
	margin-top: 1em;
}
div.extra ul.events li {
	background: url("img/bullet.gif") 1px 0.5em no-repeat;
	padding-left: 10px;
}

/* Encyclopedia front page */
div.extra p.more-info-link {
	font-weight: bold;
	line-height: 2em;
}
div.extra p.more-info-link img,
div.extra .flickr_badge_image img {
	border: 1px solid #d3d2c8;
}

div.extra .flickr_badge_image {
	text-align: center;
}

div.extra #flickr_badge_uber_wrapper {
	margin: 0 15px 1em 15px;
	border-collapse: collapse;
}
div.extra #flickr_badge_uber_wrapper td {
	margin: 0;
	padding: 0;
}
div.extra #flickr_badge_wrapper {
	border-collapse: collapse;
}
div.extra #flickr_badge_wrapper td {
	width: 118px;
}

/* Wikipedia stuff */
div.extra div.thumb {
	width: auto;
	margin: 0 5px 2em 15px;
}
div.extra div.tright,
div.extra div.tleft {
	clear: none;
	float: none;
}
div.extra div.thumbinner {
	width: auto ! important;
}


/************************************************************
 FOOTER
 */

div#footer {
	clear: left;
	width: 100%;
	background: url("img/row-2_bg.gif") top left repeat-x;
	padding: 2em 0 0 0;
}
div#footer p {
	margin: 0;
	padding: 1em 10px;
	background: #BDA450;
}


/************************************************************
 Both MAP and FAMILY TREE page
 */

#minimal-header {
	padding: 0;
}
#minimal-header h1 {
	margin: 0;
	background: #050505;
	color: #bda450;
	padding: 0.2em 15px 0.3em 15px;
	font-family: Georgia, Times, serif;
	font-weight: bold;
}
#minimal-header h1 a,
#minimal-header p.h1 a {
	color: #BDA450;
	text-decoration: none;
}
#minima-header h1 a:hover,
#minimal-header p.h1 a:hover {
	text-decoration: underline;
	background: transparent;
}
#minimal-header p {
	margin: 0;
	padding: 0.2em 15px 0.3em 15px;
	background: #bda450;
}
#minimal-header p a {
	color: #000;
}
#minimal-bottom {
	margin: 0;
	padding: 1em 15px;
	background: url("img/minimal_tabs_bottom.gif") right top repeat-x #e8e7dc;
}


/************************************************************
 FAMILY TREE page
 */

body#encyclopedia_familytree {
	text-align: left;
	background-color: #e8e7dc;
}
body#encyclopedia_familytree #minimal-header {
	width: 2060px;
}
body#encyclopedia_familytree #minimal-bottom {
	width: 2030px;
}
body#encyclopedia_familytree h2 {
	margin-top: 0;
}
p#familytree img {
	background-color: #fff;
	border: 1px solid #d3d2c8;
	padding: 15px 10px;
}


/************************************************************
 MAP page
 */

body#encyclopedia_map {
	height: 100%;
	text-align: left;
}
body#encyclopedia_map #minimal-header-bottom {
	background: url("img/map_tabs_bottom.gif") right top no-repeat #e8e7dc;
}
body#encyclopedia_map #minimal-header h1,
body#encyclopedia_map #minimal-header p,
body#encyclopedia_map #minimal-bottom {
	padding-left: 5px;
	padding-right: 5px;
}
body#encyclopedia_map #minimal-bottom {
	margin-bottom: 0.5em;
	padding-bottom: 0;
}
body#encyclopedia_map #map {
	float: left;
	width: 78%;
	min-height: 100%;
	border-left: 1px solid #a3a29a;
}
#map-sidebar {
	float: left;
	width: 22%;
	min-height: 100%;
	margin-right: -1px;
	background: #e8e7dc;
}

#map-sidebar p {
	margin: 0;
}

#map-sidebar-bottom {
	height: 300px;
	padding: 0 5px;
	overflow: auto;
	background: url("img/map_sidebar_bg.gif") right top repeat-y;
}
#map-sidebar h4 {
	margin-top: 1em;
	margin-bottom: 0.3em;
}

#map-sidebar p.about {
	margin-bottom: 0.5em;
	color: #A98473;
}
#map-sidebar ol,
#map-sidebar ul,
#map-sidebar li {
	margin: 0;
	padding: 0;
}
#map-sidebar ul {
	margin-top: 1em;
	margin-left: 2em;
}
#map-sidebar ol {
	margin-left: 2.5em;
	padding-bottom: 1.5em;
}
#map-sidebar ol#homes {
	list-style-type: upper-alpha;
	padding-bottom: 0;
}
#map-sidebar li {
	line-height: 1.3em;
	margin-bottom: 0.3em;
}
body#encyclopedia_map div.markerTooltip, 
body#encyclopedia_map div.markerDetail {
	color: black;
	background-color: white;
	width: 250px;
	margin: 0;
	padding: 2px 4px;
	border: 1px solid #a18937;
}



/************************************************************
 FONT SIZES
 */

body {
	font-size: 0.75em; /* 12px */
}

div#header h1,
div#header p.h1 {
	font-size: 2.667em;		/* 32px */
}

div.content h1 {
	font-size: 2em; /* 24px */
}

div.content h2 {
	font-size: 1.667em; /* 20px */
}


div.content h3,
div.content h4,
div.content h5,
div.content div.manuscript h2,
div.entries h2,
div.extra h2 {
	font-size: 1.333em; /* 16px */
}

div.extra h3,
div#header p#tagline,
div.content .manuscript p,
div.content .manuscript li,
div.content .manuscript th,
div.content .manuscript td,
#map-sidebar h1 {
	font-size: 1.0833em; /* 13px */
}

ul.tabs li,
div.content p,
div.content li,
div.content dl dt,
div.content dl dd,
div.tip h3,
div#footer p {
	font-size: 1em; /* 12px */
}

div.content li p,
div.content li li,
div.content .manuscript li p,
div.content .manuscript li li {
	font-size: 1em;		/* Maintain the same size. */
}


#sub-nav li,
#sub-nav p,
.extra p,
.extra li,
div.content p.entry-about,
div.content ul.tabs li,
div.content ul.breadcrumbs li,
div.content th,
div.content td,
div.content p.illustration .caption,
div.thumb div.thumbcaption,
#map-sidebar-header p {
	font-size: 0.917em; /* 11px */
}

div.content dl.references dd {
	font-size: 0.833em;
}

.extra li li,
#sub-nav #search-form p input,
#sub-nav #search-form p select,
div.content dd p {
	font-size: 1em;		/* Maintain the same size. */
}

div#row-wikipedia table.wikitable,
div#row-wikipedia table.toccolours,
div#row-wikipedia div.content table.infobox,
div#row-wikipedia div.content table.infobox td,
div#row-wikipedia div.content table.infobox th,
div#row-wikipedia div.content table.toccolours tr {
	font-size: 1em ! important;
}

div.extra p.temp span {
	font-size: 1.455em; /* 16px if p is 11px */
}

div.extra p kbd,
div.extra div.temperature .temp {
	font-size: 1.182em; /* 13px if p is 11px */
}

div.content p.byline span.date,
div.content p small,
div.content li small {
	font-size: 0.917em; /* 11px if p is 12px */
}

div.extra p small,
div.extra li small,
div#row-wikipedia table.wikitable td small {
	font-size: 0.909em; /* 10px if li/p is 11px */
}


