
/* general website styles */

@font-face {
	font-family: 'legendum';
	src: url('/fonts/legendum-webfont.eot');
	src: local('☺'),
         url('/fonts/Legendum.otf') format('opentype');
}

@font-face {
	font-family: 'colab';
	src: url('/fonts/ColabThi-webfont.eot');
	src: local('☺'),
		url('/fonts/ColabThi-webfont.ttf') format('truetype');
}

body {
	text-align: center;
	color:#111111;
	line-height: 1.3em;
	background: #000;
	margin: 0px;
	font-size: 105%;
	font-family: calibri, optima, 'DejaVu Sans', arial, sans-serif;
}

h1, h2, h3, h4 {
	color: #366c5f;
	font-weight: normal;
	text-align: left;
	line-height: 1.2em;
}

h1 {
	font-size: 260%; 
	font-family: colab, tahoma, verdana, sans-serif;
	padding: 0.4em 0px 0.4em 0px;
	line-height: 1.3em;
	width: 400px;
}

#welcome {
	margin: 1em 0em 0em 0em;
	font-size: 300%;
}

h2, h3, h4 {
	font-family: calibri, verdana, sans-serif;
	letter-spacing: -1px;
}

h2 {
	font-size: 180%;
	margin: 2.2em 0em 0.9em 0em;
}

h3 {
	font-size: 140%;
	margin: 1.5em 0em 0.6em 0em;
}

h4 {
	margin: 1em 0em 0.5em 0em;
	font-size: 100%;
}

h5 {
	margin: 1em 0em 0em 0em;
	color: black;
	font-weight: bold;
	font-size: 100%;
}

p {
	margin: 0em 0em 0.8em 0em;
}

a {
	color: #235c52;
	text-decoration: underline;
}

a:hover {
	color: #235c52;
	text-decoration: none;
}

a:visited {
	color: #5A4137;
	text-decoration: underline;
}

a.footnoteBackLink {
	text-decoration: none;
	font-size: 100%;
}

.footnote {
	text-decoration: none;
}

ul, ol {
	margin: 0em 0em 0.5em 0em; 
	padding-left: 1.2em; 
}

li {
	padding-bottom: 0.5em; 
	padding-left: 0.7em;
	padding-right: 2.0em;
}

dt {
	font-weight: bold;
	margin-bottom: 0.3em;
}

dd {
	padding-bottom: 1em;
	margin-left: 1em;
}


img {
	border: none;
	margin-top: 0.5em;
	margin-bottom: 1em;
}

h3 img {
	margin: 0;
}

img.bordered {
	border: 1px solid #bbbbbb;
}

.sidecontent {
	float: right;
	width: 200px;
	padding: 0 1em;
}

.sidecontent img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
}

.sidecontent p {
	margin: 0em 0.6em 0.6em 0.6em;
	font-size: 90%;
}

.caption {
	font-size: 95%;
	margin-top: 1.0em;
}

.caption p {
	margin: 1.0em 0em 0em 0em;
	padding: 0em;
}

.caption a {
	letter-spacing: 0px;
}

.caption #credit {
	margin-top: 1.0em;
	font-size: 90%;
	color: #444444;
}

.figure img {
	margin-bottom:0;
}

.figure p {
	margin-top: 0; 
}

.byline {
	margin: 0em 0em 2.0em 0em;
	padding: 0em;
	font-size: 95%;
	color: #444;
}	

#container {
	overflow: hidden;
	text-align: left;
	background: white;
	width:700px;
	margin: 0px auto;
}

#header {
	padding: 0px;
	margin: 0px;
	background: black;
}

#header img {
	margin-top: 3px;
	margin-bottom: 0px;
	z-index: 10;
}

#mainNav {
	padding: 0;
	background: #666666;
	float: left;
	width: 100%;
}

#mainNav li {
	display: inline;
	padding: 0;
	margin: 0;
}

#mainNav a {
	color: white;
	background: #666666;
	padding: 0.4em 1em 0.5em 1em;
	float: left;
	width: auto;
	text-decoration: none;
	font-size: 90%;
}

#mainNav a:hover {
	background: #4e4e4e;
	color: white;
}

#mainNav a.current,
#mainNav a.current:hover {
	color: black;
	background: white;
}

#title {
	padding-left: 20px;
}

.titleblock .backtrack {
	float: right;
	padding: 4em 2em 0em 0em;
}

.titleblock .pubdate {
	clear: both;
	padding-left: 20px;
	margin: 0em 0em 3em 0em;
	font-size: 110%;
}

.pubdate {
	margin: -1em 0em 1em 0em;
}

.titleblock #title {
	float: left;
}

#content {
	padding-bottom: 1em;
	padding-left: 20px;
	padding-right: 240px;
	text-align: left;
	clear: left;
}

#footer {
	clear: both;
	background: #3d3d3d;
	padding: 0.4em 0.5em 0.4em 0.5em;
	border-top: 3px solid black;
}

#footer p {
	text-align: left;
	font-size: 80%;
	color: white;
	margin: 0.2em;
}

#footer a {
	color: white;
	font-weight: bold;
	font-size: 110%;
}

.error {
	color: #be1f10;
}

q {
	font-style: italic;
}

sup { 
	line-height: 0; 
	vertical-align: sup;
	font-size: 70%;
}



/* home page */

#homeside {
	float: right;
	width: 200px;
	padding: 10px;
	margin: 0em 1.15em 1.5em 3em;
	background: url("/images/Formulate-tick.png") #f1f6ee; 
	background-position: right top;
	background-repeat: no-repeat;
	border: thin solid #aaaaaa;
}


#homeside h2 {
	margin: 0;
	padding-bottom: 0.5em;
	font-size: 160%;
}


#intro {
	padding-bottom: 1em;
	padding-left: 20px;
	padding-right: 40px;
	text-align: justify;
	clear: left;
}

#bottomBoxes {
	clear: both;
	padding-top: 7px;
	margin: 0px 9px;
}

.bottombox {
	width: 315px;
	margin-bottom: 1.0em;
	margin-left: 7px;
	margin-right: 7px;
	padding-bottom: 10px;
	background: #ffffff;
}

.bottombox img {
	margin: 4px auto 0px 2px;
	width: 315px;
	height: 236px; 
}

.bottombox .boxhead {
	height: 7.5em;
}

#leftbottombox {
	float:left;
}

#rightbottombox {
	float: right;
}

.bottombox h2.caption {
	background: #2d7467;
	color: #ffffff;
	padding: 0.5em;
	margin: 0em;
	text-align: left;
	font-size: 100%;
}

.bottombox h2.caption a {
	text-decoration: none;
	color: #ffffff;
}

.bottombox h2 {
	color: #404040;
	margin-top: 0.75em;
}

/* About section */

table.about th, table.about td {
	vertical-align: top;
	padding: 0.3em 0.1em
}

table.about td ul {
	margin-top: -0.2em;
}

table.about th {
	text-align: left;
	padding-right: 2em;
	width: 9em;
}

table.about li {
	padding-top: 0.4em;
}

#address {
	color: #4c4c4c;
	padding-left: 1.7em;
}

/* Forms */

div.formcontainer {
	width: 120%;
}

form {
	display: block;
	padding: 0.3em 0;
	margin-bottom: 1em;
	background: #e0eee0;  
}

fieldset {
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	border: none;
}

input, select, textarea {
	font-size: 95%;
}

table.form th {
	vertical-align: top;
	padding: 0.7em 0.5em 0.7em 0.5em;
	width: 9em;
	font-weight: normal;
	text-align: right;
	float: right;
}

table.form td {
	vertical-align: top;
	padding: 0.7em 0.1em 0.7em 0.1em;
}

table.formsubmit {
	padding: 0em 0.8em;
}

table.formsubmit td {
	vertical-align: top;
	padding: 0em 0em 1em 0em;
}

.mandatorymark {
	color: #be1f10;
	font-weight: bold;
	font-size: 90%;
	vertical-align: 20%;
}

.errorlist {
	color: #be1f10;
	font-size: 90%;
	list-style-type: none;
	padding: 0;
	margin: 0.2em 0;
}

.errorlist li {
	padding: 0;
}

.form-non-field-errors {
	margin: 2em 0 0 0;
	padding: 0.5em 1em;
	background: #fae9e1;
	border: 1px solid #be1f10;
}

.form-non-field-errors ul.errorlist {
	list-style-type: none;
}

.form-non-field-errors ul.errorlist li {
	padding-bottom: 0.2em;
	padding-top: 0.2em;
}

ul.errolist ul {
	list-style-type: disc;
}

ul.errolist ul li {
	padding-bottom: 0;
}

p.fieldhelp {
	color: #444444;
	font-size: 90%;
	line-height: 1em;
	margin-top: 0.5em;
}

ul.singleselect {
	list-style-type: none;
	padding: 0;
	margin: 0.2em 0;
}

ul.singleselect li {
	padding: 0;
	margin: 0;
}

/* Contact details */

table#contact td {
	padding: 0.3em;
}

table#contact th {
	padding: 0.3em;
	text-align: left;
	vertical-align: top;
}

/* Articles & Research */

.pubdate {
	color: #235c52;
	padding-top: 0.25em;
	font-size: 90%;
}

.references {
	border-top: thin solid #555555;
	margin-top: 3.5em;
	padding-top: 0em;
	font-size: 95%;
}

.references h3 { 
	color: #333333;
	padding-bottom: 0.3em;
}

.references .booktitle {
	font-style:italic;
}

table.striped {
	padding: 1em 0em;
	border-spacing: 1px;
}

table.striped td, table.striped th {
	padding: 2px 6px;
}

table.striped th, table.striped td {
	font-size: 95%;
	font-weight: normal;
	text-align: left;
}

table.striped th {
	background: #303b61;
	color: white;
}

table.striped th.blank {
	background: white;
}

table.striped td.centered {
	text-align: center;
}

table.striped th.centered {
	text-align: center;
}

table.striped td.centered {
	text-align: center;
}

table.striped tr.even {
	background: #e0e0e0;
}


/* News */

.newsend {
	border-top: thin solid black;
	margin-top: 4em;
	padding-top: 1em;
	font-size: 90%;
}
