/*
Global Style Sheet

Version:   1.0
Author:    Gary Stanton - Simian Enterprises
Email:     gary@simianenterprises.co.uk
Website:   http://www.simianenterprises.co.uk
*/

/* Import other style sheets */
@import url(formStyles.css);
@import url(styleAdjusters.css);

/* Reset styles */
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;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

strong {
	font-weight: bold !important;
}

em {
	font-style: oblique !important;
}

:focus {
	outline: 0;
}
body {
	color: black;
	font-size: 75%;
	line-height: 1.5em;
	font-family: Arial, Helvetica, sans-serif;
}
ol, ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}


/* Generic website styles */
	body {
		background-color: #a2b5b9;
		/* background-image: url(/img/structure/pageLayout/hgridbg.gif); */
		height: 100%;
	}
	
	.content {
		width: 80em;
		margin: auto;
		max-width: 98%;
	}


/* Page layout styles */
	#header {
		width: 80em;
		top: 4.5em;
		max-width: 98%;
		text-align: left;
		margin: auto;
		position: relative;
		height: 9em;
	}
	
	#logo {
		background-image: url(/img/structure/pageLayout/logo.png);
		background-repeat: no-repeat;
		width: 214px;
		height: 82px;
		position: relative;
		text-align: left;
		top: 0.33em;
		left: 20px;
		float: left;
		display: block;
		text-indent: -999999px;
	}
	
	#primaryContainer {
		width: 100%;
		margin: auto;
		background-image: url(/img/structure/pageLayout/contentBG.gif);
		background-position: bottom;
		background-repeat: repeat-x;
		position: relative;
		top: 4.5em;
		padding-bottom: 1.5em;
		float: left;
	}
		
	#primaryContainer h1 {
		font-family: Rockwell, Georgia, Times, "Times New Roman", serif;
		font-size: 3em;
		font-weight: normal;
		text-shadow: 1px 1px 1px #6f8083;	
		line-height: 1em;
		color: #ffffff;
		text-align: center;
		margin: auto;
		margin-bottom: 0px;
		margin-top: 0px;
	}
	
	#secondaryContainer {
		background-color: #e3e8eb;
		width: 100%;
		margin: auto;
		color: #3f3f3f;
		position: relative;
		top: 3em;
		padding-top: 1.5em;
		padding-bottom: 1.5em;	
		float: left;
		margin-bottom: 3em;
	}
	
	#footer {
		float: left;
		height: 3em;
		background-color: #464646;
		position: relative;
		bottom: 0px;
		width: 100%;
		left: 0px;
	}
	
	#footer p {
		font-family: Georgia, "Times New Roman", Times, serif;
		font-style: italic;
		margin-top: 0.5em;
		color: #FFFFFF;
		text-align: center;
	}
	
	#footer p.validation {
		font-family: Arial, Helvetica, sans-serif;
		font-style: italic;
		color: #FFFFFF;
		position: absolute;
		bottom: 1em;
		right: 2px;
		margin: 0 0.8em 0 0;
		font-size: 0.833em;	
		text-align: right;
		bottom: 0;
	}
	
/* Grid layouts */
	.layout1-1 {
		width: 24em;
		max-width: 30%;
		margin-right: 5%;
		float: left;
		clear: both;
	}
	
	.layout1-2 {
		width: 52em;
		max-width: 65%;
		float: left;
	}
	
	.layout2-1 {
		width: 56em;
		max-width: 70%;
		margin-right: 5%;
		float: left;
		clear: both;
	}
	
	.layout2-2 {
		width: 20em;
		max-width: 25%;
		float: left;
		margin-bottom: 3em;
	}
	
	.layout3-1 {
		width: 24em;
		max-width: 30%;
		margin-right: 5%;
		float: left;
		clear: both;
	}
	
	.layout3-2 {
		width: 24em;
		max-width: 30%;
		margin-right: 5%;
		float: left;
	}
	
	.layout3-3 {
		width: 24em;
		max-width: 30%;
		float: left;
	}
	
	.layout4-1 {
		width: 38em;
		max-width: 45%;
		float: left;
		clear: both;
		margin-right: 10%;
	}

	.layout4-2 {
		width: 38em;
		max-width: 45%;
		float: left;
	}

	.layout5-1 {
		width: 64em;
		max-width: 80%;
		clear: both;
		margin: auto;
	}

/* Navigation styles */
	#navigation {
		float: right;
		top: 2.55em;
		position: relative;
		width: 44em;
	}
	
	#navigation li {
		list-style: none;
		display: inline;
	}
	
	#navigation li.active {
		padding-bottom: 13px;
		background-image: url(/img/structure/pageLayout/buttonPoint.png);
		background-position: bottom;
		background-repeat: no-repeat;
		display: block;
		float: left;	
	}
	
	#navigation li a {
		height: 1.36em;
		padding-left: 0.9em;
		padding-right: 0.9em;
		margin-left: 0.5em;
		margin-right: 0.5em;	
		display: block;
		float: left;
		font-family: Rockwell, Georgia, Times, "Times New Roman", serif;
		color: #FFFFFF;
		font-size: 1.5em;
		font-weight: normal;
		text-decoration: none;
		padding-top: 0.3em;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
	}
	
	#navigation li a:hover, #navigation li.active a {
		background-color: #4c4c4c;
		background-image: url(/img/structure/pageLayout/buttonbg.gif);
		background-position: center;
	}


/* Top Bar */
	#topBar {
		height: 3em;
		background-color: #464646;
		position: absolute;
		top: 0px;
		width: 100%;
		left: 0px;
	}
	
	#topBar p {
		font-family: Georgia, "Times New Roman", Times, serif;
		font-style: italic;
		font-weight: bold;
		font-size: 1.166em;
		line-height: 1.286em;
		margin-top: 0.5em;
		color: #FFFFFF;
		width: 20em;
		float: left;
	}
	
	#topBar p.subscribe {
		float: right;
		text-align: left;
		margin-right: 0.5em;
		text-align: right;
		padding-right: 65px;
		width: 6em;
	}
	
	#topBar p.subscribe #topBarRSS {
		background-image: url(/img/structure/pageLayout/iconTopRSS.png);
		background-repeat: no-repeat;
		background-position: center;
		height: 26px;
		width: 26px;
		text-indent: -999999px;
		float: left;
		position: relative;
		text-align: left;
		top: -20px;
		left: 6.5em;
	}
	
	#topBar p.subscribe #topBarEmail {
		background-image: url(/img/structure/pageLayout/iconTopEmail.png);
		background-repeat: no-repeat;
		background-position: center;
		height: 26px;
		width: 28px;
		text-indent: -999999px;
		float: left;
		position: relative;
		text-align: left;
		top: -20px;	
		left: 6.8em;	
	}
	
	#topBar p.subscribe a:hover {
		background-color: #00fff7;
	}
	
	
	#topBar a {
		color: #00aaff;	
	}
	
	#topBar a:hover {
		color: #FF002A;	
	}



/* Tag definitions */
	#clients h1, #services h1, #about h1 {
		text-align: left;
		margin-bottom: 1em;
	}

	h2 {
		font-family: Rockwell, Georgia, Times, "Times New Roman", serif;
		color: #ffffff;
		font-size: 1.5em;
		line-height: 2em;
		font-weight: normal;
		padding-left: 1.2em;
		padding-right: 1.2em;
		padding-top: 0.2em;
		padding-bottom: 0.2em;	
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		background-color: #4c4c4c;
		background-image: url(/img/structure/pageLayout/buttonbg.gif);
		background-position: center;
		display: inline;
	}
	
	h3 {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 1.166em;
		line-height: 1.29em;
		font-weight: bold;
	}
	
	p {
		margin-bottom: 1.5em;
		text-align: justify;
	}

	a {
		color: #006699;
		font-weight: bold;	
	}
	
	a:hover {
		color: #990000;
	}
	
	a:active {
		color: #996600;
	}

/* Button styles */
	a.buttons {
		font-weight: normal;
		font-family: Arial, Helvetica, sans-serif;
		text-decoration: none;
		color: #ffffff;
		float: left;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		background-color: #4e8c98;
		background-image: url(/img/structure/pageLayout/smallButtonBG.gif);
		background-position: center;
		display: inline;
		font-size: 1em;
		line-height: 1.5em;
		padding-left: 1.3em;
		padding-right: 1.3em;
		margin-right: 3em;
		float: left;
		height: 1.5em;
	}
	
	a.buttons:hover {
		background-position: bottom;	
	}
	
	ul.buttons {
		margin-bottom: 1.5em;
		display: block;
		width: 100%;
		float: left;
	}
	
	ul.buttons li {
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		background-color: #4e8c98;
		background-image: url(/img/structure/pageLayout/smallButtonBG.gif);
		background-position: center;
		display: inline;
		font-size: 1em;
		line-height: 1.5em;
		padding-left: 1.3em;
		padding-right: 1.3em;
		margin-right: 1em;
		margin-bottom: 1.5em;
		float: right;
		height: 1.5em;
	}
	
	ul.buttons li:hover {
		background-position: bottom;	
	}
	
	ul.buttons li a {
		font-family: Arial, Helvetica, sans-serif;
		text-decoration: none;
		color: #ffffff;
		float: left;
		font-weight: bold;
	}
	
	ul.buttons li a:active, a.buttons:active {
		color: #FFCC33;
	}


/* Icon styles */
	.buttons .rss {
		padding-bottom: 1em;
		margin-top: -0.75em;
		padding-top: 0.75em;
		background-image: url(/img/structure/pageLayout/iconRSS.png);
		background-repeat: no-repeat;
		background-position: 5.6em 0;
		padding-right: 4em;
		margin-right: -2em;
	}
	
	.buttons .email {
		padding-bottom: 1em;
		margin-top: -0.75em;
		padding-top: 0.75em;
		background-image: url(/img/structure/pageLayout/iconEmail.png);
		background-repeat: no-repeat;
		background-position: 5.6em 0;
		padding-right: 4em;
		margin-right: -2em;
	}
	
	.buttons .twitter {
		padding-bottom: 1em;
		margin-top: -0.4em;
		padding-top: 0.4em;
		background-image: url(/img/structure/pageLayout/iconTwitter.png);
		background-repeat: no-repeat;
		background-position: 3.6em 0;
		padding-right: 5em;
		margin-right: -2.5em;
	}

	.buttons .delicious {
		padding-bottom: 1em;
		margin-top: -0.75em;
		padding-top: 0.75em;
		background-image: url(/img/structure/pageLayout/iconDelicious.png);
		background-repeat: no-repeat;
		background-position: 5.6em 0;
		padding-right: 4em;
		margin-right: -2.5em;
	}

/* Latest Project */
	#latestProject {
		margin-top: 3em;
		height: 18em;
		margin-bottom: 3em;	
	}
	
	#latestProject div {
		padding: 0px;
		float: left;
		width: 42.4em;
		max-width: 530px;
		height: 16.4em;
		margin-right: 4em;
		border: 0.8em solid #e3e8eb;
		overflow: hidden;
	}
	
	#latestProject a {
		font-size: 0.916em;
		font-weight: bold;
	}
	
	#latestProject a.buttons {
		font-size: 1em;
		float: right;
		margin-right: 0px;
	}
	
	#latestProject h2 {
		width: 20em;
	}
	
	#latestProject h3 {
		margin-top: 1.286em;
	}

/* Other Projects */
	#otherProjects {
		height: 15em;
		margin-bottom: 3em;	
	}
	
	#otherProjects #project1, #otherProjects #project2 {
		margin-right: 5%;
		float: left;
	}
	
	#otherProjects #project3 {
		float: left;
	}
	
	#otherProjects div.project {
		height: 13.5em;
		width: 28%;
		max-width: 300px;
		max-height: 258px;
		/* width: 22.5em; */
		border: 0.75em solid #e3e8eb;
		background-repeat: no-repeat;
		overflow: hidden;
	}
	
	#otherProjects div.project img {
		margin-top: -13.5em;
	}

	#otherProjects div.project div.projectDetails {
		height: 13.5em;
		color: #FFFFFF;
		text-indent: -999999px;
	}
	
	#otherProjects div.project div.projectDetails:hover {
		cursor: default;
		text-indent: 0px;
		background-color: #666666;
	}
	
	#otherProjects div h3 {
		padding: 0.5em;
	}
	
	#otherProjects div p {
		padding: 0.583em;
		width: 94%;
		height: 8em;
		display: block;
		padding-bottom: 0px;
		margin-bottom: 0px;
	}
	
	#otherProjects div a {
		font-size: 0.916em;
		font-weight: bold;
		padding-right: 0.7em;
		color: #ffcc99;
		width: 94%;
		padding: 0.583em;
		display: block;
	}
	
	#otherProjects div:hover a {
		text-align: right;
	}
	
	#otherProjects div a:hover {
		color: #ff9999;
	}
	
	#otherProjects div a:active {
		color: #99ccff;
	}
	
/* About section */
	.about a {
		display: block;
		text-align: right;
		top: -1.5em;
		position: relative;
	}
	
	
/* Contact section */
	.contact {
		margin-bottom: -3em;
	}
	
	.vcard .email, .tel .value {
		margin-left: 5em;
		top: -1.5em;
		position: relative;
	}	

	.vcard .tel {
		top: -1.5em;
		position: relative;
	}

/* Delicious Links */
	.delicious-tag, .delicious-extended {
		font-size: 0.833em !important;
		padding: 0px !important;
		line-height: 1.8em !important;
		margin-bottom: 1.8em !important;
	}

/* Client Portfolio */
	#clients .layout4-1 {
		margin-bottom: 7.5em;
	}

	#clients .layout4-2 {
		margin-bottom: 4.5em;	
	}

	#clients .layout4-2 h2 {
		text-align: right;
		background: none;
		color: #464646;
		width: 100%;
		display: block;
		font-weight: normal;
		font-size: 2em;
		border-bottom: 1px solid #464646;
		padding: 0px;
		margin: 0px;
		line-height: 1.333em;
		margin-bottom: 0.125em;
		-moz-border-radius: 0px;
		-webkit-border-radius: 0px;
		border-radius: 0px;
	}

	#clients .layout4-2 p {
		color: #FFF;
	}
	
	#clients .layout4-2 p.clientWebsite {
		font-size: 1.5em;
		font-family: Rockwell, Georgia, Times, "Times New Roman", serif;
		color: #464646;
		line-height: 1em;
		margin-bottom: 1em;
	}

	#clients .layout4-2 p.clientWebsite a {
		font-weight: normal;
		margin-left: 0.5em;
	}
	
	#clients .layout4-1 div.clientWebsite {
		width: 35.833em;
		height: 20.833em;
		overflow: hidden;
		background-color: #464646;
		max-width: 530px;
		border: 0.833em solid #e3e8eb;
	}
	
/* Services */	
	#services #intro {
		width: 72em;
		margin: auto;
		font-weight: bold;
		margin-bottom: 3em;
	}

	#services #intro span.bigText {
		font-size: 1.166em;
		line-height: 1.286em;
		display: block;
	}

	#services #tabs {
		width: 72em;
		max-width: 90%;
		margin: auto;
		margin-top: -0.083em;
		margin-bottom: 3em;
	}
	
	#services #tabs .ui-tabs-nav, #services #tabs .ui-tabs-nav li {
		border-color: #69858b;
	}
		
	#services #tabs .ui-tabs-nav h2 {	
		font-size: 1em;
		font-family: Rockwell, Georgia, Times, "Times New Roman", serif;
		color: #464646;
		line-height: 1.5em;
		font-weight: bold;
		background: none;
		padding: 0px;
		display: block;
	}

	#services #tabs .ui-tabs-nav h2 a {	
		font-weight: bold;
	}

	#services #tabs .ui-tabs-panel {
		font-size: 1em;
		line-height: 1.5em;
		background-color: #dce3e4;
		background-image: none;
		border: 1px solid #69858b;
	}

	#services #tabs .ui-tabs-nav li a {
		background-image: url(/img/elements/tabs_bg.gif);
		background-color: #bad0d6;
	}

	#services #tabs .ui-tabs-nav li a:hover {
		background-image: url(/img/elements/tabs_bg_active.gif);
		background-color: #bad6d2;
	}

	#services #tabs li.ui-tabs-selected a {
		background-color: #dce3e4;
		background-image: none;
	}

	#services #tabs li.ui-tabs-selected a:hover {
		background-color: #dce3e4;
		background-image: none;
	}
	
	#services #tabs .ui-tabs-nav li.ui-tabs-selected {	
		border-bottom-color: #dce3e4;
	}

/* About */	
	#about #intro {
		width: 61.714em;
		margin: auto;
		font-weight: bold;
		margin-bottom: 1.286em;
		font-size: 1.166em;
		text-align: center;
	}
	#about .layout5-1 {	
		background-color: #dce3e4;
		border: 1px solid #69858b;
		padding: 2em;
		margin-bottom: 4.5em;
	}
	
	#about .layout5-1 div {	
		width: 9em;
		float: left;
}

	#about .layout5-1 div img {
		margin-right: 1em;		
		border: 1px solid black;
	}