/******* fonts and colors *******/
body {
	background-color: #666666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	color: #000000;
	line-height: 14px;
	font-style: normal;
	text-align: center;
	padding: 0;
	background-image: url(../images/grey-bg.jpg);
	background-repeat: repeat-y;
	background-position: center;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

td, th {
	font-family: Verdana, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 24px;
	color: #333333;
}

/******* text *******/
h1 {
	font-size: 14px;
	font-weight: bold;
	text-align: left;
}

h2 {
	font-size: 12px;
	text-align: left;
	color: #333333;
	font-weight: bold;
	text-indent: 10px;
}

h3 {
	font-size: 12px;
	text-align: left;
	padding: 0px 10px;
	letter-spacing: 1px;
}

a {
	font-size: 12px;
	color: #FF0000;
	font-style: normal;
	text-decoration: none;
	font-weight: bold;
}

p {
	text-align: left;
	line-height: 16px;
}

.enter a {
	font-size: 18px;
	color: #CC0000;
	text-align: center;
	font-weight: bold;
}

.link {
	color: #666666;
	padding-left: 20px;
	background-image: url(../images/circle.gif);
	background-repeat: no-repeat;
	background-position: left top;	
}

.contact {
	padding-left: 20px;
	background-image: url(../images/circle.gif);
	background-repeat: no-repeat;
	background-position: left top;	
}

.title {
	font-size: 18px;
	line-height: 20px;
    background-color: #99CC00;
	color: #003333;}

.subtitle {
	font-size: 16px;
	line-height: 30px;
	color: #003300;}

.quote {
	font-size: 17px;
	line-height: 20px;
	padding-right: 40px;
	padding-left: 40px;
	font-weight: bold;
	font-style: italic;
}

.quote a{
	font-size: 18px;
	font-weight: bold;
	color: #FF0000;	
}


.name {
	text-align: right;
	padding-right: 40px;
}
	
img.logo {
	float: left;
	margin-right: 30px;
	margin-left: 10px;
	margin-top: 20px;
}

img.paul {
	margin-right: 40px;
	margin-left: 20px;
	float: right;
}

img.ipswich {
	float: left;
	margin-right: 10px;
	margin-left: 20px;
	margin-top: 10px;
}

/**** wrapper ***/
#wrapper {
	width: 860px;
	height: auto;
	background-color: #FFFFFF;
	padding:0;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

/******* header *******/
#header {
	background-image: url(../images/cornerstone-logo.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: auto;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
	background-color: #333333;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #333333;
}

#header h1 a {
	margin: 0px;
	padding: 0px;
	text-indent: -9999em;
	text-decoration: none;
	display: block;
	height: auto;
	width: 860px;
}

/******* menu *******/
#menu {
	height: 80px;
	width: 860px;
	background-color: #FFFFFF;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding: 0;
}
	
#menu ul, #menu li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#menu li {
	padding: 0;
	background-color: #FFFFFF;
	float: left;
	margin-right: 1px;
}

#menu a, #menu a:link, #menu a:visited {
	text-decoration: none;
	font-size: 10px;
	color: #333333;
	width: 146px;
	height: 11px;
	display: block;
	float: left;
	letter-spacing: 1px;
	text-align: center;
	padding: 7px 2px;
	border: 1px solid #666666;
	border-bottom-width: medium;
	border-bottom-style: solid;
	border-bottom-color: #FF0000;
}

#menu a:hover {
	color: #000000;
	background-color: #E0E0E0;
}

#menu #current {
	background-color: #C0C0C0;
}

/******* you are here *******/
#here {
	width: 680px;
	background-color: #FFFFFF;
	margin-top: 20px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: 80px;
	padding: 0;
	float: left;
	font-size: 10px;
}

/******* intro movie *******/
#intro {
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding: 0;
	height: 530px;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #333333;
	text-align: center;
}

/******* main container *******/
#main {
	width: 820px;
	height: 380px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	float: left;
	padding: 0;
}

#references {
	width: 820px;
	height: auto;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
	float: left;
	padding: 0;
}

#video {
	width: 240px;
	text-align: left;
	float: left;
	margin-left: 40px;
}

a img {
border:0 none;
}


/******* left container *******/
#left {
	width: 450px;
	text-align: left;
	float: left;
	padding-top: 10px;
}

#left2 {
	width: 450px;
	height: 500px;
	text-align: left;
	float: left;
	padding-top: 10px;
}

/******* right container *******/
#right {
	width: 350px;
	float: right;
	clear: right;
	padding-top: 0px;
	margin-bottom: 20px;
}


/******* footer *******/
#footer {
	width: 860px;
	font-size: 10px;
	margin-left: auto;
	text-align: center;
	float: left;
	margin-right: auto;
	padding-bottom: 20px;
	padding-top: 70px;
	clear: both;
}

#footer a {
	text-decoration: none;
	font-size: 10px;
	color: #333333;
}

#footer a:hover {
    color: #000000;
}

/******* address *******/
address {
	text-align: center;
	width: 860px;
	color: #CCC;
	font-size: 10px;
	font-style: normal;
	background-color: #333333;
	margin-right: auto;
	margin-left: auto;
	padding-top: 5px;
	padding-bottom: 5px;
	clear: both;
	margin-top: 10px;
}

address a {
	text-decoration: none;
	font-size: 10px;
	color: #FFF;
	font-weight: bold;
}

address a:hover {
	color: #000000;
}


/******* workarounds and hacks *******/
.clearfix:after {
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
