/*

Theme Name: Nearly-Sprung

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). See style.css for licensing information.

Author: Richard "Jodi" Maxwell

Author URI: http://www.maxwells.net.nz/

Version: 2.0.1

Tags: valid CSS, valid XHTML, fluid width, green, white, orange, widgets, three columns, 3 columns, 3 column, 3-column, gravatars, gravatar, custom header, right sidebar, left sidebar, widget ready



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)

-Official Comments

-Viper's plugin list

-MK's Trackping Separator Plugin



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/>

                         --------------------------



*/



/***************** 3 Column Layout ******************/



/*

	left = 150px wide, 10px padding each side (20 total)

	right = 150px wide, 10px padding each side (20 total)

	cc padding = 15px either side (30 total)

*/



body 

{

	min-width: 580px;         /* 580 2 x (LC fullwidth + CC padding) + RC fullwidth */

}



#container 

{

	padding-left: 200px;      /* LC fullwidth */

	padding-right: 280px;     /* RC fullwidth + CC padding */

}



#container .column 

{

	position: relative;

	float: left;

}



#centrecontent 

{
        margin:  10px 0 0;

	padding: 0px 15px;       /* CC padding */

	width: 100%;

}



#leftsidebar

{

	width: 145px;             /* LC width - LC padding */

	right: 200px;             /* LC fullwidth + CC padding */

	margin-left: -100%;

}



#rightsidebar

{

	width: 188px;             /* RC width - RC padding */

	padding: 0 10px;          /* RC padding */

        margin-left:  10px;

	margin-right: -100%;

}



#footer 

{

	clear: both;

}



/* Essential Layout (IE Fix) */

* html #leftsidebar {

	left: 295px;              /* RC fullwidth */

}



/* Essential Layout (IE7 Fix) */

*+html #leftsidebar {

	left: 295px;              /* RC fullwidth */

}



/********************** Global **********************/



/* Structure */



body 

{

	margin: 0;

	padding: 0;

}



p 

{

	margin: 1.2em 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;

}





/* Typography */



body 

{

	font-size: 78%;

	font-family: "Verdana", Tahoma, Arial, sans-serif;

}



p 

{

	font-size: 1em;

	line-height: 1.5em;

}



ol, ul 

{

	font-size: 1em;

	line-height: 1.5em;

}



h1, h2, h3, h4, h5, h6 

{

	font-family: "Verdana", Tahoma, Arial, sans-serif;

}



h1, h2 

{

	font-size: 1.4em;

}



h3 

{

	font-size: 1.3em;

}



h4 

{

	font-size: 1.2em;

}



a 

{

	text-decoration: none;

}



input, textarea, select 

{

	font-size: 1em;

	font-family: "Verdana", Tahoma, Arial, sans-serif;

}



blockquote 

{

	font-size: 0.9em;

}



code 

{

	font-family: monospace;

}



.small 

{

	font-size: 0.9em;

}



/* Colour and borders */



body 

{

	background: #e5e5d8;

}





h1, h2, h3, h4, h5, h6 

{

	color: #001a00; 

}



a:link 

{

	color: #E58712;

}



a:visited 

{

	color: #B96F17;

}



a:hover, a:active 

{

	color: #9BBB38;

}



input, textarea, select 

{

	border: 1px solid #C1C0B5;

	background-color: #FAFAF0;

	color: #333;

}



blockquote 

{

	border-left: 4px solid #E8E7D0;

}



code 

{

	color: #666;

}



.small 

{

	color: #999;

}



/********************** Header **********************/



/* Structure */



#header 

{

	padding: 0px;

	margin: 0px 0px 5px 0px;

}



.headerlist

{

	height: 215px; /* 180 + 23 */

}



.headernolist

{

	height: 75px;

}



#header p

{

	padding: 0px;

	margin: 0 0 0 0px;	

	height: 55px;

}



#header h1 

{

	padding: 0px;

	margin: 0 0 0px 80px;	

	height: 125px;	

}



#header ul

{	

	height: 40px;

	padding: 0 0 0 108px;	

	margin: 0px;	

}



#header ul li

{

	padding: 0;	

	margin: 0px;

	display: inline;

}



#header ul li a

{

	padding: 0px 10px 0px 10px;
        text-shadow: 0px -1px 0px #374683;

}



/* Typography */



#header h1 

{

	font-size: 3.6em;
        visibility:  hidden;
        
}

#header h1 a 

{

	text-decoration: none;

}



#header ul

{	

	font-size: 2.3em;

	text-align: left;

	font-family: 'Droid Sans Bold', Tahoma, sans-serif;

	line-height: 40px;

	/* fixes Firefox 0.9.3 */

}



#header ul li a

{

	text-decoration: none;

}





/* Colour and borders */



#header 

{

	background: url(images/header_background.jpg) no-repeat top left;	

	background-color: #e5e5d8;

}



.headernolist

{

	border-bottom: 10px solid #9BBB38;

}



#header h1 a 

{

	color: #475947;

}



#header ul

{

	background: url(images/nav_bar_bg.jpg) repeat-x top left;

	color: #F2EEEC;

}



#header ul li a

{

	color: #F2EEEC;

}



#header ul li a:hover

{

	color: #f1e5a0;

}



#header #active 

{ 

	border-left: 1px solid #F2EEEC; 

}



/******************* Main Content *******************/



/* Structure */



#centrecontent

{

	overflow: hidden;

}



/* Colour */



#centrecontent

{

	background-color: #f2f2ea;
        border:  2px solid #FFFFFF;

}



/********** 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 #E8E7D0;

	background-color: #FAFAF0;

}



#postnavigation .navheader 

{

	color: #9BBB38; 

	list-style-type: none;

}



#postnavigation ul 

{

	list-style-type: none;

}



/******************* Left Sidebar *******************/



/* Structure */



#leftsidebar h2 

{

	display: inline;
	padding: 5px,0,0,0;
        margin:  5px,0,0,0;

}



#leftsidebar ul 

{

	margin: 1em 0 0 0;

	padding: 0;

}

#leftsidebar ul li

{
        width: 165px;
        text-align:left;
}


#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 0px;

	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: right;

}



#leftsidebar h2 

{

	font-size: 1.5em;
        text-decoration: underline;
                              
}



#leftsidebar ul 

{

	list-style-type: none;

}



/* Colour and Borders */

#leftsidebar

{
 
      background-color:  #e5e5d8;

}

#leftsidebar a:link

{

    color: #000000;
    background-color:  #e5e5d8;

}

#leftsidebar a:visited

{
     color: #000000;
     background-color:  #e5e5d8;
}

#leftsidebar h2

{

    color: Black;
    background-color:  #e5e5d8;

}

#leftsidebar h2 a 

{

	color: #9BBB38;

}

#leftsidebar h2 a:hover 

{

	color: #E58712;

}



#leftsidebar ul ul 

{

		background-color: #e5e5d8;

}

/*** hide borders

#leftsidebar ul ul li 

{

	border: 1px solid #E8E7D0;

}

*/

#leftsidebar ul ul li a:hover 

{

	background-color: #ffffff;
        -moz-border-radius: 7px;
        -webkit-border-radius: 7px;
        -moz-transform: scale(1.15);
        -webkit-transform: scale(1.15);

 }



#leftsidebar ul ul ul 

{

	border: none;

}

/***  hide borders

#leftsidebar ul ul ul li 

{

	border-bottom: none;

	border-top: 1px solid #E8E7D0;

}

*/

/****************** Right Sidebar *******************/



/* Structure */



#rightsidebar h2 

{

	display: inline;

	margin: 0.6em 0 0.3em 0;

	/* padding: 30px 170px 10px 10px; */

}


#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: center;

}



#rightsidebar h2 

{

	font-size: 1.7em;
        color: #ffffff;
}



#rightsidebar ul 

{

	list-style-type: none;

}

#rightsidebar li

{
        text-align: center;
        list-style-type: none;
}


/* Colour and Borders */



#rightsidebar h2 a 

{

	background: url(images/arrow.gif) no-repeat center right;

	color: #9BBB38;

}

#rightsidebar h2 a:hover 

{

	color: #E58712;

}



#rightsidebar ul ul 

{

	border-top: 1px solid #E8E7D0;

	background-color: #FAFAF0;

}



#rightsidebar ul ul li 

{

	border-bottom: 1px solid #E8E7D0;

}



#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 #E8E7D0;

}




/********************** Footer **********************/





/* Structure */



#footer 

{

	float: left;
        clear: both;
        width: 100%;
        margin: 25px 0 25px 0;
}



#footer p 

{

	padding: 0px 10px 5px 0px;
}



/* Typography */



#footer 

{

	font-size: 0.8em;
	text-align: left;
        border-top: 1px solid white;
        border-bottom: 1px solid white;
        clear: both;

}



#footer p 

{

	font-size: 0.8em;
	text-align: left;
        padding: 0 0 0 15px;

}

#footer h2

{

        font-size: 1em;
        text-align: left;
        padding: 0 0 1.2em 15px;

}


/* Colour and borders */



#footer p 

{

	background-color: #e5e5d8;
	
}



/******************* 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 #E8E7D0;

	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 */

.postentry,

.postfeedback

{

	margin-left: 1em;

}



.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: #ffffff;

}



.posttitle a 

{

	background: #f2f0e6;

}



.posttitle a:link, 

.posttitle a:visited 

{

	color: #485708;	

}



.posttitle a:hover, 

.posttitle a:active

{

	background: #f2f0e6;

	color: #485708;

}



.postmeta 

{

	background: url(images/postmeta.gif) no-repeat top left;

	color: #999;

}



.postmeta .postauthor

{

	color: #8BAB28;

}



.permalink 

{

	background: url(images/permalink.gif) no-repeat center left;

}



.commentslink,

.trackbacklink

{

	background: url(images/commentslink.gif) no-repeat center left;

}





/******************** Comments **********************/



/* Structure */



#commentlist 

{

	margin: 1.2em 0;

	padding: 0;

}



#commentlist li 

{

	padding: 1px 20px;

}



.commenttitle 

{

	margin-bottom: 0;

}



.commentmeta 

{

	margin-top: 0;

}



#comment 

{

	width: 98%;

}



.avatar

{

	float:left;

	margin: 5px 10px 5px 0px;

}



/* Typography */



#commentlist 

{

	list-style-type: none;

}



.commenttitle 

{

	font-size: 1.1em;

}



.commentmeta 

{

	font-size: 0.9em;

}



/* Colour and borders */



#commentlist 

{

	border-bottom: 1px solid #E8E7D0;

}



#commentlist li 

{

	border-top: 1px solid #E8E7D0;

	background-color: #FFF;

}



.alt 

{

	background-color: #FAFAF0 !important;

}



.commentmeta 

{

	color: #999;

}



.officialcomment

{

	background-color: #F0F0F0 !important;

}



/********************* 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;

}

img#wpstats
{
        display: none;
}


/******************* 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 */


/************Twitter Feed***************/

#twitter_div 
{
        width: 175px;
	font-family: Verdana, Tahoma, Arial, sans-serif;
	font-size: 0.8em;
	margin-top:40px;
	padding-right: 5px;
	padding-left: 5px;
}

#twitter_div h2
{

         background-color:  #e5e5d8;
         background-repeat:  no-repeat;
         border-bottom-style: solid;
	 border-bottom-width: 1px;
	 border-bottom-color: #ffffff;
}

#twitter_div ul li 
{
	text-align: left;
        color: #000000;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #ffffff;
        padding-top:  10px;
}
 
#twitter_div ul li a 
{
	text-decoration: none;
	color: #DDA84E;
}
 
#twitter_div ul li a:hover 
{
	text-decoration: none;
	color: #D78E42;
}
 
#twitter_div p 
{
	text-align: right;
	padding-right: 6px;
	padding-bottom: 10px;
}