/* Start of CMSMS style sheet 'CCYFC STD Rules' */
@charset "utf-8";
/* CSS Document */
/* 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 {
        height:100%;
	text-align: left;
	font-family: lucida grande,helvetica,arial,sans-serif;
	font-size: 12px;
	line-height: 1em;
        colour:#333;
}
/*set font size for all divs, this overrides some body rules*/
div {
	font-size: 12px;
}
/*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: #333333;
}
a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #18507C;
/* 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: #ff6600;
}
/********************CONTENT STYLING*********************/
/* CCYFC */

#container {
   height:100%;
   position:relative;
}

#container {
   height:100%;
}

#wrapup{
 	width:981px;
	margin:auto;
	padding-bottom:10px;
	height:100%;
}

#topbar{
	width:100%;
	height:32px;
	background-color:#333333;
   	border-bottom: 2px solid #ccc;
}

#menu_roll{
    width:981px;
    height:50px;
	background-image:url(uploads/general/page_bg.jpg); 
}

#main{
        height:100%;
	width:981px;
	background-image:url(uploads/general/page_bg.jpg);       
}

#sub{
	height:100%;
        margin:auto;
        padding:10px 30px;
        width:887px;
}

#footertop {
	width:100%;
	height:58px;
	background-image:url(uploads/general/foot_extend.jpg);
}

#footerInside {
	width:981px;
	height:58px;
	margin:auto;
}		

#footerbottom {
   bottom:0;
   width:100%;
   height:60px;   /* Height of the footer */
   background:#333333;
}

#footerinternals { 
	width:936px;
	margin:auto;
	font-size:9px;
	color:#999999;
	text-decoration:none;
}

#footleft{
	float:left;
	margin-top:26px;
	font-size:10px;
}
	
#footright{
	float:right;
	margin-top:10px;
	vertical-align: middle;
}

#footright a{
	color:#999999;
	border:0px;
	text-decoration:none;
	vertical-align: middle;
}

.CCYFCHeader{
        color:#333;
        font-size:18px;       
}

.CCYFCTitle{
        color:#ff6600;
        font-size:30px; 
       font-weight:bold; 
       line-height:36px;     
}

div#search input.search-input {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
-x-system-font:none;
background:transparent url(uploads/general/search.png) no-repeat scroll left top;
border-style:none;
color:#999999;
float:left;
font-family:Arial,Helvetica,sans-serif;
font-size:0.9em;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:bold;
height:17px;
line-height:normal;
padding:7px 0 4px 10px;
width:143px;
}

div#search input.search-button {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent url(uploads/general/search.png) no-repeat scroll right top;
border-style:none;
cursor:pointer;
float:left;
font-size:0;
height:28px;
line-height:0;
margin:0;
text-indent:-9999em;
width:37px;
}
/********************CONTENT STYLING*********************/
/* pre */
body {
        height:100%;
	margin: 0;
	padding: 0;
/* default text color for entire site*/
	color: #333;
/* you can set your own image and background color here */
	background: #fff;
}

/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
/* font size for h1 */
	font-size: 18px !important;
        color:#ff6600 !important;
	margin: 0;
        line-height:auto !important;
}
div#content h2 {
	color: #294B5F;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.5em;
	text-align: left;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #899092;
	border-left: 1.1em solid #899092;
/* 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: #294B5F;
	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;
	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 */

/* End of 'CCYFC STD Rules' */

