/* Start of CMSMS style sheet '1 Wayo: Colours and look' */
/*
Colours:
Background : fff 
Content background lighter green: dfe4d0 (too minty:DEE2D5)
Header/menu (darker): 96A276
Highlight colour (dark): 3D432D
General hover color: 96A276
*/

/*
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;
                /* a different color can be used for visited links */
}


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

/*****************
basic colours
*****************/
body {
   background-color: #fff;
   color: #333;
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px;
   background-color: #dfe4d0 ;
   color: black;
}

div#main {
   background-color: #dfe4d0 ;
}


div#footer {
   color: #fff;
   background-color: #3D432D; /* same bg color as in header */
}



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






/********************
CONTENT STYLING
*********************/
div#content {
line-height:1.4em;
}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #3D432D; 
   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 #3D432D; 
   border-left: 1.1em solid #3D432D; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #3D432D; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #3D432D; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   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 {
	margin: 1em 5px;
        //height:50px;
	padding-left: 36px;
        padding-top: 10px;
	font-size:150%;
        line-height:120%;
        color:#555;
        background: url(uploads/images/base/quote1.gif) no-repeat; 
}

pre {
   font-family: monospace;
   font-size: 1.0em;
}
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%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */




div#rightsidebar {
   float: right;
   margin-left: 2px;
   margin-right: 3px;
   margin-bottom: 3px;
   width: 210px;
   padding: 2px;
 }


/** fix stupid ie bug with display:block; **/
* html #rightsidebar  li a { height: 1%; } 
* html #rightsidebar  li hr { height: 1%; }
/** end fix **/

/*stuff for right hand slot on home page */
div#yoursafari {
/* top right bottom left */
   padding: 2px;
   text-align:left;
   font-size:90%;
  margin: 3px 20px 2px 20px;  /* margin for the entire div surrounding the sidebar */
  border: 1px solid #000; 
  background: #DEE2D5; 
}

#yoursafari div#compass{
   padding:2px;
   margin:2px;
   width:100%;
   background-image: url(/uploads/images/base/compass.jpg);
   background-repeat:no-repeat;
   background-position:top; 
   padding-top: 70px;
}

/* menu li block */
#yoursafari  li {
   list-style: none;
   margin: 2px;
   padding: 2px;
   border-bottom: 1px solid #c0c0c0;
   display: block;
   text-indent: 0.7em;
   list-style-position: outside;
}

div#yoursafari h1.find-your-way {
   padding:3px;
   font-size:150%;
   line-height: 1.5em;
}

div#yoursafari a {
text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 0.1em -3em 0.1em 0.1em; /* some air for it */
   color: #18507C; /* this will be link color for all levels */
   background: url(images/cms/arrow-right.gif) no-repeat left; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
width: 100%;
}

div#yoursafari h2 {
   line-height: 2em;
   background: #fff;
}

/* departures list */
/*stuff for right hand slot on home page */
div#groupdepartures {
/* top right bottom left */
   padding: 2px;
   text-align:left;
   font-size:90%;
  margin: 15px 20px 10px 20px;  /* margin for the entire div surrounding the sidebar */
  border: 1px solid #000; 
  background: #DEE2D5; 
}

div#groupdepartures dl {
   padding: 4px;
}

div#groupdepartures dl h2.departure {
   padding:3px;
   font-size:130%;
   line-height: 1.5em;
   border-style:none;
   border:0px;
}

div#footer {
text-align:center;
}


div#footer h2 a {
align:center;
font-size:115%;
line-height:1.5em;
color:white;
}



/* End of '1 Wayo: Colours and look' */

