/* Start of CMSMS style sheet 'Home Style' */
/* browsers interpret margin and padding a little differently, we'll remove all default padding and margins and set them later on */
* {
	margin: 0;
	padding: 0;
}
/*Set initial font styles*/
body {
	text-align: left;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 75.01%;
	line-height: 1em;
}

div {
	font-size: 1em;
}

img {
	border: 0;
}

/*default link styles*/

a {
	text-decoration: none;
	color: #669900;
        font-weight: bold;
}

a:hover {
	text-decoration: none;
	color: #2f409a;
        font-weight: bold;
}

/*****************basic layout *****************/

body {
	margin: 0;
	padding: 0;
	color: #666666;
	background: #ffffff url(images/cms/background.gif);
}

div#pagewrapper {
	width: 960px;
	margin: 0 auto;
	background-color: #ffffff;
	color: #666666;
	background: url(images/cms/main_bg.gif);
}

div#header {
	height: 179px;
	margin: 0;
	padding: 0;
}

div#header h1 a {
	background: url(images/cms/header.gif) no-repeat left top;
	display: block;
	height: 179px;
	text-indent: -999em;
	text-decoration: none;
    margin-bottom:-10px;/* garys hack to clear gap in IE6 */
}

div#header h1 {
	margin: 0;
	padding: 0;
	line-height: 0;
	font-size: 0;
	background: url(uploads/ngrey/logoCMS.png) no-repeat left top;
}

div#header h2 {
	float: right;
	line-height: 1.2em;
	font-size: 1.5em;
	margin: 35px 65px 0px 0px;
	color: #f4f4f4;
}

div.crbk {
/* sets all to 0 */
	margin: 0;
	padding: 0;
/* you can set your own image here */
	background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}

div#search {
	width: 960px;
	height: 36px;
	background: #ffffff url(images/cms/search.gif);
}

div#searchleft {
        float: left;
	padding-left: 20px;
	padding-top: 10px;
        height: 25px;
}

div#searchleft a{
	color: #ffffff;
        font-weight: bold;
}

div#searchleft a:hover{
	color: #aed346;
font-weight: bold;
}

div#searchright {
        float: right;
	padding-top: 5px;
	padding-right: 10px;
}

/* a class for Submit button for the search input box */
        input.search-button {
	border: none;
	height: 22px;
	width: 53px;
	margin-left: 5px;
	padding: 0px 2px 2px 0px;
	cursor: pointer;
	background: url(uploads/ngrey/search.gif) no-repeat center center;
}

div#content {
/* some air above and under menu and content */
	padding: 0px;
}

div#main {
	padding-left: 220px;
}

div#maintext {
	width: 407px;
	padding-right: 10px;
	padding-left: 10px;
        float: left;
}

div#homenews {
        margin-left: 10px;
        float: left;
	width: 292px;
}

div#newsheader {
	height: 100px;
	width: 292px;
	background: url(images/cms/news_header.jpg);
}

div#newsmain {
	width: 270px;
	padding-right: 10px;
	padding-left: 10px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #2f409a;
	border-left-color: #2f409a;
}

div#newsmain a {
	color: #2f409a;
}

div#newsmain a:hover {
	color: #91b628;
}

div#newsfooter {
	height: 32px;
	width: 282px;
	background: url(images/cms/news_footer.gif);
	font-weight: bold;
	padding-top: 10px;
	padding-right: 10px;
	text-align: right;
}

div#sidebar {
	float: left;
	width: 220px;
	display: inline;
	margin: 0px 0px 20px;
	padding: 0px;
}

div#navbottom{
	height: 41px;
	width: 219px;
	background: url(images/cms/nav_bottom.gif);
}

div#footer {
	padding: 40px 20px 0px 0px;
	color: #2f409a;
	background: url(images/cms/footer.gif) no-repeat left top;
        height: 63px;
}

div#footer p {
	text-align: right;
	margin: 0;
	padding: 0.2em;
}

div#footer p a {
	color: #84ad0f;
        font-weight: bold;
}

div#footer p a:hover {
	color: #333399;
        font-weight: bold;
}

/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted black;
	margin: 1em;
}


/********************CONTENT STYLING*********************/

/* HEADINGS */
div#content h1 {
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}
div#content h2 {
	color: #84ad0f;
	font-size: 1.2em;
	text-align: left;
	padding-bottom: 1px;
	line-height: 1.5em;
	margin: 0 0 0.5em 0;
}
div#content h3 {
	color: #303098;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h4 {
	color: #303098;
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
div#content h5 {
	color: #303098;
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
	color: #303098;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
/* END HEADINGS */
/* TEXT */
p {
	font-size: 1em;
	margin: 0 0 1.5em 0;
	line-height: 1.4em;
	padding: 0;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
strong, b {
	font-weight: bold;
}
em, i {
	font-style: italic;
}
code, pre {
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
	border: 1px solid #000;
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
}
/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 3em;
}
/* definition lists topics on bold */
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}

/*contact form message box width - gary's hack */
.contactform textarea{
width:250px;
height:100px;
border: 1px solid #CCCCCC;
}

.contactform input {
   border: 1px solid #CCCCCC;
   width:250px;
}

#submitbut{
   background-color: #000000;
   border: 0px;
   color: #FFFFFF;
   margin-left: 10px;
}

#cntnt01searchinput {
   margin-top: 4px;
   border: 1px solid #000000;
}

/* END LISTS */
/* End of 'Home Style' */

