/*----------------------------------------------------------------------------
[Structure stylesheet]

This stylesheet should only contain structure styles, i.e. header, content,
right column, footer etc. All styles should be separated with a
heading.

Project:	    	Lincolnshire 2010
Version:	    	1.0.0 [http://semver.org/]
Primary use:		For use of styling the structure i.e. layout
Original Author: 	Qasim Alyas
Last change:		18/Mar/10 []
Last Assigned to:	Qasim Alyas

-----------------------------------------------------------------------------*/

/* Float enclosing for structural elements */
#mast_sleeve {
	min-height: 90px;
}
#mast_sleeve:after, #columns:after, .twocolumn:after, .section_twocolumn:after {
	content: ".";
	visibility: hidden;
	height: 0;
	display: block;
	clear: both;
}

#wrapper {
	background:url(/magazine/graphics/decoration/mast.bg.png) no-repeat center top;
}

#wrapper_sleeve {
	position: relative;
	width: 942px;
	margin: 0 auto;
	padding: 0 0 20px;
}

#mast {
	padding-bottom:27px;
}

/* MAIN COLUMNS */
#columns {
	clear: both;
	width: 621px;
	margin: 19px 0 10px;
	min-height: 1px;
}
#colwrapper {
	width: 100%;
}
#colmain, #content {
	float: left;
	width: 100%;
}
#leftcolumn {
	float: left;
	width: 240px;
	margin-right: 10px;
	margin-left: -250px;
}

/* Ensure that changes here are reflected in padding for #columns */
#rightcolumn, #secondary_content {
	float: right;
	width:300px;
	margin-right:-321px;
	padding-left:21px;
}

.twocolumn:after {
	content: ".";
	visibility: hidden;
	height: 0;
	display: block;
	clear: both;
}
	.column1 {
		float: left;
		width: 287px;
	}
	.column2 {
		float: right;
		width: 287px;
	}
	
#rightcolumn .column1, #rightcolumn .column2 {
	float:none;
	width:278px;
}

.section_twocolumn:after {
	content: ".";
	visibility: hidden;
	height: 0;
	display: block;
	clear: both;
}
	.section_column1 {
		float: left;
		width: 300px;
		padding: 0;
	}
	.section_column2 {
		float: right;
		width: 300px;
	}
		.section_twocolumn .column1, .section_twocolumn .column2,
		.section_column2 .column1, .section_column2 .column2,
		.grid3col .column1, .grid3col .column2,
		#index .column1, #index .column2 {
			float: none;
			width: auto;
		}

	.storytext {
		position:relative;
		margin-bottom: 11px;
		padding: 12px 13px 10px;
		background:#FEFEFE url(/magazine/graphics/decoration/main.box.shadow.png) no-repeat 0 100%;
	}
		.storytextSleeve {
			margin-bottom: 10px;
			border: solid #ccc;
			border-width: 0 2px 2px 0;
			padding: 10px 8px 10px 10px;
			background-color: #fff;
		}
	/* Removes the border and padding */
	.storytextSleeve .colour1, .formbox .storytext {
		margin: 0;
		border: 0;
		padding: 0;
	}

/* =STORY, COMBINATION PAGE */
#story .storytext {
	margin: 0;
	border: 0;
	padding: 0;
	background-color: transparent;
}

/* =SECTION PAGE */
#section #pageIntroBlock {
	margin-bottom: 10px;
	border: solid #ccc;
	border-width: 0 2px 2px 0;
	padding: 10px 8px 10px 10px;
	background-color: #fff; 
}

/* =SECONDARY CONTENT */
#secondaryContent .column1, #secondaryContent .column2 {
	float: none;
	width: auto;
}

/* =PAGES and SUBNAV LAYOUT */
.layoutContainer {
	margin-bottom: 13px;
	padding: 10px 11px 12px;
	background:#FFF url(/magazine/graphics/decoration/main.box.shadow.png) no-repeat 0 100%;
}
	.columns {
		min-height:0;
	}
	.columns:after {
		content: ".";
		visibility: hidden;
		height: 0;
		display: block;
		clear: both;
	}
	.layoutContainer h2 {
		margin-bottom: 10px;
		color: #F17901;
	}
	.layoutContainer ul {
		margin: 0;
		clear:left;
	}
	.layoutContainer li {
		margin-bottom: 10px;
		padding: 0 0 5px;
		background: none;
	}
	.layoutContainer li:after {
		content: ".";
		visibility: hidden;
		height: 0;
		display: block;
		clear: both;
	}
		.layoutContainer li h2 {
			margin-bottom: 0;
			padding-bottom: 0;
			font-size: 1em;
		}
			.layoutContainer li h2 a {
				border-bottom:1px dotted #111;
			}
			.layoutContainer li h2 a:hover {
				border-bottom:0;
				text-decoration:none;
			}
		.layoutContainer li img {
			float: left;
			padding-bottom:7px;
			border-right: 10px solid #fff;
		}
		.layoutContainer li li {
			margin-bottom: 0;
			padding: 0 0 0 13px;
			font-weight:bold;
			background: url(/magazine/graphics/decoration/bullet.orange.png) no-repeat 0 9px;
		}
			.layoutContainer li li a {
				border-bottom:1px dotted #111;
			}
			.layoutContainer li li a:hover {
				border-bottom:0;
				text-decoration:none;
			}
	.layoutContainer li:after {
		content: ".";
		visibility: hidden;
		height: 0;
		display: block;
		clear: both;
	}
		.layoutContainer h3 {
			margin-bottom:0;
			font-size:1em;
		}
			.layoutContainer h3 a {
				border-bottom:1px dotted #111;
			}
			.layoutContainer h3 a:hover {
				border-bottom:0;
				text-decoration:none;
			}
		.layoutContainer p {
			margin-bottom: 5px;
			word-wrap: break-word;
		}
		.layoutB li.alt, .layoutE li.alt {
			margin-left: 21px;
		}
		.columns li.alt {
			margin-left: 0;
		}

/* Layout B - small inline view */
.layoutB li {
	display: inline-block;
	vertical-align: top;
	width: 287px;
}
	.layoutB li li {
		display: block;
		width: auto;
	}

/* Layout C - full grid view */
.layoutC {
	padding: 0;
	background: none;
	overflow: hidden;
}
	.layoutC ul {
		/* display: inline-block; */ /* breaking IE8 */
		margin-right:-21px;
		word-spacing:-1em;
	}
		.layoutC li {
			display: inline-block;
			margin-right:21px;
			padding:0 0 12px;
			vertical-align: top;
			width: 193px;
			min-height:283px;
			background:#FFF url(/magazine/graphics/decoration/layoutC.shadow.png) no-repeat 0 100%;
			word-spacing:normal;
		}
			.layoutC h2 {
				padding:10px 11px 20px;
				background:#FFF url(/magazine/graphics/decoration/main.box.shadow.png) no-repeat 0 100%;
			}
			.layoutC li h2, .layoutC li h3 {
				padding:10px 11px 11px;
				font-size:1.231em;
				background:none;
			}
			.layoutC li p {
				padding:0 11px;
				max-height:84px;
				overflow:hidden;
			}
			.layoutC li ul {
				margin:0 0 10px;
				width:193px;
			}
			.layoutC li li {
				display: block;
				width: auto;
				min-height:0;
				margin:0 11px;
			}
			.layoutC ul li img {
				float: none;
				margin-right: 0;
				border-right: 0;
			}

/* Layout D - list standard view */
.layoutD ul {
	margin-bottom: 10px;
}
.layoutD ul li {
	margin-bottom: 3px;
	border: 0;
	padding: 0 0 0 13px;
	background: url(/magazine/graphics/decoration/bullet.orange.png) no-repeat 0 10px;
}
	.layoutD ul li h2 {
		margin-bottom: 0;
		padding-bottom: 0;
		font-weight: bold;
		font-size: 1em;
	}

/* Layout E - list inline view */
.layoutE ul {
	margin-bottom: 10px;
}
.layoutE ul li {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 3px;
	border: 0;
	padding: 0 0 0 13px;
	width: 254px;
	background: url(/magazine/graphics/decoration/bullet.orange.png) no-repeat 0 10px;
}
	.layoutE ul li h2 {
		margin-bottom: 0;
		padding-bottom: 0;
		font-weight: bold;
		font-size: 1em;
	}

/* Overrides */
.storytext .layoutContainer {
	border: 0;
	padding: 0;
	background-color: transparent;
}