/* change default html styles */
* {
  margin: 0;
  padding: 0;
}
li {
  list-style-type: none;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl {
}
a img {
  border-style: none;
}

/* clearfix, the ie part is in the ie css */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* general styling */
body {
  background: #282828 url(/images/bg.gif) repeat-x;
  color: #2b2b2b;
  font: normal 76% Verdana, Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0em;
  margin-bottom: .5em;
  font-weight: normal;
  font-family: 'Trebuchet MS','Lucida Grande',Verdana,Arial,Sans-Serif;
}
h1 { font-size: 2.5em; }
h2 { font-size: 2.3em; }
h3 { font-size: 2.0em; }
h4 { font-size: 1.8em; }
h5 { font-size: 1.6em; }
h6 { font-size: 1.4em; }

p {
  margin-bottom: 1em;
  line-height: 1.5em;
}
ul, ol {
  line-height: 1.5em; 
}
a {
  color: #095eae;
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
ul.list, ol.list {
  margin-left: 3em;
  margin-bottom: 1em;
}
.list li {
  margin-bottom: .5em;
  color: #2b2b2b;
}
ul.list li {
  list-style-type: disc;
}
ol.list li {
  list-style-type: decimal;
}


/* layout */
#wrapper {
  width: 985px;
  margin: 0 auto;
  padding:0;
  background: url(/images/wrap_bg.gif) right repeat-y;
  font-size: 0.9em;
  color: #555555;
}
.nosidebar #wrapper{
  background-image: url(/images/wrap_bg_nosidebar.gif);
}
#header {
  height: 203px;
  background-image: url(/images/header_bg.gif);
  background-position: top left;
  background-repeat: no-repeat;
  font-size: 1.11em;
}
.nosidebar #header {
  background-image: url(/images/header_bg_nosidebar.gif);
}
#header h1 {
  padding-top: 88px;
  margin-bottom: 0;
  padding-left: 194px;
  font-size: 3em;
  font-weight: normal;
}
#header h1 a {
  line-height: 44px;
  width: 0;
  padding-left: 224px;
  height: 44px;
  line-height: 44px;
  overflow: hidden;
  background-image: url(/images/title.gif);
  background-position: top left;
  background-repeat: no-repeat;
  display: block;
  padding-top: 0;
  color: #bababa;
}
#header h1 a:hover {
  text-decoration: none;
}
#menu {
  display: inline;
  padding-left: 195px;
  margin:0;
  line-height: 38px;
}
#search {
  margin-top: -26px;
  padding-right: 50px;
}
#search form {
  margin: 0;
  padding: 0;
}
#search fieldset {
  margin: 0;
  padding: 0;
  text-align:right;
}
#search fieldset input {
  margin:0;
  width: 180px;
}
#menu li {
  display: inline;
  margin-right: 18px;
  color: #868686;
}
#menu a {
  color: #868686;
  font-weight: bold;
  padding-top: 3px;
  padding-bottom: 3px;
}
#menu a:hover {
  text-decoration: none;
  border-bottom: 5px solid #F99910;
color: white;
}
#menu li.selected a {
  color: #fff;
border-bottom: 40px solid white;
}

#contentwrapper {
}

#content {
  float: left;
  width: 100%;
  margin-right: -320px;
}

#content a.read-more {
  padding-left: 16px;
  background-image: url('/images/read-more.gif');
  background-position: left center;
  background-repeat: no-repeat;
}

#content a.arrowed {
  padding-left: 6px;
  background-image: url('/images/arrow.gif');
  background-position: left center;
  background-repeat: no-repeat;
}

#content span.link-to-comments a {
  font-weight: normal;
}

.nosidebar #content {
  margin-right: 0;
}
h3.content {
  margin-top: 2em;
  margin-bottom: 1em;
  color: #e68800;
  font-size: 1.6em;
  font-weight: normal;
  text-transform: uppercase;
}
#innerwrapper {
  margin: 15px 360px 80px 52px;
}
.nosidebar #innerwrapper {
  margin-right: 80px;
}
#sidebar {
  overflow: hidden;
  float: right;
  width: 320px;
  padding-top: 13px;
  padding-bottom: 20px;
}
#sidebar h1 a,
#sidebar h2 a,
#sidebar h3 a,
#sidebar h4 a,
#sidebar h5 a,
#sidebar h6 a {
  font-weight: normal;
}
#subscribe a {
  font-weight: normal;
  font-size: 1.4em;
}

#footer {
  margin-right: 4px;
  padding: 20px 405px 25px 80px;
  background: #272727 url(/images/footer_bg.gif) left bottom repeat-x;
  background-position: top left;
  color: #bababa;
  font-size: .8em;
  text-align: center;
}
#footer a {
  color: #bababa;
  text-decoration: underline;
}
#footer a:hover {
  color: #eaeaea;
}

/* article styles */
.article {
  margin-bottom: 20px;
}
.article h2.title {
  font-weight: normal;
  clear: both;
  font-size: 2.2em;
}
.article h2.title a {
  font-weight: normal;
  color: #f79910; /* default color */
}
.article h2.title a:hover {
}
.article .meta {
  margin-bottom: 1em;
  color: #838383;
  font-size: .8em;
}
.article a {
  color: #095eae;
}
.article a:hover {
}
.article .body {
  margin-bottom: 1em;
}
.article .comments {
  background: url(/images/comments.gif) left center no-repeat;
  padding-bottom: 5px;
  color: #838383;
}
.article .comments a {
  padding: 5px 0px 10px 35px;
  color: #838383;
  line-height: 30px;
}
.article .comments a:hover {
}
.article .footer p, .article .footer li, .article .footer h4.meta {
  font-size: .8em;
}
.article .footer ul, .article .footer h4.meta, .article .footer p {
  display: inline;
  font-weight: normal;
}
.article .footer p {
  margin-right: 1em;
  padding-right: 1em;
  border-right: dotted 1px #838383;
}
.article .footer, .article .footer a {
  color: #838383;
}
.article .footer {
  margin-top: 3em;
  margin-bottom: 2em;
}
.article .footer li {
  padding-left: 5px;
  border-left: dotted 1px #838383;
}
.article .footer li.first {
  border-left-style: none;
}

/* article and comment body */
.body ul, .article .body ol {
  margin-left: 3em;
  margin-bottom: 1em;
}
.body ul.ui-tabs-nav {
margin-left: auto;
margin-bottom: auto;
}
.body li {
  margin-bottom: .5em;
  color: #2b2b2b;
}
.body ul li {
  list-style-type: disc;
}
.body ul.ui-tabs-nav li {
list-style-type: none;
margin-bottom: auto;
}

.body .ui-tabs {
  margin: 20px 0;
}
.body ol li {
  list-style-type: decimal;
}
.body h1, .body h2, .body h3, .body h4, .body h5, .body h6 {
  color: #2b2b2b;
  text-transform: none;
}
.body pre {
  overflow: auto;
  margin-bottom: 1.5em;
  border:1px solid #838383;
  background-color:#EAEADA;
  font-family:monospace;
  padding:2px 4px 2px 12px;
  font-size: 12px;
}
.body code {
  font-size: 12px; 
  color: #44AA44;
}

.body pre, .body code {
  font-family: Fixed, monospace;
}

/* comments list */
#commentslist {
  margin-bottom: 2em;
}
#commentslist li.comment {
  overflow: auto;
  width: 100%;
  margin-bottom: 2em;
}
#commentslist li.comment .meta {
  margin-bottom: .5em;
  padding: .25em 3%;
  border-bottom: dotted 1px #cacaca;
  background-color: #f6f6f6;
  color: #838383;
}
.comment .body {
  padding: 0 3%;
  font-size: .9em;
}
.comment .body p {
  margin-bottom: 1em;
}
.comment .body h1 { font-size: 2.0em; }
.comment .body h2 { font-size: 1.8em; }
.comment .body h3 { font-size: 1.6em; }
.comment .body h4 { font-size: 1.4em; }
.comment .body h5 { font-size: 1.3em; }
.comment .body h6 { font-size: 1.2em; }

/* forms */
#comment-message, #comment-errors {
  margin-bottom: 1em;
  padding: .5em 3%;
  border-bottom-style: dotted;
  border-bottom-width: 1px;
  color: #2b2b2b;
  font-weight: bold;
}
#comment-message {
  background-color: #f6f6f6;
  border-bottom-color: #3a3a3a;
}
#comment-errors {
  border-bottom-color: #9a3a3a;
  background-color: #fff0f0;
}

div.socialinks {
  margin-bottom: 20px;
}

fieldset {
  margin-bottom: 1em;
  border-style: none;
}
fieldset dt {
  margin-bottom: .25em;
  color: #838383;
  font-weight: bold;
}
fieldset dd {
  margin-bottom: 1em;
}
fieldset input, fieldset textarea {
  padding: 2px 4px;
  border: solid 1px #838383;
  background-color: #eaeada;
  font-family: monospace;
  font-size: 1.2em;
}
fieldset input:hover, fieldset textarea:hover {
  background-color: #f2f2e2;
}
fieldset input:focus, fieldset textarea:focus {
  background-color: #fafaea;
}
input {
  padding: 2px 4px;
}
fieldset textarea {
  width: 500px;
  height: 200px;
}

/* side boxes */
.boxy {
  margin: 0px 14px 0px 6px;
  padding: 0px 20px 40px 20px;
  background-color: #fc9f1c; /* default color */
  background-repeat: no-repeat;
}
.boxy-container {
  margin: 0px 14px 0px 6px;
  padding:0;
  padding-bottom:14px;
}
#sidebar .short, #sidebar .tall {
  padding-top: 10px; /* only have top padding if we have a background */
}
#sidebar .short {
  background-image: url(/images/x_default_boxy_short.gif);
}
#sidebar .tall {
  background-image: url(/images/x_default_boxy_tall.gif);
}
/* ems are nifty, eh? :) */
#sidebar .minor, .minor {
  font-size: .8em;
}
#sidebar .minor h3,
.minor h3 {
  font-size: 2em;
}
.minor dt ,
#sidebar .minor dt {
  font-size: 1.5em;
}
.boxy {
  color: #fff;
}
.boxy a {
  color: #fff;
}
.boxy a:hover {
}
.boxy h3 {
  margin: 0 0 .5em 0;
  color: #fff;
  font-size: 1.6em; 
  text-transform: uppercase;
}
.boxy h4 {
  margin: 1em 0 .25em 0;
}
.boxy li {
  margin-left: 1em;
  margin-bottom: .25em;
}

.boxy ul, .boxy dt {
  margin-top: 1em;
  margin-bottom: .25em;
}
.boxy dt {
  font-size: 1.2em;
  line-height: 2;
  vertical-align: middle;
}
.boxy dt a {
}
.boxy dt a.feed {
}
.boxy dd {
  margin-left: 1em;
  margin-bottom: .25em;
}
.boxy ul dd, .boxy dl li {
  margin-left: 0;
}
.boxy ul dt, .boxy dl ul {
  margin-top: 0 !important;
}

/* feed icons */
.feed {
  margin-left: 5px;
  padding-left: 20px;
  background: url(/images/feed.gif) left center no-repeat;
}

.feed span {
  font-size: .8em;
}

.twitterlink {
  margin-left: 5px;
  padding-left: 20px;
  background: url(/images/twitter.gif) left center no-repeat;
}

.twitterlink span {
  font-size: .8em;
}

/* options box */
#header h2, #header h3, #options h3 {
  display: none;
}
#options h2 {
  display: block;
  float: left;
  margin-top: 3px;
  color: #9a9a9a;
  font: normal 10px/12px verdana, sans-serif;
  text-transform: uppercase;
}
#options {
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 10px;
  margin-right: 30px;
}
#options ul {
  float: left;
  display: inline;
  margin-left: 10px;
}
#options li {
  float: left;
  margin: 1px;
  padding: 2px;
}
#options li a {
  display: block;
  width: 10px;
  height: 10px;
  border: solid 1px #9a9a9a;
  background-color: #1c1c1c;
  background-repeat: no-repeat;
}
#options li a span {
  display: none;
}

/* selected */
body.fixed  #options li.fixed ,
body.fluid  #options li.fluid ,
body.blue   #options li.blue  ,
body.cyan   #options li.cyan  ,
body.green  #options li.green ,
body.orange #options li.orange,
body.pink   #options li.pink  ,
body.red    #options li.red   ,
body.violet #options li.violet,
#options li:hover {
  padding: 2px;
  background-color: #9a9a9a;
}

/* chelu customizations */
body.che #header h1 a {
  padding-left: 53px;
  background: url(/images/logo.gif) left bottom no-repeat;
  line-height: .8;
}
body.che #header h1 a:hover {
  background-position: -2000px 100%;
}

/* skittlish customizations */
/* defaults: fixed orange */

/* skittlish color: orange */
body.orange .article h2 a   { color:            #f79910; }
body.orange .boxy           { background-color: #fa9d17; }
body.orange #sidebar .short { background-image: url(/images/x_orange_boxy_short.gif); }
body.orange #sidebar .tall  { background-image: url(/images/x_orange_boxy_tall.gif); }

/* clear-classes */
.clear-left {
  clear: left;
}

.clear-right {
  clear: right;
}

.clear {
  clear: both;
}

img.left-image,
img.right-image {
  margin: 5px;
}

img.left-image {
  margin-left: 0;
}

img.right-image {
  margin-right: 0;
}

body div.tweet ul {
margin-left: 0;
}
body div.tweet ul li {
color: #085258;
margin-left: 0;
font-size: 1.3em;
line-height: 1.5em;
list-style-type: square;
list-style-position: inside;
padding: 8px 14px;;
margin-bottom: 5px;
background-color: #BBEEEE;
}
body div.tweet ul li a{
font-size: 1.3em;
line-height: 1.5em;
color: #0C717A;
font-weight: normal;
text-decoration: underline;
}

body img.framed {
  padding: 3px;
  border: 1px solid #c3c3c3;
}

h1 a, h2 a, h3 a, h4 a {
  font-weight: normal;
}
