/* Start of CMSMS style sheet 'TestLayout: Left sidebar + 1 column' */
/*****************
TestLayout: Left sidebar + 1 column

test stylesheet, based on:
Layout: Left sidebar + 1 column

this revision (090112):
- revised positioning for reverted logo height
- revised for IE6 within the template itself

earlier (081218):
- made top corner and singlepixel gif for background in same program to get a colour match
earlier (081119):
- reduced width of content block
- changed dotted rule to solid
- rounded corners (->needs to go in a template)
- added photo (->needs to go in a template)
- add logos for every page (->needs to go in a template)
earlier:
- banner graphic/logo (and header height)
- header footer and page background colours
- text and link colour in footer

use /Documents/current work/RachelEllison/0805 CMSMS stylesheets/080517revised_test.css

in conjunction with the separate Simple Navigation stylesheet based on: 0805NavSimpVertical.css

******************/
/*****************
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: #18507C; 
}

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: #C3D4DF;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   background-color: #005B82;
background-image: url('/uploads/images/005B82_bgcolor.gif');
background-repeat: repeat;
 /*was: ccc, then #385C72 (to fit default theme colours), then #005B82, and now with a single pixel image (005B82bgcolor.gif) to try and get the bgcolor to match the rounded corner graphic's colour */

   color: #333;
   margin:2em;    /* gives some air for the pagewrapper was:1em */
}

/* center wrapper, min max width */
div#pagewrapper {
   /*border: 1px solid black;*/
   margin: 0 auto;       /* this centers wrapper */
   max-width: 80em;   /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
   background-color: #fff;
   color: #385C72; /*was: black*/
}


/*** header ***
we will hide text and replace it with an image
we need to assign a height for it so that the image won't be cut off

STRAPLINE GETS SET HERE
*/
div#header {
   height: 180px;    /* adjust according your image size, was: 80 */
   background: #fff url(/uploads/images/RE_logo_strapline.gif) 248px 90px no-repeat ;/* was:248px 120px */
  /*border-bottom: 1px solid #385C72  this is new - no border previously */
}

/*******************************

LOGO/BANNER IMAGE GETS SET HERE

********************************/


div#header h1 a {
/* you can set your own image here */
   /*background: #385C72 url(images/cms/RE_CMS_logo_01.gif) no-repeat 0 12px; */
  background: url(uploads/images/RE_logo_transparent.leg.gif) no-repeat 0px 0px;
   /*was: background: #385C72  */
   display: block;
   height: 180px;             /* adjust according your image size was: 80 */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   margin-top: -70px;
}

p.headshot {margin-top:1em;margin-bottom:1em;}

/* new */
div#header {margin-left: -8%; padding-left: 0;}


/* ADJUST TOP RIGHT BLOCK HERE */
div#topcontact  {float: right; text-align: right; margin-top: -28%; margin-right: -5%;}
/* end new */

/* position for the search box */
div#search {
   float: right;
   width: 23em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

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; 
}
/*CHECK TAKING AWAY THE n in ndiv !!! */
div#content {
   margin: 1.5em auto 0 0;   /* some air above and under menu and content */
}


div#main {clear:right;
   margin-left: 27%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width, was: 29%, ie 3% greater */
   margin-right: 0%; /* and some air on the right */ /* 081122 CHANGE was 2%, then -10% */
   margin-top: -2%;/* 081122 CHANGE was  -15%, then 5% */
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 35%;     /* sidebar width, if you change this please also change #main margins 
   was: 26% with main @ margin-left 29%, ie 3% greater*/
   display: inline;  /* FIX IE double margin bug */
   margin:0% 0  0 -15%; /* was: 0, then -7 */
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #666; /* was: #fff, then 666 */
   background-color: #fff; /* was: #385C72, then fff */
    /*border-top: 1px solid #385C72 this is new - no border previously */
}
div#footer p.continfo {
   font-size: 1.4em;/*was:0.8em */
   padding: 0;       /* some air for footer was: 1.5em */
   text-align: left; /*center;  WAS centered text */
   padding-top: 40px;
   margin-left: 10%; /*was: 0, then 31%*/
}
div#footer p.continfo a {margin-left:40px;}
div#footer p {
   font-size: 0.8em;/*was:0.8em */
   padding: 0;       /* some air for footer was: 1.5em */
   text-align: left; /*center;  WAS centered text */
   padding-top: 20px;
   margin-left: 20%; /*was: 0*/
}

div#footer p a {
   color: #966D5B; /* needed because footer link would be same color as background otherwise WHEN BG was white, link text was: #385C72; */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 0.5em;/* 080929 CHANGE was 1em */
   border-bottom: 1px solid gray;/* 080929 CHANGE was dotted, was black */
   margin: 1em 0em;/* 080929 CHANGE was 1em */
}

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

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




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

}

/* 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 heading */
	border-bottom: 1px solid #966D5B; /*080517 CHANGED :was: border-bottom: 1px solid #e7ab0b;*/
	border-left: 0.1em solid #966D5B; /*080517 CHANGED :was: 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: 1em;
   line-height: 1.3em;
   margin: 1.5em 0 0 0;
margin-bottom: -2%;
}
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: 1.5em 0 0 0; /* some air around p elements */
   line-height: 1.6em;
   padding: 0;
}

blockquote {
   margin:2em 0 0 0;font-size: 1em;line-height:1.6em;
   color:#966d5b;font-weight:bold;
}

.client {color: #000;font-size: 0.8em;text-transform:uppercase;margin:0 0 1em 0;}

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 {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
 border: 1px solid #000;     /*black border for pre blocks */
   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, 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;
}


/* END LISTS */

/* CW's ADDITIONS and TWEAKS (other than banner graphic) */

.cnote {color: red; font-style:italic; font-weight:bold;}

.breadcrumbs {visibility:hidden;}

#search {visibility:hidden;}

div#pagewrapper {border: none; background: #fff url(/uploads/images/RE_bottom_left_curve.leg.gif) no-repeat bottom left;}

/* Rounded corner(s) bit
derived from:

http://www.roundedcornr.com/rc1.php
*/

.roundedcornr_box_114420 {
   background: #ffffff;
}
.roundedcornr_top_114420 div {
   background: url(roundedcornr_114420_tl.png) no-repeat top left;
}
.roundedcornr_top_114420 {
background: url(/uploads/images/081218roundedtr120x120.gif) no-repeat top right;
/* was   background: url(/uploads/images/roundedcornr_114420_tr.png) no-repeat top right;*/
}
.roundedcornr_bottom_114420 div {
   background: url(roundedcornr_114420_bl.png) no-repeat bottom left;
}
.roundedcornr_bottom_114420 {
   background: url(roundedcornr_114420_br.png) no-repeat bottom right;
}

.roundedcornr_top_114420 div, .roundedcornr_top_114420, 
.roundedcornr_bottom_114420 div, .roundedcornr_bottom_114420 {
   width: 100%;
   height: 120px;
   font-size: 1px;
}
.roundedcornr_content_114420 { margin: 0 120px; }

.printicon {float: right; margin-top:0;}/*was: -35px, but makes no difference?? */

#palogos {margin-top:3em;} /* adjust spacing above constant logos */
.homelist li{font-size:1.1em;padding-top:1.2em;}
p.first {margin-top:1.5em;}

/* END CW's ADDITIONS and TWEAKS */
/* End of 'TestLayout: Left sidebar + 1 column' */

