body {
    margin: 0;	padding: 0 0 40px 0;
    background: #4974ac url(images/background.jpg) repeat-x;
    font: 12px/2em Arial, Helvetica, sans-serif;
}

#container {
    width: 950px;
    margin: 0 auto;
}

#wrapper {
    width: 100%;
    background: url(images/content.png) repeat-y;
    padding: 25px 0;
}

#header {
    height: 108px;
    background: url(images/header.png) bottom  no-repeat;
}

/* LOGO ---------------------------------------------------------------------------- */

#logo {
    float: left;
    border: none;
    margin: 25px 0 0 0;
}

/* MAIN NAVIGATION ----------------------------------------------------------------- */

#topnav {
    float: right;
    margin: 35px 0 0 0; padding: 0;
}

#topnav li {
    list-style: none;
    float: left;
    margin: 0 0 0 5px;
}

#topnav li a {
    display: block; width: 115px; height: 25px;
    line-height: 25px; text-align: center; font-weight: bold; color: #fff; text-decoration: none;
    background: url(images/menu.png) 0 -25px no-repeat;
}

#topnav li a:hover {
    background: url(images/menu.png) no-repeat;
}

#topnav li.current_page_item {
    background: url(images/menu.png) no-repeat;
}

/* CONTENT START ------------------------------------------------------------------- */

#content {
    width: 570px;
    margin: -15px 0; padding: 0 25px 0 35px;
    float: left;
}

#content h1 {
    margin: 0; padding: 0 0 3px 0;
    font-size: 135%; color: #2c486e;
}

#content h2 {
    margin: 0 0 0 65px;	padding: 0 0 3px 0;
    font-size: 135%; color: #2c486e;
    border-bottom: 1px dashed #2c486e;
}

#content h2 a {
    color: #2c486e;	text-decoration: none;
}

#content h3 {
    color: #4974ac;	font-size: 100%;
    margin: 0 0 5px 0; padding: 0;
    border-bottom: 1px dashed #4974ac;
}

#content h4 {
    color: #2c486e;	font-size: 100%;
    margin: 10px 0 5px 0; padding: 0;
}

#content h5 {
    color: #333; font-size: 85%;
    margin: -10px 0 5px 0; padding: 0;
}

#content p {
    margin: 0; padding: 5px 0 5px 0;
}

/* SIDEBAR ------------------------------------------------------------------------- */

#sidebar {
    float: right;
    margin: -25px 0; padding: 0;
    width: 305px;
}

/* SIDEBAR WIDGETS ----------------------------------------------------------------- */

.widget {
    width: 287px;
    background: url(images/rightbox.gif) bottom no-repeat;
    margin: 0 0 16px 0;
}

.widget h2 {
    margin: 0; padding: 0;
    text-indent: -9999px;
    height: 29px;
}

.widget ul {
    margin: 10px 10px 0 12px;
    padding: 0 0 15px 0;
    list-style: none;
}

/* SEARCH -------------------------------------------------------------------------- */

.widget_search {
    background: none;
}

.widget_search h2 {
    display: none;
}

.widget_search form  {
    width: 287px;
    margin: -5px 0 15px 0; padding: 0;
    position: relative;
}

.widget_search fieldset {
    margin: 0; padding: 0; border: none;
}

.widget_search input {
    width: 246px;
    margin: 0; padding: 8px 20px 8px 20px; border: none;
    background: url(images/search_input.png) no-repeat;
    color: #eee;
}

.widget_search #searchsubmit {
    position: absolute; top: 0; right: 0;
    background: url(images/search_submit.png) no-repeat; border: none;
    width: 28px; height: 32px;
    text-indent: -9999px;
}

/* CATEGORIES ---------------------------------------------------------------------- */

.widget_categories h2 {
    background: url(images/categories.jpg) 0px 0px no-repeat;
}

.widget_categories ul li {
    width: 257px; height: 25px;
}

.widget_categories li a {
    background: url(images/categoriesli.jpg) no-repeat;
    padding: 0 0 0 35px;
    display: block;
    color: #eee;
    text-decoration: none;
}

.widget_categories li a:hover {
    background: url(images/categoriesli.jpg) 0 -25px no-repeat;
    color: #fff;
}

/* LINKS -------------------------------------------------------------------------- */

.widget_links h2 {
    background: url(images/links.jpg) top no-repeat;
}

.widget_links ul li {
    width: 257px; height: 25px;
}

.widget_links li a {
    background: url(images/linksli.jpg) no-repeat;
    padding: 0 0 0 35px;
    display: block;
    color: #eee;
    text-decoration: none;
}

.widget_links li a:hover {
    background: url(images/linksli.jpg) 0 -25px no-repeat;
    color: #fff;
}

/* COMMENTS ------------------------------------------------------------------------ */

#commentlist {
    margin: 0; padding: 10px 0;
    list-style: none;
}

#commentlist li {
    margin: 0;
    padding: 5px;
}

#commentlist .alt {
    background-color: #eee;
}

#commentform {
    width: 100%; margin: 16px 0 0 0; padding: 0;
    background-color: #7795be;
}

#commentform fieldset {
    border: none;
    margin: 0; padding: 15px;
}

#commentform label {
    color: #fff;
    font-weight: bold;
    padding: 0 0 0 10px;
}

/* TABLE --------------------------------------------------------------------------- */

table {
    margin: 10px 0; padding: 0;
    width: 100%;
}

td {
    background-color: #eee;
}

.workdate {
    float: right;
    margin: 0 0 0 15px;
}

/* FOOTER -------------------------------------------------------------------------- */

#footer {
    background: url(images/footer.png) top no-repeat;
}	

#footer p {
    color: #fff;
    margin: 0; padding: 30px 0 0 16px;
}

#footer ul {
    float: right;
    margin: 0 16px 0 0;	padding: 30px 0 0 0;
}

#footer li {
    display: inline;
    padding: 0 0 0 5px;
}

#footer li a {
    color: #fff;
}	

#footer img {
    border: none;
    padding: 0 0 0 5px;
}

/* DATE ----------------------------------------------------------------- */

.date {
    width: 50px; height: 59px;
    background: url(images/date.gif) no-repeat;
    text-align: center;	color: #fff; line-height: 1.5em;
    float: left;
    margin: 0 15px 5px 0;
}

.date .day {
    display: block;
    padding: 2px 0 0 0;
    line-height: 1.5em;
    font-size: 12px;
}

.date .month {
    display: block;
    line-height: .6em;
}

.date .year {
    display: block;
    padding: 5px 0 0 0;
    line-height: 2em;
}

/* BLOG ENTRY ---------------------------------------------------------- */

.entry {
    clear: left;
    margin: 0;
    padding: 0 0 15px 0;
}

.entry img {
    max-width: 100%;
    border: none;
}

.entry ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.entry ul li {
    background: url(images/li.gif) 0px 6px no-repeat;
    margin: 2px 0;
    padding: 0 0 0 20px;
}

.entry ol {
    margin: 0 0 0 18px;
    padding: 0;
}

.entry ol li {
    margin: 2px 0;
    padding: 0;
}

.entry a {
color: #4974ac;
}

.entry a:hover {
    color: #2c486e;
}

.entry blockquote {
    background-color: #cadef3;
    padding: 10px;
    margin: 10px 0;
}

.postmetadata {
    margin: 5px 0 0 0;
    padding: 0;
}

.postmetadata a {
    color: #f26522;
    text-decoration: underline;
}

.postmetadata a:hover {
color: #2c486e;
}

/* COMMENTS --------------------------------------------------------------- */

.comments {
    background: url(images/comments.png) no-repeat;
    padding: 1px 2px 0 22px;
}	

.commentlist a {
    color: #4974ac;
}

.commentlist a:hover {
    color: #2c486e;
}

.category {
    background: url(images/category.png) no-repeat;
    padding: 1px 2px 0 22px;
}

.tags {
    background: url(images/tags.png) no-repeat;
    padding: 1px 2px 0 22px;
}

cite a {
    color: #f26522;
    text-decoration: underline;
    font-style: normal;
    padding: 0 5px 0 22px;
    background: url(images/author.png) no-repeat;
}

cite a:hover {
    color: #2c486e;
}

.commentmetadata a {
    color: #2c486e;
    text-decoration: none;
}

.clear {
     display:inline-block;
}
.clear:after {
     display:block;
     visibility:hidden;
     clear:both;
     height:0;
     content: ".";
}

.alignright {
    float: right; margin: 0 0 15px 15px;
}

div.syntaxhighlighter {
    margin: 0 0 0 -35px;
}
