/* Design Layout - Jason Earl, 06/2006
 *
 * Works in IE 5, IE5 .5, Mac IE 5.2x, IE 6, Mozilla >1.4, Firefox, Safari
 * Note that Mac IE support isn't perfect, but is pretty good.
 * IE5.x on PC has some flaws
 */

/* Generic layout stuff
-------------------------------------------------------*/

body {
	background: white;
	margin: 0;
	padding: 0;
	font-family: "Arial Unicode MS", Verdana, Sans-serif;
	font-size: 11px;
}

#outerWrapper {
	background: url("../images/back.gif");
}

#interWrapper {
	background: url("../images/back-top.gif") top repeat-x;
}

#header h1,
.one_column h1,
.two_column h1 {
	/* No span image replacement common styles */
	padding: 0;
	margin: 0;
	overflow: hidden;
	background: black;
	color: white;
}

#header {
	height: 138px;
	width: 728px;
  background-position: 0 60px;
  background-repeat: no-repeat;
  background-color: white;
}

#header h1 {
	background: url("../images/logo.gif") no-repeat 0 0;
	padding-top: 60px;
	height: 0;
}

.hide,
#header h2,
#header img,
#header p {
	display: none;
}

#footer {
	color: #59B !important;
	font-size: 0.9em;
	padding: 6px 16px;
	background: white;
	border-top: 1px solid #293B45;
	letter-spacing: 0.06em;
	clear: both;
}

#footer a:link,
#footer a:visited {
	color: #59B !important;
	font-weight: bold;
}

p {
	font-family: Verdana, Sans-serif;
	line-height: 1.7em;
}

p a {
	font-weight: bold;
}

h2 {
	font-size: 1.4em;
	color: #2D0A58;
	padding: 0;
	margin: 4px 0 16px 0;
	font-weight: normal;
}

h3 {
  font-size: 1.2em;
  font-weight: bold;
  color: #008;
}

a:link,
a:visited {
	color: #2D0A58;
	text-decoration: none;
}

a:hover,
a:active {
	color: #2D0A58;
	border-bottom: 1px dotted #FFC000;
}

#content ul {
	font-family: Verdana, Sans-serif;
	line-height: 1.7em;
	margin: 0;
	padding: 0;
	margin-left: 32px;
	padding-bottom: 16px;
}

#sub_column ul {
	margin-left: 16px;
}

#content li {
	margin: 0;
	padding: 0;
	color: #1A4D70;
}

.alert {
	color: red;
}

em.alert {
	font-weight: bold;
	color: #A00;
	font-style: normal;
}

/* Forms
-------------------------------------------------------*/

form.enquiry table {
	width: 100%;
	margin-bottom: 16px;
	font-size: 1em;
}

form.enquiry th,
form.enquiry td {
	vertical-align: top;
	border-bottom: 1px solid white;
	border-right: 1px solid white;
}

form.enquiry th {
	background-color: #F2F2F2;
	color: #412554;
	padding: 4px 16px 4px 4px;
	text-align: right;
	width: 30%;
}

form.enquiry td {
	background-color: #F6F6F6;
	color: #116353;
	padding: 4px 16px;
}

form.enquiry td input,
form.enquiry td textarea {
	width: 100%;
	border: 1px solid #CCC;
	background-color: white;
	padding: 2px;
	font-size: 1em;
	letter-spacing: 0.12em;
	font-family: Verdana, Sans-Serif;
}

form.enquiry p {
  text-align: center;
}

form.enquiry p input,
input.submission {
	border: 1px solid white;
	color: #412554;
	background-color: #fafafa;
	width: auto;
	font-weight: bold;
	letter-spacing: 0.12em;
	font-size: 1em;
	padding: 2px 16px;
	font-family: Verdana, Sans-Serif;
	margin-bottom: 12px;
}

form.enquiry p input:hover,
input.submission:hover {
  background: #f4f4f4;
  border: 1px solid #ccc;
}

/* Toggleable content using JS
-------------------------------------------------------*/

.togglenav {
	display: none;
  padding: 4px 16px;
  background: url("../images/background_diagonal.gif");
	border-top: 1px solid #DDD;
}

.toggleblock {
	margin-bottom: 24px;
}

.togglenav .prev {
	float: left;
}

.togglenav .next {
	float: right;
	text-align: right;
	width: 49%;
}

/* Column clearing
-------------------------------------------------------*/

.togglenav:after,
.client:after,
#client:after,
#submenu:after,
#navmenu:after,
#content:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.togglenav,
.client,
#client,
#submenu,
#navmenu,
#content {
	display: table; /* Was inline table */
}

/* Hides from IE-mac \*/
html .togglenav,
html .client,
html #client,
html #submenu,
html #navmenu,
html #content {
	height: 1%;
}

.togglenav,
.client,
#client,
#submenu,
#navmenu,
#content {
	display: block;
}
/* End hide from IE-mac */

/* Main menu
-------------------------------------------------------*/

#navmenu {
	background: #FFEC00;
	border: 1px solid #D8C103;
	border-left: none;
	border-right: none;
}

#submenu {
	background: #EBF4F9;
	border-bottom: 1px solid #ACC0C8;
}

#submenu,
#navmenu {
	margin: 0;
	list-style: none;
	text-transform: uppercase;
	font-weight: bold;
	padding: 6px 16px 0 16px;
	display: block;
	white-space: nowrap;
}

#submenu li,
#navmenu li {
	display: block;
	float: left;
	margin: 0 16px 0 0;
}

#submenu li a,
#navmenu li a {
  display: block;
  float: left;
  padding: 5px 12px;
}

#submenu li a:hover,
#navmenu li a:hover,
#submenu li a.current,
#navmenu li a.current {
  border-width: 1px;
  border-style: solid;
  border-bottom: 0 none ! important;
  padding: 5px 11px 4px 11px ! important;
  position: relative;
  top: 1px;
}

#navmenu li a:hover {
	background: #FFF46B;
	border-color: #D8C103;
}

#navmenu li a.current {
  border-color: #D8C103 !important;
  background: #EBF4F9 !important;
}

#submenu li a:hover {
	background: white;
	border-color: #ACC0C8;
}

#submenu li a.current {
	background: #FAFCFF !important;
	border-color: #ACC0C8 !important;
}


/* Glossary Popup
-------------------------------------------------------*/

.terms {
	margin: 16px;
}

.terms h1 {
	font-weight: normal;
	font-size: 1.8em;
	border-bottom: #888 solid 1px;
}

.term {
	cursor: help;
	font-weight: normal;
	color: #008;
	border-bottom: 1px solid #ddd;
}


/* Forms Warnings and Notices etc
-------------------------------------------------------*/

.warn {
  color: #c00;
}

.note {
  color: #999;
  font-size: 0.9em;
}

.fieldWithErrors input,
.fieldWithErrors select,
.fieldWithErrors textarea {
  border: 1px solid #d00 ! important;
}


/* New stuff */

#content {
}

#main_column,
#sub_column,
#extra_column {
  float: left;
  padding: 16px;
  background-repeat: no-repeat;
}

.three_column #sub_column,
.three_column #main_column {
  width: 211px;
}

.three_column #extra_column {
  width: 210px;
}

.two_column #main_column {
  width: 368px;
  float: right;
}

.two_column #sub_column {
  width: 296px;
  background-position: top left;
  background-repeat: no-repeat;
}

.two_column #extra_column {
  display: none;
}

blockquote {
  background: #fafafa;
  border: #eee 1px solid;
  color: #006;
  margin: 0;
  line-height: 1.7em;
  padding: 12px;
}

blockquote .from {
  border-top: dotted 1px #ddd;
  margin-top: 6px;
  padding-top: 4px;
  color: #666;
  font-size: 0.9em;
}

.full_details {
  text-align: right ! important;
  border-top: 1px dotted #ccc;
  padding: 4px 16px;
  background: url("../images/background_diagonal.gif");
}

.subheading {
  margin: -15px -16px 16px -16px;
  display: block;
}

/* Possibly depricated ? */

a.page_anchor {
	border-bottom: 0 none !important;
}

.read_more {
	text-align: right ! important;
	padding-bottom: 16px;
	font-weight: bold;
}

.innerWrapper {
	width: 728px;
	border-right: 1px solid #bbb;
}

/* Single column configuration
-------------------------------------------------------*/

.one_column .innerWrapper {
  background: white;
}

.one_column #main_column{
  padding: 16px;
}

/* Triple column configuration
-------------------------------------------------------*/


.three_column .innerWrapper {
	background: white url("../images/3col.gif") repeat-y 0 0;
}

.terms p,
.two_column p,
.three_column p {
	text-align: justify;
}


.three_column .title h1 {
	height: 0;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid white;
	padding-top: 39px;
	display: block;
	overflow: hidden;
}

/* Double column configuration
-------------------------------------------------------*/

.two_column .innerWrapper {
	background: white url("../images/2col.gif") repeat-y -578px 0;
}


.two_column #side_decor {
	width: 328px;
	display: block;
	position: relative;	/* Fix IE negative margin */
	margin: -16px -16px 16px -16px !important;
}

.one_column li,
.two_column #sub_column li {
	color: #2875AB;
	line-height: 1.7em ! important;
}

.two_column li.long-text {
	padding-bottom: 16px;
}

.one_column h1,
.two_column h1 {
	padding-top: 39px;
	margin: 0;
	height: 0;
}

.two_column #main_column h1 {
  margin: 0 0 16px 0;
}

.terms h2,
.one_column h2,
.two_column h2 {
	font-size: 1.3em;
	font-weight: bold;
	color: #2D0A58;
	padding: 0 0 4px 0;
	border-bottom: 1px solid #D8C103;
	margin: 0 0 12px 0;
	letter-spacing: 0.05em;
}

/* Portfolio */

.one_column #content {
  padding: 16px;
}

.portfolio .items {
  background: url("../images/portfolio_background.gif") left repeat-y #fcfcfc;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.portfolio .items h3 {
  padding: 0;
  margin: 0;
}

.summary {
  width: 453px;
  float: right;
  padding: 0 16px;
}

.logo img {
  margin: 0 16px;
  display: block;
  border: 1px solid #888;
  padding: 4px;
  background: #eee;
}

a img {
  border: none;
}

#client {
  background: url("../images/clients_background.gif") repeat-y left;
}

#client #info {
  float: right;
  padding: 16px;
  width: 312px;
  text-align: justify;
}

#client #images {
  padding: 16px 0 0 0;
  text-align: center;
  width: 382px;
}

#client #images a:hover,
#client #images a:active {
  border: none;
}

.client {
  padding: 16px 0 16px 0;
}

img.preview {
  padding: 5px;
  border: 1px solid #666;
  background: white;
  display: block;
  margin-left: 16px;
}

/* IE is crap */
* html img.preview {
  left: 0;
  position: relative;
  float: left;
  margin-left: 8px; /* Double margin bug */
}

#client .thumbnail {
  padding: 5px;
  border: 1px solid #aaa;
  background: white;
  display: inline;
  margin: 16px 8px 16px 8px;
}

.info {
  padding: 16px;
}

.side {
  float: left;
  margin: 0 16px 12px 0;
  padding: 5px;
  border: 1px solid #888;
  background: #eee;
  display: block;
}

blockquote {
  padding: 0 16px;
}
