
html, body {
    
    margin: 0em auto;
    padding: 0em;

    width: 40em;

    color: #000;
    background-color: #FFF;

    font-family: Baskerville, Garamond, Times, Georgia, serif;
    font-size: 16px;
}

a {
    color: #06D;
    font-weight: bold;
}
a:hover {
    color: #06D;
}
a img {
    border: 0px;
}

p {
    text-align: justify;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.5em;
    font-size: 1.1em;
}
blockquote {
    background-color: #EEE;
    padding: 1em;
}
blockquote p {
    font-size: 1em;
}
blockquote p:before {
    content:  '\201C';
    font-weight: bold;
} 
blockquote p:after {
    content:  '\201D'; 
    font-weight: bold;
}

li {
    font-size: 1.1em;
}

pre {
    width: 100%;
    overflow: auto;
}

#header {
    margin: 0em;
    padding: 1.5em 0em;
    height: 4em;
    background-color: #FFF;
    text-align: center;
}
#header a {
    text-decoration: none;
}
#header a:hover span {
    text-decoration: underline;
}
#header img {
    height: 4em;
    margin-right: 1em;
}
#header span {
    font-size: 3.5em;
    font-weight: bold;
    word-spacing: 0.1em;
    letter-spacing: 0.06em;
    color: #222;
    margin: 0em;
    padding: 0em;
    vertical-align: top;
}

div#menu {
    background-color: #FFF;
    text-align: center;
    font-size: 1.75em;
    padding-top: 0.5em;
}
div#menu a {
    margin: 0em;
    padding: 0.15em 0.5em;
    font-variant: small-caps;
    font-weight: bold;
    text-decoration: none;
}
div#menu a:first-child {
    border-left: 0px solid #222;
}
div#menu a:hover {
    background-color: #222;
    color: #FFF;
}

div#footer {
    border-width: 0px;
    background-color: #222;
    color: #FFF;
    height: 3em;
    line-height: 3em;
    font-weight: bold;
    padding-left: 2em;
}
div#footer ul {
    margin: 0em;
    padding: 0em;
    list-style: square;
    list-style-position: inside;
}
div#footer ul li {
    float: left;
    margin-right: 0.6em;
    font-size: 1em;
}
div#footer ul li:first-child {
    list-style: none;
}

.content {
    background-color: #FFF;
    border: 1px solid #FFF;
    padding: 1em 2em;
}
.content h1 {
    color: #222;
    margin-bottom: 0em;
}
.content h1 + p {
    margin-top: 0.5em;
}
.content hr {
    margin: 3em 0em;
    clear:both;
}
.content p {
    clear: both;
}
.content li {
    line-height: 1.5em;
}
.content p + ul {
    margin-top: 0em;
}
div.caption {
    text-align: center;
    margin-bottom: 1em;
}
div.tweet img {
    margin: 0em auto;
    width: 100%;
}

span.half_wrap {
    margin: 0em auto;
    padding: 0em;
}
span.half_wrap img {
    margin: 2%;
    padding: 0em;
    width: 45%;
    float: left;
    border: 1px solid #444;
}

span.smaller_img img {
    width: 45%;
    margin: 1em auto;
    display: block;
}

div.embedded_video {
    margin: 1em auto;
    padding: 0em;
    text-align: center;
}
.content .embedded_video * {
    margin: 0em;
    padding: 0em;
}

.blog p + p {
    margin-top: 1em;
}

#about {
    padding-top: 2em;
}
#about div#myphoto {
    width: 16em;
    float: left;
    margin-right: 1em;
    border: 1px solid #222;
    padding: 0.5em;
    padding-bottom: 0em;
    margin-bottom: 2em;
}
#about div#myphoto img {
    margin-bottom: 1em;
    width: 100%;
}
#about div#myphoto + p {
    text-align: left;
    clear: none;
    font-weight: bold;
}
#about h3 {
    clear: both;
    margin-bottom: 0em;
    margin-top: 2em;
}

#front a {
    font-weight: bold;
}
#front div.day {
    padding-bottom: 2em;
    margin-bottom: 4em;
    border-bottom: 4px solid #222;
}
#front div.day h1 {
    font-size: 2em;
}
#front div.day h1 a {
    text-decoration: none;
}
#front div.tweet {
    margin: 0em;
    padding: 1em 0em;    
}
div.tweet img {
    display: block;
}
#front div.tweet a.perma {
    background-color: #FFF;
    margin-left: -1.75em;
    margin-right: 0.5em;
}
#front div.tweet a.perma img {
    border: 0px;
    width: 1em;
    display: inline;
}
#front div.tweet a.perma img.hover {
    display: none;
}
#front div.tweet a.perma img.gray {
    display: inline;
}
#front div.tweet:hover a.perma img.hover {
    display: inline;
}
#front div.tweet:hover a.perma img.gray {
    display: none;
}
div.excerpt span.edit_mode {
    display: none;
    visibility: hidden;
}
div.excerpt blockquote {
    text-align: justify;
}
div.hn p {
    line-height: 1em;
    font-size: 1em;
}

#front div.expanded {
}
#front div.expanded p:first-child strong:first-child {
    font-size: 1.25em;
}
#front div.expanded p {
    margin: 0em;
}
#front div.expanded p + p {
    margin-top: 1em;
}
#front div.expanded a.perma {
    margin-left: 2em;
}
#front h1 + div.tweet {
    border-top: 0px;
}
#front div.photo img.posted {
    width: 75%;
    margin: 1em;
}

div.blog {
    padding-top: 1.5em;
}
div.blog p:first-child strong:first-child {
    font-size: 1.25em;
}
#archive ul li {
    font-size: 1.5em;
    font-weight: bold;
}
#archive ul li ul li {
    font-size: .75em;
    font-weight: bold;
}
#archive ul li ul li ul li {
    font-weight: normal;
    font-size: 1em;
    padding: 0.25em 0em;
}

#research img {
    width: 100%;
}
#research #mobiphos img {
    width: 44%;
    float: left;
    margin: 1em auto;
}
#research #mobiphos img + img {
    width: 56%;
}
#research ul#quickdraw_lists {
    margin-left: 0em;
    padding-left: 2em;
}
#research ul#quickdraw_lists li {
    margin-bottom: 2em;
}
#research ul#quickdraw_lists li * li{
    margin-bottom: 0em;
}
#research blockquote {
    background-color: #FFF;
    padding: 0em;
}
#research blockquote p:before {
    content: "";
} 
#research blockquote p:after {
    content: "";
} 

#web img {
    width: 100%;
}

 
#papers ol {
    margin: 0em;
    padding: 0em;
    list-style: decimal;
}
#papers li {
    margin: 0.5em 2em;
    margin-bottom: 1em;
}

#disqus_thread #dsq-content { font-size: 1em !important;}
#dsq-options-toggle img { width: 71px !important;}

div#error {
    width: 75%;
    margin: 2em auto;
    text-align: justify;
    font-size: 1.25em;
    line-height: 1.5em;
}
div#error a {
    font-variant: small-caps;
}

