html{
  margin:0;
  padding:0;
  border:0;
  text-align:center;
}

body{
  position:relative;
  margin:0 auto 0 auto;
  padding:0;
  border:0;
  text-align: left;
  font: 12px Arial, sans-serif;
}

div, p, h1, h2, h3, h4, dl, dt, dd, ul, li, span{
  margin: 0;
  padding: 0;
}

form{
  margin: 0;
  padding: 0;
}

input, select, button, textarea{
  font: 12px Arial, sans-serif;
}

img{
  border: 0;
}

a{
  color: #0a89c2;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}


h1{
  font: 14px Arial, sans-serif;
  color: #404040;
}

h2{
  font: 24px Arial, sans-serif;
  color: #404040;
  margin: 0;
}

h2 a{
  color: #404040;
}

h3{
  font: 18px Arial, sans-serif;
  color: #404040;
  margin: 0; 
  padding: 0;
}

p{
  font-size: 12px;
  font-family: Arial, sans-serif;
  color: #404040;
  margin: 0; 
  line-height: 17px;
}

pre{
  display: block;
  background: #fff;
  margin: 0 5px 10px 5px;
  padding: 10px;
  font-size: 11px;
}

dl{
  font: normal 12px Arial, sans-serif;
  line-height: 13px;
  color: #404040;
}


ul li{
  font-size: 12px;
  font-family: Arial, sans-serif;
  color: #404040;
}

textarea{
  width: 400px;
}

blockquote{
  margin: 0; 
  padding: 0 20px 10px 20px;  
}


.inlinePic{
  float: right;
}

/* begin header */
div#header{
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  background: #606060;
  z-index: 10;
}

div#header div{
  position: relative;
  width: 1003px;
  height: 84px;
  text-align: left;
  margin: 0 auto 50px auto;
}

div#header img#logo{
  position: absolute;
  left: 0;
  bottom: 10px;
}

div#header dl#menu{
  position: absolute;
  right: 0;
  top: 0;
  height: 84px;
}

div#header dl#menu dd{
  float: left;
  height: 25px;
  margin-left: 20px;
  padding: 49px 5px 10px 5px !important;
}

div#header dl#menu dd.selected{
  background: #90a860;
}

div#header dl#menu dd.porftolio:hover{
  background: #90a860;
}

div#header dl#menu ul{
  position: absolute;
  top: 84px;
  right: 110px;
  display: none;
  list-style: none;
  padding: 0;
  background: #606060;
  width: 200px;
}

div#header dl#menu ul li{
  margin: 0;
  padding: 7px 5px;
}

div#header dl#menu ul li a{
  font-size: 15px;
  color: #fff;
  width: 190px
}

div#header dl#menu dd:hover ul{
  display: block;
}
/* end header */

/* begin content */
div#content{
  position: relative;
  width: 1003px;
  text-align: left;
  margin: 0 auto 0 auto;
  padding: 20px 0 0 0;
}

div.desc{
  position: relative;
  top: 0;
  left: 0;
  margin: 0 0 20px 0;
  padding: 0;
  width: 1003px;
  background: #90c0d8;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

div.desc strong{
  margin-right: 5px;
}

div.desc p{
  color: #fff;
  margin: 0;
  padding: 15px;
}

/* begin presentations */
div.presentations{
  position: absolute;
  top: 86px;
  left: 0;
  width: 290px;
  padding: 0 25px 0 0;
}

div.presentations h2{
  padding-bottom: 20px;
}

div.presentations div.group{
  padding-bottom: 25px;
}

div.presentations h3{
  padding: 8px 0 5px 0;
}

/* begin papers */
div.papers{
  position: relative;
  top: 0;
  left: 0;
  width: 663px;
  margin-left: 315px;
  padding-left: 25px;
  border-left: solid 1px #cccccc;
}

div.papers h2{
  padding-bottom: 15px;
}

div.papers h3{
  padding: 0 0 5px 0;
}

div.papers div.group{
  padding-bottom: 30px;
}

div.papers div.group{
  padding-bottom: 30px;
}

/* porfolio portfolio */
div.portfolio{
  position: relative;
  top: 0;
  left: 0;
  width: 760px;
  margin-left: 0px;
  padding-right: 20px;
  border-right: solid 1px #cccccc;
}

div.portfolio h2{
  padding-bottom: 20px;
}

div.portfolio h3{
  padding: 0 0 10px 0;
}

div.portfolio div.group{
  position: relative;
  padding-bottom: 30px;
  clear: both;
}

div.portfolio div.group{
  padding-bottom: 30px;
}

div.portfolio div.hasImage img{
  float:left;
  margin: 0 14px 0 0;
}

div.aside{
  position: absolute;
  top: 80px;
  right: 0;
  width: 200px;
}

div.aside p{
  color: #808080;
  padding: 10px;
  font-size: 11px;
}

div.aside p strong{
  display: block;
  margin: 0;
  padding: 0 0 5px 0;
  font-size: 12px;
}

/* begin paper */
div.paper{
  position: relative;
  top: 0;
  left: 0;
  width: 760px;
  margin: 0;
  padding: 0 20px 0 0;
  border-right: solid 1px #cccccc;
}

div.paper h2{
  padding-bottom: 15px;
}

div.paper h3{
  padding: 0;
}

div.paper p, div.paper span.author{
  display: block;
  padding: 0 0 15px 0;
}

div.paper span.author{
  color: #808080;
}

div.about{
  position: absolute;
  top: 20px;
  right: 0;
  width: 200px;
}

div.about p{
  color: #808080;
  padding: 10px;
  font-size: 11px;
}

div.about p.callout{
  font-size: 12px;
  background: #90c0d8;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  color: #fff;
}

div.about p.callout a{
  color: #fff;
}


/* begin simple */
div.simple{
  position: relative;
  top: 0;
  left: 0;
  width: 760px;
  margin: 0;
  padding: 0 20px 0 0;
}

div.simple h2{
  padding-bottom: 15px;
}

div.simple h3{
  padding: 0;
}

div.simple p, div.simple span.author{
  display: block;
  padding: 0 0 15px 0;
}

/* begin blog styles */
div.posts{
  width: 700px;
  padding: 0 20px 0 0;
  border-right: solid 1px #cccccc;
}

div.post{
  position: relative;
  top: 0;
  left: 0;
  width: 690px;
  padding: 0 0 20px 0;
  margin: 0 0 20px 0;
  background: url('http://media.matthewsmith.com/separator.png') no-repeat bottom center;
}

div.post h2{
margin: 0;
  padding: 0 0 5px 0;
}

div.post p{
  margin: 0;
  padding: 0 0 15px 0;
}

div.post p.meta{
  margin: 0 !important;
  padding: 5px 0 10px 0;
}

span.date{
  display: inline-block;
  text-align: left;
  padding: 5px;
  margin: 0;
  background: #496032;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  color: #fff;
}

em.postedby{
  display: inline-block;
  margin: 0;
  padding: 5px;
  color: #808080;
}

em.postedby a{
  color: #808080;
  text-decoration: none;
}

em.postedby a:hover{
  color: #808080;
  text-decoration: underline;
}

/* begin aside */
div#aside{
  position: absolute;
  right: 0;
  top: 90px;
  width: 250px;
}

div#aside dd, div#aside li{
  padding: 0 0 5px 0;
}

div#aside h3{
  margin: 0;
  padding: 10px 0 5px 0;
}

/* begin twitter */
div#twitter{
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  width: 250px;
  min-height: 60px;
  overflow: hidden;
  background: #cccccc;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

div#twitter h2{
  padding: 10px;
  color: #fff;
  font-size: 12px;
}

div#twitter h2 a{
  color: #fff;
  font-size: 12px;
  text-decoration: underline;
}

div#twitter ul{
  list-style: none;
}

div#twitter ul#twitter_update_list{
  margin: 0;
  padding: 0;
  width: 1200px;
}

div#twitter ul#twitter_update_list li{
  width: 220px;
  padding: 0 10px 20px 10px;
  color: #fff;
}

div#twitter ul#twitter_update_list li a{
  color: #fff;
  text-decoration: underline;
}

img#tail{
  padding-left: 190px;
}
/* begin post image styles */
span.single-center{
  display: block;
  width: 100%;
  text-align: center;
  padding: 2px;
  margin: 0;
}

span.single-center img{
  border: 3px solid #f0f0f0;
}

/* begin postmeta */
div.post dl.postmeta{
  height: 30px;
  margin: 0;
  padding: 0;
}

div.post dl.postmeta dt, div.post dl.postmeta dd{
  float:left;
  margin: 0;
}

div.post dl.postmeta dt{
  background: url('http://media.matthewsmith.com/post-meta-dl-bg.png') no-repeat top left;
  padding: 4px 0 0 0;
  height: 26px;
  min-width: 100px;
  text-align: center;
}

div.post dl.postmeta dt a{
  color: #fff;
}

div.post dl.postmeta dd{
  background: url('http://media.matthewsmith.com/post-meta-comments-bg.png') no-repeat top left;
  padding: 5px 0 0 0;
  height: 26px;
  text-align: center;
  width: 31px;
}

div.post dl.postmeta dd a{
  color: #404040;
}

p.postmetadata.alt{
  margin: 10px 0 5px 0;
  padding: 5px;
  background: #f8f8f8;
  color: #808080;
  width: 680px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

/* begin replies */
h4.reply{
  margin-bottom: 5px;
}

div#reply{
  width: 670px;
  padding: 10px;
  margin: 0;
  background: #90a860;
  color: #fff;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

div#reply label{
  display: block;
  font-size: 10px;
}

div#reply input{
  display: block;
  margin-bottom: 10px;
  width: 300px;
}

div#reply input.button{
  width: auto;
  background: #e5f9bd;
  color: #404040;
  border: 2px solid #6d8145;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

div#reply textarea{
  margin: 0;
  width: 660px;
  height: 140px;
  margin-bottom: 10px;
}

div#comments{
  width: 690px;
  min-height: 350px;
  padding: 10px 0;
  margin: 0;
  background: url('http://media.matthewsmith.com/comment-bg.png') no-repeat top left;
}

div#comments cite{
  font-weight: bold;
  font-style: normal;
}

ul.commentlist{
  list-style: none;
  padding: 5px 0;
  margin: 0;
  width: 690px;
}

ul.commentlist li{
  margin: 0 0 10px 0;
  padding: 10px;
}

ul.commentlist li.alt{
  background: #f0f0f0;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}



/* end content */

/* begin footer */
div#footer{
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  margin: 20px auto 0 auto;
  border-top: 1px solid #f0f0f0;
  padding: 5px 0 20px 0;
}

div#footer span{
  display: block;
  width: 1003px;
  text-align: left;
  margin: 5px auto 0 auto;
  font-size: 11px;
  color: #808080;
}

div#footer span a{
  font-size: 11px;
}
/* end footer */
