* {
    margin: 0;
    padding: 0;
}

body {
    color: #666;
    background: #fff;
    font: 76%/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a:link, a:visited, a:hover {
    color: #316241;
}

a:active {
    color: #92cc47;
}

a img {
    border: 0;
}

input[type='text'], input[type='password'], select {
    border: 1px solid #ccc; padding: 3px; font-family: Helvetica, Verdana, Arial, sans; width: 350px; }
input[type='text'].small { width: 120px; }
textarea { border: 1px solid #ccc; padding: 3px; width: 500px; font-family: "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", monospace; font-size: 11px;}
input[type='submit'], input[type='button'] {
    border: 1px solid #ccc; padding: 3px 15px; color: #000; }
input[type='submit'].small_button { padding: 2px; font-size: 10.5px; }

#header {
    background: #316241 url(../img/header-bottom-border.gif) bottom left repeat-x;
    height: 80px;
    overflow: auto;
}

#header h1 {
    float: left;
    margin-left: 1em;
    display: inline;
    height: 70px;
    width: 236px;
}

#header h1 a {
    display: block;
    text-decoration: none;
    text-indent: -5000px;
    height: 70px;
    width: 236px;
    background: #316241 url(../img/logo.gif) top left;
}

#header #nav-main {
    float: right;
    text-align: right;
    color: #fff;
    font-weight: bold;
    margin-top: 45px;
    margin-right: 1em;
    display: inline;
}

#header #nav-main a {
    color: #fff;
}

#header #nav-main span {
    float: left;
    padding-top: 5px;
    margin-right: 0.75em;
}

#header #nav-main #logout {
    display: block;
    margin: 3px 0.75em 0 0.5em;
    height: 19px;
    width: 80px;
    text-align: center;
    padding-top: 2px;
}

#header #nav-main #logout a {
    text-decoration: none;
    text-transform: uppercase;
}

#header #nav-main ul {
    list-style-type: none;
    float: left;
    padding-top: 3px;
}

#header #nav-main ul li {
    text-align: center;
    float: left;
    display: inline;
    padding-bottom: 6px;
    margin: 0 2px;
    width: 80px;
    background: url(../img/nav_tab_inactive.gif) top left no-repeat;
}

body.snippets #header #nav-main ul li#nav-snippets, body.account #header #nav-main ul li#nav-account, body.about #header #nav-main ul li#nav-about {
    background: url(../img/nav_tab.gif) top left no-repeat;
}

#header #nav-main ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 115%;
}

#nav-secondary {
    list-style-type: none;
    float: right;
    margin-right: 1em;
    margin-top: 0.5em;
    display: inline;
}

#nav-secondary li {
    display: inline;
    padding-right: 1em;
}

#nav-secondary li a {
    font-weight: bold;
}

h2 {
    font-size: 1.7em;
    color: #000;
    margin: 40px 10px 0 20px;
}

#content {
    border-top: 1px solid #ccc;
    margin: 0 20px 2em 20px;
}

#content #main {
    width: 65%;
    float: left;
    border-right: 1px solid #ccc;
    padding-bottom: 4em;
}

#content #main table.highlighttable {
    width: 90%;
    overflow: auto;
    padding: 0.5em;
    font-family: "Andale Mono";
}

#content #main table.highlighttable pre {
    font-family: "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", monospace;
}

#content #main table.highlighttable div.highlight {
    overflow: auto;
}

#content #main table.highlighttable div.highlight pre {
    width: 540px;
}

#content #main table.highlighttable td.code {
    vertical-align: top;
    width: 100%;
}

#content #main table.highlighttable td.linenos {
    vertical-align: top;
    padding-right: 1em;
}

#content #main ul, #content #main ol {
    margin: 1em 0 1em 20px;
}

#content #main ul {
    list-style-type: square;
}

#content #main li {
    margin: 0.5em 1em 0.5em 0;
}

#content #main dl {
    margin-top: 1em;
}

#content #main dt {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

#content #main dt label {
    font-weight: bold;
}

#content #main dd {
    margin-top: 0.5em;
    margin-bottom: 1em;
}

#content #main dd textarea {
    width: 80%;
    height: 200px;
}

#content #main h3 {
    margin: 1em 0;
}

#content #main p {
    margin: 1em 1em 1em 0;
}

#content #main .error {
    color: red;
}

#content #main p.empty {
    clear: both;
}

#content #main ul.snippet_list li {
    clear: both;
}

#content #main li p.details {
    float: right;
    margin: 0;
}

#content #main li span.rating-positive {
    color: #316241;
    font-weight: bold;
}
#content #main li span.rating-negative {
    color: #red;
    font-weight: bold;
}

#content #main ul.snippet_filter {
    margin: 1em 0 0 0;
}

#content #main ul.snippet_filter li {
    float: left;
    list-style-type: none;
    margin: 0 12px 12px 0;
}

#content #main ul.snippet_filter li a {
    display: block;
    padding: 5px 20px;
    background-color: #316241;
    color: white;
    font-weight: bold;
    text-decoration: none;
}
#content #main ul.snippet_filter li.active a {
    background-color: #92cc47;
}
#content #main ul.snippet_filter li a:hover {
    background-color: #92cc47;
}

#content #sidebar {
    width: 32%;
    float: left;
}

#content #sidebar p {
    margin: 0.5em 1em;
}

#content #sidebar dl {
    margin: 0.5em 1em;
}

#content #sidebar h1, #content #sidebar h2 {
    font-size: 100%;
    margin: 0.5em 1em;
}

#content #sidebar pre, #content #sidebar blockquote {
    margin: 1em 0 1em 40px;
}

#content #sidebar dl dt, #content #sidebar dl dd {
    float: left;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

#content #sidebar dl dt {
    clear: left;
    font-weight: bold;
}

#content #sidebar h3 {
    clear: left;
    font-size: 110%;
    margin: 0.5em 1em;
    padding-top: 1em;
}

#content #sidebar ul {
    clear: left;
    margin: 0.5em 1em;
    list-style-type: none;
}

#content #sidebar ol {
    clear: left;
    margin-left: 4em;
}

#content #sidebar li {
    margin-bottom: 0.5em;
}

#content .flag_form select {
    width: auto;
}

#comments {
    clear: left;
}

#comments h2 {
    border-bottom: 1px solid #ccc;
}

#comments dl {
    margin: 1em 0 1em 20px;
    width: 40%;
}

#comments dl dt {
    margin-bottom: 1em;
}

#comments dl dd {
    margin-top: 1em;
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
}

#comments dl dd p, #comments dl dd ul, #comments dl dd ol, #comments dl dd blockquote {
    margin: 1em 0;
}

#comments dl dd li, #comments dl dd blockquote {
    margin-left: 1em;
}

#comments dl dd ul li {
    list-style-type: square;
}

#comments dl dd ol li {
    list-style-type: decimal;
}

#comments form dl {
    margin: 1em 0 1em 20px;
}

#comments form dl dt {
    margin-bottom: 0;
}

#comments form dl dd {
    margin-top: 0;
    border-bottom: 0;
}

#comments form p {
    margin: 1em 0 1em 20px;
}

#footer {
    clear: left;
    background-color: #316241;
    color: #fff;
    margin-top: 2em;
    width: 100%;
    overflow: auto;
}

#footer a:link, a:visited, a:hover, a:active {
    color: #92c447;
}

#footer div.chunk {
    margin-top: 1em;
    margin-left: 20px;
    width: 15%;
    float: left;
    margin-bottom: 2em;
}

#footer div.chunk h3 {
    font-size: 110%;
}

#footer div.chunk ul {
    list-style-type: none;
}

#footer #copyright {
    clear: left;
    padding-top: 1em;
    margin-bottom: 1em;
    margin-left: 20px;
}

#footer #copyright .heroku {
    display: inline-block;
    width: 88px;
    height: 31px;
    background: url("../img/heroku-logo.png") no-repeat;
    text-indent: -9999px;
    line-height: 36px;
}

.bee-like-this {
    position: absolute;
    left: -9999px;
}
