
body {
  margin: 0;
  padding: 0;
  font-family: Verdana, sans-serif;
  font-size: small;
  color: #323232;
  background: #F5F5F5;
}

/* LINKS */

a:link, a:visited {
  padding-bottom: 1px;
  color: #326ea1;
  text-decoration: none;
  border-bottom: 1px solid #cccccc;
}

a:hover {
  color: #900;
  border: none;
  padding-bottom: 0;
}

/* IMAGES */

a img {
  border: none;
}

img.right {
  float: right;
  margin: 0 0 6px 12px;
}

img.mike {
  float: right;
  margin: 0 0 6px 12px;
  border: none; 
  padding-bottom: 1em; 
  padding-left: 1em;
}

/* BASIC ELEMENTS */

del {
  text-decoration: line-through;
	color: #777;
}

pre {
  background: white;
  font-family: Monaco, monospace;
  font-size: 100%;
  margin: 1em 0px;
  padding: 10px;  
  border: 1px solid #cccccc;  
  overflow: auto;
} 


/* PAGE LAYOUT */

#main-body {
  width: 60em;
  margin: 30px auto;
  padding: 0;
  font-size: 95%;
  line-height: 1.5em;
}

#content {
  width: 43em;
  float: right;
}

#sidebar {
  width: 15em;
  float: left;
  margin-left: 1em;
  margin-right: 1em;
  font-size: 90%;
  line-height: 1.5em;
}

/* HEADER */

#header {
  font-size: 95%;
  background: #000090;  
}

/* LOGO */

#logo {
  width: 60em;
  margin: 0 auto;
  padding: 2px 0 0 0;
}

#logo span, #logo a {
  display: block;
  width: 328px;
  height: 89px;
  padding: 0;
  border-style: none;
  background: #000090;
}

/* FOOTER */ 

#footer {
  color: #777;
  background: #000090;
  margin: 0 auto;
  padding: 15px;
  line-height: 1.0em;
}

#footer p {
  margin: 0;
  padding: 0;
  font-size: 85%;
}

#footer a {
  border: none;
}

/* SIDEBAR */

#sidebar h1 {
  color: #900;
  margin: 25px 0 10px 0;
  padding: 0;
  font-family: Georgia, Verdana, serif;
  font-weight: normal;
  font-size: 100%;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid #cccccc;
  line-height: 1.5em;
}
  
#sidebar h1.top {
  margin-top: 0;
}

#sidebar p {
  margin: 0;
  padding: 0;
}

#sidebar ul {
  margin: 0;
  padding: 0;
  line-height: 1.5em;
  list-style: none;
}

#sidebar li {
  margin: 0 0 .5em 0;
  padding: 0;
}

/* SIDEBAR BOOKS */

ul li.book {
  margin-bottom: 3em;  
  clear: both;
}

ul li.last {
  margin-bottom: 40px;
}

ul li.book span.title,
ul li.book span.abstract,
ul li.book span.date {
  display: block;
}

ul li.book span.date {
  font-style: italic;
}

ul li.book span.cover a {
  float: left;
  display: block;
  margin: 0px 8px 5px 0;
  padding: 1px;
  border: 2px solid #cccccc;
}

ul li.book span.cover a:hover, 
ul li.book span.cover a.active {
  border-color: #F5F5F5;
}

/* SIDEBAR APPS */

#sidebar ul li.app {
  margin-bottom: 1em;  
  clear: both;
}

#sidebar ul li.last {
  padding-top: 3px;
  margin-bottom: 40px;
}

#sidebar ul li.app span.name,
#sidebar ul li.app span.summary {
  display: block;
}

#sidebar ul li.app span.summary {
  font-style: italic;
}

#sidebar ul li.app span.screenshot a {
  float: left;
  display: block;
  margin: 0px 8px 0 0;
  padding: 1px;
  border: 2px solid #cccccc;
}

#sidebar ul li.app span.screenshot a:hover, 
#sidebar ul li.app span.screenshot a.active {
  border-color: #F5F5F5;
}
  
/* SIDEBAR EVENTS */

#sidebar ul li.event {
  margin-bottom: .75em;
}

#sidebar ul li.event span.title,
#sidebar ul li.event span.date,
#sidebar ul li.event span.location {
  display: block;
}

#sidebar ul li.event span.location {
  font-style: italic;
}

/* SIDEBAR FEEDS */

#sidebar ul li.feed {
  margin-bottom: .5em;
}

#sidebar ul li.feed a.rss {
  padding-left: 18px;
  background: url(/img/icon-rss.gif) no-repeat 0 2px;
  background: url(/img/rss-12.gif) no-repeat 0 2px;
}

/* SIDEBAR CONTACT */

#sidebar span.type {
  font-weight: bold;
}

#about-contact {
  margin-left: 1em;
  margin-top: 1em;
}

#about-contact span.type {
  font-weight: bold;
}

#sidebar ul li.contact {
  margin-bottom: .5em;
}

#sidebar ul li.contact a.icon {
  padding-right: 7px;
  border: none;
}

/* SIDEBAR FLICKR */

#flickr {
  margin: 0;
}

#flickr img {
  float: left;
  margin: 0 6px 0 0;
  width: 50px;
  height: 50px;
  padding: 1px;
  border: 2px solid #cccccc;
  background: #fffefa;
}

#flickr a:hover img {
  border-color: #F5F5F5;
}

   
/* CONTENT */

#content p {
  margin: 0 0 20px 0;
}

#content h2 {
  margin: 0 0 10px 0;
  padding: 0;
  font-family: Georgia, Verdana, serif;
  font-weight: normal;
  font-size: 160%;
  line-height: 1.5em;
  color: #000090;
  border-bottom: 1px solid #cccccc;
}

#content h2 a {
  text-decoration: none;
  color: #000090;  
  border: none;
}

#content h2 a:hover {
  color: #326ea1;
  border: none;
  padding-bottom: 0;
}

#content p.quote {
  color: #777;
  text-align: center;
  font-style: italic;
}

#content h3 {
	margin: 15px 0 5px 0;
	padding: 0;
  font-family: Georgia, Verdana, serif;
	font-weight: normal;
	font-size: 140%;
	line-height: 1.5em;
}

/* BANNER BOX */

#banner {
  margin: 0 0 25px 0;
  padding: 12px;
  background: #EBEBEB;
  border-top: 2px solid #cccccc;
  clear: both;
}

#banner.main {
  font-size: 1.25em; 
/*  height: 120px; */  
  border: none;
}

#banner h1 {
  color: #323232;
  margin: 0;
  padding: 0;
  font-family: Georgia, Verdana, serif;
  font-size: 180%;
  font-weight: normal;
}

#banner p {
  margin: 8px 0 0 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
  line-height: 1.5em; 
}
 
/* NAVIGATION */

#nav {
  width: 60em;
  margin: 10px auto 0 auto;
  padding: 0;
}
  
#nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #000090;
}

#nav li {
  float: left;
  margin: 0 1px 0 0;
  padding: 0;
  font-family: Georgia, Verdana, sans-serif;
  font-size: 80%;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgb(31, 126, 193);
}

#nav li a {
  color: #e7e3d9;
  float: left;
  padding: 8px 10px;
  border: none;
  text-decoration: none;
  background: url(/img/nav-bg.gif) top left repeat-x;
}

#nav li a:hover {
  background: #cccccc;  
  color: #000090;
}

#nav li a.active {
  font-weight: bold;
  color: #000090;
  background: #F5F5F5;
}

/* LISTS */

#content ul, 
#content ol, 
#content dl {
  margin: 0 0 1.5em 0;
  padding: 0;
}

#content ul, 
#content ol {
  margin-left: 30px;
  line-height: 1.5em;
}

#content dd em {
  font-style: normal;
  color: #777;
}

#content dl dt {
  font-weight: bold;
}

#content dl dd {
  margin: 0 0 12px 0;
  padding: 0;
}

/* PROJECT */

#project {
  padding-bottom: 20px;
}

#project #overview {
	padding-left: 230px;
}

dl#project-image {
	float: left;
	width: 206px;
	padding: 0;
	margin: 0 15px 0 0;
	color: #777;
}

dl#project-image dt {
	padding: 1px;
	border: 2px solid #cccccc;
}

dl#project-image dd {
  text-align: left;
	padding: 0;
	margin: 10px 0 0 0;
}

#project .praise {
  border-top: 1px solid #cccccc;
}

/* BOOKS */

dl.book dt {
  margin: 0;
  padding: 0;  
}

dl.book dt a {
  float: left;
  display: block;
  margin: 0 20px 20px 0;
  padding: 1px;
  border: 2px solid #cccccc;
}

dl.book dt a:hover {
  border-color: #F5F5F5;
}

dl.book dd.title {
  font-weight: bold;
}

dl.book dd {
  margin: 0 0 2px 0 !important;
  padding: 0;
  line-height: 1.5em;
}

/* SPEAKING */

dl.speech dt {
  margin: 1em 0 0 0;
  padding: 0;
}

dl.speech dt a {
  float: left;
  display: block;
  margin: 0 20px 0 0;
  padding: 0;
  border: none;
}

dl.speech dd.name {
  font-weight: bold;
}

dl.speech dd.location {
  font-style: italic;
}

dl.speech dd {
  margin: 0 0 2px 0 !important;
  padding: 0;
  line-height: 1.5em;
}

/* PRAISE */

.praise {
  color: #777;
  padding-top: 15px;
  font-weight: normal;
  text-align: left;
}

.praise span.name,
.praise span.title,
.praise span.company {
  padding: 0;
  margin: 0;
  text-align: right;
  font-size: 90%;
  line-height: 1.25em;
  display: block;
}

/* AD */

#ad {
  margin: 0 0 25px 0;
  padding: 12px;
  background: #EBEBEB;
  border-top: 2px solid #cccccc;
}

#ad p {
  margin: 8px 0 0 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
  line-height: 1.5em; 
}

/* BLOG */

#content div.post {
  margin: 0 0 20px 0;
}

#content div.post h1 {
  margin: 0;
  padding: 0;
  font-family: Georgia, Verdana, serif;
  font-weight: normal;
  font-size: 160%;
  line-height: 1.5em;
  border: none;
}

#content div.post h1 a {
  color: #000090;
  border: none;
}
  
#content div.post h2 {
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
  font-weight: normal;
  font-size: 100%;
  line-height: 1em;
  color: #777;
  border-bottom: 1px solid #cccccc;
}

#content div.post h2 a {
  color: #326ea1;
  border: none;
  text-decoration: none;
}

#content div.post h3,
#content div.post h4 {
	margin: 15px 0 5px 0;
  padding: 0;
  font-family: Georgia, Verdana, serif;
  font-weight: normal;
  font-size: 140%;
  line-height: 1.5em;
}

#content div.post h5 {
	margin: 15px 0 5px 0;
  padding: 0;
  font-family: Verdana, sans-serif;
  font-weight: bold;
  font-size: 100%;
  line-height: 1.5em;
}

#content div.post h1 a:hover,
#content div.post h2 a:hover {
  color: #900;
  border: none;
}

#content div.post p.footer {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-size: 80%; 
  text-align: right;
  color: #777;
}

#content div.post div.photo { 
  /* text-align: center; */
  margin: 20px 0 20px 0;
}

#content div.post img.right { 
  float: right;
  margin: 0 0 6px 12px;
  border: 2px solid #cccccc;
}

#content div.post blockquote pre {
  margin-left: -40px;
}

#content div.moreentries {
  border-top: 1px solid #cccccc;
  padding: 10px 0 0 0;
  font-size: 90%;
  text-align: center;  
}

/* DISQUS */

.dsq-dc-logo {
  display: none !important;
}

.dsq-options {
  /* Contains the sorting options, community page link, and subscribe link. */
  display: none !important;
}

#dsq-content #dsq-comments .dsq-comment-footer {
  /* Contains Reply and Like buttons. */
  display: none !important;
}

#dsq-content #dsq-comments .dsq-comment-header {
}

#dsq-content #dsq-comments .dsq-comment-body {
}

/* SELF-CLEARING FLOATS */

#header:after,
#footer:after,
#nav ul:after, 
#flickr:after, 
#project:after,
#main-body:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

/* IE5+6/win only */
* html #header, 
* html #footer,
* html #flickr,
* html #main-body {
  height: 1%;
}

/* IE7/win only */
*:first-child+html #header, 
*:first-child+html #footer, 
*:first-child+html #flickr, 
*:first-child+html #main-body {
  min-height: 1px;
}
