/* Start of CMSMS style sheet 'LAYOUT' */
/* 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;
}
/*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;
}
/*default link styles*/
/* set all links to have underline and bluish color */
a, a:link a:active {
	text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	background-color: inherit;
	color: #2c7d3f;
}
a:visited {
	text-decoration: underline;
	background-color: inherit;

/* a different color can be used for visited links */
}
/* remove underline on hover and change color */
a:hover {
	text-decoration: none;
	background-color: inherit;

}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
/* default text color for entire site*/
	color: #333;
/* you can set your own image and background color here */
	background: #67ab48 url(images/ig/body-bg.gif) repeat-x left top;
}
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the <head> */
        width:910px;
/* now that width is set this centers wrapper */
	margin: 0 auto; padding:0;
	background: #fff; overflow:hidden;
	color: #555555;
}
/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {
/* adjust according your image size */
	height: 200px;
	margin: 0;
	padding: 0;
}

div#header h1 a {
/* you can set your own image here */
	background: url(uploads/ngrey/logoCMS.png) no-repeat left top;
/* this will make the "a" link a solid shape */
	display: block;
/* adjust according your image size */
	height: 100px;
/* this hides the text */
	text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
	text-decoration: none;
}
div#header h1 {
	margin: 0;
	padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
	line-height: 0;
	font-size: 0;
/* this will keep IE6 from flickering on hover */
	background: url(uploads/ngrey/logoCMS.png) no-repeat left top;
}

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 {
/* position for the search box */
	float: left;
/* enough width for the search input box */
	width: 282px;
	text-align: left;
	padding: 0 0 30px 0;
	margin: 0;
}

div#search input{
    border:1px solid #cff0f4; border-right:0px none;
    padding:3px; margin:0;
float:left;
width:217px; height:17px;
}

/* a class for Submit button for the search input box */
div#search input.search-button {
	border: none;
	height: 25px;
	width: 56px; 
	padding: 0; margin:0;
/* makes the hover cursor show, you can set your own cursor here */
	cursor: pointer;
/* you can set your own image here */
	background: url(images/ig/search.gif) no-repeat center center;
}
div#content {
/* some air above and under menu and content */
	margin: 0 0 0 0;
	padding: 30px 0 0 0;
}
/* this gets all the outside calls that were used on the div#main before  */

div#main {
/* this is the last inside div so we set the space inside it to keep all content away from the edges of images/box */
	padding: 0 0 30px 30px; float:left;
        width:538px;
}

body.full div#main{
   width: 800px;
} 

div#main img, div#sidebar img{
   border:3px solid #65aa48;
}

div#main img{
margin:0 0 20px 20px;
}

div#main table img{
margin:0 20px 20px 0;
}

div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
	float: left;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
	width: 282px;
/* FIX IE double margin bug */
	display: inline;
	margin: 0;
	padding: 0 0 30px 30px;
/* you can set your own image here */
}

div#sidebar div.news {
	margin: 2em 0 1em 0em;
}

div#sidebar div.news img{
   border:1px solid #979c96; background:#fff; padding:2px;
}


div#sidebar div.news h2 img{
  border:0px none; background:transparent; padding:0;
}

div#sidebara {

}

div.footback {
	clear: both;
	padding: 0;
       width:100%;
       background:#57001d;
}

div#footer {
	padding: 0px 0px 0px 0;
        margin:0 auto; width:910px;
	color: #fff;
}


div#footer p {
	padding: 30px;
	margin: 0;
}
div#footer p a {
/* footer link would be same color as default we want it same as footer text */
	color: #fff; text-decoration:none;
}
/* 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 {
       font-family: Georgia, "Times New Roman", serif;
	color: #2c7d3f;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 28px;
	text-align: left;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 20px 0;
        font-weight:100;
}
div#content h3 {
       font-family: Georgia, "Times New Roman", serif;
        font-weight:100;
	color: #2c7d3f;
	font-size: 22px;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h4 {
       font-family: Georgia, "Times New Roman", serif;
        font-weight:100;
	color: #2c7d3f;
	font-size: 18px;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
div#content h5 {
       font-family: Georgia, "Times New Roman", serif;
        font-weight:100;
	color: #2c7d3f;
	font-size: 14px;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
       font-family: Georgia, "Times New Roman", serif;
        font-weight:100;
	color: #2c7d3f;
	font-size: 13px;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1em;
/* some air around p elements */
	margin: 0 0 1.5em 0;
	line-height: 1.4em;
	padding: 0;
}
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 {
/* css-3 */
	white-space: pre-wrap;
/* Mozilla, since 1999 */
	white-space: -moz-pre-wrap;
/* Opera 4-6 */
	white-space: -pre-wrap;
/* Opera 7 */
	white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
	word-wrap: break-word;
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
/* black border for pre blocks */
	border: 1px solid #000;
/* set different from surroundings to stand out */
	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;
}
/* END LISTS */

#contact-form input{
    border:1px solid #cff0f4;
    padding:3px; margin:0;
    width:274px; height:17px;
}
#contact-form textarea{
    border:1px solid #cff0f4;
    padding:3px; margin:0;
    width:274px; height:170px;
}

#contact-form div.submit input{
   width:60px; height:20px; cursor:pointer;
}

#main #no-frame img{border:0px none; margin:0 0 30px 0; padding:0;}

#main #newsletter{
   background:#cff0f4; width:538px; overflow:hidden; padding:0 0 16px 0;
}
#main #newsletter h2{margin:0 0 10px 0; padding:0;}
#main #newsletter img{border:none; margin:0; padding:0;}
#main #newsletter p{padding:0 0 0 16px;}
#main #newsletter input{float:left; display:inline; margin-left:16px;}

#main #newsletter .submit input{width:59px; height:21px; border:none; /*background:url(images/ig/sign-up.gif) no-repeat;*/ cursor:pointer; text-indent:-9999px;}
/* End of 'LAYOUT' */

