/* Start of CMSMS style sheet 'Layout: Top menu + 1 column' */
/* 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: 12px;
	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: #900;
}
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: #C00;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
/* default text color for entire site*/
	color: #000;
/* you can set your own image and background color here */
	background: #FFF;
	background-image:url(uploads/images/brick-bg3.jpg);
	background-position:center 284px;
}

/* 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: 244px;
	margin: 0;
	padding: 0;
                text-align: center;
}
div#mainHeader {
	height:184px;
	background-image:url(uploads/images/brick-bg1.jpg);
	background-repeat:repeat-x;
	background-position:center 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.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 */
	width: 960px;
/* now that width is set this centers wrapper */
	margin: 0 auto;
                background-image:url(uploads/images/brick-bg7.jpg);
                padding:15px 0;
}
#content p.fl:first-letter {
	font-size:3em;
	padding:0 4px;
	margin:0;
	line-height:0.8em;
	float: left;
	color:#000;
	font-weight:800;
}
#content .right {
	float:right; 
	width:320px;
}
#content .right p {
	padding:10px;
	text-align:center;
}
#content p.phone {
	font-size:16px;
	text-align:right;
	margin-right:30px;
	font-weight:800;
}
#content .slogan {
	font-size:16px;
	font-weight:bold;
}
#content .redbox {
	background-color: #900; 
	font-weight:bold; 
	filter:alpha(opacity=60); 
	opacity:0.6;
	-moz-opacity:0.6;
}
#content .redbox div {
	padding:10px;
	color:#FFFFFF;
	font-weight:bold;
	filter:alpha(opacity=100);
	opacity: 1;
	-moz-opacity:1;
	position: relative;
}
div#footer {
                background:#DDDDDD;
	font-size:10px;
	color:#666;
}
div#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
#footer p.url {
	text-align:center;
	font-size:14px;
	color:#666;
	letter-spacing:1.5em;
}
#footer p a {
/* footer link would be same color as default we want it same as footer text */
	color: #666;
}
#footer #inner {
	width:960px;
	margin:0 auto;
	text-align:left;
                color:#666;
}
/* 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: 60%;
                margin-left:2%;
}
div.right49 {
	float: right;
	width: 36%;
/* set right to keep text on right */
	text-align: right;
                margin-right:2%;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}
div#content h2 {
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.4em;
	text-align: left;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 0.5em;
/* a larger than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0.5em;
                font-weight:bold;
}
div#content h3 {
	font-size: 1.3em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h4 {
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
div#content h5 {
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
	font-size: 1em;
	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 {
	
	margin-left: 20px;
}
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;
}
#transbox {
                width: 800px;
                margin: 20px auto;
                background-color: #fff;
                border: 2px solid black;
                filter:alpha(opacity=70);
                opacity: 0.7;
                -moz-opacity:0.7;
}

/* This is the container which set text to solid color.
position: relative used for IE */ 
#transbox div {
padding: 20px;
color: #000;
filter:alpha(opacity=100);
opacity: 1;
-moz-opacity:1;
position: relative;
}
#solidbox {
              width:800px;
               margin:20px auto;
              background-color:#FFF;
}

#transbox div div {
padding: 0;
margin:2px 0;
}
/* 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 */
/* End of 'Layout: Top menu + 1 column' */

