/*  
Theme Name: NZ ICE Magazine
Theme URI: http://www.nzicemag.co.nz/
Description: A theme developed for NZ ICE Magazine by Nick Kemp at Leet.co.nz
Version: 1.0
Author: Nick Kemp
Author URI: http://leet.co.nz
*/

/* Inline gallery */

#inlinegallery
{
	border: 1px solid #000;
	background: #444;
	padding: 10px;
}

#inlinegallery_toggle
{
	text-align: right;
	clear: both;
}

.thumbnail{
	padding: 3px 3px 3px 3px;
	background-color: #333;
	border: 1px solid #3a3a3a;
	float: left;
	margin: 5px 6px;
	color: #666;
}	

.post img
{
	border: 1px solid #444;
	padding: 4px;
	background-color: #000;
}

.post img.nostyle
{
	border: none;
	padding: 0px;
	background: none;
}

/* Custom plugins */

#ec3_publish img
{
	border: 0px;
}

.ec3_postday
{
	background-color: #695c30;
	color: #ccc;
}

.ec3_postday a
{
	color: #ccc;
}

#ec3_prev, #ec3_next
{
	color: #fff;
	font-weight: bold;
}

#today
{
	color: #fff;
}

#wp-calendar
{
	margin: 5px 2px;
	padding: 2px;
	background-color: #3A3A3A;
	font-size: 10px;
}

a.more-link
{
	display: block;
	text-align: right;
	margin: 10px 0px 0px;
}

/* Begin typography and styling */
body
{
	background-color: #444;
	font: 12px Tahoma;
	color: #ccc;
}

a
{
	text-decoration: none;
	color: #f4c111;
}

a:hover
{
	text-decoration: none;
	color: #fff;
}

.post
{
	margin: 0px 0px 20px 0px;
	border-bottom: 5px solid #444;
}

.navigation
{
	margin-bottom: 25px;
}

h1, h2, h3
{
	font-family: Tahoma;
	font-weight: normal;
}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description
{
	text-decoration: none;
	color: #f4c111;
}

h1
{
	font-size: 4em;
	text-align: center;
}

#headerimg .description
{
	font-size: 1.2em;
	text-align: center;
}

h2
{
	color: #6bc938;
	font-size: 16px;
	margin: 0px;
	font-weight: bold;
}

h2.pagetitle
{
	color: #f4c111;
	font-size: 18px;
	margin: 0px;
	margin-bottom: 20px;
}

#sidebar h2
{
	font-family: Tahoma;
	font-size: 1.2em;
	font-weight: bold;
	color: #fff;
}

h3 {
	font-size: 16px;
	margin: 0px;
	font-weight: bold;
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited
{
	color: #FF7C00;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite
{
	text-decoration: none;
}

.postmetadata, small
{
	font-size: 10px;
	color: #fff;
}

#uppermenu ul, #uppermenu ul li
{
	display: inline;
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#uppermenu ul li
{
	font: 14px Tahoma;
	color: #a8a8a8;
}

	#uppermenu ul li a
	{
		padding: 2px 4px;
		margin: 0px 0px 0px 20px;
		color: #a8a8a8;
		text-decoration: none;
	}
	
	#uppermenu ul li a:hover
	{
		color: #fff;
		background-color: #555;
	}

#footer
{
	font-size: 11px;
	color: #a8a8a8;
}

	#footer a
	{
		text-decoration: underline;
		color: #bbb;
	}
	
	#footer a:hover
	{
		color: #f4c111
	}
/* End typography and styling */

/* Begin structure and layout */
body, html
{
	width: 100%;
	margin: 0px;
	padding: 0px;
}

#container
{
	width: 800px;
	margin: 40px auto;
}

#header
{
	position: relative;
	width: 100%;
	height: 65px;
	z-index: 10;
}

	#logo
	{
		float: left;
	}
	
	#uppermenu
	{
		float: right;
		margin: 22px 0px 0px 0px;
		z-index: 20;
	}

#pageblock
{
	position: relative;
	width: 100%;
	min-height: 400px;
	background-color: #353535;
	z-index: 5;
}

#pageinner
{
	padding: 20px;
    padding-bottom: 60px;
}

	#sidebar
	{
		float: left;
		width: 170px;
	}
	
	#content
	{
		position: relative;
		float: right;
		width: 600px;
		margin-bottom: 20px;
	}

		.post
		{
			clear: both;
		}
		
	#nzimoverlay
	{
		z-index: 1;
		position: absolute;
		bottom: -75px;
		right: -60px;
	}
    
    #googlead
    {
    	text-align: center;
    }

#footer
{
	position: relative;
	margin: 20px auto;
	width: 800px;
	text-align: center;
	
	z-index: 10;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

.postmetadata
{
	clear: left;
}

/* End structure and layout */

/* Begin Sidebar lists */

#sidebar ul, #sidebar ul ol
{
	margin: 0;
	padding: 0;
	width: 150px;
}

#sidebar ul li
{
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
}

#sidebar ul li ul li {
	margin-left: 10px;
	list-style-image: url('images/green_arrow.gif')
}

#sidebar ul p, #sidebar ul select
{
	margin: 5px 0 8px;
}

#sidebar ul ul, #sidebar ul ol
{
	margin: 5px 0 0 10px;
}

#sidebar ul ul ul, #sidebar ul ol
{
	margin: 0 0 0 10px;
}

ol li, #sidebar ul ol li
{
	list-style: decimal outside;
}

#sidebar ul ul li, #sidebar ul ol li
{
	margin: 3px 0 0;
	padding: 0;
	font-size: 10px;
}

.entry ul li {
	list-style-image: url('images/green_arrow.gif')
}
/* End sidebar lists */

/* Begin Form Elements */
#sidebar form
{
	margin: 0px;
}
#searchform
{
	width: 120px;
	margin: 0px;
	padding: 15px 10px 5px 10px; 
	text-align: center;
	
	background-color: #3a3a3a;
}

#sidebar #searchform #s
{
	width: 108px;
	padding: 2px;
	font: 10px Verdana;
}

#sidebar #searchsubmit
{
	padding: 5px;
	border: 0px solid #3a3a3a;
	background: none;
	color: #bebebe;
	font: bold 9px Verdana;
	text-transform: uppercase;
}

.entry form
{ /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}

select
{
	width: 130px;
}

#commentform input
{
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform textarea
{
	width: 95%;
	padding: 2px;
	
	font: 10px Verdana;
	color: #666;
	border: 1px solid #000;
	background-color: #f8f8f9;
}

#commentform #submit
{
	margin: 0;
	float: left;
	
	font: 10px Verdana;
	background-color: #444;
	border: 1px solid #000;
	color: #fff;
}
/* End Form Elements */

/* Begin 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) */

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
	}
/* End Images */
