body {
	padding: 0px;
	margin: 0px;
	height: 100%;
	background-color: #333;
}

#wrapper {
	max-width: 900px;
	min-width: 420px;
	height: 100%;
	display: block;
	margin: 0px auto 0px auto;
	padding: 2px 0px 0px 0px;
	background-color: #333;
	border-style:solid;
	border-color: #CCC;
	border-width: 0px 1px 0px 1px;
}

#header {
	width: 100%;
}

#header h1 {
	text-shadow: 0px 2px 0px black;
	text-decoration: none;
	color: #CCC;
	padding: 0px;
	margin: 0px 0px 8px 0px;
	font-family: sans-serif;
	font-size: 100px;
	text-align: center;
}

#content {
	padding: 0px;
	margin-top: 40px;
	display: block;
}

#footer {
	margin: 16px 0px 0px 0px;
	padding: 0px 0px 0px 16px;
	display: block;
	border: solid #CCC;
	border-width: 1px 0px 10px 0px;
	font-family: 'lucida sans unicode', 'lucida grande', sans-serif;
	color: #A6A6A6;
	font-size: 12px;
	text-align: left;
}

#post h1 {
	padding: 0px;
	margin-left: 0px;
	margin-bottom: 14px;
	margin-right: 0px;
	margin-top: 0px;
	border-bottom-style: solid;
	border-bottom-color: white;
	border-bottom-width: 1px;
	text-shadow: 0px 0px 1px black;
	color: white;
	font-family: sans-serif;
	clear:both;
	font-size: 2em;
}

#post h2 {
	padding: 0px;
	margin-left: 0px;
	margin-bottom: 14px;
	margin-right: 0px;
	margin-top: 0px;
	color: white;
	font-family: sans-serif;
	clear: both;
	font-size: 1.5em;
}

.date {
	margin-left: 3px;
	padding: 2px;
	text-overflow: clip;
	text-align: left;
}

#post {
	padding-bottom: 0px;
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 16px;
	color: #FFF;
	border:solid 0px #191919;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	text-overflow: ellipsis;
	overflow: hidden;
	display: block;
	margin: 8px 8px 0px 8px;
}

#post canvas {
	border-color: #CCCCCC;
	border-width: 1px;
	border-style: solid;
	border-radius: 2px;
}

#post p {
	line-height: 1.25em;
	font-family: sans-serif;
	text-indent: 0em;
	font-size: 1em;
	text-align: left;
	margin: 0px 0px 16px 0px;
}

#post p b {
	font-weight: bold;
	color: white;
}

#post a {
	text-shadow: 0px 0px 1px yellow;
	text-decoration: underline;
	color: white;
}

#post a:hover {
	text-shadow: 0px 0px 2px yellow;
	text-decoration: underline;
}

#post a:visited {
	text-shadow: 0px 0px 1px black;
	text-decoration: underline;
}

#post video {
	width: 50%;
	border-color: #cccccc;
	border-width: 1px;
	border-style: solid;
	border-radius: 2px;
	float: right;
	margin: 0px 0px 20px 20px;
	padding-bottom: 1px;
}

#post img {
	border-color: #cccccc;
	border-width: 1px;
	border-style: solid;
	border-radius: 2px;
	width:50%;
	margin: 0px 0px 20px 20px;
	float: right;
}

#post img.nofloat {
	margin: 0px 0px 20px 0px;
	float: none;
	border-color: #cccccc;
	border-width: 1px;
	border-style: solid;
	border-radius: 2px;
}

#post img.ctr {
	float:left;
	width: calc(20% - 10px);
	margin: 4px;
	padding: 0px;
	border-color: #cccccc;
	border-width: 1px;
	border-style: solid;
	border-radius: 2px;
}

#post img.wide {
	width: 100%;
	display: inline;
	position: relative;
	margin: 0px;
	float: none;
	text-align: right;
	border-width: 0px;
}

#post img.wideborder {
	width: 716px;
	max-width: 716px;
	display: inline;
	position: relative;
	margin: 0px 4px 0px 0px;
	float: none;
	text-align: right;
	border-width: 1px;
	border-color: black;
}

#movie {
	margin-left: 8px;
	text-align: right;
	float: right;
}

#post img.badge {
	clear: both;
	float: none;
	border-width: 0px;
	padding: 0px;
	margin: 8px 0px 4px 0px;
	height: 32px;
	width: 32px;
}

#post code {
	font-style: italic;
	color: #cccc99;
	text-decoration: none;
	font-family: monospace;
}

#post codeblock p {
	font-style: italic;
	color: #cccc99;
	background-color: #4A4A4A;
	text-decoration: none;
	display: block;
	white-space: pre-wrap;
	word-break: break-all;
	font-family: monospace;
	border-color: #4A4A4A;
	border-style: solid;
	border-width: 1px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin: 8px 0px 8px 0px;
	padding:8px;
	max-height: 300px;
  	overflow-y: auto;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx),
all and (max-width: 8in)
{

	#post p {
		font-size: 2em;
	}
	#post h1 {
		font-size: 2.5em;
	}
	#post h2 {
		font-size: 2.5em;
	}
	#post img {
		width: 100%;
		float: none;
		margin: 0px 0px 20px 0px;
	}
	#post video {
		width: 100%;
		float: none;
		margin: 0px 0px 20px 0px;
		padding-bottom: 1px;
	}
	#wrapper {
		border-style:none;
		border-width: 0px;
	}

}
