/* Start of CMSMS style sheet 'NE css' */
/***************************************
Natures Extract
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.8em;
   line-height: 1em;
   color:#000000;
}

/*
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: #336698; 
	font-weight: bold;
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #71C9F1;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #71C9F1;
}

/*****************
basic layout 
*****************/
body {
   background-color: #FFFFFF;
   margin:0; 
   padding:0;
}


/* 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: 700px;

}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 150px;  
   clear: both;
   margin: 0;
   background: transparent url(uploads/images/template/gold-bubbles.gif) no-repeat top left;
}

div#header h1 {
   height: 150px;
   margin: 0 0 0 0;
}



div#header h1 a {
   display: block; 
   height: 150px;             /* adjust according your image size */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   outline: none;
   font-size: 0.6em;
   text-align:left;
   padding: 50px 0 0 300px;
  margin: 0;
 }

#header a, #header a:active, #header a:visited, #header a:hover {
  color: #336698;
  background: transparent;
  outline: none;
}


div#search {
   text-align: center;
   padding: 0.2em 1em  0 0.2em;
   margin: 1em 1em 2em 1em;
}

div#search * {
	display: inline;
}

div.breadcrumbs {
   font-size: 90%;             
   margin: 0;             
   padding: 1em 0 0.5em 1em;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold;
  color: #71C9F1;

 } 

 div#content {
  
 }

div#content img {
 
}


div#main {
   margin-left: 180px; 
   padding-top: 1em; 

}


div#footer {
   clear:both;
   height: 178px;
   margin:0;
   overflow:hidden;
   color: #000;
   background: transparent url(uploads/images/template/blue-bubbles.jpg) repeat-x top left;  
/*   padding: 10px 10px -10px 10px;*/
   padding: 10px 10px 0px 10px;
}

div#footer h2 {
  font-size: 1.1em;
  margin-bottom: 0.6em;
}

div#footer h3 {
  font-size: 1em;
  margin-bottom: 0.5em;
}

div#footer p {
   text-align: left;  
   margin: 0;
   padding:0 0 0.3em 0;
}

div#footer  a {
   color: #336698 !important; 
}


div#footer  a:visited {
  color: #8C8C8C;
}
#footerkeys {
  font-weight:bold;
  padding: 1.5em 0;
}

#footer-extracts {
  float:left; 
  width:360px;
  margin-top:50px;
  padding:10px;
}



/* 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 #DEDFE1;
   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: 2%;
  line-height:1em;
}
div.left49 input {
 width: 80%;
}

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 */
   margin:0 0 0 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 */
}


div#homeRight {
 width: 18%;
 float: right;
 padding: 1em;
 margin: -1em 0 1em 1em;
  text-align: left;
}

div#textlinks {
  text-align:center;
  padding: 1em 0;
  line-height: 1.2em;
}

div#extracts {

}

/********************
CONTENT STYLING
*********************/
div#content {
  color: #000000;
  font-family: Arial, Helvetica, "Century Gothic", "Trebuchet MS", sans-serif;
/*  background: transparent url(uploads/images/template/bubbles-seamless-yellow-pale.jpg) repeat 0px 180px;*/
 
}

div#main {
  text-align: justify;
}

/* HEADINGS */
div#content h1 {
  color: #336698;
  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 0 0 -1em;
}

div#content h2 {
   color: #336698;
  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: #FFCD05; 
  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: #8C8C8C; 
  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;
}


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-weight: bold;
}

blockquote {
   margin-left:1em;
   line-height: 1.2em;
   letter-spacing: 1px;
  font-family: "Times New Roman", Times, serif;
}



cite {
  display:block;
  margin: 0 ;
  font-weight: bold;
}

.TestamonialSummaryTitle cite {
  font-style:normal;
  padding-bottom: 0.3em;
}

/* SPAN CLASS FOR NATURE'S EXTRACT NAME IN CONTENT - TT Text auto replace */
span.ne {
  color: #336698;
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  text-transform: capitalize;
  vertical-align: middle;
}


/* 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: 90%;
}
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 */
/* detail page */
.ProductDirectoryItem img {
  float: left;
  margin-right: 1em;

}
.ProductDirectoryItem input {
  display:inline !important;
}

/* CART */

#sidebar .mycart, #homeRight .mycart, #homeRight .TestamonialSummary, .cartitem {
  margin: 1em 0;
  border: 1px dashed #FFCD05;
  padding: 0.3em;
}
#sidebar .mycart, #homeRight .mycart {
  padding-top:40px;
  background: #FFFFFF url(uploads/images/template/shopping-cart.gif) no-repeat center  5px ;
}

#sidebar .mycart p, #homeRight .mycart p, #homeRight .TestamonialSummary p {
 margin-bottom: 0.1em;
}

.viewcartform div {
  text-align:left;
  margin: 0.5em;
}

div.viewcartform .totals {
  clear:both;
  padding-top: 2.5em;
}

div.viewcartform  p.cartButtons  {
  float:left;
}

div.cartLinks, div.cartLinks * {
 display:inline;
}

.cartitem {
  float:left;
  min-height: 150px;
}

/* FORMS */

form {

}


fieldset {
  padding: 1em;
  border: 1px solid #336698;
 line-height: 1.5em; 
}
legend {
  font-weight: bold;
  color: #336698;
  background-color: #FFFFFF;
  padding: 0.3em;
}

legend a, legend a:active, legend a:visited {
  color: #336698;
}

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: #71C9F1;
  font-weight: bold;
}

.contactform div.chbx label  {
 display:inline;
}
.contactform div.chbx input {
 display:block;
 float:left;
 width:2em;
}


textarea {
display:block;
}

.prodLabel {
  display: block;
   float: left;
   width: 10em;
  font-weight: bold;
}

div.captcha img {
  display:block;
  margin-bottom: 1em;

}

#emptyCart {
  float: right;
}

/* CGGOOGELMAPS */
#CGGoogleMaps0, #CGGoogleMaps1  {
 color: #8C8C8C;
}

#CGGoogleMaps0 a, #CGGoogleMaps0 a:active, #CGGoogleMaps0 a:visited, #CGGoogleMaps1 a, #CGGoogleMaps1 a:active, #CGGoogleMaps1 a:visited {
 color: blue;
}


/* 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 'NE css' */

