/* MAIN DECLARATIONS */

body { margin: 0; padding: 0; background: 000; color: #111; font-family: Helvetica, Arial, sans-serif; }

/* ELEMENTS */


h1 { width: 640px; height:45px; float:left; margin:0; padding: 0; } /* for logo */


/* LAYOUT */

#site { width: 100%; text-align:center; }

#wrap { width: 970px; margin: 0 auto; text-align: left; background: url(../paper.gif) center repeat-y; }

#header {
	clear:both;
	width: 100%;
	float:left;
	margin: 0;
	padding: 30px 0 10px 0;
	background: #fff;
	}

#header .pos { float:left; width:970px; margin: 0; padding: 0 0 0 10px; border: 1px solid #e4e2d3; border-width: 0 0 1px 0; }	
#header a { color: #111; text-decoration: none; }
#header .search { height: 65px; float:right; text-align:right; }
#header .search #searchform { margin-top: 20px; }

.column { width: 310px; } /* 310px max for 970px width */

#content { float: left; width: 640px; font-size: 14px; }
#content p { margin: 0 0 15px 0; padding:0; line-height: 24px; }
#content ul, ol { color: #555; }
#content ul li, ol li { line-height: 130%; }
#content h2 { margin: 0 0 10px 0; padding: 0; font-size: 24px; line-height: 24px; letter-spacing:-1px; }
#content h2 a:hover { text-decoration: none; }
#content h3 { margin: 24px 0 10px 0; padding: 0; font-size: 18px; line-height: 18px; color: #333; }
#content h4 { margin: 12px 0 5px 0; font-size: 12px; text-transform: uppercase; line-height: 12px; }
#content .listhead { text-transform: uppercase; color: #555; margin-bottom: 30px; }
#content p.alert { margin:0 0 20px 0; padding: 10px; background: #fcf5c9; border: 1px solid #fcef9d; border-width: 1px 0; color: #555; font-size: 12px; line-height: 100%; }
#content .alert strong { color: #000; letter-spacing: 1px; font-variant: small-caps; }
#content .headline { margin: 0 0 10px 0; color: #666; font-size: 16px; }
#content .post { margin: 0 0 30px 0; }
#content .post .meta { font-size: 12px; line-height: 14px; margin-bottom: 30px; width: 100%; height: 40px; float:left; clear:both; background: url(img/meta-bg.gif) no-repeat; overflow:hidden; }
#content .post .page { background:none !important; }
#content .post .meta a:hover { text-decoration: none; }
#content .post .meta .where { font-size: 14px; width: 130px; float:left; }
#content .post .meta .where p { margin: 7px 0 0 7px; padding: 0; line-height: 14px; font-weight:bold; }
#content .post .meta .where p span { font-size: 12px; font-weight: normal; }
#content .post .meta .postmeta { width: 370px; float:right; }
#content .post .meta .postmeta .avatar { float:right; margin: 0 0 0 5px; }
#content .post .meta .postmeta p { line-height: 14px; margin: 7px 0 0 0; }
#content .post .page .postmeta { width: 100%; }
#content .post .page .postmeta .avatar { float:left; margin: 0 10px 0 0; }
#content .home { border: 1px solid #e4e2d3; padding: 20px; }
#content .home h2 { margin-bottom: 5px; }
#content .home p.postmeta { margin: 0 0 5px 0; padding: 5px; background: #f4f3e9; font-size: 12px; line-height: 100%; }
#content .home .entry { margin-bottom: 20px; }
#content .home p.box { margin: 0; padding: 10px; background: #e4e2d3; font-size: 14px; line-height:100%; }
#content .home p.box a { font-weight:bold; }
#content .post .entry {}
#content .post .related { width: 100%; float:left; margin: 0 0 20px 0; padding:0; border: 1px solid #e4e2d3; font-size:12px; color: #666; }
#content .post .related .pos { margin:0; padding: 10px; }
#content .post .related .pos h3 { font-size: 14px; line-height:18px; background: url(img/dl.gif) no-repeat; color: #666; font-weight:normal; border: 1px solid #f4f3e9; border-width: 0 0 1px 0; padding: 0 0 8px 22px; margin:0; }
#content .post .related .pos .column { width: 300px; }
#content .post .related .pos .column a { color: #666; text-decoration: underline; }
#content .post .related .pos .column a:hover { color: #222; text-decoration: none; }
#content .post .related .pos .column h4, #content .post .related .pos .wp23related h3 { font-size: 14px; line-height:100%; text-transform: none; color:#f70; margin:10px 0 0 0; padding: 0 0 5px 0; }
#content .post .related .pos .column p { font-size: 12px; line-height: 14px; }
#content .post .related .pos .column ul { margin: 0; padding: 0; }
#content .post .related .pos .column ul li { list-style: none; }
#content .post .related .pos .wp23related {}
#content .post .related .pos .wp23related h3 { font-weight:bold; border:0; background: none; }
#content .post .related .pos .wp23related ul li { margin-bottom: 5px; font-size: 12px; }
#content .navigation { width: 100%; clear:both; padding: 0; }
#content .navigation .right { text-align:right; }
#content #searchform { margin: 0 0 12px 0; }
#content .tagcloud { text-align:center; padding: 20px; border: 1px solid #bbb; }
#content .tagcloud h2 { padding-bottom: 5px; border-color: #efefef; font-size: 18px; text-align:center; }
#content .tagcloud a { color: #111; }
#content .tagcloud a:hover { color:#555; }

/* comments */
#content #comments { clear:both; float:left; color: #444; font-size: 14px; }
// #content #comments h2 { margin: 30px 0 10px 0; border:0; }
// #content #comments h3 { margin: 0; }
// #content #comments p.center { text-align:center; }
#content #comments ol, #content #comments ol.commentlist { margin: 0; padding: 10px; border: 1px solid #e4e2d3; }
#content #comments ol.respond { margin: 10px 0 0 0; padding: 20px; border:0; background: #f4f3e9; font-size: 12px; }
#content #comments ol.respond p { margin: 0 0 10px 0; }
#content #comments ol.respond p.box { margin: 15px 0 0 0; padding: 5px; background: #e4e2d3; font-size: 11px; line-height:14px; }
#content #comments ol li { height: 1%; color: #444; margin: 0 0 12px 0; padding: 0; list-style: none;  }
#content #comments ol li p { margin: 0 5px 12px 5px; padding: 0; line-height: 140%; }
#content #comments ol li blockquote { margin: 0 20px 12px 20px; padding:0; font-family:Georgia, Times New Roman, serif; font-style: italic; color: #666; }
// #content #comments ol li.alt { background: #e8f1f0; }
#content #comments ol li.rss { padding: 0; background: #fff; text-align:right; }
#content #comments ol li.trackbacks { margin: 0; padding: 5px 0 0 0; border: 1px solid #e4e2d3; border-width: 1px 0 0 0; font-size: 10px; }
#content #comments ol li p.commenter { font-size: 12px; line-height: 16px; color: #888; margin: 0 0 10px 0; padding: 5px; border: 1px solid #e4e2d3; border-width: 0 0 1px 0; font-style:normal; background: #f4f3e9; }
#content #comments ol li p.commenter a { font-weight:bold; font-style: normal; }
#content #comments ol li p.commenter b { font-style: normal; }
#content #comments ol li p.commenter .avatar { float:left; margin: 0 8px 0 0; }
#content #comments ol li blockquote { float:none; margin: 0 0 12px 0; padding: 0 20px; width:auto; border:0; font-size: 14px; line-height: 140%; text-align: left; }
#content #comments #author, #content #comments #email, #content #comments #url { width: 250px; border-color:#e4e2d3; }
#content #comments #commentarea { border: 1px solid #e4e2d3; background: #fff; color: #333; font-family: Georgia, serif; font-style: italic; font-size: 14px; padding: 10px; width: 578px; height: 150px; }
#content #comments .subscribetocomments { margin: 10px 0; padding: 3px 0; border: 1px solid #eee; border-width: 1px 0; text-align:right; }
#content #comments .subscribetocomments input { width: 14px; height: 14px; border: 0; }

#sidebar { float: right; height:1%; font-family: Helvetica, Arial, sans-serif; font-size: 12px; color: #767171; }
#sidebar a:hover { color: #111; text-decoration: none; }
#sidebar ul, #sidebar ol { margin: 0 0 20px 0; padding: 0; }
#sidebar ul.box, #sidebar ol.box { background: #f4f3e9; padding: 10px; }
#sidebar ul.box li.last, #sidebar ol.box li.last { margin-bottom:0; padding-bottom:0; }
#sidebar ul.box li.subscribe { margin:0; padding: 0 0 0 24px; line-height: 18px; background: url(img/subscribe.gif) no-repeat; font-size: 14px; font-weight:bold; }
#sidebar ul.box li.subscribe a { color: #767171; }
#sidebar ul.box li.subscribe a.devlounge { color:#ca1717; }
#sidebar ul.ads {}
#sidebar ul.ads li { margin-bottom: 5px; text-align:center; font-size: 9px; text-transform:uppercase; letter-spacing: 1px; color:#767171;  }
#sidebar ul li, #sidebar ol li { list-style: none; }
#sidebar ul li h2, #sidebar ol li h2 { margin: 0 0 8px 0; padding: 0 0 3px 0; border: 1px solid #767171; border-width: 0 0 1px 0; font-size: 14px; color:#767171; }
#sidebar ul.browse {}
#sidebar ul.browse li { margin-bottom: 10px; }
#sidebar ul.browse li a { font-size: 14px; }
#sidebar ul li.network { line-height: 14px; background: url(img/network-li.gif) no-repeat; padding-left: 13px;  }
#sidebar ul li.network:hover { background: url(img/network-li-hover.gif) no-repeat; }

#footer {
	clear:both;
	width: 100%;
	margin: 0;
	padding: 0 0 0 0;
        text-align:center;
        font-size:0.875em;
	font-family: Helvetica, Arial, sans-serif;
	color: #888;
        background: #000;
	}

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

#bklink {
        background: black;
        font-family: Helvetica, Arial, sans-serif;
	font-size:8px;
        color: #888;
	}

/* OTHER */

.igBar { width: 200px !important; background: #e4e2d3 !important; border:0 !important; }
.igBar li { border:0 !important; }
.syntax_hilite { width: 620px !important; border-color: #e4e2d3 !important; }

@font-face {
font-family: "Diavlo Bold";
src: url(http://www.ilorraine.com/font-faces/diavlo-embeds/DIAVLOB1.eot); /* Hello, IE */
src: local("Diavlo Bold"), url(http://www.ilorraine.com/font-faces/Diavlo_BOLD_II_37.otf) format("opentype");
}

div.diavlo-me { font-family: "Diavlo Bold", sans-serif;}