* {
  font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

body {
/*  background-color: #FFF;
  background-image: url("../elements/blogheader.gif");
  background-position: top center;
  background-repeat: no-repeat;*/
  background: #FFF url('../elements/maingrad.jpg') repeat-x top left;
  color: #000;
  margin: 0;
  padding: 0;
}

h1, h2 {
  border-color: #000;
  border-style: solid;
  border-width: 0 0 1px;
  clear: both;
  font-size: 2em;
  margin: 0 10px;
  padding: 20px 0 5px;
  position: relative;
  top: -25px;
}

h3 {
  font-size: 95%;
  margin: 0 0 10px;
}

p, li {
  font-size: 80%;
}

a {
  color: #006;
}

a:hover {
  color: #008;
}

img {
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}

div.pre {
  border-style: dotted;
  border-width: 1px;
}

fieldset legend {
  color: #006;
  font-size: 80%;
  font-weight: bold;
}

label.left_label {
  display: block;
  float: left;
  font-weight: bold;
  width: 17.5%;
}

input[type="text"],
input[type="password"],
textarea {
  width: 60%;
}





#container {
  background-color: #F0F0F0;
  margin: 0 auto;
  width: 740px;
}

#skipnav {
  display: none;
}

#header {
  background-color: #989898;
  background-image: url('/elements/header_v2.jpg');/*url('http://farm4.static.flickr.com/3048/2690064879_70dffc5b18_b.jpg');*//*url('/elements/blogheader.gif');*/
  background-position: left 40%;
  border-color: #6F6F6F transparent #8F8F8F;
  border-style: solid;
  border-width: 5px 0;
  height: 95px;
}

#header:hover {
  background-color: #A0A0A0;
}

#header p {
  float: left;
  font-size: 2em;
  margin: 0;
  padding: 0;
}

#header p a {
/*  background: url('/elements/bloglogo.png') no-repeat top left;*/
  color: #FFF;
  display: block;
  height: 75px;/*125px;*/
  margin: 10px 0 0 15px;/*10px 0 60px 15px;*/
/*  width: 75px;*/
}

#header p a span {
/*  display: none;*/
}

#primary_nav {
  float: right;
  margin: 0 0 0 100px;
}

#primary_nav ul,
#primary_nav ul li {
  float: left;
  font-weight: bold;
  list-style-type: none;
  padding: 0 15px 0 0;
}

#primary_nav ul li a {
  background: url('../elements/inactive.gif') no-repeat left;
  /*color: #FFF;*/
  color: #000;
  padding: 0 0 0 15px;
  text-decoration: none;
}

#primary_nav ul li a:hover {
  text-decoration: underline;
}

#primary_nav ul li a:hover,
#home #menu1 a,
#about #menu2 a {
  background-image: url('../elements/active.gif');
}

#home #menu1 a:hover,
#about #menu2 a:hover {
  background-image: url('../elements/inactive.gif');
}

#sidenav {
  border-color: #006;
  border-style: dotted;
  border-width: 0 0 0 1px;
  margin: 0 0 40px;
  padding: 0 0 10px 10px;
  float: right;
  width: 190px;
}

#sidenav h3 {
  border-color: #558;
  border-style: dotted;
  border-width: 0 0 1px;
  clear: right;
  padding: 0 0 2px;
}

#sidenav p {
  margin: 0 0 25px;
}

#search_field, #categories, #tags, #socialnetworks, #blogroll, #all_tags, #nike_plus ul {
  list-style-type: none;
  margin: 0 0 25px;
  padding: 0;
}

#search_field {
  font-size: 80%;
}

#query {
  background-color: #F0F0F0;
  border: 1px solid #006;
  padding: 2px;
}

#query:focus {
  background-color: #FFF;
  border-color: #000;
}

#categories li {
  margin: 0 0 5px;
}

#tags li, #all_tags li {
  display: inline;
}

#flickr_photos {
  padding: 0 0 25px;
  width: 175px;
}

#flickr_photos ul {
  float: right;
  list-style-type: none;
  margin: 5px 0 0;
  padding: 0 0 25px;
}

#flickr_photos ul li, #dev_tools li {
  float: right;
  margin: 0 7px 7px 0;
}

#flickr_photos ul li a img {
  border: 1px solid #E6E6E6;
  opacity: 0.75;
  height: 45px;
  width: 45px;
}

#flickr_photos ul li a:hover img {
  border: 1px solid #888;
  opacity: 1;
}

p#quote_num {
  background-color: #D0D0D0;
  margin: 0;
  padding: 5px 10px;
  -moz-border-radius-topright: 10px;
}

#random_quotes {
  background-color: #FFF;
  border-color: #D0D0D0;
  border-style: solid;
  border-width: 0 1px 5px;
  font-size: 95%;
  margin: 0;
  padding: 10px;
}

#random_quotes p {
  margin: 0;
  padding: 0;
}

#random_quotes a {
  color: #F50;
}

p#from_imdb {
  background-color: #C0C0C0;
  font-size: 60%;
  margin: 0 0 20px;
  padding: 5px 10px;
  -moz-border-radius-bottomleft: 10px;
  -moz-border-radius-bottomright: 10px;
}

p#from_imdb a {
  color: #000;
}

#content {
  margin: 0 10px;
}

#searchterms {
  border-color: #888;
  border-style: solid;
  border-width: 0 0 1px;
  font-weight: normal;
}

#main_content {
  float: left;
/*  margin: 0 230px 0 0;*/
width: 510px;
}

#excerpt_clearer {
  float: left;
  height: 350px;
  width: 0;
}

#excerpt {
  background-color: #DDF;
  border-color: #558;
  border-style: solid;
  border-width: 1px 1px 5px;
  clear: left;
  float: right;
  font-style: italic;
  line-height: 1.2em;
  margin: 20px 0 10px 10px;
  padding: 10px;
  width: 150px;
}

#excerpt:hover {
  background-color: #CCF;
  border-color: #335;
}

#excerpt p {
  margin: 0;
  padding: 0;
}

#prev_next_holder, #postinfo, #comments {
  border-color: #888;
  border-style: dotted;
  border-width: 1px 0 0;
}

#postinfo {
  font-size: 90%;
  font-style: italic;
  margin: 40px 0 0;
}

#prev_next_holder {
  font-size: 1.2em;
  font-weight: bold;
  margin: 25px 0 0;
  padding: 15px 0;
  width: 100%;
}

#prev_next_holder p {
  margin: 0;
  padding: 0;
}

#social_networks ul, #social_networks li {
  float: left;
  list-style-type: none;
}

#social_networks {
  clear: left;
}

#social_networks ul {
  border-color: #888;
  border-style: dotted;
  border-width: 0 0 1px;
  margin: 0 0 10px;
  padding: 0;
  width: 100%;
}

#social_networks li {
  margin: 10px 5px;
  padding: 0;
}

#social_networks li a {
  padding: 5px 0;
  opacity: 0.75;
}

#social_networks li a:hover {
  opacity: 1;
}

#comments fieldset, #bbcode {
  background: url('../elements/content_bot_bg.gif') repeat-x left bottom;
  border: 1px solid #006;
  margin: 0 0 0 20px;
}

#comment_form {
  margin: 20px 0 0;
}

#comment_form sup strong {
  color: #F00;
  font-size: 1.3em;
}

#bbcode {
  border-width: 0 1px 1px;
}

#bbcode p {
  margin: 0 0 0 20px;
  padding: 10px 0;
}

#mid_listing_ad {
  background-color: #FFF;
  margin: 0 0 35px 0;
  padding: 5px 11px;
}

#after_post_ad {
  border-color: #006;
  border-style: dotted;
  border-width: 1px 0 0;
  clear: left;
  padding: 20px 0 20px 11px;
}

#prev_next {
  font-weight: bold;
}

#creativecommons {
  background-color: #CFCFCF;
  border-color: #006;
  border-style: dotted;
  border-width: 1px 0;
  font-size: 80%;
  margin: 20px 0 0;
  opacity: 0.7;
  padding: 10px;
}

#creativecommons:hover {
  opacity: 1;
}

#creativecommons p {
  margin: 0;
  padding: 0;
}

#footer {
  background-color: #FFF;
  border-color: #006;
  border-style: dotted;
  border-width: 1px 0 0;
  clear: both;
  margin: 40px 0 0;
}

#footer_notes {
  font-size: 80%;
}

#footer_notes ul,
#footer_notes ul li {
  list-style-type: none;
}

#footer_notes ul {
  margin: 0;
  padding: 10px;
}

#footer_notes ul li {
  margin: 0;
  padding: 0;
}

#footer_notes ul#internal_links li {
  float: left;
}

ul#w3links li {
  margin: 0 0 5px;
}

#footer #latest_posts {
  background-color: #F8F8F8;
  /*background: #F2F2F2 url('../elements/footer_latest_bg.gif') repeat-x top left;*/
  border-color: #D0D0D0;/*E0E0E0;*/
  border-style: solid;
  border-width: 0 0 0 5px;
  float: right;
  width: 75%;
}

#footer #latest_posts ul {
  float: left;
  margin: 0;
  padding: 10px 0;
  width: 47.5%;
}

#footer #latest_posts ul li {
  color: #000;/*#FFF;*/
  /*font-size: 1em;*/
  font-weight: bold;
  list-style-position: inside;
  list-style-type: circle;
  margin: 0 10px 5px;
  padding: 0;
}

#footer #latest_posts ul li:first-child {
  list-style-type: none;
}

#footer #latest_posts ul li a {
  color: #000;/*FFF;*/
  font-size: 80%;
}

#footer #latest_posts ul li a:hover {
  color: #2F2F2F;/*D0D0FF;*/
}

#footer #latest_posts ul li em {
  font-size: 75%;
}

#footer p {
  margin: 0;
  padding: 10px;
}

#red_on_hover:hover {
  color: #F00;
}




.right {
  float: right;
}

.text_right {
  text-align: right;
}

.left {
  float: left;
}

.text_left {
  text-align: left;
}

.hidelink {
  display: none;
}

.post h3 {
  font-size: 1.4em;
  margin: 0 0 10px -20px;
  position: relative;
}

.post h3 a {
  background: #F0F0F0 url('../elements/top_left_corner.gif') repeat-y left top;
  display: block;
  padding: 10px 5px 10px 20px;
}

.post h3 a:hover {
  /*background: url('../elements/top_left_corner1.gif') repeat-y top left;*/
  background: url('../elements/title_bg.gif') repeat-y top left;
}

.content {
  padding: 0 0 20px;
}

.content h4 {
  border-color: #888;
  border-style: dotted;
  border-width: 0 0 1px;
  margin: 0 0 -20px;
  padding: 0;
}

.content img {
  background-color: #E0E0E0;
  border: 1px solid #CFCFCF;
  padding: 5px;
}

.content img:hover {
  background-color: #CFCFCF;
  border-color: #B0B0B0;
}

img.enlarge_me {
  background: url('../elements/enlargeme.gif') no-repeat left bottom;
  padding: 5px 5px 20px;
}

.content ul {
  padding: 0 0 0 40px;
  margin: 0;
}

.code {
/*  background: #CFCFFF url('../elements/code.gif') no-repeat top left;
  border-color: #008;
  font-size: 80%;
  padding: 30px 10px 10px;*/
  background-color: #CFCFFF;
  border-color: #008;
  font-size: 80%;
  padding: 10px;
}

.quote {
  background: #FFFFCF url('../elements/open_quote.gif') no-repeat top left;
  border-color: #880;
  font-style: italic;
  padding: 25px 10px 0;
}

.quote p {
  background: #FFFFCF url('../elements/close_quote.gif') no-repeat bottom right;
  margin: 0;
  padding: 0 0 25px;
}

.read_more {
  color: #888;
}

.read_more a {
  font-style: italic;
}

.meta {
  background-color: #E0E0E0;
  border-color: #88A;
  border-style: solid;
  border-width: 1px 0 0;
  font-size: 90%;
  margin: 0 0 40px;
  padding: 5px;
  -moz-border-radius-bottomleft: 10px;
  -moz-border-radius-bottomright: 10px;
}

.meta p {
  font-style: italic;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.meta a {
  text-decoration: none;
}

.comments, #new_comment_notice {
  border-color: #BFBFBF;
  border-style: solid;
  background-color: #E0E0E0;
}

.comments, #new_comment_notice {
  border-width: 1px 0 3px;
  margin: 0 0 10px 20px;
  padding: 10px 10px 25px;
}

.comments.unmoderated {
  opacity: 0.5;
}

.comments:hover.unmoderated {
  opacity: 1;
}

.comments.unmoderated p {
  text-decoration: line-through;
}

.comments:hover.unmoderated .gravatar p {
  text-decoration: blink;
}

.comments.alt_colour {
  background-color: #D0D0D0;
  border-color: #9F9F9F;
}

.comments.admin_comment {
  background-color: #D0D0E0;
  border-color: #9F9FAF;
}

.comments .gravatar {
  background-color: #E8E8E8;
  border: 1px solid #FFF;
  float: right;
  padding: 5px;
}

.comments .gravatar p {
  text-decoration: none;
}

.comments h5 {
  margin: 0 45px 10px 0;
  padding: 0;
}

.comments p {
  margin: 0 45px 5px 5px;
}

.sub_comment {
  margin: 0 0 10px 50px;
}

.sub_sub_comment {
  margin: 0 0 10px 80px;
}

#new_comment_notice {
  border-width: 0 0 1px;
  margin: -10px 0 10px 20px;
  padding: 10px;
}

#new_comment_notice p {
  color: #080;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.gravatar p {
  color: #F00;
  font-size: 60%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.strikethrough {
  text-decoration: line-through;
}

.red {
  color: #F00;
}