/* modification of base elements, and classes dedicated to an element */

body {
	margin: 0px;
	background: #DEE4E5 url('../images/bg.jpg') scroll top left repeat-x;
	font: 10px Verdana, Arial, Helvetica, sans-serif ;
	color: #666666;
}

* html body { width: 990px; margin: 0px auto; text-align: left;} /*IE 6 */

body > div { 
	position: relative;
	width: 990px;
	margin: 0px auto; /* center in not-IE */ 
	text-align: left; /* counter inheritance of IE block centering */
}

* html body { width: 990px; margin: 0px auto; text-align: left; border:none;} /*IE 6 */

h1, h2, h3, h4 {
	color: #999999;
	padding:0px;
	margin:0px;
}

h1 {
	font-size: 2.0em;
	padding: 30px 5px;
	font-weight: normal;
}

h1 span{
	color: #77DD44;
}

h2 {
	font-size: 1.4em;
}

h3{
	font-size: 1.3em;
}

p, ul, ol, table {
	font-size:1.2em;
}

table p {
	font-size: 1.0em;
}

ul ol, ol ul, dl ol, dl ul { /* prevent inflation of nested lists */
	font-size: 1.0em;
}

a:link {
	color: #77DD44;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #77DD44;
}
a:hover {
	text-decoration: underline;
	color: #333333;
}

a:active {
	text-decoration: none;
}

a img {
	border: none;
}

#banner {
	height: 206px;
	padding: 0px;
	margin: 0px auto;
	background: transparent url('../images/banner.jpg') top left no-repeat;
}

#navigation
{
	width: 986px;
	margin: 0px auto;
	padding: 0px 2px;
	height: 42px;
	background: transparent url('../images/nav-bg.jpg') top left repeat-x;
}

* html #navigation { width: 982px; padding: 0px 4px; } /* IE 6 */
*+html #navigation { width: 982px; padding: 0px 4px; } /* IE 7 */

#navigation ul {
	width: 790px;
	height: 42px;
	margin: 0px 7px;
	padding: 0px;
	list-style-type: none;
}

#navigation li {
	float: left;
	width: 113px;
	height: 42px;
	margin: 0px auto;
	padding: 5px 20px 0px;
}

* html #navigation li { margin-bottom: -5px; } /* IE 6 */

#navigation a:link, #navigation a:visited{
	display: block;
	width: 113px;
	height: 31px;
	line-height: 31px;
	margin: 0px;
	padding: 0px;
	background: #66CC33 url('../images/button-bg.jpg') top left no-repeat;
	text-align: center;
	color: #FFFFFF;
	font-weight: bold;
}

#navigation a:hover, #navigation a:active{
	color: #333333;
}

#content {
	width: 720px;
	min-height: 500px;
	position: relative;
	background: #FFFFFF url('../images/content-bg.jpg') top right repeat-y;
	margin:0px auto;
	padding: 10px 220px 10px 50px;
}

#content > p {
	margin: 10px 0px;
	text-align: justify;
}

* html #content p { text-align:justify; }/* IE6 doesn't support '>' */

#sidebar {
	width: 200px;
	position: absolute;
	top: 0px;
	right: 0px;
	background: transparent url('../images/sidebar-bg.jpg') top left no-repeat;
	text-align: center;
}

#sidebar h2 {
	height: 31px;
	line-height: 31px;
	padding: 10px 10px 25px;
	background: transparent url('../images/aff-bg.jpg') center 10px no-repeat;
	color: #6E888E;
}

#sidebar p {
	padding: 25px 10px;
}

* html #sidebar p { padding: 20px 10px; text-align: center; } /* IE 6, text-align to compensate for #content p style */
*+html #sidebar p { padding: 20px 10px; } /* IE 7 */

#footer {
	display: block;
	margin: 0px auto;
	padding: 0px;
	height: 82px;
	text-align: center;
	background: transparent url('../images/footer-bg.jpg') bottom left no-repeat;
}

#footer span{
	display: block;
	width: 100%;
	height: 42px;
	background: transparent url('../images/nav-bg.jpg') top left repeat-x;
	line-height: 38px;
	text-align: center;
	color: #FFFFFF;
}

/*####################################################################*/
/* Specific pages */

.testimony {
	position: relative;
	width: 100%;
	border: none;
	border-bottom: 1px solid #CCCCCC;
	min-height: 55px;
	background: transparent url('../images/man.jpg') 0% 50% no-repeat;
}

* html .testimony { height: 55px; overflow:visible; } /* IE 6 */

.testimony p {
	margin-left: 60px;
	padding-top:2%;
	padding-bottom: 3px;
	text-align: justify;
}

.testimony img {
	vertical-align: middle;
	margin: 0px;
	padding: 0px 10px 20px 0px;
}
/*####################################################################*/
/*Forms */

div.mock_table { 
	display: block;
	margin: 0px auto;	
	position:relative;
}

div.mock_table label, div.mock_table p { 
	display: block;
	clear: left;
	line-height: 1.2em;
	font-size:1.2em;
	position:relative;
	margin: 0px;
	padding: 0px;
}

* html div.mock_table label { width: 98%; } /* IE6 */
*+html div.mock_table label { width: 98%; } /* IE 7 */


div.mock_table span { 
	display:block;
	float:left;
	padding: 2px 4px;
	margin: 0px; 
}

div.mock_table span.right { 
	width: 30%;
	padding-top: 6px;
	clear: left;
}

div.mock_table span.left { 
	width:50%;
	padding-right: 10px; 
	clear: right;
}

* html #content p.center {text-align:center;} /* For submit button IE6 overrides .center with #content p */

/*####################################################################*/
/*general styles/overrides - may have to overwrite any of above styles*/


.border {
	border: 1px solid #dadada;
}

.left {
	text-align: left;
}

.center {
	text-align:center;
}

.right {
	text-align: right;
}

.strong{
	font-weight:bold;
}

.alert {
	font-weight: bold;
	text-align: center;
	color: #FF0000;
}

.compact {
	 font-size:smaller; 
	 letter-spacing:-1px;
}

.clear {
	display: block;
	width: 100%;
	height: 1px;
	clear: both;
}
