/* Start of CMSMS style sheet 'nhs' */
/*****************
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: "Trebuchet MS", Arial, Verdana;
	font-size: 13px;
	line-height: 22px;
	color: #746f53;
   	#background-image: url(images/cms/bkgd2.gif);
   	#background-image: url(images/cms/bkgd3.gif);
   	background-image: url(images/cms/bkgd.gif);
	margin: 0px;
	padding: 0px;
	background-color: #CCCCCC;
	background-position: center;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}
.image_right {
	background-color: #FFFFFF;
	padding: 1px;
	margin-top: 5px;
	margin-bottom: 10px;
	margin-left: 10px;
	border: 1px solid #AB9E0A;
	float: right;
}
.image_left {
	background-color: #FFFFFF;
	padding: 1px;
	margin-top: 5px;
	margin-bottom: 10px;
	margin-right: 10px;
	border: 1px solid #AB9E0A;
	float: left;
}
/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   background-color: inherit; 
	color: #0055a5;
	text-decoration: underline;
}

a:visited {
   background-color: inherit; 
	color: #0055a5;
	text-decoration: underline;
}


/* remove underline on hover and change color */
a:hover {
	color: #AB9E0A;
	text-decoration: underline;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ccc;
   color: #333;
   margin:0;    /* gives some air for the pagewrapper */
}
#topbar {
	background-image: url(images/cms/topbkgd.gif);
	height: 24px;
	width: 100%;
	position: relative;
	background-position: center;
}
#topbar2 {
	background-image: url(images/cms/topbar.gif);
	height: 24px;
	width: 712px;
	position: relative;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
/* center wrapper, min max width */
div#pagewrapper {
	margin: 0 auto;       /* this centers wrapper */
	width: 700px;
	color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
	background-image: url(images/cms/logo.gif);
	height: 118px;
   background-repeat: no-repeat;
}

div#header h1 {
	text-indent: -2999px;
	margin: 0px;
	padding: 0px;
}
div#header h1 a {
	height: 108px;
	width: 300px;
	display: block;
}
div#header h1 a:hover {
	height: 108px;
	width: 300px;
	display: block;
}

/* position for the search box */
div#search {
   float: right;
   width: 380px;    /* enough width for the search input box */
   text-align: right;
}
#bar {
	width: 700px;
	position: relative;
}
#menu {
	float: left;
	height: 180px;
	width: 216px;
	position: relative;
	z-index: 100;
}
#images {
	float: left;
	height: 180px;
	width: 484px;
	position: relative;
	z-index: 0;
}

 div#content {
   margin: 0 auto 2em 0;   /* some air above and under menu and content */
}

div#main {
   width: 574px;
   padding-right: 20px;

   position: relative;
   float: left;}
div#main2 {
   margin-left: 236px;
   margin-right: 20px;
   }
div#mainheader {
   position: relative;
   float: left;
   width: 594px;}
div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 105px;     /* sidebar width, if you change this please also change #main margins */
   position: relative;
   	min-height:400px;
	background-image: url(images/cms/sidebar2.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
div#sidebar2 {

	float: left;
	width: 168px;
	padding-top: 123px;
	padding-left: 48px;
	position: relative;
}
div#sidebar3 {
	float: left;
	width: 168px;
	min-height:300px;
	_min-height:330px;
}
div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #A3A3A3; /* same bg color as in header */
	padding-bottom: 10px;
	padding-top: 10px;
	padding-left: 10px;}

div#footer p {
   font-size: 11px;
   line-height:normal;


   text-align: left;
   margin: 0;
	font-family: "Trebuchet MS", Arial, Verdana;
	font-size: 12px;
	color: #FFFFFF;
}

div#footer p a {
	color: #FFFFFF;
	text-decoration: underline;
}
div#footer p a:hover {
	color: #FFFFFF;
	text-decoration: none;
}

.specialFooter {
	font-size: 10px;
	font-style: italic;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
hr {
	color: #AB9E0A;
	background-color: #AB9E0A;
	height: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;

}






/********************
CONTENT STYLING
*********************/
div#content {
	font-family: "Trebuchet MS", Arial, Verdana;
	font-size: 13px;
	line-height: 22px;
	color: #746f53;
}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	font-size: 13px;
	font-weight: bold;
	color: #AB9E0A;
	text-transform: uppercase;
	text-align: left; 
	padding-bottom: 5px;
	border-bottom: 1px solid #AB9E0A; 
        margin-top: 20px;
        margin-bottom: 10px;
}
div#content h3 {
	font-size: 14px;
	font-weight: bold;
	color: #0055A5;
   padding-bottom:20px;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   padding-bottom:20px;


}


blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   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, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}
.align_center {
	text-align: center;
}
.align_right {
	text-align: right;
}
/* END TEXT */

/* LISTS */
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ol li {
   margin: 0 0 0.25em 3em;
}
div#main ul,
div#main ul li lu{
	list-style-type: none;
	margin-left: 15px;
	padding-left: 15px;
}
div#main ul li,
div#main ul li ul li {
	background-image: url(images/cms/bullet.gif);
	background-repeat: no-repeat;
	background-position: 0px 8px;
	margin-left: 0px;
	padding-left: 10px;
	padding-bottom: 10px;
	line-height: 22px;
}
/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
/* End of 'nhs' */

