/*=================================*/
/* The Code Cookbook
/* January 2009
/* By: Gilbert Pellegrom
/* http://www.gilbertpellegrom.co.uk
/*=================================*/

/*====================*/
/*=== Reset Styles ===*/
/*====================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/*===================*/
/*=== Main Styles ===*/
/*===================*/
body {
	color:#aaa;
	font: 0.7em/1.65 "Lucida Grande",Tahoma,Verdana,sans-serif;
	background:#1A1A1A url(images/header-back.png) repeat-x top;
}
a, a:visited { 
	color:#8ed6ff; 
	text-decoration:none; 
}
a:hover, a:active { 
	color:#fff; 
	text-decoration:none; 
	border-bottom: 1px solid #c00;
}

h1 {
	font-family: "Gill Sans","Gill Sans MT", "Lucida Sans Unicode";
	font-size:30px;
	margin:8px 0px;
}
h2 {
	font-family: "Gill Sans","Gill Sans MT", "Lucida Sans Unicode";
	font-size:24px;
	margin:0px 0px 5px 0px;
}
h3 {
	font-family: "Gill Sans","Gill Sans MT", "Lucida Sans Unicode";
	font-size:18px;
	margin:25px 0px 5px 0px;
}

p {
	margin-bottom:7px;
}
ol {
	list-style:decimal;
}
ul {
	list-style:circle;
}
li {
	padding:2px;
}
b, strong {
	font-weight:bold;
}
i, em {
	font-style:italic;
}
u {
	text-decoration:underline;
}

/*========================*/
/*=== Structure Styles ===*/
/*========================*/
#wrapper {
}
#header-main {
	width:900px;
	height:100px;
	margin:0 auto;
	padding-top:50px;
}
#header h1 {
	background:transparent url(images/header.png) no-repeat;
	width:375px;
	height:100px;
	text-indent:-9999px;
	margin:-25px 0px 0px -20px;
}
#header-main a {
	color:#DFDFDF;
}
#header-main span {
	color:#fff;
}
#header-nav {
	background:#2F2F2F;
	border-top:1px solid #3f3f3f;
	height:40px;
	padding-top:10px;
}
#header-nav-inner {
	width:900px;
	margin:0 auto;
}
#header-nav .right {
	float:right;
}
#header-nav ul {
	list-style:none;
	padding-top:3px;
}
#header-nav li {
	float:left;
}
#header-nav a {
	display:block;
	background:#8ED6FF;
	color:#333;
	border-bottom:0px;
	width:56px;
	height:20px;
	float:left;
	margin-right:5px;
	text-align:center;
}
#header-nav a:hover {
	background:#EEE;
	color:#000;
}
#header-nav a.active {
	background:#c00;
	color:#fff;
}
#head_search {
	float:right;
	background:#1F1F1F;
	font-size:10px;
	color:#aaa;
	width:200px;
	margin-top:15px;
	border-bottom:1px solid #2F2F2F;
}

#body {
	padding:30px 0px;
}

#main-content, #main-nav {
	width:900px;
	margin:0 auto;
}
#main-content h2 span {
	color:#fff;
}

#sidebar {
	float:right;
	width:230px;
}
#sidebar .box {
	background:#2F2F2F;
	padding:10px 15px;
	margin-bottom:10px;
	border-top:1px solid #3F3F3F;
}
#sidebar a {
	color:#aaa;
}
#sidebar a:hover {
	color:#fff;
}
#sidebar .box small{
	font-size:10px;
	color:#555;
	margin:0;
	padding:0;
}
#sidebar h2 {
	margin:-5px 0px 5px 0px;
	font-size:16px;
	font-weight:bold;
	border-bottom:1px solid #555;
	font-style:italic;
	color:#8ED6FF;
}
#sidebar ul, #sidebar ol {
	padding-left:20px;
}
#sidebar li {
	padding:0px;
}

#footer {
	background:#2F2F2F;
	border-top:1px solid #3f3f3f;
}
#footer-meta {
	background:#1A1A1A;
	height:70px;
	color:#fff;
	font-size:11px;
}
#footer-meta p {
	width:900px;
	margin:0 auto;
	padding-top:15px;
}
#footer-langs {
	width:900px;
	margin:0 auto;
	padding:20px 0px 30px 0px;
	color:#fff;
}
#footer-langs table {
	width:900px;
}
#footer-langs a {
	display:block;
	background:#8ED6FF;
	color:#333;
	padding:1px 5px;
	float:left;
	margin-bottom:5px;
	border-bottom:0px;
}
#footer-langs a:hover {
	background:#EEE;
	color:#000;
}

ol#comments {
	padding:5px 0px 5px 27px;
	font-family:Georgia,'Times New Roman',serif;
	font-size:26px;
	color:#3F3F3F;
	font-style:italic;
}
ol#comments li {
	margin-bottom:10px;
	border-bottom:1px solid #2F2F2F;
}
.comment {
	font-family:"Lucida Grande",Tahoma,Verdana,sans-serif;
	font-size:11px;
	color:#aaa;
	font-style:normal;
}
.comment strong {
	color:#fff;
}

/*===================*/
/*=== Form Styles ===*/
/*===================*/
.form {
	list-style:none;
}
.form label {
	display:inline-block;
	padding-top:8px;
	vertical-align:top;
	width:100px;
}
.form input {
	width:300px;
}
.form textarea {
	width:300px;
	height:150px;
}
.form input.button {
	width:100px;
	margin:10px 0px 0px 100px;
}
.form small {
	font-size:11px;
	color:#868A8F;
	padding-left:100px;
}

/*====================*/
/*=== Input Styles ===*/
/*====================*/
input,
textarea,
select {
  padding: 7px;
  font: 400 11px verdana, sans-serif;
  color:#ccc;
  background: #333333;
  border:0px;
  margin:5px 0px;
}

input:focus,
textarea:focus,
select:focus {
  color: #fff;
}

input.button {
  background: #8ED6FF;
  color: #333;
}

/*====================*/
/*=== Entry Styles ===*/
/*====================*/
.entry {
	width:620px;
	padding:5px 0px;
	margin-bottom:10px;
}
.entry h2 {
	border:0px !important;
}
.entry h2 a {
	color:#8ed6ff;
	border-bottom:1px solid #2F2F2F;
}
.entry h2 a:hover {
	color:#fff;
	border-bottom:1px solid #c00;
}
.entry-lang a {
	background:#8ed6ff;
	color:#333;
	border-bottom:0px;
	padding:3px 8px;
}
.entry-main {
	width:600px;
	margin-bottom:20px;
}
.entry h2, .entry-main h2, .entry h3 {
	color:#fff;
	border-bottom:1px solid #2F2F2F;
}
.entry-right {
	float:right;
	text-align:right;
	padding-top:14px;
	color:#BFBFBF;
}
.entry-right img {
	margin-bottom:3px;
}

/*=============================*/
/*=== Geshi Override Styles ===*/
/*=============================*/
#geshi {
	font-size:12px;
	background: #333333;
	color:#ddd;
	padding:10px;
	margin-bottom:10px;
	width:100%;
	overflow:auto;
	z-index:99;
	position:relative;
}
#geshi a {
	border-bottom:0px;
}

/*======================*/
/*=== Message Styles ===*/
/*======================*/
.message-success {
	padding:5px 10px;
	background:#FFE57F;
	color:#000;
	margin:8px 0px;
	width:610px;
}
.message-error {
	padding:5px 10px;
	background:#9F0000;
	color:#fff;
	margin:8px 0px;
	width:610px;
}

/*=============================*/
/*=== LiveValidation Styles ===*/
/*=============================*/
.LV_validation_message{
    margin:0 0 0 5px;
}

.LV_valid {
    color:#868A8F;
	display:none;
}
	
.LV_invalid {
    color:#c00;
}

.LV_invalid_field, 
input.LV_invalid_field:hover, 
input.LV_invalid_field:active,
textarea.LV_invalid_field:hover, 
textarea.LV_invalid_field:active {
    border-right: 1px solid #c00;
}

/*=========================*/
/*=== Pagination Styles ===*/
/*=========================*/
.pagination {
	font-size: 80%;
}
.pagination a {
    text-decoration: none;
	background:#343434;
	color:#aaa;
    display: block;
    float: left;
    padding: 0.3em 0.5em;
    margin-right: 5px;
	margin-bottom: 5px;
	border-bottom:0px;
}
.pagination a:hover {
    background:#8ED6FF;
    color: #333;
}
.pagination .current {
    background:#c00;
    color: #fff;
}


/*====================*/
/*=== Other Styles ===*/
/*====================*/
#language-list li {
	padding:0px;
}
a#expand-button {
	float:right;
	cursor:pointer;
	margin-right:-15px;
}
a#add-favorite {
	cursor:pointer;
}
#sb_search {
	width:180px;
	background:#1a1a1a;
}
.inner {
	width:900px;
	margin:0 auto;
}
.error {
		color:red;
}
.clear {
	clear:both;
}
a.invert {
	background:#8ED6FF;
	color:#333;
	padding:1px 4px;
	border-bottom:0px;
}
#sidebar a.invert {
	background:#8ED6FF;
	color:#333;
	padding:2px 4px;
	border-bottom:0px;
}
a.feed {
	background:transparent !important;
	margin-top:4px;
}
.indent {
	padding-left:25px;
}
#profile {
	min-height:60px;
	height:auto !important;
	height:60px; /* Because IE sucks */
}
.profile-image {
	float:left;
	margin:4px 8px 3px 0px;
}
