
/* A CSS Framework by Mike Stenhouse of Content with Style *//* This file includes primarily layout-related styles that are specific to this site.For clarity, styles are grouped by page or page region, roughly in the same order as they appear in the HTML. */

/* SITE SPECIFIC LAYOUT */
body {
	margin: 0;
	padding: 0;
	background: #cbcbd2;
	text-align: center;
	}

div#page {
	width: 800px;
	margin:  0 auto 1em auto;
	padding: 0;
	background: url("../images/page/bg_sub.gif") repeat-y;
	}

div#topnav {
	background: #cbcbd2;
	text-align: left;
	height: 2.5em;
	margin: 0.5em 0 -1em 0;
	}

div#search {
	float: right;
	position: relative;
	top: -1.8em;
	margin: 0.3em 25px 0 0;
	padding: 0;
	text-align: right;
	}

div#top_band {
	height: 56px;
	background: url("../images/page/top_band.gif") repeat-x;
	text-align: left;
	}   /* HEADER */

div#header {
	height: 90px;
	color: white;
	text-align: left;
	margin: 0 0 0 0;
	padding: 0;
	}

.page-home div#header {
	height: 140px;
	color: white;
	background: url("../images/home/home_header.jpg") no-repeat;
	text-align: left;
	margin: 0 0 0 0;
	padding: 0;
	}    
	
	/* END HEADER */
	
 /* CONTENT*/

#headline {
	background: url("../images/home/home_gradation.gif") repeat-y;
	height: 3em;
	margin: 0;
	padding: 7px 0 0px 40px;
	text-align: left;
	}

.page-home #headline {
	background: url("../images/home/home_gradation.gif") repeat-y;
	height: 66px;
	margin: 0;
	padding: 7px 0 10px 0;
	text-align: left;
	}

.page-home #headline img {
	margin: 0 0 0 1px;
	}

.page-home #headline h1 {
	display: none;
	}

div#content {
	background: url("../images/page/dotrule_long.gif") no-repeat;
	}
	           
/* MAIN */

div#main {
	}

#contactform { /* contact form styles  */
	position: relative;
	margin: 10px 0 0 0;
	padding: 0px 0px 30px 0px;
	width: 370px;
	clear: both;
	background-color: #fff;
	text-align: left;
	}

#contactform h2,#contactform h3,#contactform h4 {
	margin-top: 1em;
	}

#contactform p {
	margin: 0px;
	padding: 0px 0 10px 0;
	clear: left;
	color: #1a3b73;
	}

#contactform p label, #contactform p span.toheader {
	float: left;
	width: 34%;
	font-weight: bold;
	color: #036;
	margin-right: 5%;
	}

#contactform form p input, #contactform form p textarea {
	background: #f4f4fc;
	border: 1px solid #d8d8e0;
	margin-right: 0px;
	padding: 2px;
	}

#contactform textarea {
	width: 93%;
	height: 8em;
	}

#contactform input.input_text  {
	width: 54%;
	}

#contactform input.checkbox  {
	float: left;
	margin: 0 1em 0 0;
	}

#contactform form div.submit {
	margin: 1em 0 0 39%;
	}

#contactform form div.submit input {
	font-weight: bold;
	color: #1a3b73;
	height: 2em;
	width: 8em;
	}
	
	/* END MAIN */
	
	/* SUB */

div#sub {
	}	/* END SUB */
		/* END CONTENT */
		
		 /* FOOTER */

#page #footer {
	position: relative;
	background: url("../images/page/dotrule_long.gif") no-repeat;
	background-color: #fff;
	padding: 10px 0 10px 0px;
	}

#footertext { /* just the words  */	
/*	width:540px;
	margin: 0 0 0 225px;
	padding: 0 0 0 0;
	   REMOVED Feb 11, 2008 */
	}

div#footertext p {
	font-size: 0.8em;	/*	text-align: left; REPLACED Feb 11, 2008 */
	text-align: center;
	margin: 0;
	padding: 0;
	}
    /* END FOOTER */
    /* END LAYOUT */
	
	
	/* left subpage Navigation ---------------------------------------- */

#local {
	background: url("../images/page/leftnav_gradation.gif") repeat-x;
	border-bottom: 1px dotted #fff;
	}

#local h2 {
	font-size: 1em;
	height: 1.2em;
	color: #9a90c2;
	padding: 0.25em 0 0px 20px
	}

#local p {
	margin: 0;
	}

#local a {
	display: block;
	font-size: 0.95em;
	line-height: 1.2em;
	text-decoration: none;
	color: #0a50ff;
	padding: 3px 6px 3px 20px;
	border-top: 1px dotted #9a90c2;
	}

#local h2 a { /* special style for top link on software pages */
	/* NOT TESTED IN ANY OTHER POSITION EXCEPT ON THE VERY TOP! */
	display: block;
	font-size: 1em;
	height: 1.2em;
	color: #9a90c2;/*		color: #0a50ff;	 CHANGED FEb 11, 2008*/
	padding: 3px 6px 3px 0px;
	border: none;
	}

#local a:hover {
	background: #ffeea7;
	}

#local p.sub1 {
	background: url("../images/page/leftnav_gradation.gif") repeat-x;
	color: #1a3b73;
	}

#local a.sub1:hover {
	background: #ffeea7;
	}

#local p.sub2 {
	font-style: italic;
	background: #fff8db;
	}

#local a.sub2:hover {
	background: #ffeea7;
	}/* END SUBPAGE NAV *//* IMAGE HANDLING */

#main img { /* for images in the middle of a text flow  */
	float: left;
	margin: 5px 10px 5px 0px;
	}

#main div.img_block { 	 /* for images that are  paired with a caption
  	 	The caption and image should be together
		within a DIV class="img_block" */
	float: left;
	margin: 5px 0px 5px 0px;
	}

#main img_block img {
	 /* for images within a DIV class="img_block" only! */
	float: none;
	margin: 5px 10px 5px 0px;
	}

#sub img { /* right sidebar images */
	clear: both;
	margin: 5px 10px 10px 20px;
	}

#sub p img { /* right sidebar images;
	 	this style tweaks the margins in case img
 		ends up enclosed in a P tag... */
	margin: 0px;
	}
