/*
Theme Name: Mark Adams
Theme URI: http://markadamsonline.com
Description: Theme for Mark Adams' website
Version: 1.0
Author: Bryan Davis
Author URI: http://trumpetboy.co.uk

*/

* {
	margin: 0;
	padding: 0;
	line-height: 1.0;
}
hr {
	display: none;
}
body {
	background: #200 url('images/ma_bodybg.png') repeat-x top left;
	color: #fff;
	font-size: 62.5%;
	min-width: 900px;
}
#header {
	position: relative;
	margin: 0 auto;
	background: #000 url('images/ma_headbg.jpg') no-repeat bottom right;
	height: 280px;
	width: 100%;
	max-width: 1000px;
}
#header h1 {
	color: #ff6;
	height: 120px; width: 400px;
	position: absolute;
	top: 70px; left: 7.5%;
}
#header h1 a img {
	border-width: 0;
}
#navcontainer {
	position: relative;
	width: 100%;
	background: #600 url('images/ma_navbg.png') repeat-x top left;
	height: 2.8em;
	border: solid #333; border-width: 1px 0;
}
#contentblock {
	position: relative;
	margin: 0 auto 4em;
	background-color: #200;
	color: #fff;
	display: block;
	width: 100%;
	max-width: 1000px;
}
#content {
	padding: 2em 0;
	width: 65%;
	float: left;
}
#singlecol {
	padding: 2em 0;
	width: 100%;
	max-width: 1000px;
	float: none;
	position: relative;
	margin: 0 auto;
}
#sidebar {
	margin: 3em 1% 2em 0;
	width: 32%;
	float: right;
	background: #300;
	border: 1px solid #333;
	list-style: none;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}
#footer {
	position: relative;
	clear: both;
	width: 100%;
	background: #600 url('images/ma_navbg.png') repeat-x top left;
	margin: 1em 0 0;
	padding: 1em 0 0.5em;
	border-top: 1px solid #333;
	text-align: center;
}
/* --- Typography --- */
body {
	font-family: arial, helvetica, sans-serif;
	font-weight: normal;
}
h1, h2, h3, h4, h5, h6 {
	font-family: Times, "Times New Roman", Georgia, serif;
	line-height: 1.6;
	color: #f96;
	text-transform: capitalize;
}
h1 {
	font-size: 2.5em;
}
h2 {
	font-size: 2.2em;
}
h3 {
	font-size: 2em;
}
h4 {
	font-size: 1.8em;
}
h5 {
	font-size: 1.6em;
}
h6 {
	font-size: 1.5em;
}
p {
	line-height: 1.5;
	padding: 0.5em 15px;
	margin: 0;
}
q {
	font-style: italic;
	color: #ffc;
}
acronym {
	border-bottom-color: #200;
	color: #ffd;
}
a {
	color: #f93;
	text-decoration: none;
	font-weight: bold;
}
a:hover, a:active, a:focus {
	text-decoration: underline;
}
#contentblock div h2, #contentblock div h3, #contentblock div h4, #contentblock div h5, #contentblock div h6, #contentblock div>small {
	padding: 0 15px;
	margin: 0.5em 0 0;
}
#contentblock div dt {
	font-size: 1.2em;
	font-weight: bold;
	color: #f93;
	padding: 0 15px 1em;
	margin: 1em 0;
	border-bottom: 1px solid #300;
}
#contentblock div dd {
	font-style: italic;
}
#sidebar h2, #sidebar h3, #sidebar h4, #sidebar h5, #sidebar h6 {
	padding: 0 15px;
	margin: 0.5em 0 0;
}
#contentblock div ul, #contentblock div ol, #sidebar ul, #sidebar ol {
	line-height: 1.5;
	padding: 0.5em 15px;
	margin: 0.75em 1em;
}
#contentblock div p, #contentblock div ul li, #contentblock div ol li {
	font-size: 1.3em;
	line-height: 1.5;
}
#contentblock p.centred {
	text-align: center;
}
#sidebar p, #sidebar ul li, #sidebar ol li {
	font-size: 1.2em;
	line-height: 1.6;
}
#footer p {
	line-height: 1.6;
	padding: 0.5em 0;
	margin: 0;
	font-size: 1.1em;
}
/* --- #navbar styles --- */
#navcontainer p {
	font-size: 1.4em;
	color: #f93;
	font-family: Times, Georgia, Serif;
	text-align: center;
	line-height: 2em;
	padding: 0; margin: 0 auto;
}
ul#navbar {
	position: relative;
	width: 100%;
	max-width: 1000px;
	height: 2.8em;
	background: #600 url('images/ma_navbg.png') repeat-x top left;
	color: #fff;
	list-style: none;
	margin: 0 auto;
	border-left: 1px solid #333;
	font-family: Times, Georgia, serif;
}
ul#navbar li {
	float: left;
	height: 2.8em;
}
ul#navbar li a {
	font-size: 1.4em;
	line-height: 2em;
	padding: 0 1em;
	border-right: 1px solid #333;
	float: left;
	display: block;
	background: #600 url('images/ma_navbg.png') repeat-x top left;
	color: #f93;
	text-decoration: none;
}
ul#navbar li a:active {
	text-decoration: underline;
}
ul#navbar li a:hover,
ul#navbar li a:focus {
	color: #fff;
}
/* --- Images --- */
#contentblock p img {
	border: 2px solid #333;
}
div.alignleft, img.alignleft {
	float: left;
	margin: 1em 1em 1em 0;
}
div.alignright, img.alignright {
	float: right;
	margin: 1em 0 1em 1em;
}
#contentblock div p.centred img {
	position: relative;
	margin: 1em auto;
}
div.clear {
	clear: both;
	height: 1px;
	visibility: hidden;
	background-color: transparent;
}
/* --- Gallery --- */
#singlecol.gallery_image .entry {
	text-align: center;
}
.gallindexitem {
	width: 29%; min-height: 400px;
	float: left;
	padding: 1em 1%;
	margin: 1em 0 1em 2%;
	background-color: #300;
	color: #fff;
	border: 1px solid #333;
	text-align: center;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}
.gallindexthumb {
	padding: 0.5em 0;
}
.gallindexthumb a img {
	border: 1px solid #333;
	background-color: white;
	padding: 4px;
}
.gallindexthumb a:hover img,
.gallindexthumb a:focus img {
	background-color: #f93;
	padding: 4px;
}
table.navigation {
	width: 720px;
	position: relative;
	margin: 1em auto;
	background-color: #100;
	color: #fff;
	border: solid #333; border-width: 1px 0;
}
table.navigation td {
	width: 210px;
	font-size: 1.2em;
	padding: 0.5em 15px;
}
table.navigation td.photonavleft {
	text-align: left
}
table.navigation td.photonavmid {
	text-align: center
}
table.navigation td.photonavright {
	text-align: right
}
.gallery {
	margin: auto;
}
.gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 33%;			
}
.gallery-icon a img {
	border: 1px solid #333;
	background-color: #fff;
	padding: 4px;
}
.gallery-icon a:hover img,
.gallery-icon a:focus img {
	border: 1px solid #333;
	background-color: #f93;
	padding: 4px;
}
.gallery-caption {
	margin-left: 0;
}
/* --- Contact Page --- */
div#agentinfo {
	width: 32%;
	float: left;
	margin-right: 3.9%;
	padding: 1em 2%;
	background-color: #300;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
#agentinfo .vcard {
	text-align: center;
	padding: 1em auto;
}
#agentinfo h4, #agentinfo h5 {
	margin: 0 !important; 
	padding: 0 !important;
	font-family: sans-serif;
	line-height: 1.4;
}
#agentinfo ul {
	list-style: none;
}
#agentinfo li {
	line-height: 1.4;
}
div#contactform {
	width: 51%;
	padding: 1em 2%;
	float: right;
	background-color: #300;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
/* --- Contact Form --- */
#contactform form {
	width:420px;
	padding:10px;
	margin:0 auto;
	position:static;
	border: none;
	background-color: #300;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#contactform fieldset {
	border: 0;
	text-align: left;
	width:420px;
	padding: 4px 0;
	margin: 0 0 5px;
}
#contactform label {
	width: 420px;
	padding: 7px 0;
	margin:0;
	font-size: 1.3em;
	line-height: 2em;
	position: relative;
}
#contactform input {
	position: absolute;
	left: 90px; top: 0;
	width:304px;
	padding:5px 8px;
	margin:0 0 6px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#contactform textarea {
	padding:5px 3px;
	height:140px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#contactform input#scf2_answer {
	position: relative;
	left: auto; top: auto;
	width:60px;
	margin:8px 1px 1px;
}
#contactform input#scf2_submit {
	position: relative;
	left: auto;
	width:100px;
	margin:12px 0;
}
/* --- Media Page --- */
.mediaentry .post {
	padding-bottom: 15px;
	border-bottom: 3px double #333;
}
.mediaentry .post p {
	vertical-align: middle;
}
.mediaentry .vvqbox {
	float: left;
	width: 500px !important;
	margin: 0 15px 1em 0;
	text-align: center;
	position: relative;
}
.mediaentry .vvqbox object {
	margin:1em auto;
	padding: 3px;
	background-color: #fff;
	border: 1ox solid #333;
}

