* { margin: 0 }

body {
  margin-top: 30px;
  
  margin-right: 30px;
  margin-bottom: 0;
  padding: 0;
  font-size: 12px;
  font-family: "Comic Sans", "Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
  color: #333;
  background: white;
}

a {
  text-decoration: none;
}

strong, b {
  color: #555;
  font-weight: 600;
}

img {
  border: none;
  clear: none;
}

ul li {
  list-style-image: url(/media/img/bullet_large.gif);
}



#header {
  clear: none;
  float: left;
  white-space: nowrap; 
  position: relative;
  margin-left: 200px;
}

#header a {

  color: black;
}

#nav a {

  color: grey;
}

#logo {
  float: left;
  margin: 0;
  padding: 0;
  margin-right: 15px;
}

#title {
  clear: none;
  position: relative;
  margin: 0;
  padding: 0;
  font-size: 24px; 
}

#tagline {

  clear: none;
  font-variant: small-caps;
  font-size: 1em;
  position: relative;
  margin: 0;
  padding: 0;
}

#nav {
  list-style-type: none;
  clear: none;
  float: right;
}

#search {
  display: inline;
}

#search input {
  border-width:0;
  color: grey;
}

#search input:focus {
  color: black;
}

#nav li {

  display: inline;
  padding: 4px;
  border: 1px solid #ddd;
  margin:0px;
}

#spacer {
  width: 70%;
  margin-left: 200px;
  height: 1em;
  clear: left;
  background-color: darkblue;
  opacity: .5;
}


#article_thumb {

  float: left;
  clear: left;
  padding: 3px;
  padding-left: 0;
  border: 1px dashed grey;
  border-left: none;
  position: absolute;
}

#article {

  padding-top: 4em;
  margin-bottom: 5em;
  clear: left;
}

#article_body {
  margin-left: 200px;
  padding-bottom: 2em;
  background: url(/media/img/logo_foot.png) left bottom no-repeat;
}

#article_titleline {

  padding-bottom: 4px;
  border-bottom: 1px dashed grey;
  color: black;
}

#article_titleline a {
  color: black;
  line-height: 1.5;
}

#article_title {

  display: inline;
  font-size: 2em;
}

#article_info {
  margin-left: 30px;
  white-space: nowrap;
}

#article_content {
  margin-top: 1.5em;
  line-height: 2;
  margin-bottom: 2.2em;
  text-align: justify;
  width: 70%;
}

#article_content p {

  padding-top: 0.7em;
  padding-bottom: 0.7em;
}

#article_content ul,ol {

  padding-top: 1em;
  padding-bottom: 1em;
}
  
#article h1,h2,h3,h4,h5,h6 {
  padding-top: 1.5em;
}

#article_content a {
  border-bottom:1px dotted grey;
  color: black;
  img {
    border-bottom: none;
  }
}

#article_content img {
  margin-bottom: 0.5em;
}

#article_content blockquote {
  margin: 0.5em 3em;
  color: #666;
  padding-left: 1em;
}

#article_content hr {
  height: 1px;
  color: #eee;
  margin-top: 2em;
  margin-bottom: 2em;
  margin-left: 35%;
  width: 30%;
  text-align: right;
}

#article_content pre {
  margin-top: 2em;
  margin-bottom: 2em;
}

#article_content .code {
  font-size: small;
  white-space: pre;
  padding: 1em;
  line-height: 1.5;
  background: whitesmoke;
  opacity: 0.8;
}

#article_content .videoplayer {
  width: 100%;
  height: 400px;
}

#article_content .audioplayer {
  width: 100%;
  height: 24px;
}

#article_content .amazonlink {
  background-image: url(/media/img/amazon.jpg);
  background-repeat: no-repeat;
  padding-left: 21px;
}

#article_content .footnote {
  white-space: nowrap;
}

#comments {
  margin-left: 200px;
  margin-top: 2.5em;
}

.comment_body {
  margin-top: 2em;
  padding-bottom: 0.5em;
  border-bottom: 1px dashed #999;
  width: 70%;
}

.comment_author {
  font-weight: bold;
  font-size: 1.2em;
}

.comment_admin {

}

.comment_content {
  margin-top: 1em;
  line-height: 2;
  text-align: justify;
}

.comment_content p {
  padding-top: 0.7em;
  padding-bottom: 0.7em;
}

#comment_hr {
  width: 70%;
  color: #ddd;
  clear: both;
}

#comment_form {
  margin-top: 4em;
}

#comment_name {
  display: block;
  border: 1px solid lightgrey;
  color: grey;
}

#comment_website {
  display: none;
}

#comment_content {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  border: 1px solid lightgrey;
  color: grey;
  width: 50%;
  height: 15em;
}

#comment_submit {
  background-color: white;
  border: 1px solid lightgrey;
}

#latest {
  margin-left: 200px;
  clear: left;
  padding-top: 40px;
  margin-bottom: 5em;
}

#latest img {
  border: 1px solid grey;
  padding: 1px;
}

#latest ul {
  padding-left: 0;
}

#latest li {
  list-style-type: none;
  margin-bottom: 2em;
  font-variant: small-caps;
  list-style-image: none;
}

.main_article_title {
  font-size: 1.2em;
  border-bottom:1px dashed grey;
  color: black;
}

.main_article_author {
  color: black;
  margin-left: 1em;
}

#files_body {
  font-family: Courier New, Courier, monospace;
  clear: left;
  margin-left: 200px;
  padding-top: 2.5em;
}

#files_breadcrumbs {
  display: block;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 1.5em;
  white-space: nowrap;
}

#files_breadcrumbs a {
  color: black;
  border-bottom: 1px dashed grey;
}

#files_list {
  margin-bottom: 1em;
  width: 70%;
}

#files_list a {
  color: black;
  font-size: 1.2em;
  margin-bottom: 0.4em;
}

#folder_list a {
  background-image: url(/media/img/folder.png);
  background-repeat: no-repeat;
  padding-left: 21px;
  display: block;
}

#file_list a {
  background-image: url(/media/img/file.png);
  background-repeat: no-repeat;
  padding-left: 21px;
  display: block;
}


@media print {

  #nav {
    display: none;
  }
  
  #article_thumb {
    display: none;
  }
  
  #header {
  
    margin-left: 1px;
  }
  
  #article_body {
  
    margin-left: 1px;
  }
  
  #article_content {
  
    width: 90%;
  }

  #article_content .amazonlink {
    display: none;
  }
  
  #comments {
    margin-left: 0;
    width: 100%;
  }
  
  #comment_form {
  display: none;
}
}
