/* Start of CMSMS style sheet 'Layout: Top menu + 2 columns' */
/* 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: #000;
}
a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #000;
/* 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: #ee3338;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
	color: #333;
	background: #d0d0d0;
}
div#pagewrapper {
	width: 990px;
	margin: 0 auto;
	color: black;
}

div#header {
	height: 120px;
	margin: 0;
	padding-top: 30px;
        padding-left: 30px;
	background: url(images/bgtop.jpg) repeat-x left top;
}

div#header h1 a {
	background: url(images/logo.jpg) no-repeat left top;
	display: block;
	height: 120px;
	text-indent: -999em;
	text-decoration: none;
}
div#header h1 {
	margin: 0;
	padding: 0;
	line-height: 0;
	font-size: 0;
	background: url(images/logo.jpg) no-repeat left top;
}

div#header h2 {
/* this is where the site name is */
	float: right;
	line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
	font-size: 1.5em;
/* keeps the size uniform */
	margin: 35px 65px 0px 0px;
/* adjust according your text size */
	color: #f4f4f4;
}
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#content {
	margin: 0em auto 0em 0;
	padding: 0px;
        background: url(images/bgcenter.jpg) repeat-y;
        overflow: hidden;
        height: 100%;
        clear: both;
}


div#main {
	padding: 30px 15px;
        margin-left: 227px;
        margin-right: 19px;
}

div#flashproduction {
border: #ccc 1px solid;
padding: 3px;
width: 363px;
float: left;
margin-right: 15px;
}

div#sidebar {
	float: left;
	width: 200px;
	display: inline;
	margin: 0px 0px 20px 40px;
	padding: 0px;
}

div#sidebarb {
	padding: 10px 15px 10px 30px;
}


div#sidebara {
	padding: 35px 15px 15px 10px;
        font-size: 10px;
       color: #333;
}


div.footback {
	clear: both;
	padding: 0px 10px 30px 0px;
background: url(images/bgbottom.jpg) no-repeat;
}

div#footer {
	padding: 30px 0px 0px 10px;
	color: #595959;
}
div.leftfoot {
	float: left;
	width: 30%;
	margin-left: 20px
}
div#footer p {
/* sets different font size from default */
	font-size: 0.8em;
/* some air for footer */
	padding: 1.5em;
/* centered text */
	text-align: center;
	margin: 0;
}
div#footer p a {
/* footer link would be same color as default we want it same as footer text */
	color: #595959;
}
/* 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;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}
div#content h2 {
	color: #000;
	font-size: 1.5em;
	text-align: left;
	line-height: 1.5em;
	margin: 0 0 0.5em 0;
        letter-spacing: 2px;
}

div#content h3 {
color: #ee3338;;
	font-size: 19px;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
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 {
/* 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 */


div#maps {
float: right;
width: 320px;
padding-top: 15px;
}

.mapholder {
border: 1px solid #CCC;
width: 300px;
margin-bottom: 30px;
}


div#contact {
width: 300px;
float: left;
}

input {
width: 290px;
margin-bottom: 10px;
float: left;
padding: 5px;
}

label {
float: left;
width: 100px;
margin-bottom: 5px;
}

.formbuilderform textarea {
width: 290px;
height: 355px;
padding: 5px;
}
.fbsubmit {
width: 300px;
margin-left: 0px;
margin-top: 10px;
}





/* End of 'Layout: Top menu + 2 columns' */

