/* Start of CMSMS style sheet 'WHC Layout' */
/*****************
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: none;
/* 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: #0068eb; 
border-bottom: 1px dotted #0068eb;
}

a:visited {
   text-decoration: none;
   background-color: inherit;
   color: #0068eb;               /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #d1ecff;
   color: #0068eb;
border-bottom: 1px solid #0068eb;
}

/*****************
basic layout 
*****************/
body {
   background: #fff url(images/blue-fade.png) repeat-x 0 0; 
   color: #555;
   margin:0;    /* remove air for the pagewrapper */
}

#backgroundshadow {
background: transparent url(images/whc-shadowtrans.png) repeat-y 0 0; 
}

/* center wrapper, min max width */
div#pagewrapper {
   background: transparent url(images/whc-header.png) no-repeat 0 0; 
   border: 0px solid black;
   margin: 0 0;       /* this left aligns wrapper */
   max-width: 958px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 958px;
   color: #555;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 105px;    /* adjust according your image size */
   background: transparent;           
}

div#header h1 a {
/* you can set your own image here */
   background-color: transparent; 
   display: block;
   height: 90px;             /* adjust according your image size */
   width: 450px;
margin-left: 30px;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
border: 0px;
}

/* position for the search box */
div#search {
   float: right;
   width: 23em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.4em 0 0.2em 0;
   margin: 0 32px;
   color: #fff;
   background-color: transparent;
}

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: 0em 32px;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 0px dotted #000;
   color: #fff;
   background-color: transparent;

}

div.breadcrumbs a {
color: #fff;
background-color: transparent;

}

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

 div#content {
   margin:  20px 0 0 0;   /* some air above and under menu and content */
}

div#main {
   margin-left: 220px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 34px; /* and some air on the right */

}

div#contentrightcol {
border-left: 1px solid #ccc; 
width: 215px; 
float: right; 
margin: 0;
padding: 0 0 0 12px;
}

div#contentrightcol img { padding: 3px 3px 3px 0px; border: 0px solid yellow;}
div#contentrightcol ul li {line-height: 140%;}

div#contentmaincol {border: 0px solid #ccc; width: 465px; padding-right: 0px; }
div#contentmaincol img {margin: 5px 10px 15px 0; }
div#contentmaincol ul li {line-height: 130%;}

div.printbutton {margin-top: 15px; margin-left: 40px; float: right;}

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

}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #333;
   background: #fff url(images/whc-footer.png) no-repeat 0 0;
display: block;
height: 60px;
width: 958px;
}

div#footer p {
   font-size: 0.8em;
   padding: 2em;       /* some air for footer */
   text-align: left;  /* centered text */
   margin: 0 0 0 20px;


}

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

.sitedesign {margin-left: 120px; text-align: right;}
.copyright {  }

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 0px 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 */
display: none;
}

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




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #0068eb; 
	font-size: 28px; 
	text-align: left; 
/* some air around the text */
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #0068eb; 
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
font-family: Georgia, serif;
}


div#content h3 {
   color: #0068eb; 
   font-size: 20px;
   line-height: 1.3em;
padding: 0 0 3px 0;
   margin: 0 0 10px 0;
font-family: Georgia, serif;
}

div#contentmaincol h3 {
   color: #0068eb; 
   font-size: 20px;
   line-height: 24px;
padding: 0 0 3px 0;
   margin: 0px 0 10px 0;
font-family: Georgia, serif;

width: 450px;


}

div#content h4 {
   color: #0068eb; 
   font-size: 18px;
   line-height: 22px;
   margin: 0 0 0.25em 0;
font-family: Georgia, serif;
font-weight: normal;
}

div#content h5 {
   color: #0068eb; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
font-family: Georgia, serif;
}

h6 {
   color: #0068eb; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   font-family: Georgia, serif;
}

/* END HEADINGS */

/* TEXT */
p {
   font-size: 100%;
   margin-bottom: 10px; /* some air around p elements */
   line-height: 170%;

}

blockquote {

   margin-left: 20px;
}
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 {
   font-size: 1.0em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 8px 15px;
}



/* END LISTS */

/* START TIMETABLE CONTENT */



.roombookingtable {font-size: 80%; }
.roombookingtable  th {border-bottom: 1px solid #333; }
.roombookingtable  td {border-bottom: 1px solid #333; border-left: 1px dotted #999;}


table {margin-bottom: 20px;  border-top: 1px solid #bbb; margin-top: 20px;}

th {border-bottom: 1px solid #ccc; padding-top: 7px; padding-bottom:8px; text-indent: 5px;}
td {border-bottom: 1px solid #000; padding-top: 7px; padding-bottom:8px; text-indent: 5px;}

td.arts {background-color: #ffff99;}
td.kids {background-color: #FFCCFF;}
td.languages {background-color: #99FFCC;}
td.music {background-color: #91EEFF;}
td.sports {background-color: #CCFF99;}
td.other {background-color: #D9E4FF;}
td.fifties {background-color: #FFFFCC;}
td.available {background-color: #FFF;}

td.members {background-color: #ccff99;}
td.edu {background-color: #ccff99;}
td.leftalign {text-align: left;}
td.rightalign {text-align: right;}

/* END TIMETABLE */


/* CONTACT FORM */

/* CONTACT FORM */

div#whccontactform {margin: 10px 0px 10px 15px; width: 440px;}

.contactform fieldset {padding: 10px 0 10px 0; background-color: transparent; border: 0; width: 438px;} 
.contactform fieldset legend {font-weight: bold; display: none;} 
.contactform div {width: 100%; padding: 0.25em 0 0.25em 0;} 
.contactform div label {display: block; width: 135px; text-align: right; float: left; margin-right: 5px;} 
.contactform div.required {color: #777;} 
.contactform div.required input, textarea {width: 280px;} 
.contactform div.submit {margin: 0 100px 40px 65px;  display: block; border: 0px solid red; text-align: center;} 

/* End of 'monojo layout css' */

/* End of 'WHC Layout' */

