/*
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). 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 
{
    min-width: 690px;         /* 580 2 x (LC fullwidth + CC padding) + RC fullwidth */

    /* IE7 likes putting horizontal scrollbars when it doesn't need to, aaaaa! */
    overflow-x: hidden;
}

#container 
{
    padding-left: 180px;      /* LC fullwidth */
    padding-right: 300px;     /* RC fullwidth + CC padding */
    padding-TOP: 15px;      /* LC fullwidth */

}

#container .column 
{
    position: relative;
    float: left;
}

#centrecontent 
{
    padding: 0px 15px;       /* CC padding */
    width: 100%;
}

#leftsidebar
{
    width: 160px;             /* LC width */
    padding: 0 10px 0px 10px;    /* LC padding */
    right: 210px;             /* LC fullwidth + CC padding */
    margin-left: -100%;
}

#rightsidebar
{
    width: 250px;             /* RC width */
    padding: 0 10px;          /* RC padding */
    margin-right: -100%;
}

#footer 
{
    clear: both;
}

/* Essential Layout (IE Fix) */
* html #leftsidebar {
    left: 270px;              /* RC fullwidth */
}

/* Essential Layout (IE7 Fix) */
*+html #leftsidebar {
    left: 270px;              /* 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;
}

.hidden
{
    visibility: hidden;
}

/* Typography */

body 
{
    font-size: 78%;
    font-family: Verdana, Arial, "Lucida Grande", "Lucida Sans Unicode", 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: "Lucida Grande", 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, Arial, "Lucida Sans Unicode", Tahoma, Arial, sans-serif;
}

blockquote 
{
    font-size: 0.9em;
}

code 
{
    font-family: monospace;
}

.small 
{
    font-size: 0.9em;
}

/* Colour and borders */

body 
{
    background: #E8E8CE;
}


h1, h2, h3, h4, h5, h6 
{
    color: #9BBB38; 
}

a:link 
{
    color: #E58712;
}

a:visited 
{
    color: #B96F17;
}

a:hover, a:active 
{
    color: #9BBB38;
}

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 */

#header 
{
    padding: 0px;
    margin: 0px;
}

.headerlist
{
    height: 85px; /* 75 + 13 */
}

.headernolist
{
    height: 70px;
}

#header p
{
    padding: 0px;
    margin: 0 0 0 40px;    
    height: 23px;
}

#header h1 
{
    padding: 0px;
    margin: 0 0 0px 10px;    
    height: 45px;    
}

#header ul
{    
    height: 15px;
    width: 100%;
    padding: 0;    
    margin: 0px;    
}

#header ul li
{
    padding: 0;    
    margin: 0px;
    display: inline;
}

#header ul li a
{
    padding: 0px 10px 0px 10px;
}

/* Typography */

#header h1 
{
    font-size: 3.6em;
}
#header h1 a 
{
    text-decoration: none;
}

#header ul
{    
    font-size: 0.9em;
    text-align: left;
    font-family: Verdana, Arial, 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
    line-height: 15px;
    /* fixes Firefox 0.9.3 */
}

#header ul li a
{
    text-decoration: none;
}


/* Colour and borders */

#header 
{
    background: url(images/random-header.php) no-repeat top right;
    height: 75px;    
    background-color: #FAFAF0;
}

.headernolist
{
    border-bottom: 10px solid #9BBB38;
}

#header h1 a 
{
    color: #80904F;
}

#header ul
{
    background-color: #9BBB38;
    color: #F0F0F0;
}

#header ul li a
{
    color: #F0F0F0;
}

#header ul li a:hover
{
    background: #F0F0F0;
    color: #3A291F;
}

#header #active 
{ 
    border-left: 1px solid #F0F0F0; 
}

/******************* 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 
{
        font-weight:bold;
    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: 220px;
    voice-family: "\"}\""; 
    voice-family: inherit;
    width: 200px;
} 
html>body #rightsidebar ul ul li a 
{
    width: 200px;
}

#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: 185px;
} 

html>body #rightsidebar ul ul ul li a 
{
    width: 185px;
}

/* 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 */
.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: #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-author 
{
    margin: 0.5em 0em 0em 0em;
}

.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-family: "Lucida Grande", Tahoma, Arial, sans-serif;
    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 
{
    color: #9BBB38;
}

.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 */