/*
Gollum v3 Template
 */

/*!
 *  Font Awesome 4.0.3 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.eot?v=4.0.3');
    src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* margin & padding reset*/
* {
    margin: 0;
    padding: 0;
}

div {
    display: block;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html, body {
    color: #222;
    background-color: #ebebe0;
    line-height: 1.4;
    font-family: 'Roboto Slab', serif;
    font-size: 14px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: #5d5d3c;
    margin: 1em 0 5px;
    padding: 0;
    font-weight: bold;
    cursor: text;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1 + h2 + h3 {
    margin-top: 30px;
}

h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
    margin-top: 0;
}

h1 tt, h1 code,
h2 tt, h2 code,
h3 tt, h3 code,
h4 tt, h4 code,
h5 tt, h5 code,
h6 tt, h6 code {
    font-size: inherit;
}

h1 {
    font-size: 2em;
    margin-top: 20px;
}

h2 {
    font-size: 1.7em;
}

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1.2em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 1em;
}

img {
    border: 1px solid #ccc;
    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
}

a {
    color: #4e4e32;
    text-decoration: none;
}

a:hover, a:visited {
    color: #4e4e32;
    text-decoration: underline;
    outline: 0;
}

a:focus {
    outline: thin dotted;
}

a:active, a:hover {
}

a.anchor:focus {
    outline: none;
}


p, blockquote, ul, ol, dl, table, pre, hr {
    margin: 15px 0;
}

li {
    margin: 0px;
}

li p:first-child {
    display: inline-block;
}

hr {
    border: 0 none;
    color: #fff;
    height: 4px;
    padding: 0;
}

ul,
ol {
    padding-left: 30px;
}

dl {
    padding: 0;
}

dl dt {
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    padding: 0;
    margin: 15px 0 5px;
}

dl dt:first-child {
    padding: 0;
}

dl dt > :first-child {
    margin-top: 0;
}

dl dt > :last-child {
    margin-bottom: 0;
}

dl dd {
    margin: 0 0 15px;
    padding: 0 15px;
}

dl dd > :first-child {
    margin-top: 0;
}

dl dd > :last-child {
    margin-bottom: 0;
}

blockquote {
    border-left: 4px solid #DDD;
    padding: 0 15px;
    color: #777;
}

blockquote > :first-child {
    margin-top: 0;
}

blockquote > :last-child {
    margin-bottom: 0;
}

table {
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

table tr {
    border-top: 1px solid #ccc;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

table tr:nth-child(2n) {
    background-color: #f8f8f8;
}

table tr th {
    font-weight: bold;
}

table tr th,
table tr td {
    border: 1px solid #ccc;
    text-align: none;
    margin: 0;
    padding: 6px 13px;
}

table tr th > :first-child,
table tr td > :first-child {
    margin-top: 0;
}

table tr th > :last-child,
table tr td > :last-child {
    margin-bottom: 0;
}

code, pre, tt {
    font-family: Consolas, "Liberation Mono", Courier, monospace;
    font-size: 12px;
}

code, tt {
    margin: 0 2px;
    padding: 0 5px;
    white-space: nowrap;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
}

pre > tt, pre > code {
    margin: 0;
    padding: 0;
    white-space: pre;
    border: none;
    background: transparent;
}

pre {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    font-size: 13px;
    line-height: 19px;
    overflow: auto;
    padding: 6px 10px;
    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
}

pre pre, pre code, pre tt {
    background-color: transparent;
    border: none;
}

pre pre {
    margin: 0;
    padding: 0;
}

.page {
    margin: 5px;
    overflow: visible;
    width: 100%;
}

@media all and (min-width: 940px) {
    .page {
        max-width: 920px;
        padding-left:20px;
        padding-right:20px;
    }
}

.fa {
    display: inline-block;
    font: normal normal 16px FontAwesome;
    line-height: 1;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* bogado: I don't want this showing up
.fa-link:before {
content: "\f0c1";
}
 */

.fa-spinner:before {
    content: "\f110";
}

.fa-spin {
    -webkit-animation: spin 2s infinite linear;
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
    }
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
    }
}
@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(359deg);
    }
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.clearfloats {
    clear: both;
}

.emoji {
    width: 20px;
    height: 20px;
    vertical-align: -18%;
}

/* @section head */
#head {
    margin: 1em 0 0;
    padding: 0;
    overflow: hidden;
    border-bottom: solid 2px #aaa;
}

#head * {
    height: 40px;
}

#head a {
    color: #336699;
}

#head h1 {
    float: right;
    line-height: normal;
    margin: 0;
    font-variant: small-caps;
    vertical-align: top;
}

/* @section content */
#wiki-content {
    height: 1%;
    overflow: visible;
}

#wiki-content .wrap {
    height: 1%;
    overflow: auto;
}

/* @section body */
.has-leftbar #wiki-body {
    float: right;
    clear: right;
}

#wiki-body {
    display: block;
    float: left;
    clear: left;
    margin-right: 3%;
    margin-bottom: 40px;
    width: 100%;
}

#wiki-body table {
    display: block;
    overflow: auto;
    border: 0;
}

.has-sidebar #wiki-body {
    width: 68%;
}

/* @section toc */
#wiki-toc-main {
    background-color: #f7f7f7;
    font-size: 0.8em;
    padding: 0px 5px;
    float: left;
    margin-bottom: 20px;
    min-width: 33%;

    border: 1px solid #ddd;
    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
}

#wiki-toc-main > div {
    border: none;
}

/* @section sidebar */
.has-leftbar #wiki-sidebar {
    float: left;
}

.has-rightbar #wiki-sidebar {
    float: right;
}

#wiki-sidebar {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 7px;
    width: 25%;
    color: #555;

    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
}

#wiki-sidebar p {
    margin: 13px 0 0;
}

#wiki-sidebar > p:first-child {
    margin-top: 10px;
}

/* @section footer */

#wiki-footer {
    clear: both;
    margin: 2em 0 0 0;
}

.has-sidebar #wiki-footer {
}

#wiki-header #header-content,
#wiki-footer #footer-content {
    border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
}

#wiki-header #header-content {
    margin-bottom: 1.5em;
}

#wiki-footer #footer-content {
    margin-top: 1.5em;
}

#wiki-footer #footer-content h3 {
    font-size: 1.2em;
    color: #333;
    margin: 0;
    padding: 0 0 0.2em;
    text-shadow: 0 1px 0 #fff;
}

#wiki-footer #footer-content p {
    margin: 0.5em 0 0;
    padding: 0;
}

#wiki-footer #footer-content ul.links {
    margin: 0.5em 0 0;
    overflow: hidden;
    padding: 0;
}

#wiki-footer #footer-content ul.links li {
    color: #999;
    float: left;
    list-style-position: inside;
    list-style-type: square;
    padding: 0;
    margin-left: 0.75em;
}

#wiki-footer #footer-content ul.links li a {
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
}

#wiki-footer #footer-content ul.links li:first-child {
    list-style-type: none;
    margin: 0;
}

.ff #wiki-footer #footer-content ul.links li:first-child {
    margin: 0 -0.75em 0 0;
}

/* @section page-footer */
.page #footer {
    clear: both;
    border-top: 1px solid #ddd;
    margin: 1em 0 7em;
}

#footer p#last-edit {
    font-size: .9em;
    line-height: 1.6em;
    color: #999;
    margin: 0.9em 0;
}

#footer p#last-edit span.username {
    font-weight: bold;
}

#footer .actions {
    margin-left: 1em;
}

/* @control minibutton */

ul.actions {
    display: block;
    list-style-type: none;
    overflow: hidden;
    padding: 0;
    vertical-align: bottom;
    margin: 0;
}

ul.actions li {
    float: left;
    font-size: 1em;
    font-variant: small-caps;
}

.minibutton:first-child a {
    border-left: none;
}

.minibutton a {
    padding-left: 6px;
    padding-right: 6px;
    border-left:solid 1px #aaa;
    color: #333;
    display: block;
    font-weight: bold;
    margin: 0;
    height: 1.4em;
}

#search-submit {
    background-color: #f7f7f7;
    border: 1px solid #d4d4d4;
    color: #333;
    display: block;
    font-weight: bold;
    margin: 0;
    padding: 0.4em 1em;

    text-shadow: 0 1px 0 #fff;

    filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec');
    background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec));
    background: -moz-linear-gradient(top, #f4f4f4, #ececec);

    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.minibutton a:hover,
#search-submit:hover {
    background: #3072b3;
    border-color: #518cc6 #518cc6 #2a65a0;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    text-decoration: none;

    filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#e0e0d1', endColorstr='#c2c2a3');
    background: -webkit-gradient(linear, left top, left bottom, from(#e0e0d1), to(#c2c2a3));
    background: -moz-linear-gradient(top, #e0e0d1, #c2c2a3);
}

.minibutton a:visited {
    text-decoration: none;
}

/* @control searchbar */
#head #searchbar {
    float: right;
    padding: 2px 0 0 0;
    overflow: hidden;
}

#head #searchbar #searchbar-fauxtext {
    background: #fff;
    border: 1px solid #d4d4d4;
    overflow: hidden;
    height: 2.2em;

    border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
}

#head #searchbar #searchbar-fauxtext input#search-query {
    border: none;
    color: #000;
    float: left;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1em;
    height: inherit;
    padding: 0 .5em;

    -webkit-focus-ring: none;
}

.ie8 #head #searchbar #searchbar-fauxtext input#search-query {
    padding: 0.5em 0 0 0.5em;
}

#head #searchbar #searchbar-fauxtext input#search-query.ph {
    color: #999;
}

#head #searchbar #searchbar-fauxtext #search-submit {
    border: 0;
    border-left: 1px solid #aaa;
    cursor: pointer;
    margin: 0 !important;
    padding: 0;
    float: right;
    height: inherit;

    border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    -webkit-border-radius: 0 3px 3px 0;
}

#head #searchbar #searchbar-fauxtext #search-submit span {
    background-image: url(../images/icon-sprite.png);
    background-position: -431px -1px;
    background-repeat: no-repeat;
    display: block;
    height: inherit;
    overflow: hidden;
    text-indent: -5000px;
    width: 32px;
}

.ff #head #searchbar #searchbar-fauxtext #search-submit span,
.ie #head #searchbar #searchbar-fauxtext #search-submit span {
    height: 2.2em;
}

#head #searchbar #searchbar-fauxtext #search-submit:hover span {
    background-position: -431px -28px;
    padding: 0;
}

@media all and (min-width: 940px) {
    #head #searchbar {
        padding: 0;
    }

    #head #searchbar #searchbar-fauxtext #search-submit span {
        width: 28px;
    }

    #head #searchbar #searchbar-fauxtext #search-submit:hover span {
        background-position: -431px -28px;
    }
}

.wikidoc-body {
    overflow: visible;
    word-wrap: break-word;
}

@media all and (min-width: 940px) {
    .wikidoc-body {
    }
}

.wikidoc-body > *:first-child {
    margin-top: 0 !important;
}

.wikidoc-body > *:last-child {
    margin-bottom: 0 !important;
}

.wikidoc-body a.anchor {
    display: block;
    padding-right: 6px;
    padding-left: 30px;
    margin-left: -30px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
}

.toc {
    background-color: #F7F7F7;
    padding: 5px 10px;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
}

.toc-title {
    color: #888;
    line-height: 1.6;
    padding: 2px;
    padding-top: 4px;
    letter-spacing: 1px;
    font-weight: bold;
    font-variant: all-petite-caps;
}

.toc-dir {
    font-weight: bold;
    border-top: 1px solid #aaa;
    padding-top: 4px;
    line-height: 1.5;
}

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

#sidebar-content .toc > ul {
    font-size: 14px;
}

.toc > ul {
    font-size: 17px;
}

.toc ul ul {
    font-size: 15px;
}

.toc ul ul ul {
    font-size: 14px;
}

.toc ul li {
    margin: 0;
}

#header-content .toc,
#footer-content .toc,
#sidebar-content .toc {
    border: none;
}

.highlight {
    background: #fff;
}

.highlight .c {
    color: #998;
    font-style: italic;
}

.highlight .err {
    color: #a61717;
    background-color: #e3d2d2;
}

.highlight .k {
    font-weight: bold;
}

.highlight .o {
    font-weight: bold;
}

.highlight .cm {
    color: #998;
    font-style: italic;
}

.highlight .cp {
    color: #999;
    font-weight: bold;
}

.highlight .c1 {
    color: #998;
    font-style: italic;
}

.highlight .cs {
    color: #999;
    font-weight: bold;
    font-style: italic;
}

.highlight .gd {
    color: #000;
    background-color: #fdd;
}

.highlight .gd .x {
    color: #000;
    background-color: #faa;
}

.highlight .ge {
    font-style: italic;
}

.highlight .gr {
    color: #a00;
}

.highlight .gh {
    color: #999;
}

.highlight .gi {
    color: #000;
    background-color: #dfd;
}

.highlight .gi .x {
    color: #000;
    background-color: #afa;
}

.highlight .go {
    color: #888;
}

.highlight .gp {
    color: #555;
}

.highlight .gs {
    font-weight: bold;
}

.highlight .gu {
    color: #800080;
    font-weight: bold;
}

.highlight .gt {
    color: #a00;
}

.highlight .kc {
    font-weight: bold;
}

.highlight .kd {
    font-weight: bold;
}

.highlight .kn {
    font-weight: bold;
}

.highlight .kp {
    font-weight: bold;
}

.highlight .kr {
    font-weight: bold;
}

.highlight .kt {
    color: #458;
    font-weight: bold;
}

.highlight .m {
    color: #099;
}

.highlight .s {
    color: #d14;
}

.highlight .na {
    color: #008080;
}

.highlight .nb {
    color: #0086B3;
}

.highlight .nc {
    color: #458;
    font-weight: bold;
}

.highlight .no {
    color: #008080;
}

.highlight .ni {
    color: #800080;
}

.highlight .ne {
    color: #900;
    font-weight: bold;
}

.highlight .nf {
    color: #900;
    font-weight: bold;
}

.highlight .nn {
    color: #555;
}

.highlight .nt {
    color: #000080;
}

.highlight .nv {
    color: #008080;
}

.highlight .ow {
    font-weight: bold;
}

.highlight .w {
    color: #bbb;
}

.highlight .mf {
    color: #099;
}

.highlight .mh {
    color: #099;
}

.highlight .mi {
    color: #099;
}

.highlight .mo {
    color: #099;
}

.highlight .sb {
    color: #d14;
}

.highlight .sc {
    color: #d14;
}

.highlight .sd {
    color: #d14;
}

.highlight .s2 {
    color: #d14;
}

.highlight .se {
    color: #d14;
}

.highlight .sh {
    color: #d14;
}

.highlight .si {
    color: #d14;
}

.highlight .sx {
    color: #d14;
}

.highlight .sr {
    color: #009926;
}

.highlight .s1 {
    color: #d14;
}

.highlight .ss {
    color: #990073;
}

.highlight .bp {
    color: #999;
}

.highlight .vc {
    color: #008080;
}

.highlight .vg {
    color: #008080;
}

.highlight .vi {
    color: #008080;
}

.highlight .il {
    color: #099;
}

.highlight .gc {
    color: #999;
    background-color: #EAF2F5;
}

.type-csharp .highlight .k {
    color: #00F;
}

.type-csharp .highlight .kt {
    color: #00F;
}

.type-csharp .highlight .nf {
    color: #000;
    font-weight: normal;
}

.type-csharp .highlight .nc {
    color: #2B91AF;
}

.type-csharp .highlight .nn {
    color: #000;
}

.type-csharp .highlight .s {
    color: #A31515;
}

.type-csharp .highlight .sc {
    color: #A31515;
}
