/*----------------------------------------------------------------------------*/
/*                                                                            */
/* Copyright (c) 2012 by color:gray. All Rights Reserved.    	              */
/*                                                                            */
/* CSS        : layout.css                                                    */
/*                                                                            */
/* Description: Layout rules for site                                         */
/*                                                                            */
/*----------------------------------------------------------------------------*/

/* RULE: target ÷ context = result (default text size assumed to be 16px) */

/* Resets
---------------------------------*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body {
    line-height: 1;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
	display: block;
}
nav ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}
/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000; 
    font-style: italic;
    font-weight: bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;   
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}
input, select {
    vertical-align: middle;
}

/* General settings
---------------------------------*/
body, td, th {
	font-family: "Segoe Print", "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 90%;
}
body.home {
	color: #f4e6d1;
	background: #000;
}
p, h1, h2, h3, h4, h5, h6 {
	margin-bottom: 0.75em; /* 12px divided by 16px */
}
h1 {
        font-size: 2.0em;
}
h2 {
        font-size: 1.5em;
}
h3 {
        font-size: 1.2em;
}
h4 {
        font-size: 1.0em;
}
h5 {
        font-size: 0.8em;
}
h6 {
        font-size: 0.7em;
}
strong {
    font-weight: bold;
}
em {
    font-style: italic;
}

/* Colors
---------------------------------*/
body.home {
	color: #f4e6d1;
	background: #000;
}
body.home a:link {
	color: #999;
	font-weight: bold;
	text-decoration: none;
}
body.home a:visited {
	color: #999;
	font-weight: bold;
	text-decoration: none;
}
body.home a:hover {
	color: #fff;
	font-weight: bold;
	text-decoration: underline;
}
body.home a:active {
	color: #999;
	font-weight: bold;
	text-decoration: none;
}
body.other {
	color: #000;
	background: #fff;
}
body.other a:link {
	color: #666;
	font-weight: bold;
	text-decoration: none;
}
body.other a:visited {
	color: #666;
	font-weight: bold;
	text-decoration: none;
}
body.other a:hover {
	color: #bf0101;
	font-weight: bold;
	text-decoration: underline;
}
body.other a:active {
	color: #666;
	font-weight: bold;
	text-decoration: none;
}

/* Wrapper settings
---------------------------------*/
div#page_wrapper {
	position: relative;
	width: 90%;
	max-width: 62.5em; /* 1000px divided by 16px */
	padding: 0 5%;
	margin: 0 auto;
}
section {
	position: relative;
	width: 100%;
	padding: 24px 0 32px;
	line-height: 1.3em;
}

/* Header
---------------------------------*/
header {
	padding-top: 32px;
	text-align: center;
}
header img {
	max-width: 100%;
	height: auto;
}
header div.sepheader {
	display: none;
}

/* Main nav
---------------------------------*/
nav {
	text-align: right;
	width: 55%;
	margin: 48px 0 0 auto;
}
body.home nav {
	border-top: 1px solid #555;
}
body.other nav {
	border-top: 1px solid #999;
}
nav li {
	display: inline-block;
	margin: 0 0 0 24px;
	font-size: 1.4em;
}

/* Content
---------------------------------*/
section p#homelead {
	font-size: 1.4em;
	line-height: 1.6em;
}
section p#homelead img {
	float: left;
	margin: 0 12px 6px 0;
	max-width: 34%;
	height: auto;
	border: 2px solid #555;
}
section h2#statement {
	clear: both;
	border-top: 1px solid #b7ac9c;
	width: 70%;
	margin-top: 24px;
	padding-top: 12px;
}
section.resume h3 {
	margin-top: 24px;
}
section.resume ul {
	/*list-style: none;*/
	padding-left: 32px;
}
div.clear {
	clear: both;
}

/* Gallery
---------------------------------*/
section.gallery h2 {
	margin-bottom: 32px;
}
section.gallery img {
	/*border: 2px solid #333;*/
	/* drop shadow */
	-moz-box-shadow: 2px 2px 4px 0px #555;
	-webkit-box-shadow: 2px 2px 4px 0px #555;
	-khtml-box-shadow: 2px 2px 4px 0px #555;
	box-shadow: 2px 2px 4px 0px #555;
}
section.gallery ul {
	list-style: none;
	text-align: center;
}
section.gallery ul li {
	display: inline-block;
	padding: 2px;
	margin: 4px;
	text-align: center;
}
section.gallery ul img {
	border: 2px solid #333;
}
section ul a:hover img {
	border: 2px solid #f4e6d1;
}

/* Footer
---------------------------------*/
body.home div.footerline {
	border-top: 1px solid #555;
	width: 70%;
	margin: 0 auto 8px;
}
body.other div.footerline {
	border-top: 1px solid #999;
	width: 70%;
	margin: 0 auto 8px;
}
footer {
	text-align: center;
	font-size: 0.8em;
	line-height: 1.2em;
	margin-bottom: 24px;
}
footer address {
	font-style: normal;
}
footer address.contact {
	display: block;
	font-size: 1.2em;
	line-height: 1.4em;
	margin-bottom: 6px;
}

@media (max-width: 34em) {
	header img#fullheader {
		display: none;
	}
	header div.sepheader {
		display: block;
	}
	header div.sepheader img#MaryP {
		max-width: 50%;
	}
	section p#homelead img {
		float: none;
		max-width: 100%;
	}
}
