/* ---------- BLOGS.PERL.ORG-ADDED HACKS ---------- */

code.prettyprint span.pln br { display: none }
pre > code.prettyprint span.pln br { display: inline }
pre, tt, code, kbd, samp { font-family: monospace }

pre {
  line-height: 100%;
}

#content pre > code.prettyprint {
  font-size: inherit;
  border: 0;
}


/* ---------- GENERAL ---------- */

html { min-width: fit-content } /* otherwise gradients cut off when zoomed in */

body {
    /* background: #004065 url('/static/images/bg-main.png') no-repeat center -185px; */
    background: #004065 radial-gradient(circle at 158px 125px, #00598B,#005889 26px,#005788 42px,#005686 52px,#005585 67px,#005483 79px,#005382 89px,#005280 99px,#00517F 110px,#00507D 120px,#004F7B 129px,#004E7A 139px,#004D79 147px,#004C77 157px,#004B75 166px,#004A74 178px,#004973 185px,#004972 192px,#004871 198px,#00476F 207px,#00466E 217px,#00466D 224px,#00456C 230px,#00446B 240px,#00446A 248px,#004369 253px,#004268 264px,#004167 275px,#004166 285px,#004165 295px,#004065 300px) no-repeat;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5em;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: bold;
}

a:link, a:visited {
    color: #007ca8;
    text-decoration: none;
}

a:active, a:hover {
    color: #007ca8 !important;
    text-decoration: underline;
}

.more-link {
    font-weight: bold;
    letter-spacing: -0.05em;
    text-align: right;
}

/* ---------- STRUCTURE ---------- */


#container {
    position: relative;
    width: 960px;
    margin: 0 auto;
}

#global-nav {
    width: 898px;
    height: 33px;
    margin: 0 auto 41px;
    /* background: transparent url('/static/images/bg-global-nav.png') no-repeat top center; */
    background: #1a374f;
    border: 1px solid #b9d8e8;
    border-top: 0;
    border-radius: 0 0 5px 5px;
}

#header {
    position: relative;
    width: 960px;
    height: 90px;
    margin: 7px 0 0 0;
    padding-bottom: 16px;
    /* background: transparent url('/static/images/bg-page-top.png') no-repeat bottom center; */
}

#header-inner {
    padding: 0 45px;
}

#content {
    position: relative;
    color:#333;
    /* background: transparent url('/static/images/bg-page-main.png') repeat-y top center; */
    background: #fff;
    margin: 0 31px;
    border: 2px solid #fff;
    border-radius: 3px;
    box-shadow: 0 0 3px black;
}

#content-inner {   
    position: relative;
    padding: 20px 20px 25px;
    background: transparent linear-gradient(180deg, #e8e8ecfc, #00000000 395px 100%) no-repeat;
    /* background: transparent url('/static/images/bg-page-inner.png') no-repeat center top; */
}

#content-main {
    float: left;
    width: 580px;
    padding: 0;
    margin: 9px 15px 0 0;
    overflow: hidden;
}

#content-aux {
    float: right;
    width: 255px;
    padding: 0;
    overflow: hidden;
}

#content-footer { clear: both; }

#footer {
    width: 960px;
    clear: both;
    padding-top: 14px;
    /* background: transparent url('/static/images/bg-page-bottom.png') no-repeat top center; */
}

/* ---------- GLOBAL NAV ---------- */

#global-nav-inner {
    padding: 6px 22px 6px 7px;
}

#global-nav-search label {
    display: none;
}

#global-nav-search {
    float: left;
}

#global-nav-search form {
    position: relative;
    display: block;
    width: 156px;
    height: 19px;
    /* background: transparent url('/static/images/bg-global-search-box.gif') no-repeat left top; */
}

#global-nav-search #global-search {
    display: block;
    position: relative;
    z-index: 1;
    border: none;
    margin: 0;
    padding: 2px 0 3px 3px;
    height: 12px;
    width: 132px;
    background: #005a8c;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #bbe1f1;
    outline: 0;
    border: 1px solid #bbe1f1;
    border-radius: 3px;
    box-shadow: inset #333 0 1px 3px;
}

#global-nav-search #global-search::placeholder {
    color: #bbe1f1;
}

#global-nav-search .submit {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 5px 0 0;
    margin: 0;
    bottom: 0;
    left: 0;
    /* text-indent: -999em;
    _padding-top: 23px;
    padding-top: 23px !msie;
    overflow: hidden;
    background: transparent url('/static/images/button-global-search-submit.gif') no-repeat right top; */
    border: 1px solid #bbe1f1;
    border-radius: 4px;
    background: #005a8c linear-gradient(180deg, #005a8c, #004268);
    color: #bbe1f1;
    font-size: 9px;
    text-align: right;
}

#global-nav-search .submit:hover {
    background: #83bdd1 linear-gradient(180deg, #bbe1f1, #83bdd1);
    color: #004065;
    font-size: 10px;
    padding-right: 4px;
}

#global-nav-links {
    float: right;
    margin: 0;
    padding: 0;
}

#global-nav-links li {
    display: inline;
    color: #ccc;
    padding-left: 14px;
}

#global-nav-links a {
    color: #84b8d2;
}

#global-nav-links a:hover {
    color: #bbe1f1 !important;
}

#global-nav-links span a + a::before {
    display: inline-block;
    content: '\A0·\A0';
    color: #97b8cc;
    text-decoration: none !important;
}

/* ---------- HEADER ---------- */

#site-title {
    display: block;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: -0.06em;
    overflow: auto;
}

#site-title a {
    display: block;
    position: relative;
    float: left;
    height: 87px;
    color: #bbe1f1 !important;
    text-decoration: none;
    padding: 8px 0 0 88px;
    background-image: url('/static/images/logo-onion.svg');
    background-repeat: no-repeat;
    background-position: -20px -19px;
    background-size: 120px 120px;
    /* background: transparent url('/static/images/logo-onion-beta.png') no-repeat top left; */
}

#site-description {
    position: absolute;
    left: 134px;
    bottom: 29px;
    color: #bbe1f1;
}



/* ---------- MAIN CONTENT ---------- */

.entry {
    overflow: hidden;
    margin: 0 0 40px 0;
    width: 100%;
}

.entry-title {
    font-size: 24px;
    line-height: 1em;
    margin: 0;
    letter-spacing: -0.06em;
}

.entry-meta-1 {
    font-size: 12px;
    margin-bottom: 1.5em;
}

.entry-meta-1 .profile-link {
    color: #333;
    font-weight: bold;
}

.entry p {
    margin: 0 0 1.5em 0;
}

.entry ul, .entry ol {
    padding-left: 1.3em;
    margin: 5px 0;
}
.entry ul + p, .entry ol + p {
    margin-top: 1.4em;
}

.entry ul { list-style-type: disc; }
.entry ol { list-style-type: decimal; }
.entry li { padding: 0; margin: 0 }

.entry blockquote {
    margin: .5em;
    color: #777;
}
.entry-body {
    overflow: hidden;
}
.entry-body a, .entry-body a:link {
    text-decoration: underline;
}

.entry-body img { max-width: 550px; width: auto; height: auto; margin-bottom: 15px }


.entry-meta-2 {
    padding: 5px 0;
    border-top: 1px solid #007ca8;
    border-bottom: 1px solid #007ca8;
    font-weight: bold;
    letter-spacing: -0.05em;
}

.entry-meta-2 ul {
    display: inline;
    margin: 0;
    padding: 0;
}

.entry-meta-2 li {
    display: inline;
    padding: 0 10px 0 5px;
}

.entry-meta-2 .more-link {
    float: right;
}

.content-nav {
    text-align:center;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: -0.05em;
}

#results-next-link, #results-previous-link, .results-pages {
    display: inline;
    padding-right: 4px;
}

.content-nav a, .content-nav a:link {
    text-decoration: none;
}
.content-nav a:hover {
    text-decoration: underline;
}
/* Comment Styles */
#comments {
    margin-top: 2em;
    }

#comments h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 1em;
}
.comments-content {
    padding-bottom: 1em;
    margin-bottom: 2em;
    border-bottom: 2px solid #666;
}
.comment-content a:visited, .comment-content a, .comment-content a:link{
    text-decoration: underline;
} 
.comments-content p,  .comments-content pre {
    margin: 1em 0;
}
.comments-content blockquote {
    margin: 1.5em 0 0.75em;
    padding: 0 0 0 0.5em;
    border-left: 2px solid #666;
    color: #666;
}
.comment {
    margin-bottom: 1.5em;    
}
.comment .comment-footer {
        font-size: 0.85em;
        color:#888;
        padding-top: 0.5em;
        border-top: 1px solid #dedede;
}
.comment .comment-footer .asset-meta {
    margin-left: 10px;
}
.comment .commenter-profile {
    padding: 4px;
    margin-left: 4px;
}

/* Comment Form Styles */
#comments form {
    margin-top: 1.5em;
}
#comments label {
    display: block;
    font-weight: bold;
    color: #555;
    font-size: 0.85em;
}

#comments input, #comments textarea {
    padding: 5px;
    border: 1px solid #ccc;
    border-bottom: 1px solid #999;
    border-right: 1px solid #999;
    margin-bottom: 1.5em;
    color:#333;
}
#comments textarea {
    font-size: 1em;
    line-height: 1.5em;
    font-weight: normal;
    width: 400px;
}
#comments #comment-form-remember-me label{
    display: inline;
}
#comments #comment-form-remember-me input {
    float: left;
}
#comments-open-text {
    clear:left;
}
#comments-open-footer input {
    color:#fff;
    background: #555;
}
h1#page-title {
    font-size: 2em;
}

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

.module-aux {
    clear: both;
    margin-bottom: 20px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border: 1px solid #333;
    font-size: 12px;
}

.module-aux .module-inner {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border: 2px solid #fff;
    background: #fff linear-gradient(0deg, #f3f2f4, #fff 100px 100%) no-repeat;
    /* background: #fff url('/static/images/bg-module.png') repeat-x center bottom; */
    padding: 10px;
}

.module-aux .module-inner::after {
    display: block;
    clear: both;
    content: '\A';
}

.module-aux h3 {
    font-size: 18px;
    letter-spacing: -0.06em;
    margin: 0 0 10px 0;
}

.module-aux h3 a {
    color: #333;
}

.module-aux p {
    margin: 0 0 1.5em 0;
    line-height: 1.5em;
}

.module-aux ul {
    margin: 0;
    padding: 0;
}

.module-aux li {
    margin: 0 0 .75em 0;
    line-height: 1.05em;
    font-size: 12px;
    list-style: none;
}

.module-aux a:link, .module-aux a:visited {
    color: #333;
}

.module-aux .more-link { font-size: 14px; }

.module-aux .more-link a { color: #007ca8; }

#module-aux-search h3 a { text-decoration: underline }

#search-form-aux label {
    display: none;
}

#search-form-aux {
    position: relative;
    display: block;
    width: 226px;
    height: 23px;
    /* background: transparent url('/static/images/bg-local-search-box.gif') no-repeat left top; */
}

#search-form-aux #local-search {
    display: block;
    position: relative;
    z-index: 1;
    border: 1px solid #000;
    border-radius: 4px;
    box-shadow: inset #888 0 0 3px;
    margin: 0;
    padding: 3px 0 2px 5px;
    height: 16px;
    width: 158px;
    background: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    outline: 0;
}

#search-form-aux .submit {
    position: absolute;
    right: 0;
    top: 0;
    color: #333;
    text-shadow: 0 0 1px #999;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 0 11px 0 0;
    margin: 0;
    bottom: 0;
    left: 0;
    text-align: right;
    _padding-top: 23px;
    padding-top: 23px !msie;
    overflow: hidden;
    background: linear-gradient(0deg, #d0cfd0, #fefefe) no-repeat;
    box-shadow: inset #fff 0 0 1px;
    /* background: transparent url('/static/images/button-local-search-submit.gif') no-repeat right top; */
}

#search-form-aux .submit:hover {
    color: #39b;
    text-shadow: 0 0 1px #7bc3db;
}

#avatar {
    float: none;
    width: 250px;
    border: 0;
    padding: 0;
    margin: 0 auto 10px auto;
    text-align: center;
}


#rss-module p {
    margin-left: 10px;
    padding-left: 0;
}
#rss-module p a {    
    padding: 5px 0 5px 20px;
    text-decoration: none;
    }

img.authorpic {
	float: left;
	padding: 0 4px 0 0;
}

/* --------- SEARCH RESULT STYLES ----------- */
h1.search-results-header {
    margin: 0.75em 0 1.25em 0;
    line-height: 1.25em;
}
.search-results-container .entry h3 {
    font-size: 1.5em;
    margin: 0 0 0.5em 0;
}

.hidden {
	visibility: hidden
}

/* --------- TAG CLOUD STYLES ----------- */

ul#tag-cloud {margin-bottom: 15px}
ul#tag-cloud li{display:inline;list-style-type: none;line-height: 1.25em;}
ul#tag-cloud li {margin: 0 5px; padding: 0; background: none;}
ul#tag-cloud a, ul#tag-cloud a:visited  {text-decoration: none}
ul#tag-cloud li.rank-6 {font-size: 10px}
ul#tag-cloud li.rank-5 {font-size: 14px}
ul#tag-cloud li.rank-4 {font-size: 18px}
ul#tag-cloud li.rank-3 {font-size: 22px}
ul#tag-cloud li.rank-2 {font-size: 26px}
ul#tag-cloud li.rank-1 {font-size: 30px}

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

#footer-inner { padding: 0 53px 10px 53px; }
#footer-inner li, #footer-inner span { font-size: 12px; line-height: 1; color: #006c98 }
#footer-inner ul, #footer-inner li { float: left; padding-right: 16px; margin: 0; list-style: none }

#footer-inner li.first:before { content: none }
#footer-inner li:before       { content: "\2022"; padding-right: 14px }

.powered-by { float: right }
.powered-by img { margin-top: 6px }

/* Utility ------------ */
/* wraps enclosing block element around inner floated elements */
.pkg:after { content: " ";display: block;visibility: hidden;clear: both;height: 0.1px;font-size: 0.1em;line-height: 0;}
.pkg { display: inline-block; }
/* no ie mac \*/
* html .pkg { height: 1%; }
.pkg[id] { height: auto; }
.pkg { display: block; }
/* */

/* turn IE6 png support on */
img, div, h1, h2, h3, h4, h5, h6, li { behavior: url('/static/iepngfix.htc') }

.gist .line, .gist .linenumber {
    line-height: 1.5em;
}

/* --------- MOBILE --------- */

@media only screen and (max-width: 560px) {
    #navbar-signin-widget { display: none }

    #global-nav,
    #header,
    #container,
    #content-main,
    #content-aux,
    #footer { width: 100%; overflow: visible }

    #content-main,
    #content-aux,
    #footer-inner > * { float: none }
    #content-aux { margin-top: 40px }

    #global-nav,
    #content { margin: 0 1px }
    #header-inner { padding: 0 5px }
    #footer-inner { padding: 0 20px 10px }

    #site-description { left: 99px }
    #global-nav-links li { font-size: 12px }
    #global-nav-inner { padding-right: 7px }

    .entry-body img { max-width: calc(100vw - 62px) }
}