* {margin: 0; padding: 0;}
p {margin-bottom: 10px;}
a, a img, #main div.social_bookmark a img {color: #ac62ff; text-decoration: none; border: none;}
a:hover {color: inherit;}
h1 {font-size: 1.3em; margin-bottom: 2px;}
h2.blogtitle {color: #eee; font-size: 1.3em;}
h2 {font-size: 1em; margin-bottom: 2px;}
ul {margin: 0 0 10px 30px; line-height: 149%;}
small {color: #555;}

body {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 14px;
  line-height: 145%;
  background: #222;
  color: #cfcfa9;
}

#header {
  width: 100%;
  background: url(/images/headerbg.jpg);
  height: 120px;
}

#header img {
  margin: auto;
  display: block;
}

#navbar {
  margin: auto;
  width: 800px;
  height: 50px;
  border-top: 1px solid #222;
}

#navbar ul {
  margin: 0 175px;
  width: auto;
  height: 100%;
}

#navbar li {
  list-style-type: none;
  float: left;
}

#navbar a {
  float: left;
  width: 148px;
  height: 40px;
  padding-top: 10px;
  text-align: center;
  border-right: 2px solid #222;
  font-size: 20px;
  text-decoration: none;
  color: inherit;
}

#navbar a:hover, #navbar li.current a {
  color: #ac62ff;
}

#main {
  margin: auto;
  height: 380px;
  width: 780px;
  padding: 10px;
  background: #2f2f2f url(/images/mainbg.jpg);
  overflow: hidden;
}

#main.blog, #main.cal {
  height: auto;
}

#main.resume {
  height: auto;
}

p.postmetadata {
	font-size: smaller;
	text-align: right;
}

#main > div {
  float: left;
  width: 360px;
  padding: 10px;
}

.resume #main > div {
	width: auto;
}

#main div.blogpost {
  float: none;
  width: auto;
  height: auto;
  padding: 10px;
  border-bottom: 1px dashed #555;
  margin-bottom: 20px;
  padding-bottom: 20px;
  background: transparent url(/images/blogpost_bg.png) repeat-x center bottom;
}

.graphic div#thumb_bar {
  margin: 0;
  width: auto;
}

#main a img, #thumb_bar a img {
  border: 1px solid #cfcfa9;
}

#main a:hover img, #thumb_bar a:hover img {
  border: 1px solid #8c22ff;
}

#image {
  background: #363636;
  margin-right: 10px;
}

#desc {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

div#thumb_bar {
  margin: 10px auto;
  width: 800px;
  font-size: 1.5em;
  height: auto;
}

#thumb_bar img {
  margin-right: 10px;
}

div#blogfeed {
  padding-left: 40px;
  width: 340px;
}

#feedcontainer {
  background:#222;
  border: 1px dashed #444;
  font-size: 0.8em;
  padding: 10px 20px;
  margin-top: 10px;
}

#feedcontainer div {
	margin-bottom: 8px;
	padding-bottom: 7px;
	border-bottom: 1px dashed #444;
}

#feedcontainer p, #feedcontainer h2 {
	display: inline;
}

#rainwave {
  width: 780px;
  padding: 10px;
  background: #111;
  font-size: .8em;
  margin: 10px auto;
  display: none;
}