/* CSS Document */

/* CSS Document */
/*------------------------------------------------------------------------
Main style for all layouts

version:	1.0
created:	2006-11-30
author:		Isaac Castillo
email:		isaac@echods.com
site:		http://www.echods.com
------------------------------------------------------------------------*/

/* =General
------------------------------------------------------------------------*/

/* Remove all padding and margins */
* {
	margin: 0;
	padding: 0;
}

/* Html and body padding & margins */
html, body{
	margin: 0;
	padding: 0;
	height: 100%;
	
	/* BUG: Fix IE6 bug */
	text-align: center;
}

body {
	/* Sizes all fonts down to 62.5% */
	font-size: 62.5%;
	
	/* Main background */
	background: #616161 url(images/cornerstone_mainbg.jpg) top repeat-x;
}

/* Remove padding & margins */
h1, h2, h3, h4, h5, h6, p, ul, li {
	margin: 0;
	padding: 0;
}

/* Remove border images */
img {
	border: 0;
}

/* Remove styles from list items */
ul, li {
	list-style:none;
}

/* =Typography
------------------------------------------------------------------------*/
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#wrapper h1 {
	width: 338px;
	height: 36px;
	font-size: 1.3em;
	font-weight: bold;
	color: #235fb5;
	background: url(images/cornerstone_pgtitlebg.jpg) no-repeat;
	position: absolute;
	top: 334px;
	text-align: left;
	text-indent: 55px;
}

/* =Headings
------------------------------------------------------------------------*/
#wrapper {
	width: 775px;
	min-height: 600px;
	background: url(images/cornerstone_logo.jpg) top left no-repeat;
	margin: auto;
}

#header {
	width: 775px;
	height: 147px;
	float: left;
	background: url(images/cornerstone_hdrgrid.jpg) bottom repeat-x;
	margin-top: 6px;
}

#fpheader {
	width: 451px;
	height: 200px;
	float: right;
/*	background: url(images/cornerstone_fp_header.jpg) no-repeat; */
	margin: 6px auto auto 0;
}

/* =Links
------------------------------------------------------------------------*/
.returnhome {
	display: block;
	height: 50px;
	width: 250px;
	margin: 0;
	padding: 0;
	position: absolute;
}

/* =Branding
------------------------------------------------------------------------*/

/* =Main nav
------------------------------------------------------------------------*/
#mainnav {
	width: 775px;
	height: 18px;
	float: left;
	font-size: 1.2em;
	margin: 20px 0 auto;
	color: #ececec;
}

#mainnav li {
	display: inline;
	float: left;
	background: url(images/cornerstone_mnuseparator.jpg) top right no-repeat;
	padding: 10px 7px 0 7px;
}

#mainnav a:link {
	color: #ececec;
	text-decoration: none;
	width: 100%;
	height: 100%;
}

#mainnav a:visited {
	color: #ececec;
	text-decoration: none;
	width: 100%;
	height: 100%;
}

#mainnav a:hover {
	color: #798691;
	text-decoration: none;
	width: 100%;
	height: 100%;
}

.sub1 {
	display: none;
	position: absolute;
	background: #121212;
	list-style-type: none;
	width: 200px !important;
	margin: 0 auto auto -8px;
	border-collapse: collapse;
	border-top: solid 1px #3f3f3f;
	border-left: solid 1px #3f3f3f;
	border-right: solid 1px #3f3f3f;
	text-align: left !important;
/*	z-index: -100px; */
}

.sub1 li {
	display: none;
	background: none !important;	
	border-collapse: collapse;
	border-bottom: solid 1px #3f3f3f;
	height: 20px !important;
	width: 200px;
	padding: 0 !important;
	margin: 0 !important;
	text-indent: 5px !important;
}


.level1 {
	height: 100%;
}

.level2 a:hover{
	display: block;
	background: #235fb5;
	border-collapse: collapse;
	border-bottom: solid 1px #626262;
	border-top: solid 1px #000;
	color: #969696 !important;
}

LI:hover UL{
	display: block;
}

LI.over UL {
	display: block;
}


/* =Secondary nav
------------------------------------------------------------------------*/
#secondarynav {
	width: 135px;
	height: 185px;
	float: left;
	font-size: 1.2em;
	margin: 151px 0 auto;
	color: #ececec;
}

#secondarynav li {
	display: inline;
	float: left;
	background: url(images/cornerstone_mnuseparator.jpg) top right no-repeat;
	padding: 9px 7px 0 7px;
}

#secondarynav a:link {
	color: #ececec;
	text-decoration: none;
	width: 100%;
	height: 100%;
}

#secondarynav a:visited {
	color: #ececec;
	text-decoration: none;
	width: 100%;
	height: 100%;
}

#secondarynav a:hover {
	color: #798691;
	text-decoration: none;
	width: 100%;
	height: 100%;
}


/* =Third nav
------------------------------------------------------------------------*/

/* =Main content
------------------------------------------------------------------------*/
#gridbar {
	width: 775px;
	height: 7px;
	background: url(images/cornerstone_hdrgrid.jpg) repeat-x;
	float: left;
}

#contentholder {
	background: #235fb5;
	float: right;
	width: 760px;
	min-height: 100%;
	margin-top: 27px;
	padding-bottom: 20px;
}

#topbg {
	background: url(images/cornerstone_contentgrid.jpg) repeat-x;
	width: 567px;
	height: 6px;
	margin: 40px auto auto 28px;
}

#maincontent {
	background: #fff url(images/cornerstone_btmcontent.jpg) bottom no-repeat;
	float: left;
	width: 567px;
	text-align: left;
	margin: 0 auto auto 28px;
	padding-bottom: 70px;
}

#maincontent p {
	font-size: 1.2em;
	margin: 20px;
}

#maincontent p img {
	padding: 5px;
}

#maincontent a:link {
	color: #235fb5;
	text-decoration: underline;
}

#maincontent a:visited {
	color: #414242;
	text-decoration: underline;
}

#maincontent a:hover {
	color: #13468f;
	text-decoration: none;
}

/* =Secondary content
------------------------------------------------------------------------*/
#secondarycontent {
	float: right;
	width: 155px;
	min-height: 100%;
}

#secondarycontent img {
	padding-bottom: 5px;
}

#secondarycontent h2 {
	width: 155px;
	height: 16px;
	font-size: 1.3em;
	font-weight: bold;
	color: #235fb5;
	background: url(images/cornerstone_rtcontenttitle.jpg) no-repeat;
	text-align: left;
	text-indent: 23px;	
}

.mod {
	margin: 20px;
	min-height: 140px;
	width: 527px;
	padding: 5px;
}

.mod img {
	padding-right: 5px;
}

#info {
	color: #333333;
	float: right;
	font-size: 1.1em;
	padding-top: 5px;
}

#info p {
	font-weight: bold;
	margin: 43px auto;
}
/* =Third content
------------------------------------------------------------------------*/
#thirdcontent {
	float: left;
	width: 775px;
	min-height: 100%;
	text-align: left;
}

#thirdcontent h2 {
	width: 155px;
	height: 16px;
	font-size: 1.3em;
	font-weight: bold;
	color: #235fb5;
	background: url(images/cornerstone_rtcontenttitle.jpg) no-repeat;
	text-indent: 23px;	
}

#thirdcontent img {
	padding-right: 5px;
}

#currentseries {
	width: 324px;
	height: 200px;
	float: left;
	margin: 6px auto auto 0;
}

#thirdcontent img {
	float: left;
}

/* =Footer
------------------------------------------------------------------------*/
#footer {
	color: #999;
	width: 775px;
	height: 25px;
	margin: auto;
	clear: both;	
}

#footer ul {
	width: 770px;
	height: 25px;
	padding-top: 30px;
	font-size: 1.2em;
}

#footer li {
	display: inline;
}

#footer a:link {
	color: #999;
	text-decoration: underline;
}

#footer a:hover {
	text-decoration: none;
}

#footer a:visited {
	color: #999;
}

/* =Forms
------------------------------------------------------------------------*/
form {
	font-size: 1.2em;
	margin: 0;
	padding: 0;
}

form p {
	margin: 1em;
}

fieldset {
	margin-top: 0;
	margin-bottom: 1em;
	padding: 1em;
	border: none;
}

legend {
	font-weight: bold;
	margin: 0;
	padding: 0.5em;
}

label {
	float: left;
	width: 11em;
}

input {
	font-size: 1.2em;
	color: #235fb5;
}

input:focus, textarea:focus {
	background: #e7caad;
}

input[type="text"], textarea {
	border: 1px solid #235fb5;
}

.button {	
	background: #121212;
	border-collapse: collapse;
	border: 1px solid #235fb5;
	color: #fff;
	font-size: 1.1em;
	margin-left: 13.5em;
	padding: 0.1em;	
}

.button:focus {
	background: #3d3d3d;
}

/* =Tables
------------------------------------------------------------------------*/

/* =Spare 1
------------------------------------------------------------------------*/

/* =Spare 2
------------------------------------------------------------------------*/