/*
Theme Name: Ady Levy
Theme URI: http://geriandricky.maxwells.net.nz/2006/07/30/nearly-sprung-wordpress-theme/
Description: 3 Column Rework of "Almost-Spring" by Becca Wei. With the intention of no vertical scrolling needed on a 1024x768 screen (vertical space has been optimised). Only supports Wordpress 2.7.x or higher. See style.css for licensing information.
Author: Richard "Jodi" Maxwell
Author URI: http://www.maxwells.net.nz/
Version: 3.0.0
Tags: flexible-width, light, green, white, orange, three-columns, left-sidebar, right-sidebar, theme-options, threaded-comments

I have built in support for the following plugins:
-Tags
-Gravatars
-Sidebar widgets (two columns)
-Photopress v1.1
-Geo Mashup v1.1.x (requires a patch though)
-Next/Previous Post in same Category plugins (Richard Maxwell v1.0 version)
-Viper's plugin list

3 column setup, left and right are fixed, center is fluid

based on almost-spring
http://beccary.com/goodies/wordpress-themes/

and 'The Holy Grail of Layouts: Example #2: A List Apart'
http://www.alistapart.com/articles/holygrail

and the IE7 Holy Hack fix I found via http://blog.skagirlie.net/

------ License Info ------
This Theme is Copyright 2008 Richard Maxwell.

    The wordpress theme 'Nearly-Sprung' is free software: you can redistribute it 
    and/or modify it under the terms of the GNU General Public License as published 
    by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>

The image 'headerbackground-Wales-2002-07-06-WhatYouLookingAt-R-SkomerIslandPembrokeshire.jpg' is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License (To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.)
--------------------------

*/

/***************** 3 Column Layout ******************/

/*
	fullwidth = width including both left and right side padding
	width = width excluding left and right side padding padding
	cc padding = centre column padding (combined left and right)

	left fullwidth = 150px wide, 10px padding each side (20 total)
	right fullwidth = 150px wide, 10px padding each side (20 total)
	cc padding = 15px either side (30 total)
*/

body 
{
	/*background-image:url('images/bg.jpg');*/
	background-repeat:repeat;
	background-position:top center;
	font-family:arial;
	font-size:14px;
	color:#666666;
	background-color:#555555;
}

a,a.visited{
	text-decoration:none;	
	color:#39b3f0;
}
a:hover{
	text-decoration:underline;
}

#wrapper{
	margin:0 auto;
	width:1015px;
	float:none;
}


#header{
	float:left;
	height:140px;
	width:100%;
	position:relative;
}

	#header .logo{
		float:left;
		padding-top:70px;
		padding-left:15px;
		width:200px;
		}

	#header .socialBox{
		background-image:url('images/socialboxBg.png');
		background-repeat:no-repeat;
		width:352px;
		height:49px;
		position:absolute;
		top:0px;
		right:0px;
	}
	
	#header .menu{
		float:left;
		padding-top:90px;
		position:relative;
		width:785px;
	}
	
		#header .menu ul li{
			display:inline;
		}
		
			#header .menu ul li a{
				font-weight:bold;
				font-size:16px;
				color:#FFF;
				padding-right:30px;
				display:inline;
				font-family:arial;
			}
			
			#header .menu ul li a:hover{
				color:#ddd;
			}
			
			#header .menu .searchBox{
				background-image:url('images/searchBg.png');
				background-repeat:no-repeat;
				width:193px;
				height:22px;
				position:absolute;
				bottom:15px;
				right:0px;
				padding-left:31px;
				
			}
				#header .menu .searchBox input{
					border:0px;
					background:transparent;
					padding-top:3px;
					color:#555555;
					font-size:12px;
					float:left;
				}
				#header .menu .searchBox a.goBtn{
					background-image:url('images/searchGoBtn.png');
					background-repeat:no-repeat;
					background-position:top;
					width:51px;
					height:18px;
					display:block;
					float:right;
					color:#555555;
					font-size:11px;
					text-align:center;
					padding-top:3px;
				}
				#header .menu .searchBox a.goBtn:hover{
					background-position:bottom;
				}
			
	#mainContainer{
		float:left;
	}
	
		#mainContainer .top{
			height:19px;
			background-image:url('images/wrapper_top.png');
			background-repeat:no-repeat;
			overflow:hidden;
			background-position:top center;
			width:1015px;
		}
		
		#mainContainer .mid{
			background-image:url('images/wrapper_mid.png');
			background-repeat:repeat-y;
			width:985px;
			padding-left:15px;
			padding-right:15px;
			overflow:hidden;
		}
		
		#mainContainer .bot{
			height:18px;
			background-image:url('images/wrapper_footer.png');
			background-repeat:no-repeat;
			overflow:hidden;
			background-position:top center;
			width:1015px;
		}
		#mainContainer .mid .postsBottom{
			text-align:center;
			margin-top:10px;
			margin-bottom:15px;
			border-top:1px solid #cbcbcb;
			float:left;
			width:100%;
			padding-top:15px;
		}
		#mainContainer .mid #postsHolder{
			font-family:arial;
		}
		#mainContainer .mid #postsHolder h2, #mainContainer .mid #postsHolder h2 a{
			color:#39b3f0;
			font-size:16px;
			font-weight:bold;
		}
			#mainContainer .mid #postsHolder .post{
				float:left;
				padding-top:15px;
				
			}
			
			#mainContainer .mid #postsHolder .post .image{
				float:left;
				width:176px;
				display:block;
				padding-left:5px;
				
			}
			
				#mainContainer .mid #postsHolder .post .image img{
					border:1px solid #cbcbcb;
					width:160px;
					overflow:hidden;
					min-height:141px;
					background:#cecece;
					display:block;
				}
				
				#mainContainer .mid #postsHolder .post .image .date{
					float:right;
					color:#8d8d8d;
				}
				
				#mainContainer .mid #postsHolder .post .image .date .day{
					font-size:36px;
					font-weight:bold;
					float:left;
					height:44px;
					line-height:44px;
					
				}
				#mainContainer .mid #postsHolder .post .image .date .month-year{
					float:left;
					font-size:14px;
					border-left:1px solid #cbcbcb;
					height:36px;
					margin-left:5px;
					padding-left:5px;
					text-align:center;
					color:#666666;
					margin-top:4px;
					margin-bottom:4px;
					margin-right:16px;
				}
				
			
			#mainContainer .mid #postsHolder .post .main{
				float:left;
				width:776px;
				border-left:1px solid #cbcbcb;
				padding-left:20px;
			}
				#mainContainer .mid #postsHolder .post .main .googleAds{
					height:90px;
				}
				#mainContainer .mid #postsHolder .post .main .postfeedback{
				float:left;
				display:block;
				}
				#mainContainer .mid #postsHolder .post .main .comments{
					clear:both;
					padding-top:10px;
				}
				#mainContainer .mid #postsHolder .post .main .postfeedback a{
					color:#39b3f0;
					
				}
			
				#mainContainer .mid #postsHolder .post .main .postfeedback .commentslink
				{
					background-image: url(images/comments.png);
					background-position:left center;
					background-repeat:no-repeat;
					padding-left:34px;
					height:31px;
					line-height:31px;
					display:block;
					float:left;
				}
				#mainContainer .mid #postsHolder .post .main .postfeedback .tags{
					background-image: url('images/tags.png');
					background-position:left center;
					background-repeat:no-repeat;
					padding-left:38px;
					height:31px;
					line-height:31px;
					display:block;
					float:left;
				}
					
		#siteFooter{
			background:#333333;
			height:65px;
			color:#777777;
			float:left;
			width:100%;
			margin-top:15px;
		}
		
			#siteFooter .wrap{
				width:915px;
				margin:0 auto;
				background-image:url('images/footerBg.png');
				background-repeat:no-repeat;
				background-postion:bottom;
				padding-left:100px;
				height:55px;
				padding-top:10px;
			}
	

#container 
{
	padding-left: 150px;      /* LC fullwidth */
	padding-right: 180px;     /* RC fullwidth + CC padding */
}

#container .column 
{
	position: relative;
	float: left;
}

#centrecontent 
{
	padding: 0px 15px;       /* CC padding */
	width: 100%;
}

#leftsidebar
{
	width: 130px;             /* LC width */
	padding: 0 10px 0px 10px;    /* LC padding */
	right: 180px;             /* LC fullwidth + CC padding */
	margin-left: -100%;
}

#rightsidebar
{
	width: 130px;             /* RC width */
	padding: 0 10px;          /* RC padding */
	margin-right: -100%;
}

#footer 
{
	clear: both;
}

/* Essential Layout (IE Fix) */
* html #leftsidebar {
	left: 150px;              /* RC fullwidth */
}

/* Essential Layout (IE7 Fix) */
*+html #leftsidebar {
	left: 150px;              /* RC fullwidth */
}

/********************** Global **********************/

/* Structure */

body 
{
	margin: 0;
	padding: 0;
}


ol, ul 
{
	margin: 1.2em 0 1.2em 2em;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 
{
	margin: 0.5em 0;
}

blockquote 
{
	margin: 0 20px;
	padding: 0 20px;
}

form, 
img 
{
	margin: 0;
	padding: 0;
	border: 0;
}

.hidden
{
	visibility: hidden;
}


/* Colour and borders */




input, textarea, select 
{
	border: 1px solid #999;
	background-color: #FAFAF0;
	color: #3A291F;
}

blockquote 
{
	border-left: 4px solid #E8E8CE;
}

code 
{
	color: #666;
}

.small 
{
	color: #999;
}

/********************** Header **********************/

/* Structure */

/******************* Main Content *******************/

/* Structure */

#centrecontent
{
	overflow: hidden;
}

/* Colour */

#centrecontent
{
	background-color: #FFF;
}

/********** Previous and Next by Catagory ***********/

/* Structure */

#postnavigation
{	
	display: inline;
	float: right;
	margin: 0px 0px 5px 5px;
	padding: 0em 0.5em 0em 0.5em;
}

#postnavigation ul 
{
	margin: 0;
	padding: 0;
}

#postnavigation li 
{
	margin-left: 1.0em;
}

#postnavigation .navheader  
{
	margin-left: 0em;
}

/* Typography */
#postnavigation
{
	font-size: 0.75em;
}

#postnavigation .navheader  
{
	font-size: 1.25em;
	font-weight: bolder;
}

/* Colour and Borders */

#postnavigation
{
	border: 1px solid #E8E8CE;
	background-color: #FAFAF0;
}

#postnavigation .navheader 
{
	color: #9BBB38; 
	list-style-type: none;
}

#postnavigation ul 
{
	list-style-type: none;
}

/******************* Left Sidebar *******************/

/* Structure */

#leftsidebar
{
	overflow: hidden;
}

#leftsidebar h2 
{
	display: inline;
	margin: 0.6em 0 0.3em 0;
	padding: 0 10px 0 0;
}

#leftsidebar ul 
{
	margin: 0.25em 0 0 0;
	padding: 0;
}

#leftsidebar ul ul 
{
	margin: 0.5em 0;
}

#leftsidebar ul ul li 
{
	padding: 0 0 0 10px;
}

#leftsidebar ul ul li a 
{
	display: block;
	margin: 0 0 0 -10px;
	padding: 0em 10px;
	width: 130px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 110px;
} 
html>body #leftsidebar ul ul li a 
{
	width: 110px;
}

#leftsidebar ul ul ul 
{
	margin: 0;
}

#leftsidebar ul ul ul li 
{
	margin: 0 0 0 -10px;
	padding: 0 0 0 25px;
}

#leftsidebar ul ul ul li a 
{
	margin: 0 0 0 -25px;
	padding: 0em 10px 0em 25px;
	width: 130px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 95px;
} 

html>body #leftsidebar ul ul ul li a 
{
	width: 95px;
}

/* Typography */

#leftsidebar 
{
	text-align: left;
}

#leftsidebar h2 
{
	font-size: 1.0em;
}

#leftsidebar ul 
{
	list-style-type: none;
}

/* Colour and Borders */

#leftsidebar h2 a 
{
	color: #9BBB38;
}
#leftsidebar h2 a:hover 
{
	color: #E58712;
}

#leftsidebar ul ul 
{
	border-top: 1px solid #E8E8CE;
	background-color: #FAFAF0;
}

#leftsidebar ul ul li 
{
	border-bottom: 1px solid #E8E8CE;
}

#leftsidebar ul ul li a:hover 
{
	background-color: #FFF;
}

#leftsidebar ul ul ul 
{
	border: none;
}
#leftsidebar ul ul ul li 
{
	border-bottom: none;
	border-top: 1px solid #E8E8CE;
}

/****************** Right Sidebar *******************/

/* Structure */

#rightsidebar 
{
	overflow: hidden;
}

#rightsidebar h2 
{
	display: inline;
	margin: 0.6em 0 0.3em 0;
	padding: 0 10px 0 0;
}

#rightsidebar ul 
{
	margin: 0.25em 0 0 0;
	padding: 0;
}

#rightsidebar ul ul 
{
	margin: 0.5em 0;
}

#rightsidebar ul ul li 
{
	padding: 0 0 0 10px;
}

#rightsidebar ul ul li a 
{
	display: block;
	margin: 0 0 0 -10px;
	padding: 0em 10px;
	width: 130px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 110px;
} 
html>body #rightsidebar ul ul li a 
{
	width: 110px;
}

#rightsidebar ul ul ul 
{
	margin: 0;
}

#rightsidebar ul ul ul li 
{
	margin: 0 0 0 -10px;
	padding: 0 0 0 25px;
}

#rightsidebar ul ul ul li a 
{
	margin: 0 0 0 -25px;
	padding: 0em 10px 0em 25px;
	width: 130px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 95px;
} 

html>body #rightsidebar ul ul ul li a 
{
	width: 95px;
}

/* Typography */

#rightsidebar 
{
	text-align: left;
}

#rightsidebar h2 
{
	font-size: 1.0em;
}

#rightsidebar ul 
{
	list-style-type: none;
}

/* Colour and Borders */

#rightsidebar h2 a 
{
	color: #9BBB38;
}
#rightsidebar h2 a:hover 
{
	color: #E58712;
}

#rightsidebar ul ul 
{
	border-top: 1px solid #E8E8CE;
	background-color: #FAFAF0;
}

#rightsidebar ul ul li 
{
	border-bottom: 1px solid #E8E8CE;
}

#rightsidebar ul ul li a:hover 
{
	background-color: #FFF;
}

#rightsidebar ul ul ul 
{
	border: none;
}
#rightsidebar ul ul ul li 
{
	border-bottom: none;
	border-top: 1px solid #E8E8CE;
}

/********************** Footer **********************/


/* Structure */

#footer 
{
	clear: both;
}

#footer p 
{
	margin: 0;
	padding: 10px 10px 0px 0px;
}

/* Typography */

#footer 
{
	font-size: 0.9em;
	text-align: right;
}

#footer p 
{
	font-size: 0.9em;
	text-align: right;
}

/* Colour and borders */

#footer p 
{
	background-color: #E8E8CE;
	border-top: 10px solid #9BBB38;
}

/******************* Search Widget ******************/

/* Structure */

#searchform
{
	margin: -15px 0px 15px 0px;
}

#searchform #s
{
	width: 130px;
}

/******************* Thumbs Widget ******************/

/* Structure */

#photopress_randomthumbs
{
	width: 100%;
	margin: 0.5em 0 0 0;
	padding: 0;
}

/* Typography */

#photopress_randomthumbs
{
	text-align: center;
}

/***************** Calendar Styles ******************/

/* Structure */

#wp-calendar 
{
	margin: 0 0 1.2em 0;
	width: 130px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 128px;	
} 
html>body #wp-calendar 
{
	width: 128px;
}

#wp-calendar caption 
{
	margin: 1.2em 0 0 0;
	padding: 0.4em 0;
}

#wp-calendar td a 
{
	display: block;
	width: 100%;
}

#wp-calendar td#next, 
#wp-calendar td#prev 
{
	padding: 0.1em 2px;
}

#wp-calendar td#next a, 
#wp-calendar td#prev a 
{
	display: inline;
}

/* Typography */

#wp-calendar 
{
	font-size: 0.8em;
	line-height: 1.2em;
	text-align: center;
}

#wp-calendar caption 
{
	font-weight: bold;
}

#wp-calendar td#next 
{
	text-align: right;
}

#wp-calendar td#prev 
{
	text-align: left;
}

/* Colour and borders */

#wp-calendar 
{
	border: 1px solid #E8E8CE;
	background: #FAFAF0;
}

#wp-calendar caption 
{
	background: #9BBB38;  
	color: #FFF;
}

#wp-calendar td 
{
	border: 0;
	border-collapse: collapse;
	background: #FFF;
}

#wp-calendar td.pad 
{
	background: transparent;
}

#wp-calendar td#next, 
#wp-calendar td#prev 
{
	background: transparent;
}

/********************** Blog ************************/

/* Structure */

.posttitle 
{
	margin-bottom: 0;
	width: 100%;
	overflow: auto;
	/* Width and overflow to clear '.posttitle a' */
}

.posttitle a 
{
	float: left;
	padding: 0 10px;
}

.postmeta 
{
	margin-top: 0;
	padding-top: 1px;
}

.permalink 
{
	margin: 0 1.8em 0 0;
	padding: 0 0 0 14px;
}

.commentslink,
.trackbacklink
{
	margin: 0 1.8em 0 0;
	padding: 0 0 0 17px;
}

/* Typography */

.postmeta 
{
	font-size: 0.9em;
}

/* Colour and borders */

.posttitle 
{
	color: #FFF;
}

.posttitle a 
{
	background: #9BBB38 url(images/posttitle.gif) no-repeat top right;
}

.posttitle a:link, 
.posttitle a:visited 
{
	color: #FFF;	
}

.posttitle a:hover, 
.posttitle a:active
{
	background: #E8E8CE url(images/posttitle.gif) no-repeat 100% -91px;
	color: #80904F;
}

.postmeta 
{
	background: url(images/postmeta.gif) no-repeat top left;
	color: #999;
}

.postmeta .postauthor
{
	color: #9BBB38;
}

.permalink 
{
	background: url(images/permalink.gif) no-repeat center left;
}

.commentslink,
.trackbacklink
{
	background: url(images/commentslink.gif) no-repeat center left;
}

/******************** Comments **********************/

/* Structure */

#comments
{
	float: left;
	margin: 0em;
	padding-bottom: 0.5em;
}

#commentlist 
{
	clear:left;
	margin: 0em;
	padding: 0;
}

#commentlist li 
{
	padding: 1px 20px 20px 20px;
}



.comment-meta 
{
	margin-top: 0px;
}

#comment 
{
	width: 98%;
}
.comment-author .avatar
{
	float:left;
	margin: 0px 10px 5px 0px;
}

.reply
{
	display: block;
	margin-top: -1.8em;
}

#cancel-comment-reply
{
	margin-right: 2em;
}

#respond
{
	clear: both;
	margin-top: 10px;
}

.navigation-bottom
{
	height: 1em;
	margin-top: 5px;
	margin-bottom: 15px;
}

.navigation-top
{
	height: 1em;
	margin: 0px;
	padding-top: 1em;
}

.navigation-bottom p
{
	margin-top: 0px;
	margin-bottom: 0px;
}

.navigation-top p
{
	margin-top: 0px;
	margin-bottom: 0px;
}

/* Typography */

.children,
#commentlist 
{
	list-style-type: none;
}

.comment-author 
{
	font-size: 1.1em;
	font-style: normal;
	font-weight: bold;
}

.fn
{
	font-style: normal;
}

.comment-meta 
{
	font-size: 0.9em;
}

.reply
{
	font-size: smaller;
	text-align: right;
}

/* Colour and borders */

#commentlist 
{
	border-bottom: 1px solid #E8E8CE;
}

#commentlist li 
{
	border-top: 1px solid #E8E8CE;
	background-color: #FFF;
}

.comment-author 
{
	padding-top:10px;
	color: #555555;
}

.alt 
{
	background-color: #FAFAF0 !important;
}

.comment-meta 
{
	color: #999;
}

.bypostauthor
{
	background-color: #F0F0F0 !important;
}

li #respond
{
	/*border-top: 1px solid #E8E8CE;*/
	border-top: 1px solid black;
}

/********************* Images ***********************/
p img 
{
	padding: 0;
	max-width: 100%;
}

/*	
	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) 
*/
	
.aligncenter,
div.aligncenter,
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;
}

.alignright 
{
	float: right;
}
	
.alignleft 
{
	float: left
}

.reallysmallthumbs a img
{
	width: 60px;
	height:60px;
	float: left;
	margin: 1px;
}

/******************* Geo Mashup *********************/
.locationinfo 
{
	overflow:auto;
	height:195px;
	width:320px;
	font-size:70%;

	/* used to allow room for the info window x icon */
	margin: 0px 10px 0px 0px;
}

.locationinfo h2 a
{		
	margin: 0px;
}

.locationinfo p
{		
	margin: 0px;
}

.locationinfo img
{	
	height:108px;
	width:auto;
}

/********************* Sociable *********************/
.sociable_tagline
{
	display: none;
}

.sociable ul
{
	margin: 0;
	padding: 0;
}

.sociable
{
	margin: 0em 0em -1em 0em;
}

.sociable li
{
	background: none;
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 0px 1px 0px 1px;
}

/***************** Twitter Widget *******************/
#twitter-list
{
	font-size: 0.9em;
}

/*************** Vipers Plugins Used ****************/
/* Structure */
#viperplugintable
{
	margin: 0px;
	padding: 0px;
}

#viperplugintable td
{
	padding: 3px;
}

/* Typography */
.pluginrow, 
.pluginrowalt
{
	font-size: 0.9em;
}

/* Colour and borders */
.pluginrowalt
{
	background-color: #FAFAF0;
}

#viperplugintable
{
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}

#viperplugintable td,
#viperplugintable th
{
	border-left: 1px solid black;
	border-top: 1px solid black;
}

/****************** Holly Hacks *********************/

/* holly hacks to fix peekabo bugs in IE */

/* Hides from IE5-mac \*/
* html li {height: 1%;}
/* End hide from IE5-mac */

/* Hides from IE5-mac \*/
* html #postnavigation {width: 145px; height: 2px;}
/* End hide from IE5-mac */

