body.home,
body.timeline,
body #header,
body #container{
	background:#E5E5E5;
}
body,
body.home #container,
body.timeline #container{
	background:#fff;
}
body.home #header,
body #container #hometop{
	background:#000;
	color:#fff;
}
body #wrapper{
	padding:0 0;
	width:auto;
}
body.timeline #wrapper{
	min-width:1016px;
}
body #container{
	margin-bottom:0;
	padding-bottom:80px;
}
body #htcontent,
body #page{
	max-width:1000px;
	padding:0 8px;
	margin:0 auto;
}
body #footer,
body.timeline #footer,
body.success #footer{
	border-top-width:0;
}
#header{
	padding-bottom:40px;
	margin-bottom:0;
}
#container{
}
#header h1{
	padding-top:42px;
	padding-bottom:15px;
}
#header h2{
	font-size:18px;
	font-weight:normal;
	text-transform:uppercase;
	text-align:center;
	margin-bottom:0;
	padding-bottom:10px;
}
#header h2 span.onoff{
	text-transform:none;
}
#header,
#container{
/* otherwise the fixed footer comes through */
	position:relative;
	z-index:100;
}
#curtain{
	height:400px;
/*	background:url(../images/shadow.png) repeat-x left top; */
}
#footer{
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	padding-top:40px;
	font-size:18px;
	margin-bottom:110px;
}
#footer #mainnav{
	line-height:1.5;
}
div#logo{
	text-align:center;
	padding-top:50px;
	padding-bottom:50px;
}

/* homepage */

#hometop{
	text-align:center;
	padding-bottom:50px;
}
#hometop a{
	color:#fff;
}
#hometop a:focus,
#hometop a:hover,
#hometop a:active{
	text-decoration:none;
}
#hometop p.larger{
	font-size:24px;
}
body.home #content{
	padding-top:50px;
	text-align:center;
}
body.home #content p{
	font-size:100%;
}
body.home #quotes{
	padding:50px 0;
	background:url(../images/line.png) transparent no-repeat center top;
	overflow:hidden;
}
body.home #quotes blockquote{
	float:left;
	width:300px;
	text-align:left;
	border-width:0;
	margin-right:49px;
}
body.home #quotes blockquote.last{
	margin-right:0;
}
body.home #quotes blockquote p{
	font-family:'Times New Roman',serif;
	font-size:18px;
	line-height:1.3;
}
body.home #quotes blockquote span{
	display:block;
	
}
body.home iframe{
	max-width:100%;
	margin-bottom:50px;
}
ul.buttons{
	margin:0 auto 20px auto;
	overflow:hidden;
}
ul.twobuttons{
	width:550px;
	padding:10px 0;
}
ul.onebutton{
	width:235px;
	padding:30px 0;
}
ul.buttons li{
	list-style:none;
	float:left;
	width:235px;
}
ul.twobuttons li{
	float:left;
}
ul.twobuttons li.button1{
	margin-right:80px;
}
ul.buttons li a{
	display:block;
	height:3em;
	font-size:18px;
	line-height:3em;
	text-decoration:none;
	text-align:center;
	border:1px solid black;
}
#hometop ul.buttons li a{
	border:1px solid #e5e5e5;
	color:black;
	background:white;
}

#hometop ul.buttons li a:focus,
#hometop ul.buttons li a:hover,
#hometop ul.buttons li a:active{
	background:#e5e5e5;
	color:#000;
}
#content ul.buttons li a:focus,
#content ul.buttons li a:hover,
#content ul.buttons li a:active{
	background:#E5E5E5;
	color:#000;
}





/* success stories */

ul.successwho{
	margin-right:-20px;
	overflow:hidden;
	margin-bottom:65px
}
ul.successwho li{
	list-style:none;
	float:left;
	width:235px;
	margin-right:20px;
	margin-bottom:20px;
}
ul.successwho li a{
	display:block;
	height:4em;
	font-size:18px;
	text-transform:uppercase;
	line-height:4em;
	text-decoration:none;
	text-align:center;
	border:1px solid black;
}
ul.successwho li a.current,
ul.successwho li a:focus,
ul.successwho li a:hover,
ul.successwho li a:active{
	background:#fff;
	color:#000;
}
div#content.successstories div.titleimg{
	float:left;
	width:245px;
	margin-bottom:36px;
}
div.titleimg h1{
	font-size:48px;
	line-height:1;
	text-transform:uppercase;
	margin-bottom:36px;
}
div#content.successstories div.info{
	margin-left:300px;
	margin-bottom:36px;
}
div#content.successstories div.moreimages{
	clear:both;
	overflow:hidden;
	margin-bottom:100px;
	margin-right:-12px;
}
div#content.successstories div.moreimages img{
	float:left;
	margin-right:12px;
}
div#content.successstories ul.downloads li{
	list-style:none;
	display:block;
	width:235px;
	margin:0 auto 20px auto;
}
div#content.successstories ul.downloads li a{
	display:block;
	height:3em;
	font-size:18px;
	text-transform:uppercase;
	line-height:3em;
	text-decoration:none;
	text-align:center;
	border:1px solid black;
}
div#content.successstories ul.downloads li a:focus,
div#content.successstories ul.downloads li a:hover,
div#content.successstories ul.downloads li a:active{
	background:#fff;
	color:#000;
}
#content h2,
#content h2.smaller{
	font-size:81.25%;
	font-weight:bold;
	text-transform:none;
}
.home #content h2{
	font-size:24px;
	font-weight:normal;
	text-transform:none;
	padding-top:50px;
	margin-bottom:1.6em;
}
#content p{
	font-size:81.25%;
	line-height:1.6;
	margin-bottom:1.6em;
}

@media all and (max-width: 1030px){
	body.home div#quotes blockquote{
		width:25%;
		margin-right:10%;
	}
}
@media all and (max-width: 1036px){	
	body.archive img,
	body.home img,
	body.success img,
	body.contacts img{
		max-width:100% !important;
		height:auto !important;
	}
	ul.successwho{
		width:880px;
		padding-left:20px;
		margin-left:auto;
		margin-right:auto;
	}
	ul.successwho li{
		width:200px;
	}
	ul.successwho li a{
		height:3em;
		font-size:18px;
		line-height:3em;
	}
}
@media all and (max-width: 1000px){
	#curtain{
		display:none;
	}
	#footer{
		position:relative;
	}
	body.contacts #content{
		text-align:center;
	}
	div#content.successstories div.moreimages{
		text-align:center;
		margin-right:0;
	}
	div#content.successstories div.moreimages img{
		float:none;
		display:inline;
		margin-right:0;
		margin-bottom:12px;
	}
}
@media all and (max-width: 936px){	
	ul.successwho{
		width:800px;
	}
	ul.successwho li{
		width:180px;
	}
	ul.successwho li a{
		height:2em;
		font-size:16px;
		line-height:2em;
	}
}
@media all and (max-width: 860px){	
	div#content.successstories div.titleimg{
		margin-right:40px;
	}
	div#content.successstories div.info{
		margin-left:0;
	}
	ul.successwho{
		width:585px;
		padding-left:15px;
	}
	ul.successwho li{
		margin-right:15px;
	}
	ul.successwho li a{
	}
}
@media all and (max-width: 767px){
	body.home div#quotes{
		margin-right:0;
	}
	body.home div#quotes blockquote{
		float:none;
		width:100%;
		margin-right:0;
	}
}
@media all and (max-width: 639px){
	ul.successwho{
		width:430px;
	}
	ul.buttons li,
	ul.successwho li{
		width:200px;
	}
	ul.buttons li a,
	ul.successwho li a{
		height:2em;
		font-size:16px;
		line-height:2em;
	}
	ul.onebutton{
		width:200px;
	}
	ul.twobuttons{
		width:420px;
	}
	ul.twobuttons li.button1{
		margin-right:20px;
	}
}
@media all and (max-width: 479px){
	ul.buttons li,
	ul.onebutton,
	ul.successwho li{
		width:180px;
	}
	ul.twobuttons{
		width:380px;
	}
	ul.successwho{
		width:380px;
		padding-left:10px;
	}
	ul.successwho li{
		margin-right:10px;		
	}
	div#content.successstories div.titleimg{
		float:none;
		width:auto;
		text-align:center;
		margin-left:auto;
		margin-right:auto;
	}
	div#content.successstories div.titleimg img{
		display:inline;
	}
	
}
@media all and (max-width: 440px){
	ul.buttons li,
	ul.onebutton,
	ul.successwho li{
		width:150px;
	}
	ul.buttons li a,
	ul.successwho li a{
		font-size:12px;
	}
	ul.twobuttons,
	ul.successwho{
		width:320px;
	}
}
@media all and (max-width: 419px){
	ul.buttons,
	ul.buttons li,
	ul.successwho,
	ul.successwho li{
		width:auto;
		max-width:200px;
		float:none;
	}
	ul.successwho{
		padding-left:0;
	}
	ul.twobuttons li,
	ul.successwho li{
		margin-left:auto;
		margin-right:auto !important;
		margin-bottom:10px;
	}
}