body {
	background: #d5d8c9;
}

body, table, input, textarea, h3, button {
	font-size: 12px;
	font-family: Georgia, "Times New Roman", serif;
}

a {
	text-decoration: none;
}

ul {
	padding-left: 26px;
	margin-bottom: 6px;
	list-style-image: url('../img/bullet-black.png');
}
ul ul {
	list-style-image: url('../img/bullet-black-level-two.png');
	margin-bottom: 0;
}

p {
	padding: 2px 0 8px;
	margin: 0;
}

h1, h1 a, h2, h3 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", LucidaGrande, "Lucida Sans", Geneva, Verdana, Sans Serif;
	font-weight: bold;
	letter-spacing: -0.01em;
	padding: 0;
	margin: 0;
}
h1 {
	line-height: 120%;
	text-align: left;
}
h1, h1 a, h2 {
	color: #444;
}
h1 a {
	border-bottom: 2px #fff solid;
}
h1 a:hover {
	color: #e96e00;
	border-color: #e96e00;
}

h1 {
	font-size: 22px;
	padding-bottom: 6px;
}

h2 {
	/* text-shadow: 1px 1px 1px #e9ecdc; */
	color: #444;
	font-size: 16px;
}

img {
	vertical-align: bottom;
}

button, #goto-add-comment {
	background-color: #444;
	cursor: pointer;
	border: 0;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 4px 8px;
	color: #fffefa;
}
	button:hover, #goto-add-comment:hover {
		background-color: #e96e00;
	}

ul.error {
	list-style-image: url('../img/bullet-red.png');
	color: #b22222;
	margin-bottom: 20px;
}

.center {
	text-align: center;
}

.info-box {
	background-color: #fefdec;
	border: #edebcd solid 1px;
	padding: 10px;
	margin: 2px 0;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

pre.code, .syntaxhighlighter {
	width: 582px;
	overflow-x: auto;
}
.comment .syntaxhighlighter {
	margin-top: 10px !important;
	overflow-x: auto;
	width: 430px !important;
}
.syntaxhighlighter {
	margin-top: 0 !important;
}

.clearer {
	clear: both;
	height: 0 !important;
	font-size: 0;
	overflow: hidden !important;
}

.right {
	float: right !important;
}
.left {
	float: left !important;
}

  /***************/
 /* Main design */
/***************/

#body {
	width: 100%;
	min-height: 100%;
	position: relative;
	background: transparent url('../img/menu-top.png') top repeat-x;
	text-align: center;
}

#container {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 882px;
	text-align: left;
	background: url('../img/gears.png') right -40px no-repeat;
}

#header { }

	#logo {
		background: #444;
		padding: 32px;
		float: left;
		margin: 32px 0;
		-moz-border-radius: 6px;
		-webkit-border-radius: 6px;
		border-radius: 6px;
	}
		#logo a {
			width: 211px;
			height: 51px;
			display: block;
			background: transparent url('../img/logo.png') no-repeat left top;
		}

#search-form {
	float: right;
}

	#search-form p {
		margin: 0;
		padding: 0;
	}

	#search-form #search {
		width: 200px;
		height: 16px;
		margin-left: 32px;
		margin-top: 8px;
		padding: 3px 27px 3px 7px;
		border: 1px solid #616161;
		background-color: #616161;
		color: #fffefa;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
	}
		#search-form #search:focus {
			background-color: #777;
			border-color: #777;
		}
	
		#search-form #search.empty {
			font-style: italic;
			color: #444;
		}
	
	#search-form .button {
		position: absolute;
		right: 4px;
		top: 11px;
		cursor: pointer;
	}

#menu {
	height: 40px;
	width: 882px;
	float: right;
	top: 92px;
	background-color: #444;
}
	#menu ul {
		overflow: hidden;
		margin: 0;
		padding: 0;
		list-style-type: none !important;
		list-style-image: none !important;
	}

	#menu li {
		padding: 0;
		margin: 0;
		float: right;
		margin-top: 8px;
		margin-left: 20px;
	}
		#menu li a {
			display: block;
			padding: 4px 8px;
			font-size: 13px;
			color: #fffefa;
		}
		#menu li a:hover {
			color: #e96e00;
		}
			#menu li a.open {
				background-color: #e96e00;
				color: #444;
				-moz-border-radius: 3px;
				-webkit-border-radius: 3px;
				border-radius: 3px;
			}

	#first-column, #first-column-wide, #second-column {
		float: left;
	}
	#first-column {
		width: 614px;
		min-height: 400px;
	}
	#first-column-wide { }

	#second-column {
		margin-left: 32px;
		width: 236px;
		padding-left: 0;
	}
		#second-column h2 {
			margin-top: 0;
			margin-bottom: 16px;
		}
	
.pane {
	background-color: #fffefa;
	padding: 32px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}
	#second-column .pane {
		padding-top: 24px;
		padding-bottom: 24px;
	}

.ad {
	text-align: center;
}
	
.search .article {
	margin-bottom: 20px;
}
.search .article .body {
	padding-top: 0;
}

.archive div {
	float: right;
	width: 402px;
}
.archive li {
	clear: both;
	padding-bottom: 4px;
}

/* Pagination */

#pagination {
	text-align: center;
	color: #444;
	height: 22px;
	padding-top: 2px;
	overflow: hidden;
}
	#pagination b {
		height: 22px;
		border: 1px solid #444;
		background: #444;
		color: #fff;
		font-weight: normal;
	}
	
	#pagination span {
		padding: 0 4px;
	}

	#pagination a {
		border: 1px solid #444;
		color: #444;
		height: 16px;
		display: inline-block;
	}
		#pagination a:hover {
			background-color: #444;
			border-color: #444;
			color: #fff;
		}

	#pagination a, #pagination b {
		padding: 2px 6px;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
	}

  /***************/
 /*    Forms    */
/***************/

input[type=text], textarea, select, .bbcode-code {
	border: 1px solid;
	border-color: #abadb3 #dbdfe6 #e3e9ef #e2e3ea;
	padding: 2px;
}
select {
	padding: 2px;
}
input[type=text]:focus, input[type=text]:hover, textarea:focus, textarea:hover, select:focus, select:hover  {
	border-color: #5794bf #b7d5ea #c7e2f1 #c5daed;
}


  /*****************/
 /*    Article    */
/*****************/

.article, .ad {
	margin-bottom: 32px;
}
	.article .comments {
		float: right;
		margin-left: 6px;
	}
		.article .comments a {
			background-color: #e96e00;
			-moz-border-radius: 4px;
			-webkit-border-radius: 4px;
			border-radius: 4px;
			padding: 6px 8px;
			width: 30px;
			display: block;
			color: #fffefa;
			text-align: center;
		}
		.article .comments div {
			height: 10px;
			background: #e96e00 url('../img/comments-pointer.png') no-repeat bottom right;
		}
		
		.article .comments:hover a, .article .comments:hover div {
			background-color: #444;
		}
		
	/* body */

	.article .body, .other-content {
		text-align: justify;
		line-height: 160%;
		clear: both;
	}
		.article .body {
			padding-top: 8px;
		}
		
		.article .image {
			background: grey;
			-moz-border-radius: 4px;
			-webkit-border-radius: 4px;
			border-radius: 4px;
			height: 180px;
			margin-bottom: 8px;
			background: #9a9d8d center no-repeat;
		}
		
		.article .body .date {
			color: #9a9d8d;
			float: left;
			margin: 2px 4px 0 0;
		}
			.article .body .date span {
				color: #444;
			}
		.search .article .body .date {
			margin-top: 0;
		}
		
		.article .body a, .other-content a, .comment a, .info-box a {
			color: #e96e00;
			border-bottom: 1px solid #e96e00;
		}
		.article .body a:hover, .other-content a:hover, .comment a:hover, .info-box a:hover {
			color: #444;
			border-bottom-color: #444;
		}
		
		.article .body a[href^="http:"], .other-content a[href^="http:"], #footer a[href^="http:"], .comment a[href^="http:"] {
			background: url('../img/link-outside.png') no-repeat right center;
			padding-right: 11px;
			margin-right: 1px;
		}
			.article .body a[href^="http:"], .comment a[href^="http:"], #footer a[href^="http:"]:hover {
				background-image: url('../img/link-outside-orange.png')
			}
			.article .body a[href^="http:"]:hover, .comment a[href^="http:"]:hover {
				background-image: url('../img/link-outside.png')
			}

		.article .body .read-more, .version-only {
			background-color: #444;
			color: #fffefa;
			padding: 2px 8px;
			border: 0;
			-moz-border-radius: 2px;
			-webkit-border-radius: 2px;
			border-radius: 2px;
		}
		.article .body .read-more {
			float: right;
			cursor: pointer;
			clear: both;
			margin-top: 1px;
		}
			.article .body .read-more:hover, .article .body .read-more.hover {
				background-color: #e96e00;
				color: #fffefa;
			}
			
			.article .body .read-more img {
				vertical-align: middle;
			}

	/* tags */

	.article .tags-container {
		clear: both;
		color: #444;
	}
		.article .tags-container div {
			float: left;
		}
		.article .tags-container .label {
			display: block;
			font-weight: bold;
			margin-right: 6px;
		}
		.article .tags-container .tags {
			line-height: 180%;
		}
			.article .tags-container .tags a {
				padding: 2px 6px;
				-moz-border-radius: 2px;
				-webkit-border-radius: 2px;
				border-radius: 2px;
			}

	.article .tags-container .tags a, #latest-tags a, #tag-cloud a {
		background-color: #a3d902;
		color: #fffefa;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
	}

#tag-cloud {
	text-align: justify;
}
	#latest-tags a, #tag-cloud a {
		background-color: transparent;
	}

	.article .tags-container .tags a:hover, #latest-tags a:hover, #tag-cloud a:hover {
		background-color: #444;
		color: #fffefa !important;
	}

  /*****************/
 /*  Commenting   */
/*****************/

#goto-add-comment {
	float: right;
}

.comment {
	margin: 16px 0 16px 0;
	background: transparent url('../img/comment-pointer.png') 84px 22px no-repeat;
}

	.comment .info {
		float: left;
		overflow: hidden;
		width: 96px;
		text-shadow: 1px 1px 0 #e9ecdc;
	}
	
		.comment .info .picture {
			background: #9a9d8d url('../img/default-comment-picture.png') no-repeat center;
			width: 60px;
			height: 60px;
			-moz-border-radius: 4px;
			-webkit-border-radius: 4px;
			border-radius: 4px;
		}
		
		.comment .info .name {
			margin: 6px 2px 2px 0;
			font-size: 11px;
		}
		.comment .info .date {
			font-size: 10px;
			color: #5c5e55;
		}
	
	.comment .pointer {
		background: transparent url('../img/comment-pointer.gif') no-repeat left bottom;
		width: 12px;
		height: 13px;
		float: left;
		margin-top: 7px;
		margin-right: 7px;
	}
	.comment .body {
		float: right;
		width: 460px;
		background-color: #f1f3e7;
		color: #444;
		line-height: 1.4;
		padding: 22px 24px;
		min-height: 60px;
	}
		.comment .body .body-sizer {
			max-height: 274px;
			min-height: 60px;
			overflow: auto;
		}

	.no-comments {
		font-style: italic;
	}

#add-comment h2 {
	margin: 0 0 14px;
}

#comment-form { }

	#comment-form input, #comment-form textarea {
		border: 1px solid #e4e6d8;
		padding: 6px 8px;
		background: #e4e6d8 !important;
		width: 242px;
		margin-bottom: 12px;
		-moz-border-radius: 6px;
		-webkit-border-radius: 6px;
		border-radius: 6px;
	}
	
	#comment-form textarea {
		height: 200px;
	}

	#comment-form .column {
		width: 260px;
		float: left;
	}
	
	#comment-form input.confirmation, #comment-form textarea {
		-moz-border-radius: 0 0 6px 6px !important;
		-webkit-border-radius: 0 0 6px 6px !important;
		border-radius: 0 0 6px 6px !important;
	}
	#comment-form div.confirmation {
		background-color: #9a9d8d;
		-moz-border-radius: 6px 6px 0 0;
		-webkit-border-radius: 6px 6px 0 0;
		border-radius: 6px 6px 0 0;
		padding: 4px 0;
	}
	
	#comment-form .column span {
		padding: 2px 0 6px 4px;
		display: block;
	}
	
	#comment-form button {
		float: right;
	}

	/* comment icon */

	#comment-form .column .comment-icons {
		height: 22px;
	}
		#comment-form .column .comment-icons input {
			width: auto;
			float: left;
		}
		#comment-form .column .comment-icons label {
			width: 16px;
			height: 18px;
			float: left;
			background-position: center;
			margin-right: 10px;
			margin-left: -2px;
		}

/* captcha */

#comment-form .column .confirmation {
	text-align: center;
}
#confirmation {
	width: 240px;
	height: 40px;
}

/* bbcode */

.bbcode-bar {
	background-color: #9a9d8d;
	-moz-border-radius: 6px 6px 0 0;
	-webkit-border-radius: 6px 6px 0 0;
	border-radius: 6px 6px 0 0;
	padding: 6px;
	height: 22px;
	margin-bottom: -1px;
}
	.bbcode-bar div {
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		float: left;
		cursor: pointer;
		display: inline;
		width: 16px;
		height: 16px;
		margin-left: 2px;
		padding: 3px;
		background: #babdae url('../img/bbcode-buttons.png') no-repeat center;
	}
		.bbcode-bar div:hover, .bbcode-bar div.hover {
			background-color: #e4e6d8;
		}
		.bbcode-bar .bold {
			background-position: 50% -20px;
		}
		.bbcode-bar .italic {
			background-position: 50% -140px;
		}
		.bbcode-bar .strikethrough {
			background-position: 50% -60px;
		}
		.bbcode-bar .underline {
			background-position: 50% 1px;
			margin-right: 12px;
		}
		.bbcode-bar .color {
			background-position: 50% -160px;
		}
		.bbcode-bar .code {
			background-position: 50% -40px;
		}
		.bbcode-bar .quote {
			background-position: 50% -120px;
		}
		.bbcode-bar .hyperlink {
			background-position: 50% -180px;
			margin-right: 12px;
		}
		.bbcode-bar .faces {
			background-position: 50% -100px;
		}

div.bbcode-quote {
	background: #fefff7 url('../img/quote.png') no-repeat 6px 4px;
	color: #444;
	
	margin: 8px;
	padding: 0 10px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
div.bbcode-quote p:first-child {
	text-indent: 32px;
}

.comment .bbcode-quote {
	text-indent: 32px;
	padding: 6px;
}

/* cloud */

.cloud {
	position: absolute;
	z-index: 800;
	background: transparent url('../img/cloud-pointer.png') no-repeat 88% bottom;
	/* display: none; */
}
	.cloud .body {
		-moz-border-radius: 6px;
		-webkit-border-radius: 6px;
		border-radius: 6px;
		background-color: #444;
		padding: 12px;
		margin-bottom: 46px;
	}

.tooltip {
	position: absolute;
	z-index: 900;
	background: transparent url('../img/tooltip-pointer.png') no-repeat 12px top;
}
	.tooltip .body {
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border-radius: 4px;
		background-color: #000;
		padding: 8px;
		margin-top: 12px;
		color: #fff;
		font-size: 11px;
	}

/* faces & share */

#faces-pane .body, #share-pane .body {
	width: 120px; 
	height: 88px;
	padding-right: 0;
	padding-bottom: 6px;
}
	#faces-pane .body div, #share-pane .body a {
		margin: 0 6px 6px 0;
		cursor: pointer;
		float: left;
	}

.face, #faces-pane .body div {
	width: 22px;
	height: 22px;
	background: transparent url('../img/bbcode-faces.png') no-repeat center;
}
	.face-happy {
		background-position: 50% 0 !important;
	}
	.face-glasses {
		background-position: 50% -24px !important;
	}
	.face-devilgrin {
		background-position: 50% -48px !important;
	}
	.face-crying {
		background-position: 50% -72px !important;
	}
	.face-grin {
		background-position: 50% -96px !important;
	}
	.face-laughing {
		background-position: 50% -120px !important;
	}
	.face-sad {
		background-position: 50% -144px !important;
	}
	.face-kiss {
		background-position: 50% -168px !important;
	}
	.face-shocked {
		background-position: 50% -192px !important;
	}
	.face-wink {
		background-position: 50% -216px !important;
	}
	.face-monkey {
		background-position: 50% -240px !important;
	}
	.face-angel {
		background-position: 50% -264px !important;
	}
	
#share-pane .body {
	width: 108px; 
	height: 78px;
}
	#share-pane .body a {
		width: 20px;
		height: 20px;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		background: transparent url('../img/share-map.png') no-repeat left top;
		border: 0;
	}
		.share-delicious { }
		.share-stumbleupon { 
			background-position: -32px 0 !important;
		}
		.share-digg { 
			background-position: -64px 0 !important;
		}
		.share-twitter { 
			background-position: -96px 0 !important;
		}
		.share-mixx { 
			background-position: -128px 0 !important;
		}
		.share-technorati { 
			background-position: -160px 0 !important;
		}
		.share-facebook { 
			background-position: -192px 0 !important;
		}
		.share-newsvine { 
			background-position: -224px 0 !important;
		}
		.share-reddit { 
			background-position: -256px 0 !important;
		}
		.share-google { 
			background-position: -288px 0 !important;
		}
		.share-linkedin { 
			background-position: -320px 0 !important;
		}
		.share-linkedin { 
			background-position: -320px 0 !important;
		}
		.share-rss { 
			background-position: -352px 0 !important;
		}
	
  /*****************/
 /*  Right panel  */
/*****************/

h2 {
	margin: 10px 3px 2px 0;
}

#latest-tags {
	text-align: center;
}

#latest-tags, #latest-articles, #pinned-articles, #related-articles {
	line-height: 160%;
	margin-bottom: 32px;
}

#rss {
	text-align: center;
}
	#rss form, #rss form div {
		display: inline;
	}
	#rss form input {
		vertical-align: bottom;
	}
	#rss input[type=image] {
		cursor: pointer;
	}

#vertical_banner {
	margin-bottom: 18px;
}

#latest-articles ul, #pinned-articles ul, #related-articles ul {
	margin: 0;
	padding: 0;
	line-height: 125%;
	list-style-image: none;
	list-style-type: none;
	marker-offset: auto;
}
	#latest-articles li,  #pinned-articles li,  #related-articles li {
		margin-bottom: 2px;
		padding-left: 20px;
		background: transparent url('../img/page-white.png') no-repeat left top;
		padding-top: 3px;
	}

	#related-articles li {
		background-image: url('../img/page-white-link.png');
	}

#latest-articles a, #pinned-articles a, #related-articles a {
	color: #6d6d6d;
}
	#latest-articles a:hover, #pinned-articles a:hover, #related-articles a:hover {
		color: #e96e00;
		border-bottom: 1px solid #e96e00;
	}

  /************/
 /*  Footer  */
/************/

#footer {
	padding: 32px;
}
	#footer .text {
		text-shadow: 0 1px 0 #fffefa;
		font-size: 11px;
		text-align: center;
	}
	#footer .text, #footer a {
		color: #444;
	}
	#footer a {
		text-decoration: underline;
	}
	#footer a:hover {
		color: #e96e00;
	}
	

  /*****************/
 /*     bbCode    */
/*****************/

/* code */

.bbcode-code {
	padding: 0;
	font-size: 11px;
	overflow-x: auto;
	margin: 2px;
	background-color: #ededed;
}
.comment .bbcode-code {
	width: 562px;
}
.comment .bodySizer .bbcode-code {
	width: 540px;
}

.bbcode-code a {
	border: 0 !important;
	padding: 0 !important;
	background: none !important;
}

.bbcode-code ol {
	margin-top: 0;
	margin-bottom: 0;
	list-style-image: none;
	color: gray;
}
.bbcode-code ol li {
	background-color: #fff;
	padding: 0 4px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
.bbcode-code ol li pre {
	margin: 0;
	padding: 0;
	white-space: normal;
	text-align: left;
	color: #000;
}

/* quote */

blockquote {
	background: #f1f1f1 url('../img/quote.png') no-repeat 6px 4px;
	color: #444;
	
	border: 1px solid #dbdbdb;
	border-left: 0;
	border-right: 0;
	
	margin: 8px;
	padding: 0 6px;
}
blockquote p:first-child {
	text-indent: 32px;
}

.comment .bbcode-quote {
	text-indent: 32px;
	padding: 6px;
}

  /*******************/
 /*   Script-page   */
/*******************/

.script .pane .body {
	padding-top: 0;
}

.script h1 {
	margin-bottom: 10px;
}

.script h2 {
	margin: 0 0 10px 0;
}

.pickerImg {
	position: absolute;
	margin-left: -16px;
	margin-top: 4px;
	cursor: pointer;
}

.examples, .properties {
	margin-top: 12px;
}

.examples input {
	text-align: center;
	font-family: calibri, arial, sans-serif;
	font-size: 13px;
	background-color: white;
}

.examples td.example-info {
	padding-top: 4px;
	padding-bottom: 20px;
	color: #7f7f7f;
}

.examples .bbcode-code {
	margin-top: 6px;
}

.examples th, .properties th, .properties td {
	vertical-align: top;
	text-align: left;
	padding-right: 6px;
}
	span.pre {
		color: rgb(51, 102, 204);
	}	
	span.pre, .properties th {
		font-family: "Courier New";
	}
	.properties th {
		text-align: right;
		color: rgb(51, 102, 204);
	}
	.properties td {
		padding-bottom: 6px;
	}
	
	.properties thead td {
		font-weight: bold;
	}
		.properties thead td:first-child {
			text-align: right;
		}

	.properties tr td:last-child {
		padding-right: 0;
	}

._code {
	margin-top: 6px;
	display: none;
}

.show-code {
	cursor: pointer;
	font-size: 10px;
	color: black;
	text-align: right;
	padding-right: 8px;
	background: transparent url('../img/code-show.gif') right 50% no-repeat;
}
.hide-code {
	background-image: url('../img/code-hide.gif');
}
