/*
Title: CableGrips Ltd
Description: A bespoke stylesheet for the CableGrips Ltd website.
Author: Ryan Ball
Modified: 2009-09-08
*/

@import url("reset.css");
@import url("wordpress.css");

html {
	text-align: center;
}
body {
	background: #1f7a8e url("images/background.png") repeat-x;
	color: #fff;
	font-family: Arial, Helvetica, Sans-Serif;
}
a {
	color: #4e797a;
}
a:hover {
	text-decoration: underline;
}
hr {
	display: none;
}
strong, b, .bold {
	font-weight: bold;
}
em, i, .italic {
	font-style: italic;
}
.debug {
	background-color: #eee;
	border: solid 1px #fff;
	color: #000;
}

/***** CONTAINER *****/
#container {

}
#container-gutter {
	margin: 0 auto;
	text-align: left;
	width: 998px;
	height: 100%;	
}

/***** HEADER *****/
#header {
	height: 90px;
	margin-bottom: 10px;
	overflow: hidden;	
	position: relative;
}
#header p {	
	bottom: 13px;
	position: absolute;
	font-size: 1.2em;
	font-weight: bold;
	text-transform: uppercase;
}
#header p strong {
	display: block;
	font-size: 3em;
	font-style: italic;
	font-weight: normal;
	margin-bottom: 0.2em;
	text-transform: none;
}
#header p strong a {
	color: #f00;
	text-decoration: none;
}
#header ul {
	position: absolute;
	right: 0;
	bottom: 5px;
	height: auto;
	overflow: hidden;	
}
#header ul li {
	float: left;
	margin-left: 20px;
}
#header ul li.first {
	margin-left: 0;
}
#header ul li a {
	color: #fff;
	display: block;
	font-size: 1.4em;
	font-weight: bold;
	line-height: 26px;
	padding: 0 10px;
	text-decoration: none;
}
#header ul li a:hover {
	text-decoration: none;
}
#header ul li a span {
	display: block;
	background: url("images/arrow.png") no-repeat center left;
	padding-left: 10px;
}
#header ul li.active, #header ul li:hover {
	background: url("images/navigation-left-bg.png") no-repeat center left;
}
#header ul li.active a, #header ul li:hover a {
	background: url("images/navigation-right-bg.png") no-repeat center right;
	color: #1a6779;
}
#header ul li.active a span, #header ul li:hover a span {
	background-image: url("images/arrow-active.png");
}

/***** SUBHEADER *****/
#subheader {
	margin-bottom: 2.5em;
}
#subheader p.breadcrumbs {
	color: #4e797a;
	font-size: 1.1em;
}

/***** MENU *****/
#menu {
	height:auto;
	margin-bottom: 4em;
	overflow:hidden;
}
#menu h2 {
	background: url("images/subheader-bg.png") no-repeat center left;
	font-size: 260%;
	line-height: 76px;
	margin-bottom: 1.5em;
	padding-left: 68px;
}
#menu h2 span {
	color: #cff;
}

/***** BODY *****/
#body {
	float: left;
	width: 720px;
}
#body h1 {
	/*font-size: 1.8em;*/
	font-size: 2.6em;
	margin-bottom: 0.75em;
}
#body h1 span {
	color: #cff;
}
#body h2, #body p, #body li {
	font-size: 1.4em;
	line-height: 1.4em;
}
#body h2, #body p, #body ol, #body ul, #body blockquote, #body table {
	margin-bottom: 1.5em;
}
#body ol, #body ul {
	margin-left: 3em;
}
#body ol {

}
#body ul {
	list-style: circle;
}
#body h2 {
	font-weight: bold;
}
#body p.title {
	font-size: 2.6em;
	margin-bottom: 0;
}
#body p.title span {
	color: #cff;
}
#body img {
	border: solid 3px #fff;
}
#body a {
	color: #fff;
}
#body h2 a.toggle {
	background: url("images/arrow-blue-off.png") no-repeat center left;
	padding-left: 15px;
	text-decoration: none;
}
#body h2 a.toggle:hover {
	color: #cff;
}
#body h2 a.active {
	background-image: url("images/arrow-blue-on.png");
}

#body div.toggle h2 {
	border: solid 1px #fff;
	border-bottom-width: 0;
	margin-bottom: 0;
	padding: 0.3em 0.5em;
	text-align:center;
}

/* table */
table.wp-table-reloaded {
	border-collapse: collapse;
	border: solid 1px #fff;
	width: 100%;
}
table.wp-table-reloaded th, table.wp-table-reloaded td {
	border: solid 1px #fff;
	font-size: 1.4em;
}
table.wp-table-reloaded td {
	border-top-width: 0;
	border-bottom-width: 0;
	padding: 0.3em 0.5em;
}
table.wp-table-reloaded th {
	border-bottom-width: 1px;
	font-weight:bold;
	padding: 0.5em;
}
table.wp-table-reloaded-id-15 tr.row-2 td {
	border-bottom: solid 1px #fff;
}

/***** SIDEBAR *****/
#sidebar {
	color: #87cad2;
	float: left;
	margin-left: 38px;
	width: 240px;
}
#sidebar a {
	color: #d5e8f1;
}
#sidebar h2 {
	color: #fff;
	font-size: 2.4em;
	margin-bottom: 1em;
}
#sidebar ul li {
	height: auto;
	margin-bottom: 1.5em;
	overflow: hidden;
}
#sidebar h2, #sidebar ul li h3, #sidebar ul li p {
	margin-left: 60px;	
}
#sidebar ul li h3, #sidebar ul li p {
	font-size: 1.2em;
	line-height: 1.4em;
	margin-bottom: 1em;
}
#sidebar ul li p.date {
	background: url("images/date-bg.png") no-repeat;
	color: #d5e8f1;
	float: left;
	font-size: 1.3em;
	font-weight: bold;
	height: 48px;
	line-height: 1em;
	margin-left: 0;
	padding-top: 11px;
	text-align: center;
	text-transform: uppercase;
	width: 46px;
}
#sidebar ul li p.date span {
	color: #fff;
	display: block;
	font-size: 1.8em;
}

/***** FOOTER *****/
#footer {
	clear: both;
	font-size: 1.1em;
	margin-bottom: 3em;
	padding-top: 5em;
}

/***** BOXES *****/
ul.boxes {
	height: auto;
	overflow: hidden;
	/*width: 100%;*/
}
ul.boxes li.list-item {
	float: left;
	margin-left: 20px;
}
ul.boxes li.list-item-1 {
	margin-left: 0;
}
ul.boxes li h3 a {
	display: block;
}
ul.boxes li p.image {
	position: relative;
}
ul.boxes li p.image a span {

}
/* Homepage */
ul#boxes-homepage {
	background: url("images/box-bottom.png") no-repeat bottom left;
}
ul#boxes-homepage li.list-item {
	background: url("images/box.png") no-repeat top left;
	color: #999;
	min-height: 362px;
	margin-left: 12px;
	text-align: center;
	width: 240px;
}
ul#boxes-homepage li.list-item-1 {	
	margin-left: 0;
}
ul#boxes-homepage li.list-item-1 h3 {
	background-image: url("images/box-icon-1.png");	
}
ul#boxes-homepage li.list-item-2 h3 {
	background-image: url("images/box-icon-2.png");	
}
ul#boxes-homepage li.list-item-3 h3 {
	background-image: url("images/box-icon-3.png");	
}
ul#boxes-homepage li.list-item-4 h3 {
	background-image: url("images/box-icon-4.png");	
}
ul#boxes-homepage li span {
	/*background: url("images/box-bottom.png") no-repeat bottom left;*/
	display: block;
	min-height: 332px;
	padding: 0 30px 30px;
}
ul#boxes-homepage li h3 {
	background: no-repeat center top;
	font-size: 2.4em;
	margin-bottom: 0.5em;
	padding-top: 108px;
}
ul#boxes-homepage li h3, ul#boxes-homepage li h3 a {
		color: #6cc;
		text-decoration: none;
}
ul#boxes-homepage li p, ul#boxes-homepage li ul li {
	font-size: 1.2em;
}
ul#boxes-homepage li p {
	line-height: 1.2em;	
	margin-bottom: 1em;
}
ul#boxes-homepage li ul li {
	background: url("images/tick.png") no-repeat center left;
	line-height: 1.75em;
	padding-left: 17px;
	text-align: left;
}
ul#boxes-homepage li ul li a {
	text-decoration: none;
}
ul#boxes-homepage li ul li a:hover {
	text-decoration: underline;
}
/* Pages */
ul#boxes-page {
	float: left;
}
ul#boxes-page li {
	background: url("images/thing-background.png") no-repeat bottom left;
	color: #999;
	text-align: center;
	width: 183px;
}
ul#boxes-page li h3 {
	background: url("images/thing-header-bg.png") no-repeat top left;
	font-size: 1.8em;
	padding: 10px 5px;
}
ul#boxes-page li h3 a {
	color: #6cc;
	text-decoration: none;	
}
ul#boxes-page li p.image a {
	background-color: #0f3d47;
	color: #6cc;
	display: block;
	font-size: 1.8em;
	height: 127px;
	line-height: 125px;
	text-decoration: none;	
	text-transform: lowercase;
}
ul#boxes-page li p.content {
	line-height: 110%;
	padding: 10px;
}
ul#boxes-page li p.content a {
	display: block;
	margin-top: 0.75em;
}
/* These bits handle the greying out of the boxes */
ul#boxes-page p.image a {
	display: block;
	position:relative;
}
ul#boxes-page p.image a span {
	background: url("images/thumbnail-overlay.png");
	display:block;
	height: 100%;
	left: 0px;
	position: absolute;
	text-indent: -9999px;
	top: 0px;
	width: 100%;
}
ul#boxes-page li.current_list_item p.image a span {
	display: none;
}

/***** SUBPAGES *****/
#subpages {
	float: right;
	width: 183px;
}
#subpages li {
	font-size: 1.2em;
	margin-bottom: 1em;
}
#subpages li a {
	background: url("images/arrow-red-off.png") no-repeat center left;
	color: #fff;
	padding-left: 17px;
	text-decoration: none;
}
#subpages li a:hover {
	color: #cff;
}
#subpages li.current_page_item a {
	background-image: url("images/arrow-red-on.png");
	color: #cff;
}

/***** PAGE SPECIFIC STYLING *****/
/* Home */
body.home {
	background-image: url("images/background-home.png");
}
body.home #container {
	background: transparent url("images/splash.jpg") no-repeat center 90px;
}
body.home #header {
	margin-bottom: 313px;
}
body.home #body h1 {
	font-size: 2.4em;
	margin-bottom: 0;
	text-transform: uppercase;
}
body.home #body h2 {
	background-image: none;
	color: #6cc;
	font-size: 1.8em;
	font-weight: normal;
	padding: 0;
	text-transform: lowercase;
}
/* Product Page */
body.page-template-product-page-php #body h1 {
	margin-bottom: 0.25em;
}
/* Contact Page */
body.page-id-14 #menu h2 {
	background-image: url("images/subheader-contact.png");
}
