/* Start of CMSMS style sheet 'home' */
/* 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;
}

body {
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 73%;
	line-height: 1em;
}

div {
	font-size: 1em;
}
/*if img is inside "a" it would have borders, we don't want that*/
img {
	border: 0;
}
/*default link styles*/
a{
	text-decoration: none;
	color: #009900;
	font-weight: bold;
}

a:hover {
	text-decoration: none;
	color: #999999;
	font-weight: bold;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
	color: #000000;
	background: #b4b3b3 url(images/cms/background.jpg) repeat-x left top;
}
div#pagewrapper {
	width: 960px;
	margin: 0 auto;
	color: 000000;
	background: #ffffff url(images/cms/home.gif);
}

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

div#header h1 a {
	background: url(images/cms/header.jpg) no-repeat left top;
	display: block;
	height: 306px;
	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;
}

div#titlebar {
	height: 66px;
	background: url(images/cms/titlebar.gif);
	padding-top: 15px;
	padding-left: 3px;
}

div#titlebar h2 {
	color: #009900;
	font-size: 130%;
	text-align: left;
	padding-left: 0.5em;
	padding-bottom: 1px;
	line-height: 1.5em;
	margin: 0 0 0.5em 0;
}

div.crbk {
	margin: 0;
	padding: 0;
	background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}


div#content {
}

div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
	margin-left: 29%;
	margin-right: 2%;
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
	float: right;
	width: 69%;
	margin-left: 0%;
	margin-right: 10px;
}
div.back2 {
/* you can set your own image here */
	background: url(uploads/ngrey/mainleft1.gif) no-repeat left top;
}
div.back3 {
/* you can set your own image here */
	background: url(uploads/ngrey/wbtmleft.gif) no-repeat left bottom;
}

div#main {
	margin-left: 205px;
	margin-right: 10px;
}

div#main img {
	padding: 10px;
}

div#hometext {
	width: 467px;
	float: left;
}

div#homenews {
	width: 237px;
	float: right;
}

div#homenewsheader {
	background: url(images/cms/vacancies.gif);
	height: 37px;
}

div#homeview {
	width: 237px;
	height: 10px;
	text-align: right;
}

div#sidebar {
	float: left;
	width: 195px;
	display: inline;
	padding: 0px;
}

div#footer {
	padding: 0px 0px 0px 10px;
	color: #000000;
	background: url(images/cms/footer.jpg);
	height: 244px;
	clear: both;
}

div#footer p {
	padding-top: 195px;
	padding-left: 10px;
	margin: 0;
}

div#footer p a {
	color: #595959;
}

div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted black;
	margin: 1em;
}

/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}
div#content h2 {
	color: #000000;
	font-size: 120%;
	text-align: left;
	padding-left: 0.5em;
	padding-bottom: 1px;
	line-height: 1.5em;
	margin: 0 0 0.5em 0;
}
div#content h3 {
	color: #000000;
	font-size: 100%;
	line-height: 1.3em;
	margin: 0 0 1.5em 0;
}
div#content h4 {
	color: #000000;
	font-size: 100%;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h5 {
	color: #000000;
	font-size: 100%;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
h6 {
	color: #000000;
	font-size: 100%;
	line-height: 1.3em;
	margin: 0 0 0.5em 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 {
/* black border for pre blocks */
	border: 1px solid #000;
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
}

div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */

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;
}

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;
}

/* END LISTS */
/* End of 'home' */

