html {
	font-size: 100%;
}
body {
	margin: 0;
	padding: 0;
	background: #ffffff;
	color: #333333;
	font-family: Arial, Sans-Serif;
	font-size: 100%;
}
input,
select,
option,
textarea {
	font-family: Arial, Sans-Serif;
}

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,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1em;
	line-height: 1em;
}

a,
a:link {
	color: #3f8260;
	text-decoration: none;
}
#content a,
#content a:link,
.article a,
.article a:link {
	text-decoration: underline;
}
a:visited {
	color: #395243;
	text-decoration: none;
}
#content a:visited,
.article a:visited {
	text-decoration: underline;
}
a:hover {
	color: #ffcc00;
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
h1 a:link,
h2 a:link,
h3 a:link,
h4 a:link,
h5 a:link,
h6 a:link,
h1 a:visited,
h2 a:visited,
h3 a:visited,
h4 a:visited,
h5 a:visited,
h6 a:visited {
	color: #3f8260;
	text-decoration: none !important;
}
h1 {
	clear: left;
	font-size: 2.4em;
	line-height: 1em;
	font-weight: normal;
	margin-bottom: 1rem;
}
h2 {
	clear: left;
	font-size: 1.5em;
	line-height: 1.2em;
	margin-top: 2rem;
	margin-bottom: 1rem;
}
h3 {
	clear: left;
	font-size: 1.25em;
	line-height: 1.25em;
	margin-bottom: 1rem;
}

p,
th,
td,
input,
textarea,
option,
label,
li {
	line-height: 1.5rem;
}
p,
table,
form,
ul {
	margin-top: 0;
	margin-bottom: 1rem;
}
li {
	margin-left: 1.5rem;
}
strong {
	color: #3f8260;
}

/*** TYPOGRAPHY AND COLOURS ***/
body {
	background: #d7d7d7 url("../images/tindall-bodybg.jpg") left top repeat-x;
	color: #333333;
}
#header,
#nav,
#content,
#footer {
	background-color: #ffffff;
	color: #333333;
	border-color: #b5b5b5;
	border-style: solid;
}
#nav {
	background-color: #ededed;
	color: #333333;
}
#nav a {
	text-transform: uppercase;
}
#nav a,
#nav a:link,
#nav a:visited {
	color: #333333;
}
#nav a:hover {
	color: #3f8260;
	text-decoration: none;
}
#footer {
	background-color: #fafafa;
}
#footer p,
#footer a,
#footer a:link,
#footer a:visited {
	color: #333333;
}
#footer a:hover {
	color: #3f8260;
	text-decoration: none;
}

/*** LAYOUT ***/
#header,
#nav,
#content,
#footer {
	position: relative;
	overflow: hidden;
	clear: both;
	margin: 0 auto;
	padding: 0;
	border-width: 0 4px;
}
#header img {
	max-width: 90%;
	height: auto;
}
#header img#strapline {
	display: block;
	margin: 0 auto 12px;
}
#nav {
	padding: 0.5em 1em;
}
#nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#nav li {
	display: inline;
	float: left;
	margin: 0 1em 0 0;
	padding: 0;
}
#content {
	padding: 1em;
}
.article {
	clear: both;
	position: relative;
	border-bottom: 1px solid #eee;
	margin-bottom: 1.5em;
}
.article:last-child {
	border-bottom: none;
}
@media (min-width: 768px) {
	.article {
		overflow: auto;
	}
}
#footer {
	padding: 1em;
}
#footer p.contact {
	float: left;
	width: 20em;
}
#footer p.credits {
	float: right;
	width: 20em;
	text-align: right;
}

@media (min-width: 768px) {
	#header {
		width: 60em;
		height: 10em;
	}
	#header img {
		float: left;
		margin-top: 12px;
	}
	#header img#strapline {
		margin-top: 100px;
	}
	#nav {
		width: 54em;
		height: 3em;
		padding: 0 3em;
	}
	#nav ul {
		list-style: none;
		margin: 0.75em 0 0;
		padding: 0;
	}
	#nav li {
		display: inline;
		margin: 0 1.5em 0 0;
		padding: 0;
	}
	#content {
		width: 54em;
		padding: 2em 3em 1.5em;
	}
	#footer {
		width: 54em;
		padding: 2em 3em 0;
	}
}

/*** MISCELLANEOUS ***/
figure {
	margin: 0 0 10px;
}

@media (max-width: 480px) {
	figure img {
		display: block;
		width: 100%;
		height: auto;
	}
}
td {
	padding: 0 1.5em 0 0;
}
#content ul {
	list-style: none;
}
#content ul li {
	margin-left: 0;
	padding-left: 1.5em;
	background-image: url("../images/tindall-bullet.gif");
	background-position: 0.5em 0.4em;
	background-repeat: no-repeat;
}
#content img {
	border: 1px solid #b5b5b5;
}

@media (max-width: 480px) {
	.article:not(.publication) img {
		display: block;
		width: 100%;
		height: auto;
		margin-bottom: 10px;
	}
}
.article h2 {
	margin-bottom: 0;
	clear: left;
}
.article h3 {
	margin-bottom: 0.25em;
}
@media (min-width: 768px) {
	.article h3 {
		margin-bottom: 0;
	}
}
.article p {
	margin-bottom: 1em;
}

p.clientinfo {
	font-weight: bold;
	margin-bottom: 0.5em;
}
.article.publication img {
	float: right;
	margin: 0 0 1.5em 1em;
}

table {
	width: 100%;
}
table.normal-flow,
.normal-flow table {
	width: auto;
}
table th,
table td {
	padding: 5px;
	text-align: left;
	vertical-align: top;
}
table tr:nth-child(odd) {
	background-color: #f8f8f8;
}
/*table.table tr:first-child, table.table tr.header {*/
table tr.header {
	background-color: #eee;
	font-weight: bold;
}
table p:last-child {
	margin-bottom: 0;
}
.min-column-widths td {
	min-width: 7em;
}
td:first-child,
th:first-child,
.experience td:nth-child(2) {
	width: 10%;
}

@media only screen and (min-width: 600px) {
	.alignright,
	.wp-post-image {
		float: right;
		margin: 0 0 1.5em 1em;
	}
	.alignleft {
		float: left;
		margin: 0 1em 1.5em 0;
	}

	.article.publication img {
		float: left;
		margin: 0 1em 1.5em 0;
	}
}

@media only screen and (min-width: 768px) {
	.article.project {
		padding-right: 220px;
	}
	.article.project img {
		margin-right: -220px;
	}
	.article.publication {
		padding-left: 110px;
	}
	.article.publication img {
		margin-left: -110px;
	}
}
