/*

Sanitarium Cultivate Website Screen Styles
Authored by: Jonathan Poh (Sputnik Agency)
Contact: jonathan.poh@sputnikagency.com


Table of Contents:
	Common
		Typography and Colours
		Layout
		Images
		Lists
		Forms
		Image-replacement
		Miscellaneous
		Handmade by Sputnik
		Pagination
	Sections
		Header
		Sidebar
		Navigation
		Content
		Footer
	Page-specific
		Homepage
		Blog


	
	Colour Palette:
	
		      Black - #000000
		    Dk Grey - #666666
		      Green - #4e9221
		 Dark Green - #5b6c50
		Olive Green - #dbd19e
		    Magenta - #ad005c

*/


/* Typography and Colours
--------------------------------------------- */



body {
	color: #666;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 62.5%; /* Resets 1em to 10px */
}

#container {
	background: #FFF url(/Resources/Cultivate/images/bg-body.gif) repeat-y 50% 0;
}

h1, h2, h3, h4 {
	margin-top: 0;
	margin-bottom: .5em;
	line-height: 1.3m;
}


h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.8em;
	line-height: 1.2;
	font-family: "American Typewriter",
	             "Courier New",
	             Courier,
	             monospace;
}


h3 {
	font-size: 1.2em;
	color: #a39654;
}


h4 {
	font-size: 1em;
	color: #4e9221;
	line-height: 1.4;
}

a:link, 
a:visited {
	color: #ad005c;
	text-decoration: none;
}

a:hover, 
a:active {
	text-decoration: underline;
}


input,
textarea {
}


#page {
	background-color: transparent;
}


#header {
	color: #000;
	background: transparent;
}

p,
li,
td {
	font-size:1.1em;
	line-height: 1.45;
	margin-top: 0;
}

ol,
ul {
	margin-top: 0;
}

.error {
	color: #F00;
	font-weight: bold;
}

.smallcaps {
	text-transform: uppercase;
	font-size: 8px;
}

a.readmore {
	font-size: 1.1em;
	float:right;
	margin-top:5px;	
	background: transparent url(/Resources/Cultivate/images/arrow-readmore.png) no-repeat 100% 50%;
	padding-right: 28px;
	font-family: "American Typewriter",
	             "Courier New",
	             Courier,
	             monospace;
}

.pullquote h3 {
	font-size:1.5em;
	width:200px;
	margin:0 auto 1em auto;
}

.rule {
	background-image:url(/Resources/Cultivate/images/line.jpg);
	background-repeat:no-repeat;
	background-position:0px 50%;
	float: left;
	height: 3px;
	width:273px;
}
#homepageboxes .pullquote p,
.sidebar .pullquote p {
	text-align:center;
	display:block;
	width:155px;
	margin: 1em auto;
	padding:20px 20px 0 25px;
	
	background-image:url(/Resources/Cultivate/images/quote_open.gif);
	background-repeat:no-repeat;
	background-position:left top;
	height:200px;
}


#homepageboxes .pullquote cite,
.sidebar .pullquote cite {
	text-align:center;
	display:block;
	width:155px;
	margin: .7em auto 0 auto;
	padding:0 25px 10px 20px;
	background-image:url(/Resources/Cultivate/images/quote_close.gif);
	background-repeat:no-repeat;
	background-position:left bottom;
}


#homepageboxes .pullquote p {
	height:100px;
	overflow:hidden;
	font-size:1.7em;
	line-height:1.1em;
	font-style:italic;
	background-image:url(/Resources/Cultivate/images/qotd_open.gif);
}



#homepageboxes .pullquote cite {
	background-image:url(/Resources/Cultivate/images/qotd_close.gif);
}



.pdf_link {
	background-image:url(/Resources/Cultivate/images/icon_pdf.gif);
	background-repeat:no-repeat;
	background-position:left 50%;
	padding:.55em  0 .6em 30px;
	font-weight:bold;
}

/* Layout
--------------------------------------------- */

html {
	height: 100%;
	margin: 0;
	margin-bottom: 1px; /* Ensure scrollbars always appear, so page doesn't shift horizontally when moving between pages of different lengths */
	padding: 0;
}
	
body {
	margin: 0 0 50px 0;
	padding: 0;
	width: 100%;
}

#page {
	margin: 0 auto;
	padding: 0 0 0 0;
	width: 100%;
	border: none;
	clear: both;
	background: transparent url(/Resources/Cultivate/images/bg-outer.jpg) no-repeat 50% 0;
	
}

#outer {
	padding: 0;
	width: 100%;
	background: transparent url(/Resources/Cultivate/images/bg-inner.jpg) no-repeat  50% 100%;
	
}


#inner,
#header,
#footer {
	margin: 0 auto;
	padding: 0;
	width: 956px;
}
#footer {
	width: 1150px;;
}

#inner {
	padding-bottom: 140px;
}


#homepagehero {
	width: 916px;
	margin: 0 0 24px 0;
}


/* 
 resolve layout issue in Webkit and IE6, in which 
 the middle column drops below the baseline 
 of the two sidebars
 when the subnav is present
*/
#inner {position:relative; } 
.sidebar{ position:absolute; right:0;   }
.left { right:auto; left:0  }

/* Images
--------------------------------------------- */

img {
	border: none;
	margin: 0;
	padding: 0;
	display: block;
}

p img {
	padding: 0;
}

/*	Using 'class="alignright"' on an image will (who would've
thought?!) align the image to the right. And using 'class="centered',
will of course center the image. This is much better than using
align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

/* Lists
--------------------------------------------- */

ol,
ul {
	margin-left: 0;
	padding-left: 0;
}

li {
	line-height: 1.5;
}


/* Forms
--------------------------------------------- */

fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

legend {
	font-size: 1.8em;
	margin: 0;
	padding: 0 0 0.5em 0;
	font-weight: normal;
}

/* Image Replacement
--------------------------------------------- */

/* To replace a HTML text headline with GIF- or PNG-text, 
   assign class="replaced" to the heading tag, and give it a unique ID, eg
   id="h-myheading" and define the image as the background, and set the width
   and height of the image.

   Example:

   [HTML]
   <h1 class="replaced" id="h-heading">This is a Heading</h1>

   [CSS]
	#h-heading {
		background: url(/Resources/Cultivate/images/h-heading.gif) no-repeat 100% 100%;
		width: 426px;
		height: 24px;
	}
   

*/

.replaced {
	text-indent: -5000px;
	margin: 0;
	padding: 0;
	display: block;
}

h2.replaced {
	height: 28px;
}


/* Miscellaneous
--------------------------------------------- */

.skiplink {display:none}

.clear {
	clear: both;
}


.alignright {
	float: right;
}

.alignleft {
	float: left
}




/* Header
--------------------------------------------- */

#header {
	height: 115px;
}

#header h1 {
	margin: 15px 35px 0 13px;
	float: left;
}

#header #tools {
	margin-top: 45px;
	text-align: right;
	float: right;
	color: #4e9221;
}

#header #tools div {
	margin-right: 25px;
}

#header #tools a:link,
#header #tools a:visited {
	color: #4e9221;
}

#header #tools form {
	margin-top: 10px;
}

form input.searchfield {
	background: transparent url(/Resources/Cultivate/images/border-search.gif) no-repeat top left;
	width: 150px;
	height: 13px;
	padding: 4px;
	border: none;
}

form input.searchsubmit {
	width: 20px;
	height: 25px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent url(/Resources/Cultivate/images/icon-search.png) no-repeat center top;
	text-indent: -1000em;
	cursor: pointer; /* hand-shaped cursor */
	cursor: hand; /* for IE 5.x */

}

/* Sidebars
--------------------------------------------- */

.sidebar {
	width: 236px;
}

.sidebar.left {
	float: left;
}

.sidebar.right {
	float: right;
	background-image:url(/Resources/Cultivate/images/sidebar_right_bg.gif);
	background-repeat:no-repeat;
	background-position:center top;
}

.sidebar #related {
	text-align: center;
	
}

.sidebar #related ul {
	width: 105px;
	margin: 0 auto;
}

.sidebar #related li {
	list-style: none;
	margin-bottom: 1.5em;
}

.sidebar #related img {
	display: inline;
	border: none;
}

.sidebar #related a:hover,
.sidebar #related a:active {
	text-decoration: none;
}

/* Navigation
--------------------------------------------- */

#navigation ul {
	margin: 0;
}

#navigation li {
	list-style: none;
	margin: 0 4px 0 0;
/*	display: inline;*/
	float: left;
}

#navigation li a:link,
#navigation li a:visited {
	color: #666;
	font-weight: bold;
	display: block;
	padding: 0;
	text-decoration: none;
	width: 76px;
	height: 72px;
	background-color: #d7e4b8;
	background-position: 0 0;
	text-indent: -5000px;
	outline: none;
}

#navigation li a:hover,
#navigation li a:active {
	background-color: #93bb38;
	color: #FFF;
	background-position: 0 -72px;
}

#nav-about {
	background-image: url(/Resources/Cultivate/images/nav-about.gif);
}

#nav-difference {
	background-image: url(/Resources/Cultivate/images/nav-difference.gif);
}
#nav-growing {
	background-image: url(/Resources/Cultivate/images/nav-growing.gif);
}

#nav-services {
	background-image: url(/Resources/Cultivate/images/nav-services.gif);
}

#nav-news {
	background-image: url(/Resources/Cultivate/images/nav-news.gif);
}

#nav-specialOffers {
	background-image: url(/Resources/Cultivate/images/nav_specialOffers.gif);
}




#nav-enquiry {
	background-image: url(/Resources/Cultivate/images/nav-enquiry.gif);
}

.subnav {
	background: transparent url(/Resources/Cultivate/images/bg-subnav.jpg) no-repeat top right;
	padding-top: 25px;
	height: 295px;
}

.subnav h3 {
	width: 160px;
	float: right;
	margin: 0 25px;
	font-size: 1.6em;
}

.subnav ul {
	width: 160px;
	margin:10px 25px 0 0;
	padding-left: 0;
	float: right;
}

.subnav li {
	list-style: none;
	font-size: 1.2em;
	margin-bottom: 1.2em;
	margin:0 0 .2em 0;
}

.subnav li a:link,
.subnav li a:visited {
	color: #678f2e;
}

/* Breadcrumbs
--------------------------------------------- */
#breadcrumbs {
	width: 410px;
	margin: 0 0 0 240px;
	padding-bottom: 9px;
	float: left;
}

#breadcrumbs li {
	list-style: none;
	float: left;
	color: #bcbcbc;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: .9em;
}

#breadcrumbs li a:link,
#breadcrumbs li a:visited {
	color: #bcbcbc;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	padding-right: 1em;
	margin-right: 1em;
	border-right: 1px solid #bcbcbc;
}

#pagetools {
	margin: 0 240px 0 0;
	padding-bottom: 9px;
	width: 66px;
	float: left;
	text-align: right;
}

#pagetools a{
	padding-left:8px;
}



#pagetools img {
	display: inline;
}

/* Content
--------------------------------------------- */

#content {
	width: 476px;
	margin: 0 240px 0 240px;
	padding-bottom: 9px;
	min-height: 500px;
}

#content h2,
#content h3,
#content h4,
#content p,
#content form,
.blogpost {
	margin-left: 9px;
	margin-right: 9px;
}

#content ul,
#content ol {
	margin-left: 15px;
	margin-right: 15px;
}

#content ul li {
	list-style-position:outside;
	list-style-image:url(/Resources/Cultivate/images/bullet.gif);
	margin-left:25px;
}

#content h2 {
	margin-top: 1em;
}


/* Footer
--------------------------------------------- */

#footer {
	clear: both;
	font-family: "American Typewriter",
	             "Courier New",
	             Courier,
	             monospace;
	padding: .9em 13px;
	overflow: hidden;
	background-color:#fff;
}

#footer a:link,
#footer a:visited {
	color: #000;
}

#footer img {
	display: inline;
}

#footer ul {
	float: right;
	padding: 0 0.5em;
}

#footer li {
	list-style: none;
	display: inline;
	font-size: .98em;
}

#footer li a:link,
#footer li a:visited {
	padding: 0 0.5em;
	border-right: 1px solid #000;
}

#footer .copyright {
	float: right;
	font-size: .98em;
	color: #000;
	line-height: 1.5;
}

/* Handmade by Sputnik
--------------------------------------------- */

#handmade {
	float: left;
	margin: 0;
	padding: 0;
	font-size: 9px;
	line-height: 1.5;
}

#handmade a:link,
#handmade a:visited {
	color: #999999;
	text-decoration: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#handmade a:hover,
#handmade a:active {
	color: #333333;
}



/*pagination	
--------------------------------------------- */
#content #pagination {
	float:right;
	margin-right:0;
}

#content #pagination ul,
#content #pagination p {
	float:left;
	margin-right:0;
}

#content #pagination li {
	display:inline;
	background-image:none;
	margin:0 0 0 .3em;
}


#content #pagination #pagination_next a{
	display:block;
	background-image:url(/Resources/Cultivate/images/icon_next.gif);
	background-repeat:no-repeat;
	background-position:right 3px;
	padding-right:22px;
	/*
	width:52px;
	height:13px;
	*/

}


/* Page-specific: Homepage
--------------------------------------------- */

#homepagehero {
	width: 938px;
	height: 310px;
	margin: 10px 9px 6px 9px;
	
	/*
	background: #81aa7b;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	*/
}

#homepageboxes {
	overflow: auto;
	padding: 0 20px;
}

#homepageboxes #offers,
#homepageboxes #campaign,
#homepageboxes #blogposts,
#homepageboxes #what-we-do,
#homepageboxes #video,
#homepageboxes #packages {
	float: left;
}

#homepageboxes #offers h2,
#homepageboxes #campaign h2,
#homepageboxes #blogposts h2,
#homepageboxes #what-we-do h2,
#homepageboxes #video h2,
#homepageboxes #packages h2 {
	font-size:1.6em!important; 
	width:90%;
}

#homepageboxes #what-we-do {
	width: 300px;
	margin-right: 5px;
}
#homepageboxes #what-we-do p {
	font-size:10px;
	color:#4e9221;
}
#homepageboxes #what-we-do ul {
	float:left;
	padding-left: 20px;
	width:110px;
}
#homepageboxes #what-we-do ul li {
	color:#666666;
	font-size:10px;
}
#homepageboxes #offers {
	width: 456px;
}


#homepageboxes #offers h2 {
	width:40%;
}

#homepageboxes #offers .offer {
	margin: 0 0 15px 0;
	overflow: auto;
}

#homepageboxes #offers .thumbnail {
	width: 80px;
	float: left;
	margin-right: 8px;
}

#homepageboxes #video {
	width: 300px;
	margin-right: 5px;
}
#homepageboxes #video .video_thumb {
	clear:left;
	float:left;
}
#homepageboxes #campaign {
	width: 236px;
}

#homepageboxes #packages {
	width: 300px;
}
#homepageboxes #packages .title {
	color:#4e9221;
	font-size: 1.5em;
	line-height: 1.2;
	font-family: "American Typewriter",
	             "Courier New",
	             Courier,
	             monospace;
	margin-bottom:0.5em;
}
#homepageboxes #packages p {
	color:#666666;
	font-size:10px;
}
#homepageboxes #packages .buttons {
	float: left;
	margin-bottom:5px;
	width:100%;
}

#homepageboxes #packages .activate,
#homepageboxes #packages .build,
#homepageboxes #packages .cultivate {
	float:left;
	height:44px;
	width:89px;
	margin-right:4px;
}
#homepageboxes #blogposts {
	width: 216px;
	margin-right: 0;
}

#homepageboxes h2 {
	margin-left: 9px;
	font-size:1.7em;
	background-image:url(/Resources/Cultivate/images/dashed_border.gif);
	background-position:left bottom;
	background-repeat:repeat-x;
}

#homepageboxes p {
	font-size: 1em;
}

#homepageboxes .boxcontent {
	background: #f1fbed;
	/*opacity: 0.8;*/
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	height: 190px;
	overflow: hidden;
	padding: 9px;
}

#homepageboxes #blogposts .post {
	margin: 0 0 15px 0;
	overflow: auto;
	clear:both;
}

#homepageboxes #blogposts .post p {
	line-height:1.2em;
}

#content .blogentry {
	margin-bottom:12px;
	padding-bottom:30px;
	background-image:url(/Resources/Cultivate/images/dashed_border.gif);
	background-repeat:repeat-x;
	background-position:left bottom;
}



#content .blogentry.mini  .post_title h3 {
	color:#4e9221;
	padding-top:4px;
	display:inline;
}

#content .blogentry.mini  .post_title h4 {
	padding-bottom:2px;
	color:#666;
	padding-left:48px;.
}

#content .blogentry.mini {
	padding-bottom: 20px;
}

#content .blogentry.mini.news, #content .blogentry.newsmini {
	padding-bottom: 10px;
}

#content .blogentry.mini .readmore {
	/*margin-top:100px;*/
}

#content .blogentry  .post_title h2,
#content .blogentry.mini  .post_title h3 {
	margin-top:0;
	margin-bottom:0;
	line-height:.8em;
	width:450px;
}

#homepageboxes  #blogposts .readmore {
	clear:left;
}

#content .blogentry .date,
#homepageboxes #blogposts .post .date {
	width: 30px;
	height: 30px;
	padding: 3px 0 0 0;
	margin: 0 8px 0 0;
	text-align: center;
	font-weight: bold;
	color: #fff;
	background: transparent url(/Resources/Cultivate/images/blogdate.png) no-repeat 50% 50%;
	float: left;
}

#homepageboxes #blogposts .post .summary {
	float:left;
	width:155px;
}

#homepageboxes #blogposts .post h4 {
	line-height:1.1em;
	margin:0;
	padding:0;
}

#content .blogentry .date {
	margin-left:9px;
	margin-top:13px;
	float:left;
}

#content .blogentry.mini .date {
	margin-top:0;
}

#content .blogentry .author_pic {
	float:left;
	padding-right:10px;
	margin-left:9px;
}


#content .blogentry.mini .post_title{
	padding-left:0;
}

#content .blogentry.mini .abstract{
	padding-left:48px;
}

#content .blogentry .content {
	padding-top:10px;
	margin-left:40px;
}


#content .blogentry .post_title h2{
	color:#4E9221;
}

#content .blogentry h2.byline {
	font-size:1.2em;
	margin-top:.5em;
	color:#666;
}

#homepageboxes #blogposts .post h4 a:link,
#homepageboxes #blogposts .post h4 a:visited {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #4e9221;
}


