/*

	Stylesheet for E-on

	Media:      screen, projection
	Copyright:  Netlash <http://www.netlash.com>
	Author:     Yoni De Beule <yoni@netlash.com>

*/

/*
	Reset
*/

body, form, ol, ul, dl, li, dt, dd, td, th ,tr, h1, h2, h3, h4, h5, h6, p, pre, blockquote, address { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { border:0; }
fieldset { margin: 0; padding: 0; border: 0; }
input, select, textarea { font-size: 100%; vertical-align: middle; }
table { border-collapse: collapse; border-spacing: 0; empty-cells: show; }
th { text-align: left; }
a:focus { overflow: hidden; }

/*
	General
*/

body {
	font: 300 12px "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	line-height: 1.5;
	color: #000;
}

/*
	Typography and text styles
*/

/* General */

p {
	padding: 0 0 18px 0;
}

strong, th, thead td, h1, h2, h3, h4 {
	font-weight: 700;
}

/* Headings */

h1, h2, h3 {
	line-height: 1.1;
	font-family: Helvetica, Arial, sans-serif;
}

h1 {
	font-size: 22px;
	padding: 0 0 12px 0;
}

h2 {
	font-size: 20px;
	padding: 0 0 12px 0;
	letter-spacing: -0.05em;
}

	#main h2,
	#main h2 a:link,
	#main h2 a:visited,
	#main h2 a:hover,
	#main h2 a:active {
		font-size: 24px;
		color: #e2001a;
	}

h3 {
	font-size: 18px;
	padding: 0 0 12px 0;
	letter-spacing: -0.03em;
}

h4 {
	font-size: 14px;
	padding: 0 0 6px 0;
	letter-spacing: -0.01em;
}

h1 a, h2 a, h3 a, h4 a {
	border: 0;
}

h1 a:link, h1 a:visited, h2 a:link, h2 a:visited, h3 a:link, h3 a:visited, h4 a:link, h4 a:visited {
	color: #000;
}

h1 a:hover, h1 a:active, h2 a:hover, h2 a:active, h3 a:hover, h3 a:active, h4 a:hover, h4 a:active {
	color: #e2001a;
}

/* Links */

a {
	border-bottom: 1px solid #666;
	text-decoration: none;
}

a:link {
	color: #0087c8;
	border-color: #abd7ed;
}

a:visited {
	color: #1479ce;
	border-color: #b2d3ef;
}

a:hover {
	color: #e2001a;
	border-color: #e2001a;
}

a:active {
	color: #000;
	border-color: #000;
}

/* .content defaults */

.content ul {
	list-style: disc;
	padding: 0 0 12px 24px;
}

.content ol {
	list-style-type: decimal;
	padding: 0 0 12px 24px;
}

.content dl {
	padding: 0 0 12px 24px;
}

.content ul ul,
.content ul ol,
.content ol ul,
.content ol ol {
	padding-bottom: 0;
}

.content code {
	font-family: Monaco, "Courier New", monospace;
}

.content pre {
	font-size: 12px;
	line-height: 18px;
	background: #F5F5F5;
	margin: 0 0 12px 0;
	padding: 10px;
}

.content blockquote,
.content q {
	font-style: italic;
	color: #666;
}

.content blockquote {
	padding: 0 10px; 
	padding: 12px 0;
	text-indent: -0.8em;
}

.content cite,
.content em {
	font-style: italic;
}

/*
	Sticky footer
*/

html, body, #topWrapper {
	height: 100%;
}

body > #topWrapper {
	height: auto;
	min-height: 100%;
}

#topWrapper {
	width: 972px;
	background: url(../images/background.gif) repeat-x;
}

#content {
	width: 936px;
	padding: 0 0 72px 36px;
}

#bottomWrapper {
	position: relative;
	margin-top: -48px;
	height: 48px;
	clear: both;
	width: 972px;
	background: #ddd;
}

/*
	Page structure and layout
*/

	/* Header */

	#header {
		padding: 60px 0 48px 36px;
		width: 936px;
	}

	#header h2 {
		font-weight: 300;
		line-height: 1.4;
		padding: 66px 0 0 68px;
		width: 640px;
		float: left;
	}

	/* Logo */

	#header h1 {
		width: 228px;
		height: 84px;
		background: url(../images/logo.gif) no-repeat;
		text-indent: -9999px;
		float: left;
		padding: 0;
	}

	#header h1 a {
		width: 100%;
		height: 100%;
		display: block;
		overflow: hidden;
		border: 0;
	}

	/* Navigation */

	#navigation {
		width: 168px;
		padding: 0 30px 0 0;
		float: left;
	}

	#navigation li {
		width: 168px;
		margin: 0;
		padding: 0;
	}

	#navigation li a {
		display: block;
		padding: 8px 12px;
		min-height: 18px;
		border-color: #ddd;
		color: #000;
	}

		#navigation li a:link,
		#navigation li a:visited {
			border-color: #ddd;
			color: #000;
		}

		#navigation li a:hover,
		#navigation li a:active {
			background: #f2f2f2;
			border-color: #ddd;
			color: #e2001a;
		}

	#navigation li.selected a {
		font-weight: 700;
	}

	#navigation li li {
		font-family: "Lucida Grande", Verdana, Arial, sans-serif;
		font-size: 11px;
		line-height: 1.636;
		padding: 0 0 0 12px;
		width: 156px;
	}

	#navigation li li a {
		padding: 6px 12px;
	}

	#navigation li.selected li a {
		font-weight: 300;
	}

	#navigation li li.selected a {
		font-weight: 700;
	}

	#navigation li li li {
		width: 144px;
	}

	#navigation li li.selected li a {
		font-weight: 300;
	}

	#navigation li li li.selected a {
		font-weight: 700;
	}

	#navigation li li li li {
		width: 132px;
	}

	#navigation li li li.selected li a {
		font-weight: 300;
	}

	#navigation li li li li.selected a {
		font-weight: 700;
	}

	/* Content */

	#main {
		width: 420px;
		padding: 0 24px 0 30px;
		float: left;
	}

	#sidebar {
		width: 240px;
		padding: 0 0 0 24px;
		float: left;
	}

	small, .small {
		font-family: "Lucida Grande", Verdana, Arial, sans-serif;
		font-size: 11px;
		line-height: 1.636;
	}

	.iconHeaders h3 a, .iconHeaders h3 a:link, .iconHeaders h3 a:visited {
		color: #e2001a;
	}

	.iconHeaders h3 a:hover, .iconHeaders h3 a:active {
		color: #b00015;
	}

	#main .item {
		width: 420px;
		padding-bottom: 24px;
	}

	#home #main .item {
		width: 420px;
		padding-bottom: 60px;
	}

	#sidebar .item {
		width: 240px;
		padding-bottom: 12px;
	}

	p.date, p.author {
		color: #999;
		font-family: "Lucida Grande", Verdana, Arial, sans-serif;
		font-size: 11px;
		line-height: 1.636;
	}

	.meta {
		width: 372px;
		color: #666;
		font-family: "Lucida Grande", Verdana, Arial, sans-serif;
		font-size: 11px;
		line-height: 1.636;
		padding: 12px 24px 14px 24px;
		margin: 0 0 24px 0;
		border-top: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
	}
	
	.blogpost {
		margin-bottom: 18px;
		border-bottom: 1px solid #ddd;
	}

	.gravatar {
		padding: 6px 12px 12px 0;
		float: left;
	}

	.gravatar img {
		background: #ddd;
		width: 40px;
		height: 40px;
		display: block;
		text-align: center;
		font-family: "Lucida Grande", Verdana, Arial, sans-serif;
		font-size: 11px;
		line-height: 1.636;
		color: #fff;
	}

	a.button {
		float: left;
		height: 26px;
		line-height: 26px;
		padding: 0 0 0 10px;
		margin: 0 10px 0 0;
		background: url(../images/button_background.gif) no-repeat left 0;
		border: 0;
	}

		a.button:link,
		a.button:visited {
			background-position: left 0;
		}

		a.button:hover {
			background-position: left -26px;
		}

		a.button:active {
			background-position: left -52px;
		}

	a.button span {
		float: left;
		display: block;
		height: 26px;
		line-height: 26px;
		padding: 0 10px 0 0;
		background: url(../images/button_background.gif) no-repeat right 0;
		font-family: "Lucida Grande", Verdana, Arial, sans-serif;
		font-size: 11px;
		font-weight: 700;
		cursor: pointer;
	}

		a.button:link span,
		a.button:visited span {
			background-position: right 0;
		}

		a.button:hover span {
			background-position: right -26px;
		}

		a.button:active span {
			background-position: right -52px;
		}

	.imageWrapper {
		width: 80px;
		padding: 4px 12px 0 0;
		float: left;
	}

	.imageWrapper a {
		display: block;
		border: 0;
	}

	.imageWrapper img {
		width: 80px;
		height: auto;
		display: block;
	}

	.textWrapper {
		width: 148px;
		float: left;
	}

	div.hr hr {
		display: none;
	}
	
	div.hr {
		height: 1px;
		background: #ddd;
		margin: 12px 0;
	}

	#blogarchive-mini,
	#blogcategories-mini {
		padding: 0 30px 12px 0;
		font-family: "Lucida Grande", Verdana, Arial, sans-serif;
		font-size: 11px;
		line-height: 1.636;
	}

	#blogarchive-mini li,
	#blogcategories-mini li {
		margin: 0;
		padding: 0;
	}

	#blogarchive-mini li a,
	#blogcategories-mini li a {
		display: block;
		padding: 6px 12px;
		min-height: 18px;
		border-color: #ddd;
		color: #000;
	}

		#blogarchive-mini li a:link,
		#blogarchive-mini li a:visited,
		#blogcategories-mini li a:link,
		#blogcategories-mini li a:visited {
			border-color: #ddd;
			color: #000;
		}

		#blogarchive-mini li a:hover,
		#blogarchive-mini li a:active,
		#blogcategories-mini li a:hover,
		#blogcategories-mini li a:active {
			background: #f2f2f2;
			border-color: #ddd;
			color: #e2001a;
		}

		table {
			border-top: 1px solid #ddd;
		}

		td,
		th {
			border-bottom: 1px solid #ddd;
			font-size: 11px; 
			padding: 4px;
		}

		th {
			font-weight: 700;
			background: #f4f4f4;
		}

	/* Footer */

	#footer {
		height: 48px;
		overflow: hidden;
		color: #666;
	}

	#footer ul {
		text-align: right;
		padding: 16px 12px 0 0;
	}

	#footer li {
		display: inline;
		padding: 0 12px;
	}

	#footer a, #footer a:link, #footer a:visited {
		color: #333;
		border-color: #a5a5a5;
	}

	#footer a:hover, #footer a:active {
		color: #000;
		border-color: #000;
	}

/*
	Dialog boxes
*/

.form-success {
	color: #666;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	font-size: 11px;
	line-height: 1.636;
	padding: 12px 24px 14px 24px;
	margin: 0 0 24px 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	text-align: center;
}

.form-error {
	padding: 4px;
	margin: 3px 0;
	background: #fbe3e4;
	border: 1px solid #fbc2c4;
	color: #8a1f11;
	display: block;
}

/* Cufon fix for Firefox 2 */

#header h2 span, x:-moz-any-link {
	float: left;
	padding-bottom: 10px;
}

/*
	Pagination
*/

.pagination-wrap {
	width: 100%;
	overflow: hidden;
}

.pagination {
	float: left;
	position: relative;
	left: 50%;
}

.pagination ul {
	padding: 18px 0;
	z-index: 2;
	overflow: hidden;
	position: relative;
	left: -50%;
}

.pagination li {
	float: left;
	list-style: none;
	margin: 0 5px 0 0;
	text-decoration: none;
	padding: 0;
	line-height: 15px;
	font-size: 12px;
	text-align: center;
}

.pagination li span {
	float: left;
	display: block;
	padding: 4px 5px;
	color: #ccc;
	min-width: 12px;
}

.pagination li.currentpage span {
	font-weight: 700;
	color: black;
}

.pagination li.selected span {
	padding: 4px 5px;
	font-weight: 700;
	color: black;
}

.pagination li a:link,
.pagination li a:visited {
	float: left;
	display: block;
	padding: 3px 4px;
	border: 1px solid #ddd;
	text-decoration: none;
	min-width: 12px;
}

li.ellipsis {
	margin: 0;
}

li.ellipsis span {
	color: black;
}

.pagination li a:hover,
.pagination li a:active {
	background: #eee;
	border: 1px solid #bbb;
	color: black;
}

.nextpage, .previouspage {
	font-size: 11px !important;
}

.pagination li.nextpage {
	margin-left: 10px;
}

.pagination li.previouspage {
	margin-right: 15px;
}

/* Form styles */

/* Form styles */

legend {
	display: none;
}

label {
	display: block;
	font: 300 12px Verdana, Helvetica, Arial, sans-serif;
	padding: 4px 0;
}

input.input-text,
textarea {
	background: #fcfcfc;
	border: 1px solid #ddd;
	color: #666;
	font: 300 12px Verdana, Helvetica, Arial, sans-serif;
	padding: 2px 1px;
}

textarea {
	width: 418px;
}

input:focus, 
textarea:focus {
	border-color: #999; 
	background: #fff;
}

input.checkbox {
	float: left;
}

@-moz-document url-prefix() {
	input[type="text"]:focus,
	input[type="submit"]:focus,
	textarea:focus { 
		outline: 2px solid #e2001a;
		-moz-outline-radius: 3px;
		fborder-color: #e2001a;
	}
} 

input.input-submit {
	color: #333;
	background: #fff;
	padding: 1px 6px;
	font: 700 11px "Lucida Grande", Verdana, Arial, sans-serif;
	border: 1px solid #ddd;
	text-align: center;
}

input.input-submit:hover {
	background: #ddd;
	border-color: #ddd;
	color: #000;
	cursor: pointer;
}

input.input-submit:active,
input.input-submit:focus {
	background: #e2001a;
	color: #fff;
}

/* General classes */

.hidden { display: none; }
.block { display: block; }

.noPadding { padding: 0 !important; }
.noMargin { margin: 0 !important; }

.floatLeft { float: left; }
.floatRight { float: right; }

.noBorder { border: none !important; }
.border { border: 1px solid #C7C7C7; }

.clear { clear: both;}

.serif { font-family: "Times New Roman", Times, Georgia, serif; }
.serifSpecial { font-family: "Hoefler Text", "Palatino Linotype", "Times New Roman", Times, Georgia, serif; }
.uc { text-transform: uppercase; }
.sc { font-variant: small-caps; }
.lc { text-transform: lowercase; }

.rc {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

/* Image classes */

img.alignLeft {
	float: left;
	padding: 4px 24px 6px 0;
}

img.alignRight {
	float: right;
	padding: 4px 0 6px 24px;
}

img.alignLeftResize {
	float: left;
	padding: 4px 24px 6px 0;
	width: 72px;
	height: auto;
}

img.alignRightResize {
	float: right;
	padding: 4px 0 6px 24px;
	width: 72px;
	height: auto;
}

a.linkedImage {
	border: 0;
	display: block;
	font-size: 11px;
	color: #808080;
}

a.linkedImage img {
	display: block;
}

/*
	Clearfix
*/

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