/* Start of CMSMS style sheet 'CLVmainCSS' */
/* 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: Arial, Helvetica, Verdana, Geneva, sans-serif;
	font-size: 85.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: none;
        font-weight: bold;
/* 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: #cda1af;
}
a:visited {
	background-color: inherit;
	color: #cda1af;
/* a different color can be used for visited links */
}
/* remove underline on hover and change color */
a:hover {
	text-decoration: underline;
	background-color: inherit;
	color: #660033;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0 5%;
/* default text color for entire site*/
	color: #330000;
/* you can set your own image and background color here */
	background: #f1e5c8 url(images/mainBG.gif) repeat-x left top;
}
div#pagewrapper {
/* now that width is set this centers wrapper */
	max-width: 1280px;
	min-width: 720px;
	margin: 0 auto;
	background-color: #f9f5e9;
	line-height: 1.3em;
}

div#topmenu {
        background: #ddeedd;
}

div#topmenu div#sizer {
        float: right;
        width: 200px;
        padding-top: 8px;
        text-align: right;
}

div#outer {
        border: 4px solid white;
}

/* 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: 175px;
	margin: 0;
	padding: 0;
        border-top: 4px solid white;
	background: #f4f4f4;
}
div#header h1 a img {
        margin-top: 7px;
        margin-left: 1%;
}

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;
}

div#content {
/* some air above and under menu and content */
	margin: 0;
	padding: 0;
        border-top: 4px solid white;
}

div#main {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
	margin-left: 29%;
	padding: 10px 15px;
        border-left: 4px solid white;
        min-height: 330px;
}

/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
	float: right;
	width: 69%;
/* and we take this out or it will stop at the bottom  */
	margin-left: 0%;
}

div#main img {
        border: 2px solid white;
}

div#main a:hover img {
        border: 2px solid #660033;
}

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: 26%;
/* FIX IE double margin bug */
	display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
	margin: 0;
	padding: 30px 12px;
        text-align: center;
}

div#sidebar div#lefttxt {
        text-align: left;
}

div#sidebar div#leftimg {
        margin: 30px auto;
}

div#sidebar div#leftimg a img {
        border: 2px solid #cda1af;
}

div#sidebar div#leftimg a:hover img {
        border: 2px solid #660033;
}

div.footback {
/* keep footer below content and menu */
	clear: both;
        padding-bottom: 10px;
/* you can set your own image here */
	background-color: #f1e5c8;
}
div#footer {
	padding-top: 8px;
/* color of text, the link color is set below */
        color: #660033;  /* original:  #AB727D;  */
	font-size: 0.9em;
}

div#footer p {
/* centered text */
	text-align: center;
	margin: 0;
}

/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
	height: 1px;
	border-bottom: 1px dotted black;
	margin: 1em 1em 1em 0;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 49%;
}
div.right49 {
	float: right;
	width: 49%;
/* set right to keep text on right */
	text-align: right;
}

div#vtour {
        text-align: center;
}

div#vtour a img {
        border: 2px solid #cda1af;
}

div#vtour a:hover img {
        border: 2px solid #660033;
}

div#view-map {
        float: right;
        width: 200px;
        display: inline;
        margin: 10px 0 10px 10px;
}
#view-map a {color: #660033; font-weight: bold; padding: 5px; text-align: center; border: 2px solid #cda1af; background-color: #FFFFFF;}
#view-map a:hover {text-decoration: underline; border: 2px solid #660033; background-color: #edf5ed;}

div.greenbox {
       border: 2px solid white;
       background-color: #ddeedd;
       padding: 10px;
}

/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}
div#content h2 {
	color: #294B5F;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 2em;
	text-align: left;
        font-family: Times New Roman, serif;
        color: #660033;
        font-style: italic;
/* some air around the text */
	padding-left: 1em;
	padding-bottom: 1px;
/* set background image */
        background: url(uploads/images/leaf.gif) center left no-repeat;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
}
div#content div#sidebar h2 {
	color: #294B5F;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.2em;
	text-align: left;
        font-family: Georgia, Times New Roman, serif;
        color: #660033;
        font-style: italic;
/* some air around the text */
	padding-left: 1.6em;
	padding-bottom: 1px;
/* set background image */
        background: url(uploads/images/leaf.gif) center left no-repeat;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
}
div#content h3 {
	color: #336633;
	font-size: 1.3em;
	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;
	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 */
/* End of 'CLVmainCSS' */

