/* global
----------------------------------------------- */

div, p, form, h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
}

body {
margin: 0;
padding: 0;
font-size: 12px;
font-family: Verdana;
text-align: center;
min-width: 1024px;
background: url(/images/medium_gradient.png) top left repeat-x;
font-family: Helvetica, Arial, sans-serif;
/* force footer to stick at bottom */
height: 100%;
}

/* layout
----------------------------------------------- */

/* css reset of padding and margines */
* {
    padding: 0;
    margin: 0;
}

/* force right scrollbar */
html { 
    height: 100%;
    margin-bottom: 1px;
}

/* avoid trampling on the footer by reserving some space (IE) */
#main-bottom-space {
height: 26px;
clear: both;
border: 0;
}

#wrapper {
margin: 0 auto 0 auto;
width: 760px;
text-align: left;
/*position: relative;*/
/* force footer to stick at bottom */
height: 100%;
}

#blog-header {
margin-left: 0px;
width: 760px;
padding-bottom: 10px;
}

#main-wrapper {
float:left;
width:100%;
}

#main-content {
margin: 0 200px 10px 0px;
width: 530px;
}

#sidebar {
/*padding: 7px 9px 0 10px;*/
margin: 7px 0 10px -200px;
width: 200px;
float: left;
}

.post {
margin: 0;
padding: 1px 0 10px 0;
border-bottom: 3px solid #CCE6FF;
}


/* footer
----------------------------------------------- */

#footer {
clear: both;
border-top: solid 1px #ccc;
text-align: center;
/* stick at bottom */
margin-left: auto;
margin-right: auto;
width: 960px;
height: 26px;
position: relative;
margin-top: -26px;
}

#footer p {
float: left;
padding: 2px 4px;
color: #999;
font-size: 9px;
font-family: verdana;
}

#footer a {
font-weight: bold;
color: #777;
}

#footer ul {
list-style: none;
margin: 0;
padding: 0 0 5px 0;
}

#footer li {
float: right;
padding: 2px 2px;
margin: 0 2px;
font-size: 9px;
color: #999;
font-family: verdana;
}

#footer li a {
font-weight: bold;
color: #777;
}

/* Search
----------------------------------------------- */

#header-content {
float: left;
width: 530px;
}

#search-wrapper {
float: left;
margin: 20px 0 0 30px;
width: 199px;
z-index: 3;
}

#search_spinner {
vertical-align: bottom;
margin-bottom: 3px;
}

#search {
padding: 0 5px 4px 0;
}

#search-results p {
font-size: 12px;
color: #666;
}

#search-wrapper label {
display: block;
color: #666;
font-size: 11px;
text-transform: uppercase;
}

#search-wrapper input {
width: 170px;
font-size: 14px;
font-weight: bold;
color: #333;
font-family: Arial;
border: solid 1px #aaa;
}

#search-results {
opacity: 0.85;
}

* html #search-results {
filter: alpha(opacity=85);
}

#search-results a.close {
float: right;
background: url(/images/close.png) top left no-repeat;
width: 13px;
height: 13px;
display: block;
margin: 2px 4px 0 0;
}

* html #search-results a.close {
margin-right: 2px;
}

#search-results p {
background: url(/images/search-top.gif) top left no-repeat;
padding: 5px 15px 0 5px;
}

#search-results em {
background: none;
}

#search-results li {
line-height: 12px;
background: url(/images/search-background.gif) top left repeat-y; 
}

#search-results li.no-results-message {
padding-left: 10px;
font-size: 10px;
font-family: verdana, sans-serif;
color: #999;
}

#search-results li a {
display: block;
color: #05a;
font-family: verdana, sans-serif;
font-size: 10px;
background: url(/images/bullet_blue.gif) 1px 0 no-repeat;
padding: 1px 2px 1px 18px;
}

#search-results li a:hover {
color: #05a;
background: #ff8 url(/images/bullet_blue.gif) 1px 0 no-repeat;
}

#search-results ul {
list-style: none;
margin: 0;
padding: 0;
}

* html #search-results ul { 
height: 1%;
}

#search-results-content {
padding-bottom: 5px;
background: url(/images/search-bottom.gif) bottom left no-repeat;
}

/* headings
----------------------------------------------- */

h1 {
color: #0066cc;
margin: 0;
width: 530px;
padding: 20px 0 5px 0;
font-size: 30px;
margin: 0;
line-height: 30px;
font-family: Trebuchet MS;
}

h1 a:hover {
text-decoration: none;
}

h2 a,
h2 {
margin: 10px 0 0 0;
padding: 0;
font-size: 18px;
color: #32CF00;
}

h3 a,
h3 {
margin: 10px 0;
font-size: 16px;
color: #32CF00;
}

h4 {
font-size: 14px;
color: #32CF00;
margin-bottom: 8px;
}

#blog-header h2 {
padding: 0;
margin: 0;
color: #ff0099;
font-size: 14px;
}

.sidebar-node h3 {
padding: 1px 0 0 0;
margin: 5px 0;
font-size: 14px;
color: #ff0099;
}

/* post headings
----------------------------------------------- */

.post .auth {
margin: 5px 0 10px 0;
padding: 0;
text-transform: uppercase;
font-size: 10px;
font-family: Helvetica, sans-serif;
color: #999;
}

.post .auth .typo_date {
text-transform: uppercase;
font-size: 10px;
color: #555;
margin-left: 5px;
font-family: Verdana;
font-weight: bold;
}

/* text
----------------------------------------------- */

pre {
color: #333;
padding: 5px;
margin: 10px;
font-size: 12px;
font-family: "bitstream vera sans mono","courier new",courier,serif;
margin: 1em 0;
padding: 0;
width: 99.5%;
overflow: scroll; /* Create horizontal and vertical scrollbars. */
border: solid 1px black;
}

.post p,
#viewpage p {
margin-bottom: 10px;
}

.post ol li,
#viewpage ol li {
margin: 0 5px;
}

.post ol, #viewpage ol {
padding: 0 35px;
margin: 0;
}

.post code,
#viewpage code {
color: #444;
display: block; /* Make this element behave like a box instead of formatted text so you get margins and padding control. */
margin: 0; /* No gap outside of <code> element. */
padding: 1.2em; /* Gap between edge of <code> and its contents, spacing it from <pre> box edges. */
}

pre strong {
background: #ffa;
}

strong {
background: #ffd;
}

em {
background: #ddd;
font-weight: bold;
}

.post ul,
#viewpage ul, .post ol, #viewpage ol {
padding: 0 20px;
margin: 0;
}

.post,
.post li,
#viewpage,
#viewpage li {
font-size: 12px;
font-family: Arial;
line-height: 16px;
margin: 5px 0;
margin-left: 5px;
color: #333;
}

.post,
#viewpage {
margin: 10px 0;
}

.post img,
#viewpage img {
margin: 10px auto;
display: block;
}

.post blockquote,
#viewpage blockquote {
margin: 10px;
font-family: Georgia;
color: #666;
}

.post .meta {
margin: 5px 2px;
font-size: 11px;
color: #666;
background: url(/images/comment.png) 0 2px no-repeat;
padding-left: 18px;
}


/* sidebar
----------------------------------------------- */

.sidebar-node ul {
margin: 0;
padding: 0;
list-style-type: none;
font-size: 11px;
font-family: verdana, sans-serif;
}

.sidebar-node li {
background: url(/images/bullet_blue.png) 0 0 no-repeat;
padding: 0 0 4px 18px;
line-height: 12px;
}

.sidebar-node .resources li {
background: url(/images/disk_multiple.png) 0 0 no-repeat;
}

.sidebar-node .feeds li {
background: url(/images/feed.png) 0 0 no-repeat;
}

.sidebar-node li em {
font-family: arial, sans-serif;
background: none;
font-weight: normal;
font-style: normal;
font-size: 10px;
color: #666;
}

small a {
margin-right: 10px;
font-size: 12px;
}

/* links
----------------------------------------------- */

a {
text-decoration: none;
color: #0066cc;
font-weight: bold;
}

a:hover {
color: #0066cc;
background: #ff8;
}

span.light-bg {
color: #888;
font-family: verdana;
}

.post a.admintools {
font-size: 14px;
float: right;
text-transform: uppercase;
}

/* comments
----------------------------------------------- */

.comment-list {
list-style: none;
margin: 10px;
padding: 0;
}

.comment-list li {
margin-bottom: 7px;
padding: 3px 5px;
border-left: solid 4px #6FB1FF;
font-size: 12px;
color: #555;
}

.comment-list cite strong {
font-size: 14px;
background: transparent;
font-style: normal;
}

.comment-box {
background: #e0e0e0;
padding: 5px 10px;
margin-top: 10px;
}

.comment-box table {
width: 100%;
}

.comment-box input {
font-size: 14px;
font-weight: bold;
font-family: Arial;
width: 100%;
}

.comment-box textarea {
font-size: 12px;
font-weight: bold;
font-family: Arial;
width: 100%;
height: 100px;
}

.comment-box .button {
width: auto;
font-size: 18px;
}

.comment-box #frm-btns {
text-align: right;
}

.comment-box #comment_author {
margin-bottom: 4px;
}

.comment-box .frm-tbl small a {
font-size: 10px;
font-family: verdana, arial, sans-serif;
}

.comment-box label {
font-size: 11px;
font-family: Verdana;
}

/* about (optional)
----------------------------------------------- */

#about-box {
background: #ffc url(/images/about-box-bottom.png) bottom left no-repeat;
margin-bottom: 15px;
padding-bottom: 3px;
}

#about-box h3 {
background: url(/images/about-box-top.png) top left no-repeat;
padding: 3px 8px 0 8px;
color: #333;
font-size: 18px;
font-family: Trebuchet MS;
}

#about-box p,
#about-box a {
padding: 0 8px;
font-size: 11px;
font-family: Trebuchet MS;
line-height: 17px;
}

#about-box p {
color: #444;
}

#about-box a {
padding: 0;
}

#about-box img {
display: static;
border: solid 1px #000;
float: right;
margin: 0 8px;
}


/* admin tools
----------------------------------------------- */

a.admintools {
text-transform: uppercase;
float: right;
margin-left: 5px;
margin-top: -2px;
}

div.post a.admintools {
margin-top: 10px;
}
