html, body {
  width: 100%; height: 100%;
  margin: 0; padding: 0;
}

body {
  background: #f5f1da url(images/body_bg.jpg) repeat-y 5px 0;
  font: 0.7em/1.5 arial,helvetica,sans-serif;
}

a {
  color: #ff0;
  text-decoration: none;
  border-bottom: 1px solid #ff0;
  padding: 1px 1px 0 1px;
}

a:hover {
  color: #fff;
  background: #ED4590;
  padding: 1px 1px 0 1px;
  border-bottom: 1px solid #ED4590;
}

code, kbd, samp, pre {
  font-family: 'lucida console',monospace;
}

cite {
  font-style: normal;
}

em {
  font-style: italic;
  font-weight: bold;
  padding-right: 1px;
}

ins {
  text-decoration: none;
}

abbr {
  border-bottom: 1px dotted #fff;
}

abbr[title] {
  cursor: help;
}

a abbr {
  border-bottom: 0;
}

ul, ol {
  margin: 10px; padding: 0;
  list-style-type: none;
}

ul.page, #footer ul {
  margin: 0 auto; padding: 0;
  width: 420px;
  text-align: center;
}

body.item ul.page {
  padding: 0 20px 75px;
  background: url(images/item_footer.jpg) no-repeat 50% 100%;
}

ul.page li, #footer li {
  display: inline;
  padding: 2px 5px; margin: 0;
}

ul.page li:before, #footer li:before {
  content: '|';
  padding: 0 10px 0 0;
}

ul.page li:first-child, #footer li:first-child {
  padding: 2px 5px 2px 0;
}

ul.page li:first-child:before, #footer li:first-child:before {
  content: '';
}

ul.page a {
  font-weight: bold;
}

ul.page a[title~="Next"]:after {
  content: '\bb';
  padding: 0 0 0 2px;
  color: #fff;
  font-weight: normal;
}

ul.page a[title~="Previous"]:before {
  content: '\ab';
  padding: 0 2px 0 0;
  color: #fff;
  font-weight: normal;
}

a.footnote:after {
  counter-increment: footnotelink;
  content: ' [' counter(footnotelink) ']';
}

p.footnote:before {
  counter-increment: footnote;
  content: '[' counter(footnote) '] ';
}

p.footnote {
  margin-top: 25px; padding-top: 5px;
  border-top: 1px dotted #fff;
}

p.footnote + p[id] {
  margin-top: 10px; padding-top: 0;
  border-top: 0;
}


ol.top-five-count-down {
  padding: 10px 25px;
  list-style-type: none;
  counter-reset: countdown 6;
}

ol.top-five-count-down li:before {
  content: counter(countdown) '. ';
  counter-increment: countdown -1;
  padding: 0 5px 0 0;
  font-weight: bold;
}

dl {
  margin: 10px; padding: 0;
}

dt {
  font-weight: bold;
  margin: 0; padding: 0;
  float: left;
  width: 8em; /* 6em 70px;*/
  text-align: right;
}

#comments + ol dt {
  float: none;
  text-align: left;
  width: auto;
}

dd {
  margin: 0 0 5px 8.5em; padding: 0;
}

#comments + ol dd {
  margin-left: 10px;
}

dd ul {
  margin: 0;
}

blockquote {
  margin: 10px 30px;
}


p.details {
  margin: 3px 0 25px 0;
}

p.code-block {
  width: 470px; padding: 0;
  margin: 5px 0;
}

pre {
  width: 420px; padding: 15px;
  margin: 5px 0 15px 5px;
  border: 5px solid #ED4590;
  overflow: hidden;
  background: url(images/cssbg.jpg) no-repeat;
}

blockquote pre {
  width: 390px; 
}

/*p.code-block code {
  white-space: pre;
  display: block;
  padding: 15px;
  border: 5px solid #ED4590;
  background: url(images/cssbg.jpg) no-repeat;
}*/



p.error {
  margin: 5px 0 0 0; padding: 10px 10px 0;
  border: 5px solid #ED4590;
  border-bottom: 0;
  font-weight: bold;
}
p.error + ul {
  margin: 0 0 5px 0; padding: 5px 10px 10px;
  border: 5px solid #ED4590;
  border-top: 0;
}
p.error + ul li:before {
  content: '\2022';
  padding-right: 3px;
}




p.img-caption {
  text-align: center;
  margin-bottom: 25px;
}

img, object {
  background: #CF3A7D;
  padding: 2px;
  border: 5px solid #ED4590;
}

object {
  margin: 10px auto;
}

#body img {
  display: block;
  margin: 10px auto;
}



#body {
  width: 470px;
  padding: 0 15px 60px 10px; margin: -50px 0 0 55px;
  background: #FF57A2 url(images/body_footer.jpg) no-repeat 50% 100%;
  color: #fff;
}

h2#archives {
   width: 370px; height: 50px;
   background: url(images/archivesheading.gif) no-repeat 0 0;
}

h2#search {
   width: 370px; height: 50px;
   background: url(images/search.gif) no-repeat 80% 0;
}

h2#contact {
   width: 370px; height: 50px;
   background: url(images/contact.gif) no-repeat 40% 0;
}


#body h2 + h3 {
  margin: 3px 5px 0 0; padding: 5px 10px 0;
  float: left;
  background: url(images/date_bg.jpg) no-repeat 0 0;
}

#body h3, #body h4 {
  line-height: 2em;
  font-size: 1.1em;
  font-weight: bold;
}


#body h2 + h3 + * {
  margin: 0 0 10px 0;
}

#misc {
  width: 470px;
  padding: 10px 15px 10px 10px; margin: 0 0 0 55px;
  color: #fff;
  background: #FF57A2;
  float: left;
  clear: both;
}


#header {
  height: 270px;
  background: url(images/header_bg.jpg) no-repeat 0 0;
  margin: 0 0 0 5px; padding: 1px 0 0 0;
}

#header h1 {
  text-indent: -9999px;
  position: absolute;
  left: 310px; top: 50px;
}

#header li > a {
  text-decoration: none;
  text-indent: -9999px;
  display: block;
  border: 0;
}


#header ul {
  margin: 10px;
}


#header li:first-child a {
  background: url(images/home.png) no-repeat;
  width: 120px; height: 50px;
  margin: 0 0 0 35px;
}

#header li:first-child + li a {
  background: url(images/archives.png) no-repeat;
  width: 160px; height: 50px;
  margin: -10px 0 0 85px;
}

#header li:first-child + li + li a {
  background: url(images/search.png) no-repeat;
  width: 135px; height: 55px;
  margin: 0;
}

#header li:first-child + li + li + li a {
  background: url(images/contact.png) no-repeat;
  width: 150px; height: 50px;
  margin: 0 0 0 55px;
}


#misc li {
  margin: 1px 0; padding: 0;
}

a[title~="External"]:before {
  content: '\bb';
  padding: 0 2px 0 0;
  color: #fff;
}

#of-interest {
  background: url(images/interest.jpg) no-repeat;
  width: 185px; height: 70px;
  margin: 0 0 0 -5px; padding: 0;
  text-indent: -9999px;
  float: left;
}

#of-interest + ul {
  float: left;
  clear: left;
  margin: 5px 0 0 10px; padding: 0;
}

#hangouts {
  background: url(images/hangouts.jpg) no-repeat;
  width: 185px; height: 70px;
  margin: -70px 50px 0 0; padding: 0;
  text-indent: -9999px;
  float: right;
}

#hangouts + ul {
  clear: right;
  float: right;
  margin: 5px 140px 0 0; padding: 0;
}

#listening {
  background: url(images/listening.jpg) no-repeat;
  width: 400px; height: 120px;
  margin: 0 0 0 -5px; padding: 0;
  text-indent: -9999px;
  clear: both;
}

#listening + ul {
  width: 450px;
  margin: 0 0 0 15px; padding: 0;
}

#listening + ul li {
  float: left;
  padding: 7px 2px 2px; margin: 10px 2px;
}


#footer {
  width: 470px; min-height: 60px; clear: left;
  padding: 50px 15px 10px 10px; margin: 0 0 0 55px;
  color: #fff;
  background: #FF57A2 url(images/footer_bg.jpg) no-repeat 50% 0;
}



#body h2[id], h2.ie-article-title {
  text-indent: -9999px;
}

#body h2[id] a, h2.ie-article-title a {
  width: 100%; height: 100%;
  display: block;
  border: 0; 
}

#body h2[id] a:hover, h2.ie-article-title a:hover {
  background: transparent;
}


#comments {
  width: 300px; height: 50px;
  background: url(images/comments.gif) no-repeat 0 0;
  text-indent: -9999px;
  clear: both;
  margin-top: -10px;
}

#comments + ol, #search-results ol {
  margin: 0; padding: 0;
  counter-reset: comment;
}

#comments + ol > li { /*, #search-results li*/
  margin: 2px 0; padding: 30px 0 0 0;
  background: url(images/footer_bg.jpg) no-repeat 50% 0;
  
}
#comments + ol > li:first-child { /*, #search-results li:first-child*/
  background-image: none;
  padding: 0;
}

#search-results li {
  padding-bottom: 10px;
}

#comments + ol > li p.details:before, #search-results li h3:before {
  content: counter(comment);
  counter-increment: comment;
  padding: 7px 25px 15px 16px; margin: 0 -5px;
  font-weight: bold;
  background: url(images/comment_num_bg.jpg);
}


#leave-comment {
  width: 350px; height: 50px;
  background: url(images/leavecomment.gif) no-repeat 0 0;
  text-indent: -9999px;
}



fieldset {
  border: 0; padding: 10px 0; margin: 5px 0;
}


label {
  text-align: right;
  display: block;
  width: 100px;
  margin: 5px;
  float: left;
  clear: left;
}

input[type="checkbox"] + label {
  clear: none;
}

input[type="text"], textarea {
  margin: 3px; padding: 2px; border: 2px solid #ED4590;
  font: 1em/1.5 arial,helvetica,sans-serif;
  width: 300px;
  background: #fff url(images/text_bg.gif);
  color: #666;
}
textarea {
  height: 200px;
}

input[type="text"]:focus, textarea:focus {
  margin: 0; padding: 2px; border: 5px solid #ED4590;
  width: 300px;
  background: #fff;
  color: #000;
}

input[type="submit"] {
  background: #ED4590;
  color: #fff;
  font: bold 1em/1.5 arial,helvetica,sans-serif;
  border: 2px solid #ED4590;
  cursor: pointer;
}
input[type="submit"]:hover {
  background: #CF3A7D;
}

input[value~="Preview"] {
  margin: 5px 5px 5px 115px;
  width: 145px; 
}

input[value~="Post"] {
  margin: 5px;
  width: 145px;
}

#contact-form input[type="submit"] {
  clear: both;
  margin: 5px 5px 5px 115px;
}

#search-form {
  position: relative;
}

#search-form input[type="text"] {
  clear: right;
}
#search-form input[type="checkbox"] {
  margin: 5px 0 0 3px;
  border: 2px solid #ED4590;
  float: left;
}
#search-form input[type="checkbox"]:checked {
  border: 2px solid #CF3A7D;
}

#search-form p + p {
  margin: 0; padding: 0;
}

#search-form p + p + p + p{
  position: absolute; right: 3px; top: 31px;
}

#search-results {
  padding-top: 20px;
  width: 100%; clear: both;
}

caption {
  margin: 5px 0 10px;
  caption-side: bottom;
  font-style: italic;
}

tr:first-child {
  background: #ED4590;
  border-bottom: 2px solid #CF3A7D;
}

tr.odd {
  background: #F24A95;
}

tr:hover {
  background: #ED4590;
}

th[scope="col"] {
  text-align: left;
}

th[scope="row"] {
  text-align: right;
  border-right: 1px solid #CF3A7D;
}

th, td {
  padding: 2px 5px;
}


table {
  margin-top: 10px;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #CF3A7D;
}

*.points li:before, #comments + ol ul li:before {
  content: '\2022';
  font-size: 1em;
  padding-right: 5px;
}
dd .points li:before {
  content: '';
}


#comments + ol ol {
  list-style-type: decimal;
  list-style-position: inside;
}

.drag-handle {
  position: absolute;
  width: 14px; height: 25px; padding-right: 1px;
  background: url(images/draghandle.gif) no-repeat;
  line-height: 25px; text-align: right;
}

#search-results h3 {
  float: left;
  font-size: 1em;
  padding: 0 5px 5px 0; margin: 0;
}

#search-results h3 + p {
  margin: 0; padding: 3px 0 5px 5px;
  float: right;
  font-weight: bold;
}

#search-results h3 + p + p {
  clear: both;
}

h2#old + ul {
  margin: 0; padding: 0;
}
h2#old + ul li {
  margin: 5px 0; padding: 0;
}

