body
{
	background: url("images/top_gradient.png") rgb(100,100,100) repeat-x;
	color: black;
	font-family: "Arial Unicode MS", "Arial", "Helvetica", sans-serif;
	font-size: 13px;
	margin: 0;
	padding: 0;
}

a
{
	color: rgb(150,0,0);
	text-decoration: none;
}

a:hover
{
	background-color: rgb(220,220,220);
	color: rgb(255,0,0);
	text-decoration: underline;
}

div
{
	padding: 0;
	margin: 0;
}

h1, h2, h3
{
	color: rgb(120,0,0);
	font-weight: bold;
	margin: 0 !important;
	padding: 0;
}

p
{
	margin: 0;
	padding: 0.75em 0;
}

ul
{
	list-style: none;
	margin: 0;
	padding: 0;
}

li
{
	padding: 0;
	margin: 0;
}

#company-logo
{
	background: url("images/logo-catlikecoding-bordered-050.png") no-repeat right;
	float: right;
	height: 50px;
	width: 55px;
}

#company-title
{
	float: right;
	font-size: 20px;
}

#site-header
{
	color: rgb(170,170,170);
	margin: 4px auto 0;
	width: 800px;
}

#site-header a
{
	color: rgb(170,170,170);
}

#site-header a:hover
{
	background-color: transparent;
	color: white;
	text-decoration: underline;
}

#site-logo
{
	background: url("images/logo-anydice-white-050.png") no-repeat;
	float: left;
	height: 50px;
	width: 55px;
}

#site-title
{
	font-size: 22px;
}

#site-link-list
{
	height: 20px;
	padding: 0;
	margin: 0;
}

.site-link-item
{
	background: url("images/logo-catlikecoding-black-020.png") no-repeat left center;
	display: inline;
	list-style: none;
	padding: 0 4px 0 24px;
	margin: 0;
}

.site-link-item-first
{
	background: transparent;
	padding-left: 4px;
}

#page
{
	clear: both;
	margin: 0 auto;
	width: 850px;
	text-align: center;
}

#page-header
{
	background: url("images/page.png");
	padding-top: 18px;
	padding-bottom: 8px;
}

#page-title
{
	color: black;
	font-size: 20px;
}

#page-content
{
	background: url("images/page-repeat.png");
	margin: 0;
	overflow: hidden;
	padding: 0;
	border: 0px solid green;
}

#page-content-end
{
	clear: both;
}

#page-footer
{
	background: url("images/page.png") bottom;
	height: 30px;
}

/* == Link icons == */
.link-icon-block{
	padding: 5px;
	text-align: center;
}
.link-icon{
	background: url(images/link-icons.png);
	display: inline-block;
	height: 24px;
	width: 24px;
}
.link-icon:hover{
	background-color: transparent;
}

.icon-facebook{
	background-position: 0px -200px;
}
.icon-feed{
	background-position: 0px -100px;
}
.icon-twitter{}


/* == Wide blocks == */

.block-wide-container
{
	float: left;
	margin-left: 30px;
	width: 790px;
}

.block-wide-header
{
	background: url("images/block-wide.png");
	padding: 6px 0 0;
}

.block-wide-title
{
	font-size: 18px;
}

.block-wide-metadata
{
	background: url("images/block-wide-repeat.png") repeat;
	font-size: 75%;
	text-align: center;
}

.block-wide-content
{
	background: url("images/block-wide-repeat.png") repeat;
	overflow: hidden;
	padding: 0 15px;
	text-align: justify;
}

.block-wide-footer
{
	background: url("images/block-wide.png") bottom;
	font-size: 10px;
	height: 15px;
	margin-bottom: 10px;
	padding: 0 0 6px;
}


/* == Main blocks == */

.block-main-container
{
	float: left;
	margin-left: 30px;
	width: 560px;
}

.block-main-header
{
	background: url("images/block-main.png");
	padding: 6px 0 0;
}

.block-main-title
{
	font-size: 18px;
}

.block-main-metadata
{
	background: url("images/block-main-repeat.png") repeat;
	font-size: 75%;
	text-align: center;
}

.block-main-content
{
	background: url("images/block-main-repeat.png") repeat;
	overflow: hidden;
	padding: 0 15px;
	text-align: justify;
}
.block-main-footer
{
	background: url("images/block-main.png") bottom;
	font-size: 10px;
	height: 15px;
	margin-bottom: 10px;
	padding: 0 0 6px;
}


/* == Sidebar blocks == */

.block-side-container
{
	float: right;
	margin-right: 30px;
	width: 200px;
}

.block-side-header
{
	background: url("images/block-side.png");
	padding: 6px 0 0;
}

.block-side-title
{
	font-size: 14px;
}

.block-side-metadata
{
	background: url("images/block-side-repeat.png") repeat;
	font-size: 75%;
	text-align: center;
}

.block-side-content
{
	background: url("images/block-side-repeat.png") repeat;
	font-size: 12px;
	overflow: hidden;
	padding: 0 12px;
	text-align: justify;
}

.block-side-footer
{
	background: url("images/block-side.png") bottom;
	font-size: 75%;
	margin-bottom: 10px;
	height: 15px;
}


/* == Blog specific == */

.blog-nav-previous
{
	width: 250px;
	float: left;
	margin-bottom: 10px;
	text-align: left;
}

.blog-nav-next
{
	width: 250px;
	float: right;
	margin-bottom: 10px;
	text-align: right;
}

.blog-nav-end
{
	clear: both;
}

.blog-info
{
	font-size: 12px;
}

#mention
{
	font-size: 11px;
	font-style: italic;
	text-align: center;
}

#mention a
{
	color: black;
}

/* == Disqus comments adjustments. == */

#dsq-options
{
	margin-top: 0 !important;
}

h3
{
	font-size: 14px;
}


/* == Distribution specific */

.distribution-table
{
	border-collapse: collapse;
	width: 100%;
}

.distribution-table th
{
	padding: 0 5px;
	text-align: right;
}

.distribution-table td
{
	border: 1px solid black;
	padding: 0 5px;
	text-align: right;
}

.distribution-table .even-cell,
.distribution-table .even-row td
{
	background-color: rgb(180,180,180);
}

.graph-cell
{
	background-color: transparent !important;
	border-style: none !important;
	padding: 0 0 0 5px !important;
	text-align: left !important;
	width: 550px;
}

.parse-error
{
	border: 2px solid red;
	font-family: "Courier", monospace;
	padding: 2px 5px;
}
