/* Start of CMSMS style sheet 'SH green css' */
/***************************************
Shirley Hicks
Main style sheet
(c) 2009
***************************************/


/*****************
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: Arial, Helvetica, "Century Gothic", "Trebuchet MS", sans-serif;
   font-size: 75.01%; /* set it ok for ie and ff */
   font-size: 0.9em;
   line-height: 1em;
   color:#F1F9BE;
}

/*
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: #FAF8BC; 
	font-weight: bold;
}

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


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

/*****************
basic layout 
*****************/
body {
   background: #006F45 url(uploads/images/template/green-waterfall-l.jpg) no-repeat top left;
   margin:0; 
   padding:0;
}

div#bgright {
   background: transparent url(uploads/images/template/green-waterfall-r.jpg) no-repeat top right;
   margin: 0;
   padding-top:10px;

}



/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;
   max-width: 950px; /* IE wont understand these, so we will use javascript magick */
   min-width: 800px;

}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 100px;  
   clear: both;
   margin: 0;


}

div#header h1 {
  vertical-align: middle; 
   height: 100px;
   margin: 0;

}



div#header h1 a {
   display: block; 
   height: 100px;             /* adjust according your image size */

  /* text-indent: -999em; */ /*  this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   line-height: 100px;
   outline: none;
   font-size: 0.6em;

}

#header a, #header a:active, #header a:visited, #header a:hover {
  color: #A79CFC;
   background: transparent url(uploads/images/template/SHHeaderBanner.gif) no-repeat top left;
  outline: none;
  display:block;
  text-align:right;
}



div#search {
   text-align: center;
   padding: 0.2em 1em  0 0.2em;
   margin: 1em 1em 2em 1em;
}

div#search * {
	display: inline;
}

div.breadcrumbs {
   background-color: #375447;
   font-size: 90%;             
   margin: 0;             
   padding: 1em 0 0.5em 1em;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold;
  color: #E8EFEC;

 } 

 div#content {
  
 }

div#content img {
 
}


div#main {
   margin-left: 18%; 
  /* margin-right: 5%;*/
   padding-top: 1em; 

}


div#footer {
   clear:both;
   overflow:visible;
   color: #f2f2f2;
   background-color: #375447;
   font-size: 0.8em;
   padding: 1em;
}

div#footer p {
   text-align: left;  
   margin: 0;
   padding:0 0 0.3em 0;
}

div#footer p a {
   color: #F2F2F2; /* needed becouse footer link would be same color as background otherwise */
}
#footerkeys {
  font-weight:bold;
  padding: 1.5em 0;
}

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

/* relational links under content */

div.left49 {
  float: left;
  width: 46%;  /* 50% for both left and right might lead to rounding error on some browser */
  padding: 0 2%;
}

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

.left30 {
  width: 29%;
  float: left;
  padding: 0 1.5%;
  overflow: hidden;
  margin-right: 0.5em;
}

.left30 p, .left30 li {
  margin: 0;
  padding: 0.5em;
}

.left25 {
  width: 22.5%;
  float: left;
  padding: 0 1%;
  text-align: left;
}
.left25 p, .left25 li {
 margin: 0;
 padding: 0.3em;
  text-align: left;
}

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 160px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   background-color: #375447;
   margin:0;
   padding:0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 2%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

span#rotator {
   display:block;
    float:right;
   width: 300px;
   height: 100px;
   background-color: transparent;
   margin: 0 0 0 0;
   overflow:hidden;
}

div#homeRight {
 width: 18%;
 float: right;
 background-color: #375447;
 padding: 1em;
 margin: 0 0 1em 1em;
 font-size: 0.8em;
}



/********************
CONTENT STYLING
*********************/
div#content {
  color: #F1F9BE;
  font-family: Arial, Helvetica, "Century Gothic", "Trebuchet MS", sans-serif;
}

/* HEADINGS */
div#content h1 {
  color: #F1F9BE;
  font-family: Arial, Helvetica, "Century Gothic", "Trebuchet MS", sans-serif;
   font-size: 25px;
   line-height: 40px;  
   margin: 0;
   height: 40px;
}

div#main #pageTitle {
   background: transparent url(uploads/images/template/main-h1-bg.jpg) repeat top left;
  padding: 1em 0 0 1em;
   margin: -0.5em 0 0 -0.5em;
}

div#content h2 {
   color: #FAF8BC;
  font-family: Arial, Helvetica, "Century Gothic", "Trebuchet MS", sans-serif;
   font-size: 20px; 
   text-align: left; 
   padding-bottom: 1px;
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #FAF8BC; 
  font-family: Arial, Helvetica, "Century Gothic", "Trebuchet MS", sans-serif;
   font-size: 18px;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #FAF8BC; 
  font-family: Arial, Helvetica, "Century Gothic", "Trebuchet MS", sans-serif;
   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;
}

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 */
}

.TestamonialSummaryTitle {
  font-style: bold;
}

blockquote {
   margin-left:2em;
   line-height: 1.2em;
   letter-spacing: 1px;
  font-family: "Times New Roman", Times, serif;
}


cite {
  display:block;
  margin: 0 ;
}

.TestamonialSummaryTitle cite {
  font-style:normal;
}


div.metadescription {
  background-color: transparent;
  color: #F1F9BE;
  padding: 1em 22% 0.1em 2em;
  margin: -2em 0 1em -1em;
  text-align: center;
  font-family: 'Times Roman',Times, Serif;
  font-style: italic;
  letter-spacing: 1px;
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 1em 0 1.5em 2em;
}

div#main ul li {
  list-style-type: square;
  padding-left: 1em;
  padding-bottom: 0.5em;
}


div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

/* UPLOADS TEMPLATE CSS */

table.uploadsSummaryTable {
  width: 80%;
}
table.uploadsSummaryTable td, table.uploadsSummaryTable th {
 vertical-align: middle;
 padding: 0.3em;
}

table.uploadsSummaryTable th, table.uploadsSummaryTable td {
   padding: 0.3em;
}

table.uploadsSummaryTable td.itemName, table.uploadsSummaryTable th.itemName {
 width: 50%;
}

table.uploadsSummaryTable form input {
  display: inline;
}

table#postage {
  margin-bottom: 1.5em;
}
table#postage td {
 padding: 0.2em;
}

/* COMPANY DIRECTORY */
.CompanyDirectoryItem, CompanyDirectoryCategory {
  margin: 0.5em 0 1em; 0;
}

/* PRODUCTS */


/* FORMS */

form {

}

#log, #reg {
 width: 80%;
 margin: 1em 0;
 text-align: left;
}


fieldset {
  padding: 1em;
  border: 1px solid #375447;
 line-height: 1.5em; 
}
legend {
  font-weight: bold;
  color: #FFFFFF;
  background-color: #375447;
  padding: 0.3em;
}

legend a, legend a:active, legend a:visited {
  color: #FFFFFF;
}

label {
  display: block; 
  width: 10em;
} 
.contactform div {
  width: 100%; 
  padding: 0.25em 0 0.25em 0;
}
.contactform div label {
  display: block; 
  width: 10em;
} 
.contactform div.required,div#reg div.required, div#log div.required {
  color: #E8EFEC;
  font-weight: bold;
}

.contactform div.chbx input, .contactform div.chbx label {
  display:inline;
}


textarea {
display:block;
}

.prodLabel {
  display: block;
   float: left;
   width: 10em;
  font-weight: bold;
}

div.captcha img {
  display:block;
  margin-bottom: 1em;

}

div#side-bar-form {
   background: transparent url(uploads/images/template/main-h1-bg.jpg) repeat top left;
   margin: 0 20px 2em 20px;
   padding:1em 0.2em;
   text-align:left;
font-size: 0.8em;
text-align:center;
}

div#side-bar-form a {
  text-decoration: none;
  outline: none;

}


div#printBtn {
 text-align:center;
 padding: 1em;
 margin:0;
}


/* CGGOOGELMAPS */
#CGGoogleMaps0, #CGGoogleMaps1  {
 color: #000;
}

#CGGoogleMaps0 a, #CGGoogleMaps0 a:active, #CGGoogleMaps0 a:visited, #CGGoogleMaps1 a, #CGGoogleMaps1 a:active, #CGGoogleMaps1 a:visited {
 color: blue;
}


/*******CALENDAR*************/

/* highlight "today" for the small calendar */
.calendar-today
{
  font-weight: bold;
}

/* display the "upcominglist" as one line per entry (assuming default class and id names) */
#cal-upcominglist .calendar-date-title
,#cal-upcominglist .calendar-summary-title
{
  display: none;
}

#cal-upcominglist h2
,#cal-upcominglist .calendar-date
,#cal-upcominglist .calendar-summary
{
  display: inline;
  margin-right: 5px;
}

/* tidy up text sizes for lists */
#cal-list h1, #cal-upcominglist h1
{
  
}
#cal-list h2, cal-upcominglist h2
{
  
}

/** large calendar rules (assuming default class and id names) **/
/* border on for #cal-calendar */
#cal-calendar{
  margin: 0px;
  border-collapse:    collapse;
  border: 1px solid #FAF8BC;
}

/* nice squares for the #cal-calendar table */
#cal-calendar th
{
  border: 1px solid #FAF8BC;
  padding: 3px;
  width: 75px;
}

#cal-calendar td {
  border: 1px solid #FAF8BC;
  vertical-align: top;
  padding: 3px;
  height: 75px;
  width: 75px;
}

/* format summaries nicely in #cal-calendar */
#cal-calendar ul
{
  margin: 0px;
  padding: 0px;
  padding-left: 5px;
}

#cal-calendar li
{
  list-style-type: none;
  list-image: none;
  padding: 0px;
  margin: 0px;
}

/* background colours for #cal-calendar */

#cal-calendar .calendar-day
{
  background-color: transparent;
}

#cal-calendar .calendar-today, #cal-calendar .calendar-today a
{
  font-weight: normal;
  background-color: #E8EFEC;
  color: #375447;
}

.calendar-event .calendar-date-title,
.calendar-event .calendar-summary-title,
.calendar-event .calendar-details-title
{
  display: none;
}

.calendar-event div {
  margin-bottom: 1em;
  padding-bottom: 1em;
}

.calendar-event {
  border-bottom: 1px dotted #FAF8BC;
  margin-bottom: 1.2em;
}

.calendar-event .calendar-date-from {
  font-weight: bold;
}

/* NEWSFLASH */
#newsflash {
   font-family: Arial, Helvetica, "Century Gothic", "Trebuchet MS", sans-serif;
   font-style: normal;
   padding-bottom: 1.2em;
}

#newsflash * {
  display: inline;
}

.newsflashsummary {

}




/**** END CALENDAR ****/

/* ACCESSIBILITY */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {

/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {

/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/

.clearfix {zoom: 1;}

	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;

	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;

	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */

/* End of 'SH green css' */

