/*  
Theme Name: Balcony Compost Theme
Theme URI: http://cameronpreston.com/
Description: templatr is written and provided by <a href="http://cameronpreston.com">Cameron Preston</a>
Version: 2.0
Author: Cameron Preston
Author URI: http://cameronpreston/

	templatr v1.0
	 http://templatr.cc/
	 
/***********************************************************
 Global Reset
************************************************************/

*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td { margin:0; padding:0 }
table { border-collapse:collapse; border-spacing:0 }
fieldset, img { border:0 }
address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal }
ul { list-style:none }
caption, th { text-align:left }
h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight: normal; }
q:before, q:after { content:'' }
a { text-decoration:none }
strong { font-weight:bold }
em { font-style:italic }
* a { position:relative }
a img { border:none }
* { outline: none; }

/***********************************************************
 Let the games begin...
************************************************************/

html {
	height: 1%;
	background: #BDD5BE;
	font: 62.5% normal Verdana, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, Arial, sans-serif;
}

body {
	background: #BDD5BE;
	font-size: 130%;
	height: 100%;
	text-align: left;
	color: #FFFFCC;
	line-height: 150%;
	min-width: 960px;
	max-width: 1300px;
	margin: 0 auto;
}

#mascot {
	float: left;
	height:250px;
	width: 345px;
	margin-left:-29px;
	margin-top:-186px;
	*margin-top:-186px;

}

#mainwrap {
}

ul { 
	list-style-image:url(./images/logo-img.gif); 
	margin-left:20px;
	margin-bottom:10px;
	}
ol {
	margin-left:20px;
	margin-bottom:10px;
}

textarea,input {
	background-color: #3D8B37;
	color: #FFFFCC;
}

#wrap {
}

.center {
    position: absolute;
    top:0; bottom:0;
    margin: auto 0;
    /*top:expression(this.parentNode.clientHeight/2 - this.clientHeight/2 + " px");*/
	vertical-align: middle;
	height:60%;
}
.center2 {
    position: absolute;
    top:0; bottom:0;
    margin: auto 0;
}
.alignleft {
	float:left;
	padding:3px;
	}
.alignright {
	float:right;
	padding:3px;
	}

#page {
	position:absolute;
	*position:relative;
	width:100%;
    top:0; bottom:0;
	height: 100%;

}

#outside-bubble {
  height:90%;
  margin: 20px 0 0 0px;
  border: transparent;
  width: auto;

}

#bubble {
	height: 100%;
	border: 10px #663333 solid;
	background: transparent url(./images/bgpattern.gif) repeat;
	width: auto;
	/*padding-left:100px;*/
	margin:0;
	/*  *margin-left:-145px;*/
	position:relative;
	padding-right:10px;
	border-radius: 10px;
	 -moz-border-radius: 10px;
	 -webkit-border-radius: 10px; 
	overflow:auto;
	margin-left:138px;
}
#header {
  height: 120px;
  overflow:visible;
  position:absolute;
  z-index: 100;
  *margin-left: -138px;
}
#content {
	padding: 10px;
	width:575px;
	text-align:left;
	/*display: block;*/
    margin: 0 auto;
	margin-left: 157px;
	*position:relative;
}

.container {
    display: table;
    height: 100%;
    width: 100%;
}
.cell {
    display: table-cell;
    vertical-align: middle;
	overflow:auto;

}

/***
	SIDEBAR LOCATION
***/
#content-sb {  /*Content for when there's a sidebar*/
	padding: 10px;
	width:380px;
	height:93%;
	text-align:left;	
	/*display: block;*/
	margin-left: 150px;
	margin-right: 200px;
	*position:relative;
}

#sidebar {
  margin:20px 10px 10px 10px;
  float: right;
  width: 180px;
}

#sidebar-left {
  text-align:center;
  font-size:12px;
  line-height:105%;
	margin-left:-262px;
	margin-top:-350px;
  float: left;
  width: 110px;
	border-radius: 10px;
	 -moz-border-radius: 10px;
	 -webkit-border-radius: 10px;
	background: transparent url(./images/bottom-bubble.gif) no-repeat bottom;	 
	vertical-align:bottom;
}
#sidebar-left-top {
  padding-top:15px;
	background: transparent url(./images/top-bubble.gif) no-repeat top;	 
}
#sidebar-left h2 {
	font-size:14px;
}
/** END SIDEBAR **/

#footer {
  display:block;
  clear: both;
  height: 20px;
  text-align:left;
  /**margin-top:10px;*/
  margin: 0;
  padding-left:380px;
/*  top: -30px;*/
  position:relative;
  z-index:20;
  color:#333;
  width: 550px;
}

#footer  a{
  color:#333;
}
#footermap {
	margin-left:157px;
	list-style: none;	
	padding: 10px;
}
#footermap li {	
	float: left;
	position:relative;
	padding: 3px; 
	margin: 0 2px 22px 0;	
}
#footermap li a {
	margin: 2px auto;
	color:#666666;
	text-decoration:none;
	background:transparent;
}

h2, h2 li{
	font-size:22px;
	line-height:22px;
}
#content h2, #content-sb h2 {
	margin-top:8px;
	padding:10px;
	margin-left:15px;
	width: auto;
	text-align:left;
	border-radius: 10px;
	 -moz-border-radius: 10px;
	 -webkit-border-radius: 10px;
}

.post-entry {
	width: 450px;
}
.postmetadata-alt, .postmetadata-alt a {
	color:#CCC;
}
#content h2.posttitle{
	margin:20px 0 10px 0;
	background: transparent;
	font-size:20px;
	text-align:left;
}
p {
	margin:0 0 1.5em;
}

.code {
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	-x-system-font:none;
	background:#F0F0F0 none repeat scroll 0 0;
	display:block;
	font-family:Monaco,Courier;
	font-size:12px;
	font-size-adjust:none;
	font-stretch:normal;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:18px;
	margin:5px 0 15px;
	overflow:auto;
	padding:10px;
	position:relative;
	width:540px;
}
/**
 Header Navigation 
 **/

div#nav-header {
	top:50px;
	position: relative;
	padding:0 0 0 0px;
	margin:0px 0 0 -20px;
	/*width: 100%;*/


}
div#nav-header-leight{
	margin:50px 0 0 0;
	*margin:0px 0 0 -40px;
}

body.frontpage div#nav-header {
	left: 0;
}

div#nav-header li {
	display: block;
	float: left;
	margin: 0 0 0 0;
	position: relative;
	width:auto;
}
div#nav-header li#mainlink {
	text-indent: -999em;
}
div.home-carousel {
	margin:110px 0 0 160px;
	position:absolute;	width:250px;
	height:110px;
	left:0px;
}

/*div#nav-header ul li a, div#nav-mini ul li a, div#nav-header ul a li, div#nav-mini ul a li{
	display: block;
	padding: 0;
	text-indent: -999em;
}*/
li#mainlink a, li#mainlink li a, li#mainlink a li, div#nav-mini ul li a, div#nav-mini ul a li {
	display: block;
	padding: 0;
	text-indent: -999em;
}

div#nav-header li.kitchen a, div#nav-header a li.kitchen {
	background: url(./images/home-kitchen.png) left top no-repeat;
	width: 130px;
	height: 160px;
	margin: 50px 0 0 -20px;
}

div#nav-header li.kitchen a:hover, div#nav-header a:hover li.kitchen {
	background: url(./images/home-kitchen.png) left bottom no-repeat;
}

/*div#nav-header li.systems a, div#nav-header a li.systems {
	background: url(./images/home-center.png) -140px top no-repeat;
	width: 305px;
	height: 86px;
	margin-left:30px;
}*/
div#nav-header li.systems a, div#nav-header a li.systems {
	background: url(./images/home-compost-systems.png) left top no-repeat;
	width: 309px;
	height: 90px;

}

div#nav-header li.systems a:hover, div#nav-header a:hover li.systems {
	background: url(./images/home-compost-systems.png) left bottom no-repeat;
	height: 90px;
/*	margin-top:-9px;*/
}

div#nav-header li.issues a, div#nav-header a li.issues {
	background: url('./images/home-issues.png') left top no-repeat;
	width: 195px;
	/*margin-left:240px;*/
	margin-left:270px;
	height:154px;
}

div#nav-header li.issues a:hover, div#nav-header a:hover li.issues {
	background: url('./images/home-issues.png') left bottom no-repeat;
	height:154px;
}


div#nav-header li.using a, div#nav-header a li.using  {
	background: url(./images/home-center.png) right -181px no-repeat;
	width: 173px;
	height:145px;
}

div#nav-header li.using a:hover, div#nav-header a:hover li.using {
	background: url(./images/home-center.png) right -492px no-repeat;
}

div#nav-header li.sustain a, div#nav-header a li.sustain {
	background: url('./images/home-center.png') -100px -180px no-repeat;
	width: 240px;
	height: 130px;
	margin-left:140px;
}

div#nav-header li.sustain a:hover, div#nav-header a:hover li.sustain {
	background: url('./images/home-center.png') -100px -491px no-repeat;
	height: 145px;
}
div#nav-header a li.systems {
	*margin-left:-125px;
}
div#nav-header a li.issues {
	*margin-top:70px;
	*margin-left:-220px;
	display:block;
}
div#nav-header a li.using {
	*margin-top:215px;
	*margin-left:-283px;
	display:block;
}
div#nav-header a li.sustain {
	*margin-top:215px;
	*margin-left:-523px;
	display:block;
}

/**
	LINKS
**/
a,a:visited {
	color:#FFFFCC;
	text-decoration:underline;
	/*padding:3px;*/
}
a:hover,a:active{
	text-decoration:none;
}
/** Mini Nav Link **/

div#nav-mini {
	display:block;
	width:95px;
	float:left;
	position:absolute;
	z-index:50;
	margin:153px 0 0 100px;
	*margin:153px 0 0 -30px;
}

div#nav-mini li  {
	display:inline;
	
}

div#nav-mini li.mini a {
	background: url('./images/home-center-mini.png') left -1px no-repeat;
	width: 95px;
	height: 87px;
	text-indent: -999em;
	
}
div#nav-mini li.mini a:hover, body.mini div#nav-mini li.mini a {
	background: url('./images/home-center-mini.png') left -88px no-repeat;
	margin-top:2px;
}


/**
	LEIGHTBOX
**/

.leightbox {
	color: #FFFFCC;
	display: none;
	position: absolute;
	width: 760px;
	height:87%;
	*height:536px;
	border-radius: 10px;
	 -moz-border-radius: 10px;
	 -webkit-border-radius: 10px;
	padding: 10px;
	border: 10px #663333 solid;
	background: transparent url(./images/bgpattern.gif) repeat;
	text-align: left;
	z-index:1199;
	overflow: hidden;
	margin: 0 auto;
	top:20px;
	margin-left: 138px;
	bottom: 34px;
}
#navbox1 div#nav-header {
	margin-left: 94px;
	margin-right:50px;
}

#overlay{
	display:none;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:1000;
	background-color:#333;
	-moz-opacity: 0.8;
	opacity:.80;
	filter: alpha(opacity=80);
}

.lbAction {
	float:right;
}
.navbox[id]{ /* IE6 and below Can't See This */    position:fixed;    }#overlay[id]{ /* IE6 and below Can't See This */    position:fixed;    }

/****
	PORTFOLIO
****/

#portfolio {	
	margin: 0 0 40px 0;
	*font-size:1.3em;
}
#portfolio h2 {
	float: left;
	position:relative;
	padding: 10px; 
	margin: 0 23px 23px 130px;

}
#portfolio ul {
	list-style: none;	
}
#portfolio ul li {	
	float: left;
	position:relative;
	padding: 10px; 
	margin: 0 23px 23px 0;	
	background: url(./images/img-bg.png);	
	border-radius: 10px;		
	-moz-border-radius: 10px;	
	-webkit-border-radius: 10px;	
}		
#portfolio ul li a {
	margin: 2px auto;
	color:#FFFFFF;
	text-decoration:none;
	background:transparent;
}
#portfolio ul li a:hover {
	text-decoration:underline;	
	/*color:#FFFFFF*/
}
#portfolio .moreinfo {
	text-align: right;
	float:right;
	*float:left;
	*margin-left: 250px;
	*margin-top:-15px;
	position: relative;
	background:transparent;
}
.clear:after {	content: "";	display: block; visibility: hidden; clear: both;}	
.clear { zoom: 1; }

/***
	WIDGET specific
***/

#random-quote {
	margin-bottom: 15px;
	padding: 10px 0 10px 0;
	border-left: 3px #333 solid;
	border-right: 3px #333 solid;
}

/** PLUGIN SPECIFIC **/

#crp_related  {
	clear:both;
	float:left;
	margin-top:25px;
	width:100%;
}
#crp_related .related_post {
	margin:0 8px 8px;
	padding:4px;
}

#crp_related li {
	display:block;
	float:left;
	height:105px;
	list-style:none outside none;
	width:200px;
	position:relative;
	margin:0px 10px 5px 0;
}
#crp_related ul {
	display:block;
	list-style:none;
	margin:.5em 0;
}