@font-face {
  font-family: 'Myriad Web';
  src: url(/d/fonts/myriad.ttf) format('truetype');
}
@font-face {
  font-family: 'Myriad Web';
  font-weight: bold;
  src: url(/d/fonts/myriadb.ttf) format('truetype');
}
@font-face {
  font-family: 'Myriad Web';
  font-style: italic;
  src: url(/d/fonts/myriadi.ttf) format('truetype');
}

html {
  background: white url(earthtag2.png) fixed no-repeat top right;
  margin: 0;
  padding: 0;
}
body {
  background: white url(earthtag2.png) fixed no-repeat top right;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Myriad Web, Calibri, Helvetica Neue, Arial, sans-serif;
}

#site-header, #main {
  font-family: Myriad Web, Calibri, Gill Sans, sans-serif;
  padding: 8px;
  padding-bottom: 4em;
}

#site-header {
  float: left;
  font-size: 14px;
}
#site-header h1 {
  color: #5c3566;
  font-size: 20px;
  margin: 0;
  padding: 0;
  padding-top: 6px;
}
#site-header h2 {
  font-weight: normal;
  font-size: 16px;
  margin: 0;
  font-style: italic;
  text-align: right;
  position: relative;
  left: 1em;
}
#site-header h3 {
  font-size: 15px;
}
#site-header a {
  color: black;
  text-decoration: none;
}
#site-header ul {
  list-style-type: none;
  margin: 0;
  margin-left: 1em;
  padding: 0;
}
#site-header ul > li {
  margin-top: 0.5em;
  margin-left: 0;
  padding-left: 0;
}
#site-header ul > li > a {
  display: block;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}
#site-header ul > li > a > span:before {
  content: "↪  ";
}
#site-header ul > li > a:hover {
  background: #d8c1d5;
}

#main {
  margin-left: 20em;
  margin-right: 4em;
  min-width: 20em;
  max-width: 40em;
  font-size: 1em;
  line-height: 1.4;
}
/*
.article p, #commentlist p {
  text-indent: 2em;
}
.article h1 + p, .article h2 + p, .article h3 + p, .article h4 + p, .article h5 + p, .article h6 + p,
.article ul + p, .article ol + p,
.article li > p:first-child {
  text-indent: 0;
}
#commentlist p {
  text-indent: 0;
}
#commentlist > li > * + p {
  text-indent: 2em;
}
*/

/* XX
#commentlist {
  padding-left: 2em;
}
#commentlist > li {
  padding-left: 2px;
  padding-right: 2px;
}
li.owner {
  background: #f0f0f0;
}
*/
#main h1 {
  font-size: 26px;
  margin: 0;
  padding: 0;
}
#main h1 a:link, #main h1 a:visited {
  color: black;
  text-decoration: none;
}
#main h2 {
  font-size: 18px;
  margin: 2em 0 0 0;
  padding: 0;
}

a:link { color: #4188d3; }
a:visited { color: #5c3566; }
#main a:hover { background: #dee }
#main h1 a:hover { background: transparent }
hr.sep {
  border: none;
  text-align: center;
  margin-top: 2em;
  margin-bottom: 3em;
}
hr.sep:after {
  content: "❋";
  font-size: 20px;
  color: #666;
}

#footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 16px;
  background-color: #5c3566;
}

/*@font-face {
  font-family: Myriad Web;
  font-style:  normal;
  font-weight: normal;
  src: url(fonts/MYRIADW0.eot);
}*/

.articledate {
  font-family: Myriad Web, Calibri, Helvetica Neue, Arial, sans-serif;
  color: #5c3566;
  text-transform: uppercase;
}

code, tt {
  background: #ede2ec;
}
cite {
  font-style: inherit;
}

.articleNav {
  font-size: 85%;
  text-align: right;
  margin-top: 2em;
  margin-bottom: 4em;
  white-space: nowrap;
}
.articleNav .prev {
  float: left;
  padding-right: 1em;
}
.articleNav .mid {
  display: none;
}

.feedback {
  font-size: 85%;
}

table.dl {
  border-collapse: collapse;
  margin-left: 2em;
}
table.dl th {
  text-align: left;
  padding-right: 4px;
}

pre {
  margin-left: 2em;
  border: 1px solid #ddd;
  background: #f8f8f8;
  padding: 0.5em;
  overflow: auto;
}
pre em {
  font-style: normal;
  background-color: #ff8;
}

.tags, .meta {
  font-size: 85%;
}
.tags {
  text-align: right;
}
dl.news-index dt { font-weight: bold; float: left; width: 130px; text-align: right }
dl.news-index dd { margin-left: 140px }


.comment-form h2 { margin-bottom: 0.5em }
.comment-form textarea { height: 10em; width: 50em; max-width: 100% }
.comment-form .fields p { margin: 0 }
.comment-form .fields .text { width: 20em }
#commentlist { list-style: none; margin: 0; padding: 0; margin-bottom: 1em; margin-left: -220px }
#commentlist li { background: rgba(224, 224, 224, 0.5); margin-left: -0.5em; margin-top: 0.5em; padding: .5em; border-top: 1px solid #ccc }
#commentlist li.owner { background: rgba(216, 192, 213, 0.75) }
.comment-attribution { font-size: 90%; float: left; width: 220px; overflow: hidden }
.comment-attribution .avatar { float: left; margin-right: 0.5em; }
#main .comment-attribution a.date:link { color: #888 }
#main .comment-attribution a.date:hover { color: #000 }
.comment-contents { padding-left: 220px }
.comment-contents > p:first-child { margin-top: 0 }
.clearance { clear: left }

.figure { margin-left: -2em }
img.figure, .figure img {
  border: 1px solid #aaa;
  -moz-box-shadow: 0 0 5px #888;
  -webkit-box-shadow: 0 0 5px #888;
  box-shadow: 0 0 5px #888;
}

dt { font-weight: bold; }
