/*****************
TestLayout: Left sidebar + 1 column
This does get used, and seems to be the default for RE's site, believe it or not.
test stylesheet, based on:
Layout: Left sidebar + 1 column

this revision (1405):
- Unicef tweaks
earlier (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-Coaching-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

********************************/
/* 130318 - this is the one in place */


/*try again - use absolute URLs for bg images */

div#header h1 a {
/* background: #385C72 url("http://www.rachelellison.com/images/cms/RE_CMS_logo_01.gif") no-repeat 0 12px; */
/* was: background: #385C72; */
background: url("../../uploads/images/RE_logo_446x85.png") no-repeat 0px 0px;
display: block;
height: 180px;
text-indent: -999em;
text-decoration: none;
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; 
}

/* make breadcrumbs area and accessibility links invisible */

.accessibility, hr {
position: absolute;
top: -999em;
left: -999em;
}

.breadcrumbs {
visibility: hidden;
}

/* MAIN CONTENT AREA */
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("https://www.rachelellison.com/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("https://www.rachelellison.com/tmp/cache/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("https://www.rachelellison.com/tmp/cache/roundedcornr_114420_bl.png") no-repeat bottom left;
}
.roundedcornr_bottom_114420 {
   background: url("https://www.rachelellison.com/tmp/cache/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;}

div.re_ab_wrap h2 {margin:2rem 0 0 0;clear:both;}

/* .unicef for thought piece, 1405
#005f7e  -  blue for titles, and for TOC links (and numbers?)
#a0705e -   brown for initial paragraphs, and 
         for Questions for Leaders titles and bullet points


Hmm, to match Viv's pdf, the Contents title should also be an h1

h1          blue text, brown left and bottom borders (as CMS default) 

and all the rest different:

h2       blue bold, no borders
h3       brown bold, brown left and bottom borders
h4 (qs for leaders)  brown, bold, no borders

ul in qs    brown, with brown bullets

quotes      brown, bold, with source not bold and aligned left

*/

div#unicef2014 {}// end of #unicef2014

   p.reb {color:#a0705e;}
/*   p.first        {font-weight:bold;color:#a0705e;} // change class so it doesn't interfere with other pages, maybe p.utpfirst or similar */
/* p.authorline   {font-size: 2em;} //perhaps not needed on webpage */
  
/*  // h3 stuff interfering globally, so commented out for now, till we work on Unicef piece again
  h3 {color:#a0705e;    // needs brown and borders for 'Afghanistan' etc.
      font-size: 1.5em; 
      text-align: left; 
      padding-left: 0.5em;
      padding-bottom: 1px;
      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;
        margin: 0 0 0.5em 0;
    }

// commented out for now, till we work on Unicef piece again
*/

/* font-size:1.25em;line-height:2em; font-weight:bold;margin:2em 0 2em -1em;

*/

ol.unicef {font-size:2em;line-height:4em; font-weight:bold;margin:2em 0 2em -3em;}
ol.unicef li:before {
    content: ".";
    color: #fff;        // color it in white (or whatever background you have)
    float: left;
    font-size: 20px;    // make it bigger.
    font-weight: bold;  // and bolder
    position: absolute; 
    left: 2em;         // horizontal offset - was 18px
    line-height: 13px;  // vertical offset
}




/* END CW's ADDITIONS and TWEAKS */
/* Stylesheet: RE_custom Modified On 2014-06-25 01:12:49 */
/********************
MENU: Navigation: Simple - Vertical
*********************/
#menu_vert {
   padding-left: 0;
   margin-left: 4em;/*CHANGED 080518 :was: 1em*/
   line-height: 1.5em;/*ADDED 160405*/
}


/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
   padding-bottom: 0.5em;
}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
   /*CHANGED 080518 :INEFFECTIVE?: 
   border-bottom: 1px solid #c0c0c0;*/
   display: block;
}

#menu_vert ul ul li {
   border: none;
}

/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 0.8em 0.5em 0.8em 1.5em; /* some air for it */
   color: #966D5B; /* CHANGED 080518 :WORKS!: this will be link color for all levels :: was: #18507C */
    /* CHANGED 080518 :INEFFECTIVE?:
   background: url("https://www.rachelellison.com/tmp/cache/images/cms/arrow-right.gif") no-repeat 0.5em center; */
   background: transparent; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
}

/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   font-size: 90%;
   padding: 0.5em 0.5em 0.5em 2.8em;
   background-position: 1.5em center;
}

/* third level links, more padding */
div#menu_vert ul ul ul a {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url("https://www.rachelellison.com/tmp/cache/images/cms/dash.gif") no-repeat 2.8em center; 
}

/* hover state for all links */
div#menu_vert a:hover {
   background-color: #C3D4DF;
}
div#menu_vert a.activeparent:hover {
   background-color: #C3D4DF;
   color: #18507C;
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
   /*CHANGED 080518 was:
   background: url("https://www.rachelellison.com/tmp/cache/images/cms/arrow-down.gif") no-repeat 0.4em center; 
   background-color: #385C72;
   color: #fff;*/
   color: #005B82;
}

div#menu_vert ul ul li a.activeparent {
   background-position: 1.5em center; 
   background-color: transparent;
   color: #18507C;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level
LOOKS LIKELY!
*/
div#menu_vert ul h3 {
   /*CHANGED 080518 :INEFFECTIVE: was:
   background: url("https://www.rachelellison.com/tmp/cache/images/cms/arrow-right-active.gif") no-repeat 0.4em center;
   background-color: #385C72;*/
   display: block; 
   padding: 0.8em 0.5em 0.8em 1.5em;  /* some air for it */
   color: #005B82;  /*was: color: #fff;  */   /* this will be link color for all levels */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#menu_vert ul ul h3 {
   font-size: 90%;
   padding: 0.3em 0.5em 0.3em 2.8em;
   background-position: 1.4em center;
   background-color: transparent;
   border-bottom: none;
   color: #000;     
}

/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
   padding: 0.3em 0.5em 0.3em 4.3em;
      /*CHANGED 080518 :WORKS!!: was:
   background: url("https://www.rachelellison.com/tmp/cache/images/cms/arrow-right-active.gif") no-repeat 2.7em center; */
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}



/* separator */
div#menu_vert li.separator {
   height: 1px !important;
   margin-top: -1px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
   display: none; /* this is for accessibility */
}

/* added 1406: sidebar in more up to date CMSMS uses .menuactive rather than .currentpage */

div#menu_vert li.menuactive>a {font-weight:bold;color:#005B82;}
/* Stylesheet: RE_nav_simple_vertical Modified On 2016-04-06 13:27:18 */
