/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body {
height: 100%;
}

/* Default heading for incontrovertible.me. Includes gray header bar, header content and the nav bar
The header is a full width bar. The header content is fixed width and centred */

	header {
		padding: 1.25em 0 1.25em 10px;
		height: 35px;
		background: dimgray;
	}

	#header_content {
		background: transparent;
		max-width: 960px;
		margin: auto;
	}

	header h1 {
		float: left;
		margin: auto;
	}

	#header_content a {
		display: inline;
		font-family: 'Syncopate',sans-serif;
		font-weight:700;
		font-size: 32px;
		color: white;
		text-decoration: none;
	}

/* Nav bar elements. Note, I've split the nav elements, so all but the furthest right are tagged with the class "mid". 
These then have a right border showing to give the vertical bar between nav elements */

	#header_content nav {
		float: right;
	}
	
	#header_content nav ul li {
		display: inline;
	}
	
	#header_content nav ul li a {
		font-family: "Helvetica","Arial",serif;
		font-weight:400;
		font-size: 1em;
		color: white;
		text-decoration: none;
		float: right;
		border-right: 1px solid;
		padding: 0 20px 0 20px;
	}
		
	#header_content nav ul li:first-child a {
		border: 0;
	}
		
	#header_content nav ul li:last-child a {
		margin-left: 0;
	}
	
	#header_content nav ul li a:hover {
		text-decoration: underline;
	}


/* ----------- iPhone 4 and 4S ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {

	header {
		height: 24px;	
	}

	header h1 {
	display: block;
	}

	#header_content a {
		font-size: 18px;
	}

	#header_content nav ul {
		display: none;
	}

}

@media only screen
  and (max-width: 700px) {
  
  #header_content nav ul {
  	display: none;
  }
}

@media only screen
  and (max-width: 600px) {
	
	#header_content a {
		font-size: 18px;
	}
	
}

/* The container element is used for the sticky footer http://ryanfait.com/resources/footer-stick-to-bottom-of-page/ */

#container {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -25px;
}

/* The wrapper element contains the main body elements of each page and is set to the same width as the header and footer content 
Note: the wrapper may be too narrow for the gallery page. If so, I'll need to have a wider header/footer setting for the gallery page 
than what is used on the "about" and "thoughts" pages (this would be to allow a third row of thumbnails) */

	#wrapper {
		max-width: 960px;
		margin: 0 auto;
	}

/* Index is the div used to hold the table of thumbnails for the gallery page 
Query whether this should be "gallery_index" to make things clearer */

	#galleryIndex {
		float:left;
		width:100%;
		margin-left: 8px;
	}

	#galleryIndex table {
		border: 0;
	}

	#galleryIndex h2, #familyIndex h2 {
		font-family: "Helvetica","Arial",serif;
		font-weight:700;
		font-size: 24px;
		color: #c60;
		margin-top: 20px;
		margin-bottom: 20px;
	}

	#galleryIndex img {
		width: 200px;
		height: 200px;
		border: 0;
		margin: 0 20px 20px 0;
	}
	
	#familyIndex {
		margin-left: 8px;
	}
	
	#familyIndex img {
		width: 200px;
		height: 200px;
		border: 0;
		margin-right: 30px;
	}
	
	#familyIndex section {
		float: left;
margin-bottom: 25px;
	}
	
	#familyIndex p {
		color: dimgray;
		font-weight: 700;
margin-top: 3px;
	}


@media only screen 
  and (min-device-width: 310px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
	
	#galleryIndex img, #familyIndex img {
		width: 130px;
		height: 130px;
	}

#familyIndex img {
margin-right: 25px;
}

}

@media only screen 
  and (max-width: 400px) {
	
	#galleryIndex img, #familyIndex img {
		width: 130px;
		height: 130px;
	}

#familyIndex img {
margin-right: 25px;
}

}
  
	
/* Display is the div that displays the selected / default gallery image 
Query whether this should be "gallery_display" to make things clearer */

	#display {
		float:left;
		width:29%;
		margin-top: 30px;
	}

	#display p {
		color: #000000;
		background-color: transparent;
		font-family: "Syncopate",sans-serif;
		font-weight:400;
		font-size: 16px;
		text-decoration: none;
	}

/* main_content is currently the <div> used to hold the subject content of the "thoughts" and about "pages" 
Date is used for the date on the blog items, so I've grouped it here */

	#main_content {
		float: left;
		width: 70%;
		padding: 0;
	}

	#main_content p {
		padding: 0;
		margin-left: 10px;
		line-height: 140%;
		color: dimgray;
                margin-bottom: 2em;
	}
	
	.type {
		font-family: "New Courier", serif;
		font-size: 1em;
	}

	#main_content h2  {
		color: #c60;
		padding: 0;
		margin-left: 10px;
	        font-weight:700;
		font-size: 1.8em;
		margin-top: 20px;
		margin-bottom: 20px;
	}

	#date {
		font-size: 10pt;
		color: dimgray;
                margin-bottom: 20px;
	}
	

#blog_list {
	float: right;
	width: 29%;
}

#blog_list_content {
	position: relative;
	left: 60px;
	top: 105px;
}

footer {
	clear: both;
	border-top: solid 1px dimgray;
	padding-top: 2px;
width: 100%;
height: 25px;
background: dimgray;	
}

.push {
height: 0px;
}

#footer_content {
	max-width: 960px;
	margin: 0 auto;
padding-top: 5px;
}

#footer_content p {
	font-size: 10pt;
	color: white;
	margin: 0 0 0 10px;
}

#w3 {
	float: left;
}

.antivirus {
	position: relative;
	left: -5px;
	text-align: center;
	font-weight: bold;
	font-size: 12pt;
}

.antivirus img {
	width: 218px;
}

.antivirus td {
	padding: 0;
	margin: 15px 15px 15px 15px;
}


body {
	font-family: "Helvetica","Arial",serif;
	color: #333;
	background-color: #FFFFFF;
	margin: 0; 
	padding: 0;
}
h1 {
	font-family: 'Syncopate',sans-serif;
	font-weight:700;
	font-size: 32px;
	color: white;
	display: inline;
	margin-left: 10px;
}

a {
	color: #c60;
	background-color: transparent;
	font-family: "Helvetica","Arial",serif;
	text-decoration: none;
}
ul {
	padding: 0;
}
li {
	list-style: none;
}

	#main_content ul, li {
		padding: 0;
		margin-left: 15px;
		line-height: 140%;
		color: dimgray;
                margin-bottom: 2em;
                list-style-type: disc;
	}

p {
	color: #000000;
	background-color: transparent;
	font-family: "Helvetica","Arial",serif;
	font-weight:400;
	font-size: 16px;
	text-decoration: none;
}

#footnote1, #footnotea {
	border-top: 1px solid gray;
}

.footnote_p1 {
	border-top: 1px solid gray;	
	font-size: 12px;
	margin: 10px 0 10px 0;
	padding-top: 10px;
}

.footnote_p {
	font-size: 12px;
	margin: 10px 0 10px 0;
	padding-top: 10px;
}

/* main_content is currently the <div> used to hold the subject content of the "thoughts" and about "pages" 
Date is used for the date on the blog items, so I've grouped it here */

	#main_content {
		float: left;
		width: 70%;
		padding: 0;
	}

	#main_content p {
		padding: 0;
		margin-left: 10px;
		line-height: 140%;
		color: dimgray;
                margin-bottom: 2em;
	}
	
	.type {
		font-family: "New Courier", serif;
		font-size: 1em;
	}

	#main_content h2  {
		color: #c60;
		padding: 0;
		margin-left: 10px;
	        font-weight:700;
		font-size: 1.8em;
		margin-top: 20px;
		margin-bottom: 20px;
	}

	#date {
		font-size: 10pt;
		color: dimgray;
                margin-bottom: 20px;
	}

#blog_pic {
	float: left;
	width: 48%;
	position: relative;
	padding: 0;
	margin: 0 10px 15px 0;
}

#blog_pic2 {
	float: left;
	width: 48%;
	position: relative;
	padding: 0 0 0 10px;
	margin: 10px 10px 15px 0;
}

#blog_pic img {
	width: 100%;
}

#blog_pic2 img {
	width: 100%;
}

#divider {
	border-top: 1px solid gray;
}

blockquote { 
    margin: 0 18px 18px 18px;
    padding-left:10px;
    border-left:4px solid #eee;
    font-size: 0.9em;
}

/* CSS rules for draft family tree story pages */

.story, .story_full {
width: 100%;
height: auto;
}

.story_full {
margin-bottom: 1em;
}

.story_header {
display: block;
max-width: 650px;
margin: 0 auto;
		font-family: 'Syncopate',sans-serif;
		font-weight:700;
		font-size: 32px;
		color: white;
		text-decoration: none;

}

.story article p {
max-width: 650px;
font-family: 'Lato', sans-serif;
font-weight: 300;
font-size: 1.4em;
line-height: 1.5;
margin: 0 auto;
margin-bottom: 2em;
}

.story article h2 {
font-family: 'Lato', sans-serif;
font-weight: 300;
font-size: 3em;
line-height: 1.5;
max-width: 650px;
margin: 0 auto;
margin-bottom: 0.5em;
}