body {
	padding: 0px;
	margin: 0px;
	text-align: center;
	background-color: #ffffff;
	color: #000000;
}

body, div, td {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

div#wrapper {
	width: 980px;
	margin: 0 auto;
}

div#header {
	padding: 20px 10px 10px 10px;
	text-align: left;
}

h1#logo {
	font-size: 3em;
	font-weight: bold;
	padding: 0px;
	margin: 0px;
	border: 0px;
	display: inline;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #404040;
}

h1#logo a {
	color: #404040;
	text-decoration: none;
}

h1#logo a:hover {
	text-decoration: underline;
}

div#login {
	float: right;
	display: inline;
}

div#body {
	text-align: left;
	padding: 20px;

	background-color: #fff;
	border: 2px solid #69C;

	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

/* Layout E (300, 620) */
div#col1e { float: left; width: 290px; }
div#col2e { float: left; width: 600px; margin-left: 45px; }

/* Layout G (460, 460) */
div#col1g { float: left; width: 455px; }
div#col2g { float: left; width: 455px; margin-left: 25px; }

/* Layout H (600, 320) */
div#col1h { float: left; width: 600px; }
div#col2h { float: left; width: 290px; margin-left: 45px; }

div.entry,
p.entry {
	padding: 8px 8px 8px 8px;
	margin: 6px 0px 0px 0px;
	border-top: 1px solid #cccccc;
	border-right: 1px solid #336598;
	border-bottom: 1px solid #336598;
	background-color: #ffffff;
	font-size: 0.7em;
	color: #666666;
}

a {
	color: #666;
}

p {
	font-size: 12px;
	line-height: 20px;
	color: #666;
}

.entry a:hover,
.errorentry a:hover {
	color: #0000ff;	
}

.errorentry {
	padding: 8px 8px 8px 8px;
	margin: 6px 0px 0px 0px;
	background-color: #990000;
	color: #ffffff;
	border: 3px solid #ffffff;
	font-size: 1em;
	font-weight: bold;
}

.errorentry a {
	color: #ccccff;
}

h2 {
	font-size: 1.3em;
	font-weight: bold;
	padding: 0px;
	margin: 0px;
	border: 0px;
	margin-bottom: 8px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #404040;
}

h2.padtop {
	margin-top: 24px;
}

h2 a {
	color: #404040;
	text-decoration: none;
}

h2 a:hover {

	text-decoration: underline;
}

h3 {
	font-size: 1.2em;
	font-weight: bold;
	padding: 0px;
	margin: 0px;
	border: 0px;
	margin-bottom: 20px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #404040;
}


div#footer {
	color: #999;
	text-align: center;
	font-size: 11px;
	padding: 10px 0 20px ;
}

.fadeoutstart {
	background-color: #ffff00;
}

.fadeout1 {
	background-color: #ffff33;
}

.fadeout2 {
	background-color: #ffff66;
}

.fadeout3 {
	background-color: #ffff99;
}

.fadeout4 {
	background-color: #ffffcc;
}

.fadeout5 {
	background-color: #ffffff;
}

#loginloading {
	display: none;
}

form {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

div.entry h3 {
	font-size: 1.5em;
	font-weight: normal;
	padding: 0px;
	margin: 0px;
	border: 0px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #666666;
}

div.entry h3 a {
	text-decoration: none;
}

div.entry h3 a:hover {
	text-decoration: underline;
}

img.flickrimg {
	border: 0px;
	margin: 9px;
}

ul#nav {
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 26px;
}

ul#nav li {
	float: left;
	margin-left: 10px;
	background-color: #fff;
	padding: 0 10px;
	height: 25px;
	line-height: 25px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;


	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

ul#nav li.active {
	background-color: #69c;
	border-color: #69c;
}

ul#nav li a {
	text-decoration: none;
	color: #666;
	font-size: 13px;
}

ul#nav li.active a {
	color: #404040;
	font-weight: bold;
}


p.centered, div.centered {
	text-align: center;
}


pre, blockquote {
	margin-left: 20px;
	border-left: 1px solid #666666;
	padding: 2px 20px;
	width: 80%;
}

blockquote {
	line-height: 110%;
}

pre {
	line-height: 1em;
	font-family: courier new, courier, fixed, monospace;
	font-size: 1em;
}

/* IE5 Mac hack \*/

pre {
	overflow: auto;
	overflow-y: hidden;
}

/* End IE5 Mac hack */


div.posttitle {
	padding-bottom: 4px;
	margin-bottom: 10px;
	border-bottom: 1px dotted #cccccc;
	color: #666666;
	font-weight: bold;
}

div.posttitle a {
	font-weight: bold;
	color: #336598;
	text-decoration: none;
}

div.posttitle a:hover {
	text-decoration: underline;
}

div.editlink {
	float: right;
	font-weight: normal;
	margin-left: 1em;
}

a.noul {
	text-decoration: none;
}

a.noul:hover {
	text-decoration: underline;
}

span.bignum {
	float: left;
	font-size: 150%;
	padding-right: 5px;
}

tr.loginshaded td {
	color: #999999;
	border-bottom: 1px dotted #cccccc;
}

.bigtext {
	font-size: 1.8em;
}

.biggerboldtext {
	font-size: 2em;
	font-weight: bold;
}

div.historyitem {
	border: 1px solid #cccccc;
	padding: 1em;
	margin-bottom: 1em;
}

div.historycurrent {
	border: 1px solid #cccccc;
	padding: 1em;
}

.new {
	font-size: 0.8em;
	color: #000000;
	background: #FFE28A;
	padding: 1px;
	vertical-align: middle;
}

/* used on contact page: */
input.textbox {
	width: 597px;
}

textarea.textbox {
	width: 597px;
}

.noindex {
	width: 660px;
	margin: 0px auto 5px auto;
	font-size: 0.8em;
	color: #999999;
}

img {
	behavior: url(/css/pngbehavior.htc);
}

.only {
	font-size: 0.65em;
	color: #999;
	font-style: italic;
}

div.tablewrap {
	background-color: #6699cc;
}

div.tablewrap td,
div.tablewrap th {
	background-color: white;
}

h2 .tag {
	padding: 2px 6px;
	text-decoration: none;
	border: 1px solid #ccc;

	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

h2.filter {
	background-color: #eee;
	padding: 8px;
}

a.tag {
	padding: 2px;
	text-decoration: none;
	border: 1px solid #ccc;
	line-height: 26px;

	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

a.tag:hover {
	color: #666;
	background-color: #eee;
}

div.entry {
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 1px solid #ccc;

	padding: 8px 0 20px 0;
	margin: 6px 0 30px 0;
	font-size: 12px;
	line-height: 20px;
	color: #666;
}

.like-butt {
	display: inline-block;
	float: left;
	width: 110px;
}

.like-box {
	margin-top: 20px;
	/* overflow: hidden; -- this breaks FB comment box */
	height: 21px;
}

.headline {
	font-size: 30px;
	margin-bottom: -8px;
}

.headline .date {
	font-size: 11px;
}

.pager {
	font-size: 18px;
	text-align: center;
	color: #ccc;
}

p.bimg {
	text-align: center;
}

::-moz-selection, ::selection{
	color: #fff;
	background-color: #69c;
}

div.entry.short {
	margin: 0 0 12px 0;
	padding: 0;
}

a.short-post-date {
	color: #404040;
	text-decoration: none;
	font-weight: bold;
	font-size: 10px;
}
/*
	width:
	1000+		regular layout (940 main)
	800-1000	thinner layout (740 main)
	0-800		single column, scaled
*/

div#wrapper {
	min-width: 275px;
}

@media (max-width: 999px){

	div#wrapper {
		width: 780px;
	}

	div#col1e { width: 220px; }
	div#col2e { width: 480px; margin-left: 35px; }

	div#col1g { width: 355px; }
	div#col2g { width: 355px; margin-left: 25px; }

	div#col1h { width: 480px; }
	div#col2h { width: 220px; margin-left: 35px; }

}

img {
	max-width: 100%;
	height: auto;
}

.videoWrapper {
	position: relative;
	padding-bottom: 75%; /* 4:3 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (max-width: 799px){

	div#wrapper {
		width: auto;
	}

	div#body {
		border-top: 4px solid #69c;
		border-left: 0;
		border-right: 0;
		border-bottom: 0;

		-moz-border-radius: 0px;
		-webkit-border-radius: 0px;
		border-radius: 0px;
	}
	div#col1e, div#col2e,
	div#col1g, div#col2g,
	div#col1h, div#col2h {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	div#col2h {
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		padding: 20px 0;
		margin: 20px 0;
	}
}

@media (max-width: 560px){
	#navtab-book { display: none; }
	#navtab-software { display: none; }
}

@media (max-width: 405px){
	#navtab-about { display: none; }
	#navtab-github { display: none; }
	#logo span { display: none; }
}

@media (max-width: 375px){
	.like-butt { width: 92px; }
}
@media (max-width: 316px){
	.like-butt.gplus { display: none; }
}