/* taken & adapted with permission from John Wiegley's brilliant site
   at http://www.newartisans.com/johnw/. Thanks, John! */

/* The HTML body */


body { 
  margin: 0px; 
}

.left-float { 
  float: left; 
  padding: 20px;
}

.right-float { 
  float: right;
  padding: 20px;
}

/* The top banner */

#banner {
    color: #000000;
    background-color: #E8E8E8;

    padding: 10px 0px 10px 15px; /* t r b l */
}

#banner a {
    color: #483D8B;
    text-decoration: none;
}

#banner h1, h2 {
    font-family: 'Trebuchet MS', Verdana, sans-serif;
    font-weight: bold;
    margin: 0px;
}

#banner h1 {
    font-size: large;
    line-height: 150%;
}

#banner h2 {
    font-size: medium;
}

/* The true body, which remains below the banner */

#body {
    font-family: Verdana, Arial, sans-serif;
    margin: 0px;
}

#body a {
    text-decoration: underline;
    font-weight: bold;
}

#body a:link    { color: #666666; }
#body a:visited { color: #666666; }
#body a:active  { color: #666666; }
#body a:hover   { color: #CC6600; }

#body h1, h2, h3 {
    font-family: 'Trebuchet MS', Verdana, sans-serif;
    font-size: large;
}

/* The content, which is the left part of the body */

#content {
    padding-top: 25px;
    padding-left: 15px;
    padding-right: 15px;

    color: #333;
    background-color: #FFFFFF;

    line-height: 150%;
}

#content table {
    border-width: 0 0 0 0;
    border-style: none;
    padding-top: 10px;

    margin-left: 30px;
    margin-right: 30px;
}

#content td {
    border-width: 0 0 0 0;
    border-style: none;
    padding: 1px;
}

#content th {
    font-weight: bold;
    text-align: left;
    border-width: 0 0 1px 0;
    border-style: solid;
    padding: 0;
}

#content p.quoted {
    margin-left: 20px;
    margin-right: 20px;
}

#content hr {
    margin: 0px;
}

#content dl {
    margin-left: 25px;
}

#content dd {
    margin-left: 25px;
    margin-right: 40px;
    margin-bottom: 15px;
}

#content ol {
    margin-left: 30px;
}

#content li {
    margin-left: 0px;
}

#content p {
    margin-left: 25px;
    margin-right: 15px;
    margin-top: -7px;
/*    text-indent: 30px; */
}

#content pre {
    margin-left: 25px;
}

#content p.first { text-indent: 0px; }
#content p.quoted { text-indent: 0px; }
#content p.footnote { text-indent: 0px; }

#content hr {
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 10px;
}

#content h2 {
    color: #666666;
    font-weight: bold;
    margin-top: 25px;
    margin-left: 0px;
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
}

#content h2.first {
    margin-top: 0px;
}

#content h3 {
    color: #000000;
    font-size: medium;
    font-weight: bold;
    margin-left: 25px;
    /*margin-bottom: -10px;*/
    margin-bottom: 15px;
}

#content code {
    font-family: Courier, sans-serif;
}

#content .verse {
    margin-left: 45px;
    text-indent: 0px;
}

#content .example {
    font-family: Courier, sans-serif;
    white-space: pre;
    line-height: 110%;
    margin-left: 40px;
    color: purple;
}

/* Blog entries within the content */

#entry {
    margin-top: -15px;
    padding-left: 10px;
    padding-right: 20px;
}

blog-entry {
    margin-top: -15px;
    padding-left: 10px;
    padding-right: 20px;
}

#entry-head {
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
}

entry-head {
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
}

#entry-head h2 {
    margin-top: 0px;
    margin-bottom: 0px;
    border-bottom: 0px;
}

entry-head h2 {
    margin-top: 0px;
    margin-bottom: 0px;
    border-bottom: 0px;
}

#entry-date {
    font-size: small;
    font-weight: bold;
    padding-right: 20px;
    float: right;
}

entry-date {
    font-size: small;
    font-weight: bold;
    padding-right: 20px;
    float: right;
}

#entry-text {
    margin-right: 20px;
}

entry-text {
    margin-right: 20px;
}

#content p.quoted {
    margin-left: 10px;
    margin-right: 20px;
}

#entry-text img { 
  padding-bottom: 10px;
}

entry-text img { 
  padding-bottom: 10px;
}

#entry-qotd {
    position: relative;
    top: 0px;
    right: 0px;
    float: right;
    margin-top: 10px;
    padding: 10px;
    margin-left: -40px;
}

/* Sina's style:

#entry-qotd {
    background-color: #C6D1DF;
    foreground-color: #304B6D;
    width: 20%;
    float: right;
    margin-left: 25px;
    padding: 5px;
    padding-bottom: 25px;
    border-width: 10px;
    border-color: white;
}

#entry-qotd p {
    margin-left: 5px;
    margin-right: 5px;
}

#entry-qotd h3 {
    color: white;
    font-size: medium;
    font-weight: bold;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 15px;
}

*/

/* The sidebar, which is the right part of the body */

#sidebar {
    position: relative;
    top: 0px;
    right: 0px;
    float: right;

    padding: 15px;
    width: 22%;

    font-family: 'Trebuchet MS', Verdana, sans-serif;
    font-size: 90%;
    background-color: #E8E8E8;

    border-style: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 25px;
    border-bottom-width: 10px;
    border-color: white;
}

#sidebar h2 {
    color: #000000;
    text-align: center;
    font-weight: bold;
    font-size: small;
    text-transform: uppercase;
    padding: 3px;
    letter-spacing: .3em;
}

#sidebar a {
    color: #483D8B;
}

#sidebar ul {
    padding-top: 5px;
    padding-left: 0px;
    margin: 0px;
    margin-bottom: 30px;
}

#sidebar li {
    color: #000000;
    line-height: 140%;
    margin-top: 5px;
    list-style-type: none;
}
