/* Start of CMSMS style sheet 'Sonflare css 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 {
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 9pt;
	color: #000;
}

/*set font size for all divs, this overrides some body rules*/
div {
	font-size: 9pt;
        line-height: 1.4;
}

/*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: #C30;
}

a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #900;
/* a different color can be used for visited links */
}

/* remove underline on hover and change color */
a:hover {
	text-decoration: none;
	background-color: inherit;
	color: orange;
}

/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
    /* you can set your own image and background color here */
	background: #9a9a9a url(uploads/images/bg_tile-over.gif) repeat-x top;
}

div#pagewrapper {
    /* now that width is set this centers wrapper */
        width: 1000px;
	margin: 9px auto 10px auto;
	border: 1px solid #000;
	padding: 0px;
	background: #FFF url(uploads/images/contentBg.jpg) no-repeat right 110px;
	min-height: 600px;
}

div#header {
/* adjust according your image size */
	margin: 0px;
	padding: 0px;
	height: 80px;
	width: 1000px;
}

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.breadcrumbs {
/* CSS short hand rule first value is top then right, bottom and left */
	padding: 1em 0em 1em 1em;
/* its good to set font sizes to be relative, this way viewer can change his/her font size */
	font-size: 90%;
/* css shorthand rule will be opened to be "0px 0px 0px 0px" */
	margin: 0px;
/* you can set your own image here */
	background: url(uploads/ngrey/mainleftup.gif) no-repeat left bottom;
}

div.breadcrumbs span.lastitem {
	font-weight: bold;
}

div#search {
/* position for the search box */
	float: right;
/* enough width for the search input box */
	width: 27em;
	text-align: right;
	padding: 0.5em 0 0.2em 0;
	margin: 0 1em;
}

/* 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;
/* makes the hover cursor show, you can set your own cursor here */
	cursor: pointer;
/* you can set your own image here */
	background: url(uploads/ngrey/search.gif) no-repeat center center;
}

div#content {
/* some air above and under menu and content */
	margin: 0 0 10px 0;
	padding: 0px;
}

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 */
	float: right;
        background: url(uploads/images/content-watermark1.jpg) no-repeat bottom right;
        text-align: left;
	width: 740px;
        min-height: 480px;
	margin: 0 10px 0 0;
	padding: 0 20px 10px 0;
	/*position: absolute;
	top: 110px;
	right: 20px;*/
}

div#sidebar {
	/*position: absolute;
	left: 0px;
	top: 110px;*/
	background: #fff url(uploads/images/sidebar.jpg) no-repeat 0px 140px;
	float: left;
	width: 210px;
        height: 480px;
/* FIX IE double margin bug */
	display: inline;
	margin: 0;
	padding: 0;
	text-align: left;
	vertical-align: top;
}

div#sidebarb {
	width: 180px;
	position: relative;
	left: 10px;
	top: 50px;
	text-align: left;
        padding: 5px;
        border: 1px dotted #C30;
}

div#footer {
        height: 20px;
        clear:both;
	padding: 2px 10px;
	color: #808080;
	background: #DEDEDE;
}

div#footer p {
	font-size: 80%;
	padding: 2px;
	text-align: center;
	margin: 0;
}

div#footer p a {
	color: #808080;
}

/* 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;
}

/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
}
div.right49 {
	float: right;
	width: 29%;
/* set right to keep text on right */
	text-align: right;
}
div.rightImage {
       float: right;
       margin: 0 0 10px 10px;
}
div.rightImageBox {
       width: 350px;
       height: 600px;
       float: right;
       margin: 0 0 10px 10px;
       overflow: scroll;
}


/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
/* font size for h1 */
	font-size: 150%;
        line-height: 1;
	border-bottom: 1px solid #C30;
	border-right: 3px dotted #C30;
	padding: 0 0 5px 0;
	margin: 15px 0 20px 0;
}
div#content h2 {
	font-size: 125%;
        line-height: 1;
	color: #C30;
}
div#content h3 {
	font-size: 100%;
        line-height: 1;
	color: #818181;
	margin: 10px 0 5px 0;
	padding: 2px 0 2px 0;
	border-bottom: 2px dotted #999;
}
div#content h4 {
        font-size: 100%;
        line-height: 1;
	color: #C30;
	margin-top: 10px;
	margin-bottom: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
	//border-left: 2px dotted #999;
}
div#content h5 {
	font-size: 100%;
        line-height: 1;
	color: #000;
	margin-top: 10px;
	margin-bottom: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
	border-bottom: 2px dotted #999;
}
h6 {
	font-size: 100%;
        line-height: 1;
	color: #FFF;
	margin-top: 10px;
	margin-bottom: 5px;
	padding: 2px;
	background-color: #999;
}
/* END HEADINGS */
/* TEXT */
p {
	font-size: 100%;
	margin-top: 2px;
	margin-bottom: 6px;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
strong, b {
	font-weight: bold;
}
em, i {
	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: 100%;
	line-height: 1.4;
	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 */
/* End of 'Sonflare css layout' */

