/**
	* @file: content.css 
	* @projectDescription: ElectraLink 2011 Rebrand
	* @author: Daniel Peters <danielp@m-corp.com>
	* @version: 1.0
	* NB. This stylesheet should be used to specify font colors, text size, content themes etc.
*/

/**
 * Minimal base styles.
 */

/* Always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

ul, ol { margin: 0; list-style:none; list-style-image: none; }

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; list-style: none; list-style-image: none; }

small { font-size: 85%; }
strong, th { font-weight: bold; }

td { vertical-align: top; }

/* Set sub, sup without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre {
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; white-space: pre-wrap; word-wrap: break-word;
  padding: 15px;
}

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } 

/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* Colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
   border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* These selection declarations have to be separate
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink! */
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }

/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; }

/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button { width: auto; overflow: visible; }

/* Bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }

/**
	* @section: Global styles
	* These styles will be applied across the site
*/
body, select, input, textarea {
  color: #6d6d6d;
  line-height: 1.4;
  font-family: arial, Helvetica,sans-serif;
}

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

html {
	overflow-y: auto;
	text-align: center;
	margin-bottom: 1px;
	height: 100%;
	background: #f1f4f5 url(../../template-images/body-shadow-top.png) no-repeat fixed center top;
}
body {
	font-size: 12px;
	position: relative;
	text-align: left;
	margin: 0 auto;
	width: 958px;
	min-height: 100%;
	background: #fff;
	background: linear-gradient(
		bottom,
		#ffffff,
		#ffffff 70px,
		#ececec 70px,
		#ffffff 110px
	);
	background: -ms-linear-gradient(
		bottom,
		#ffffff,
		#ffffff 70px,
		#ececec 70px,
		#ffffff 110px
	);
	background: -moz-linear-gradient(
		bottom,
		#ffffff,
		#ffffff 70px,
		#ececec 70px,
		#ffffff 110px
	);
	background: -webkit-linear-gradient(
		bottom,
		#ffffff,
		#ffffff 70px,
		#ececec 70px,
		#ffffff 110px
	);
	-pie-background: linear-gradient(
		bottom,
		#ffffff,
		#ffffff 70px,
		#ececec 70px,
		#ffffff 110px
	);
	border-left: 1px solid #d3d5d6;
	border-right: 1px solid #d3d5d6;
}
.ie6 body {
	/*overflow: hidden;*/
	height: 100%;
}

/**
	* Set global links
*/
a {
	color: #0268b3;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/**
	* Set the required behaviours
*/
img, div, a {
	behavior: url(/wcm/system/csi/iepngfix.htc);
}
body,
.btn,
#header nav ol li a:hover,
#header nav ol li.selected a,
#latest-news {
	behavior: url(/wcm/site/csi/PIE.htc);
	position: relative;
}

/**
	* Styles for replacing elements with background images.
*/
form#login li.submit-field button,
#search li.submit-field button {
	overflow: hidden;
	display: block;
	width: 0;
	height: 0;
}

/**
	* Default button styles
*/
.btn,
.formbuttonbar input,
.submit-field input,
.button-wrapper input {
	cursor: pointer;
	display: inline-block;
	padding: 0 3px 0 0;
	border: 1px solid #d5d5d5;
	background: #fff;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background: linear-gradient(
		center top,
		#ffffff 0%,
		#ededed 100%
	);
	background: -ms-linear-gradient(
		center top,
		#ffffff 0%,
		#ededed 100%
	);
	background: -moz-linear-gradient(
		center top,
		#ffffff 0%,
		#ededed 100%
	);
	background: -webkit-gradient(
		linear,
		center top,
		center bottom,
		from(#ffffff),
		to(#ededed)
	);
	background: -webkit-linear-gradient(
		center top,
		#ffffff 0%,
		#ededed 100%
	);
	-pie-background: linear-gradient(
		center top,
		#ffffff 0%,
		#ededed 100%
	);
	color: #575757;
	font-weight: bold;
	font-size: 12px;
	line-height: 12px;
}
.ie8 .btn {
	position: relative;
}
.ie9 .btn,
.ie9 .formbuttonbar input,
.ie9 .submit-field input,
.ie9 .button-wrapper input {
	filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#FFFFFF', EndColorStr='#ededed');
}
.btn:hover {
	text-decoration: none;
}
		.btn span {
			display: inline-block;
			padding: 5px 39px 5px 11px;
			background: url(../../template-images/btn-icon.gif) no-repeat right 3px;
		}

/**
	* .pagelinklink
*/
	.pagelinklink a {
		padding-left: 10px;
		background: url(../../template-images/link-arrow.gif) no-repeat left center;
		font-weight: bold;
	}
		
/**
	* listing styles, used on the people page
*/
.entry  ul.listing {
	list-style: none;
	padding: 0;
}
	.entry ul.listing li {
		list-style: none;
		margin: 0;
		padding: 10px 7px 0 7px;
		background-color: transparent;
		background-repeat: no-repeat;
		background-position: left top;
}
		.show-date {  }
		.listing-thumbnail {
			float: left;
			width: 106px;
		}
		.listing-detail {
		}
			.listing .listing-detail ul {
				background: transparent;
				margin: 0;
				padding: 0;
			}
				.listing .listing-detail li {
					background: transparent;
					margin: 0;
					padding: 0;
				}

/**
	* listing styles continued, used on the people page
*/
#people-container {
}
	#people-container.listing li {
		border-bottom: 1px solid #e6e6e5;
	}
		#people-container.listing .listing-detail ul {
			margin: 0;
			padding: 0;
			border: none;
		}
			#people-container.listing .listing-detail li {
				margin: 0;
				padding: 0;
				border: none;
			}
				#people-container.listing h2 {
					margin: 0;
					padding: 0;
					font-weight: bold;
				}
				#people-container.listing h3 {
					font-size: 15px;
				}
				
/**
	* @section: Content modules
	* These styles are specific to the content module that is being styled, eg: CTA, pod etc
*/

/**
	* section.call-to-action
*/
section.cta-document h1 {
	background-image: url(../../template-images/block-heading-case.gif);
}
section.cta-people h1 {
	background-image: url(../../template-images/block-heading-corp.gif);
}
section.cta-currency h1 {
	background-image: url(../../template-images/block-heading-accounts.gif);
}
section.cta-graph h1 {
	background-image: url(../../template-images/block-heading-data.gif);
}
section.cta-building h1 {
	background-image: url(../../template-images/block-heading-governance.gif);
}
section.cta-hands h1 {
	background-image: url(../../template-images/block-heading-consultancy.gif);
}
section.cta-digital h1 {
	background-image: url(../../template-images/block-heading-smart.gif);
}
section.cta-linked h1 {
	background-image: url(../../template-images/aaablock-heading-linked.gif);
}

section.cta-linked h1 a.cta-linked-top {
	margin-top:-80px;
	padding-left: 85px;
}

section.cta-linked h1 a.cta-linked-right {
	margin-top:-58px;
	padding-left: 115px;
}

section.cta-linked h1 a.cta-linked-none {
	margin-top:-58px;
	padding-left: 115px;
}

section.call-to-action {
	background: url(../../template-images/gap-border.gif) repeat-x top;
	font-size: 11px;
}
	section.call-to-action h1 {
		margin-bottom: 12px;
		background-position: left 3px;
		background-repeat: no-repeat;
		font-size: 19px;
		color: #333333;
	}
		section.call-to-action h1 a {
			display: block;
			min-height: 45px;
			line-height: 45px;
			padding-left: 50px;
			color: #333333;
		}
		section.cta-people h1 a,
		section.cta-hands h1 a,
		section.cta-building h1 a {
			line-height: 1.1;
		}
		section.call-to-action h1 a:hover {
			text-decoration: none;
		}
		section.call-to-action p {
			padding-bottom: 10px;
		}
		
/**
	* section.listing
*/
section.listing {
	padding: 0 0 10px 0;
}
	section.listing article {
		float: none;
		padding: 11px 0 11px 0;
		border-bottom: 1px solid #bababa;
	}
		section.listing article h1 {
			padding: 0 0 3px 0;
			font-weight: bold;
			font-size: 14px;
			line-height: 1.4;
		}
			section.listing article h1 a {
				color: #f78f1d;
			}
		section.listing article header {
		}
		section.listing article footer {
			text-align: right;
		}
			section.listing article footer a {
				padding-left: 10px;
				background: url(../../template-images/link-arrow.gif) no-repeat left center;
			}
	section.listing menu {
		padding: 20px 0 0 0;
	}
		section.listing menu a {
			display: inline-block;
			padding: 5px 9px;
			background: #f2f2f2;
		}
		section.listing menu a.forwarder {
			background: none;
		}
		section.listing menu a.active {
			color: #6d6d6d;
		}

/**
	* .tabular-data
*/
.entry table {
	margin-top: 20px;
	margin-bottom: 20px;
	width: 100%;
	border: 1px solid #90d8eb;
	border-right: none;
	font-size: 11px;
}
	.entry table tbody tr:nth-child(odd),
	.entry table tbody tr.row2 {
		background-color: #f4fbfd;
	}
		.entry table td,
		.entry table th {
			padding: 7px;
			border-top: 1px solid #90d8eb; /* Development addition to support tables with merged columns and rows tidying them up */
			border-right: 1px solid #90d8eb;
		}
		.entry table th {
			color: #000;
			font-weight: bold;
		}
			.entry table th a {
				display: block;
				text-align: left;
				padding-right: 10px;
				background: url(../../template-images/arrows.gif) no-repeat right center;
			}
	.entry table .shortButton {
		float: right;
	}

/**
	* @section: Mixins (Extensions)
	* These styles are for classes that extend other classes and will be used across the site
*/
.left {
	float: left;
}

.right {
	float: right;
}

.hidden
{
	display: none;
}

em{
	font-style: italic;
}
