/* Start of CMSMS style sheet 'TreasureCSS' */
/*****************
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;
}

.clearboth {
display: block;
clear: both;
height: 1px;
line-height: 1px;
}

.mainContainer h3 {
font-weight: normal;
}

/*
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: #6c6eaa; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #6c6eaa;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #385C72;
}

#menu_vert ul li.currentpage {
color: #182979;
text-transform: uppercase;
}

/*****************
basic layout 
*****************/
body {
   background-color: #fff;
   background-image: url('images/background-repeater-blue.gif');
   background-repeat: repeat-y;
   background-position: top left;
   color: #333;
}

#pageContainer {
padding-left: 50px;
}

#rightHolder {
line-height: 20px;
}

#pageSidebar {
   padding: 70px 0px 0 0px;
   background-image: url('images/sidebar-bg-blue.gif');
   width: 157px;
   float: left;
}


body#leeds{
   background-image: url('images/background-repeater-pink.gif');
}
#pageSidebar.leeds{
   background-image: url('images/sidebar-bg-pink.gif');
}

body#kirklees{
   background-image: url('images/background-repeater-green.gif');
}
#pageSidebar.kirklees{
   background-image: url('images/sidebar-bg-green.gif');
}

#pageSidebar #logo {
  margin-left: 35px;
}

#pageSidebar h1 {
   font-size: 1.5em;
   font-weight: normal;
   text-transform: uppercase;
   text-align: center;
   margin-top: 1em;
   line-height: 1.4em;
   color: rgb(19, 61, 141);
}

#pageSidebar h2 {
   font-size: 1.2em;
   text-align: center;
   line-height: 1.4em;
   color: rgb(19, 61, 141);
}

#menu_vert {
   margin: 65px 0.7em 1em;
}

#rightHolder {
   width: 500px;
   float: left;
   margin-top: 30px;
   margin-left: 12px;
}

#homeMainContainer, #eventsMainContainer {
  background-repeat: no-repeat;
  background-position: -107px bottom;
}

#main, #news {
  margin-top: 15px;
  margin-bottom: 15px;
}

#main {
   width: 328px;
   float:left;
}

#news {
   position: relative;
   width: 158px;
   padding-left: 12px;
   float: left;
   border-left: 1px dotted #999;
}

/* position for the search box */
div#search {
margin: 0px 0.5em;
display: block;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 26%;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#footer {
   border-top: 15px solid white;
   border-bottom: 15px solid white;
   clear: both;       /* keep footer below content and menu */
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #294B5F; 
	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 #e7ab0b; 
	border-left: 1.1em solid #e7ab0b; 
        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 {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   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;
}

/* Separating the divs on the template explanation page, with some bottom-border */
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 dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

#search input {
float: left;
width: 102px;
background-image: url('images/search-bg.gif');
background-repeat: no-repeat;
height: 17px;
line-height: 17px;
border: 0px;
padding: 0 2px;
}

#search #submit {
width: 32px;
margin-left: 5px;
background-image: none;
padding: 0;
}

#crc-logo {
margin: 85px auto 0;
display: block;
}

#silhouette {
position: absolute;
right: 0px;
bottom: -15px;
}

#NewsPostDetailSummary {
margin-top: 10px;
}

form .contactform fieldset {
border: 0px;
background-color: #fff;
padding: 0;
}

#m5fbrp__7 {
width: 310px;
height: 200px;
}

.contactform * {
border: 1px solid black;
background-color: #fff;
}

.contactform div, .contactform label, .contactform legend {
border: 0;
}

.contactform textarea {
width: 315px;
height: 150px;
}

/* END LISTS */
/* End of 'TreasureCSS' */

