/*
	Theme Name: Deuce 960
	Theme URI: http://deucecreative.co.uk
	Description: A blank base theme built on Nathan Smith's excellent <a href="http://960.gs">960 grid system</a>.
	Version: 1.0
	Author: Deuce Creative
	Author URI: http://deucecreative.co.uk
	Tags: 
*/

@import url(css/reset.css);
@import url(css/text.css);
@import url(css/960.css);

html,
body {
	height: 100%;
}

body {
	color: #000;
	font-size: 13px;
	background: #ededed url(img/bodyBg.gif) repeat-y center top;
}

a {
	color: #39b54a;
}

a:hover {
	text-decoration: none;
}

h1 {
  font-size: 28px;
	font-weight: bold;
	line-height: 30px;
	margin-bottom: 10px;
	letter-spacing: 1.6px;
}

h2 {
  font-size: 18px;
	font-weight: normal;
	line-height: 20px;
	margin: 10px 0 40px 0;
}

body.home h2 {
}

h3 {
  font-size: 20px;
  line-height: 20px;
  margin-bottom: 20px;
}

p {
	overflow: hidden;
	padding: 0 20px 10px 0;
	font-size: 13px;
	line-height: 20px;
	margin-bottom: 10px;
}

ul {
  margin: 0 0 20px 0;
}

ul li {
  margin-left: 15px;
}

ul li ul {
  margin: 0;
}

.container_16 {
/* 	padding: 20px 0 250px 0; */
	background-color: #fbfbfb;
}

#container {
  min-height:100%;
  position:relative;
}

#header .container_16 {
  padding-top: 20px;
}

#body {
   padding-bottom: 368px;   /* Height of the footer */
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 298px;   /* Height of the footer */
}

#footer .container_16 {
 	background: #424242 url(img/footerBg.gif) repeat-x center top;
	color: #fff;
	min-height: 258px;
  padding-top: 40px;
}

ul#mainNav {
  display: table;
  white-space: nowrap;
  list-style-type: none;
  margin: 8px 0px 0px 10px;
}

* html ul#mainNav {
  display:inline-block;    /* for IE only */
  width:1px;               /* IE will expand 1px width to fit menu width */
  padding:0 2px;           /* fix bug in IE to get border spacing correct */
}  
  
ul#mainNav li.page_item {
  display:table-cell;      /* ignored by IE */
  padding-right: 20px;
}

* html ul#mainNav li.page_item {
  display:inline;          /* for IE only */
}

ul#mainNav li#searchBox {
  float: right;
}

ul#mainNav li.page_item a {
  display: inline-block;
  color: #474747;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding-right: 20px;
  margin-right: 10px;
}

ul#mainNav li.page_item a:hover {
  background-image: url(img/navIconHover.gif);
  background-repeat: no-repeat;
  background-position: top right;
  color: #000;
}

ul#mainNav li.page_item.current_page_item a,
ul#mainNav li.page_item.current_page_ancestor a,
body.home ul#mainNav li.page_item.home a {
  background-image: url(img/navIcon.gif);
  background-repeat: no-repeat;
  background-position: top right;
  color: #000;
}

img#headerImage {
  width: 940px;
  height: 200px;
  display: block;
  border-top: 1px solid #70c5d9;
  border-bottom: 20px solid #70c5d9;
  padding-top: 20px;
}

img#logo {
  width: 210px;
  height: 64px;
  display: block;
  margin-bottom: 16px;
}

.sidebarBoxSmall {
  width: 180px;
  height: 180px;
  float: left;
  background-color: #ccc;
  margin-bottom: 20px;
}

#sidebarBoxSmallLeft {
  margin-right: 20px;
}

.sidebarBoxLarge {
  width: 380px;
  height: 380px;
  background-color: #ccc;
  clear: both;
}

#content {
}

#slideshow {
  width: 514px;
  height: 274px;
  border: 3px solid #bfbfbf;
}

#pageImage {
  width: 560px;
  height: 412px;
  margin-top: 20px;
}

#pageImage img {
  width: 554px;
  height: 406px;
  border: 3px solid #bfbfbf;
}

#telEmail p {
  padding-bottom: 0;
  text-align: right;
  font-size: 18px;
  color: #70c5d9;
}

#searchBox {
  text-align: right;
}

hr#divider {
  border: none;
  background-color: #000;
  color: #000;
  height: 2px;
  margin-bottom: 40px;
}

ul#pager {
	float: right;
	list-style-type: none;
	margin: 0;
}

ul#pager li {
	float: left;
	margin: 0;
}

ul#pager li a {
	display: block;
	width: 15px;
	height: 12px;
	background-image: url(img/pagerOff.gif);
	background-repeat: no-repeat;
	padding: 0 6px 0 6px;
}

ul#pager li a.activeSlide {
	background-image: url(img/pagerOn.gif);
}

ul#pager li a:focus {
	outline: none;
}

ul#servicesNav {
  list-style-type: none;
}

ul#servicesNav li {
  margin: 0;
}

ul#servicesNav li a {
  display: block;
  margin: 0;
  line-height: 20px;
  font-size: 14px;
  font-weight: bold;
  padding: 20px;
  padding-right: 40px;
  text-decoration: none;
  color: #000;
  width: 180px;
  color: #474747;

}

ul#servicesNav li.page_item a:hover,
ul#servicesNav li.current_page_ancestor a,
ul#servicesNav li.current_page_item a {
  background: #fbfbfb url(img/servicesNavBg.gif) no-repeat left top;
  color: #000;
}

ul#subNav li.page_item,
p#credits {
  font-size: 10px;
}

ul#subNav,
p#credits {
  margin: 10px 0 0 0;
}

ul#subNav {
  display: table;
  white-space: nowrap;
  list-style-type: none;
}

* html ul#subNav {
  display:inline-block;    /* for IE only */
  width:1px;               /* IE will expand 1px width to fit menu width */
  padding:0 2px;           /* fix bug in IE to get border spacing correct */
}  
  
ul#subNav li.page_item {
  display:table-cell;      /* ignored by IE */
  padding-right: 10px;
}

* html ul#subNav li.page_item {
  display:inline;          /* for IE only */
}

p#credits {
  text-align: right;
}

p#credits a.stealth {
  color: #fff;
  text-decoration: none;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	border: 3px solid #bfbfbf;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	margin: 0 0 8px 15px;
	display: inline;
	}

img.alignleft {
	margin: 0 15px 8px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */

ol {
  margin-bottom: 20px;
}

ol li {
  margin-left: 20px;
}
