/* _________________________________________________

320 and Up boilerplate extension
Andy Clarke http://about.me/malarkey
Version: 2
URL: http://stuffandnonsense.co.uk/projects/320andup/
License: http://creativecommons.org/licenses/MIT/
_____________________________________________________

1 ROOT
2 HEADINGS
3 TYPOGRAPHY
4 LINKS
5 FIGURES & IMAGES
6 TABLES
7 FORMS
8 BANNER
9 NAVIGATION
10 CONTENT
11 MAIN
12 COMPLEMENTARY
13 CONTENTINFO
14 GLOBAL OBJECTS
15 VENDOR-SPECIFIC 
16 MODERNIZR
17 TEMPLATE SPECIFICS

COLOURS 

*/



/* 3 TYPOGRAPHY
   ============================================================================= */ 

p,
ol,
ul,
dl,
address {
  font-size: 80%; /*14px / 16px*/
}
li ul, li ol {
  font-size: 80%; /*14px / 16px*/
}
pre,
code,
kbd,
samp {
  font-size: 80%; /*14px / 16px*/
}


/* 6 TABLES
  ============================================================================= */ 

table {
  font-size: 82%; /*13px / 16px*/
}


/* 8 BANNER & HEADER
  ============================================================================= */
.headerwrapper {
	max-width: 940px;
	margin: 0 auto;
}
header .ecgslogo {
	width: 232px;
	float: left;
	margin: 0 20px 0 0;
	padding: 44px 0;
}
header h1 {
	width: 100%;
}


/* 9 NAVIGATION
  ============================================================================= */
header nav {
	border-top: none;
	margin: 0;
	padding-right: 0;
}
header nav ul {
	float: right;
	text-align: right;
}
header nav ul li {
	display: inline;
	float: none;
	width: auto;
}
header nav li:last-child {
	padding-bottom: 0;
}
header nav a:link,
header nav a:visited {
	float: left;
	padding-left: 20px;
	padding-top: 50px;
}


/* 10 CONTENT
  ============================================================================= */
.contentwrapper {
	width: 940px;
	margin: 0 auto;
}
  

/* 11 MAIN
  ============================================================================= */
.main {
	width: 700px; /*700px / 940px*/
	margin: 0 0 0 20px;
	float: right;
	position: relative;
	max-width: 700px;
	border-top: none;
}
.homepage .mainimg {
	margin: 0;
	float: left;
	width: 460px; /*460px / 700px*/
	height: 520px;
}
.homepage .mainimg img {
	max-width: 460px;
	margin: 0;
	display: block;
}
.mainnobg {
	margin: 0;
	border-bottom: none;
}
.mainwrap .readmore {
	width: 220px;
	margin-right: 20px;
}
.mainwrap .box{
	height: 75px;
}
.mainwrap .right {
	margin-right: 0;
}
/*.mainwrap img.plus {
	float: left;
}*/
.homepage .maintext {
	margin: 0;
	width: 180px; /*220px / 700px*/
	float: right;
}
.maintext {
	margin: 0;
	width: 660px;
	padding: 20px;
}
.maintext h1 {
	text-align: left;
	line-height: 1.2;
}
.maintext .twocol {
	float: left;
	margin: 20px 10px 20px;
	width: 270px;
	clear: right;
	min-height: 500px;
}
.maintext img.figures {
	width: 220px;
}



/* 12 COMPLEMENTARY
  ============================================================================= */
div[role="complementary"] {
	width: 220px; /*220px / 940px*/
	margin: 0;
}
.facts {
	margin: 0 0 20px 0;
}
.strapline {
	margin: 0;
}
.strapline .logos img {
	width: 35%;
	padding-bottom: 20px;
	vertical-align: middle;
}
.strapline .logos img.plus {
	width: 12%;
	padding: 0 10px 20px;
}
.homepage .gullet p {
	padding-bottom: 0.2em;
}
.homepage .gullet img {
	width: 100%;
	padding-bottom: 0.8em;
}
.homepage .riser img {
	width: 100%;
	padding-bottom: 0.8em;
}
.fit img {
	width: 100%;
}
.homepage .plus {
	margin: -31px 46%; 
}
.homepage img.plus {
	width: 25px;
	height: 26px;
}
.homepage .fittingsolution a.button {
	position: relative;
	top: 10px;
}



/* 13 SECONDARY
  ============================================================================= */
.secondarywrapper {
	width: 940px;
	margin: 0 auto;
	position: relative;
}
.feature {
	margin: 0 240px;
	width: 460px;
	position: relative;
	z-index: 50;
}
.links {
	max-width: 940px;
	width: 940px;
	position: absolute;
	float: none;
}
.secondary .box {
	margin: 20px 0 20px;
	width: 220px;
	float: left;
	min-height: 205px;
}
.secondary .feature a {
	padding-top: 14px;
}
.feature a:link,
.feature a:visited {
	font-size: 90%; /*15px / 16px*/
}
.feature .left {
	margin-right: 20px;
	z-index: 10;
}
.feature .left a img,
.feature .right a img {
	width:  12px;
}
.feature .ecfs {
	margin-right: 20px;
	z-index: 10;
}
.links .ecfs img {
	padding-top: 30px;
}
.feature .ecfs a img,
.feature .adjustments a img {
	width:  12px;
}
.links .stockists {
	padding: 0;
	float: right;
}
.secondary .feature img {
	overflow: hidden;
	height: 155px;
}


/* 14 CONTENTINFO
  ============================================================================= */
.footerwrapper {
	clear: both;
}
footer {
	width: 940px;
	margin: 0 auto;
}
footer .column {
	width: 220px;
	padding: 20px 20px 20px 0;
}
.officialfit {
	margin: 20px 0;
	width: 400px;
	float: right;
	padding: 15px;
}
.officialfit h4 {
	font-size: 80%;
	margin-bottom: 0.5em;
}
.officialfit p {
	font-size: 70%;
}

