
/*******************************************************************

This chunk is to fix Bootstrap so that the Markdown output looks good

*******************************************************************/

body {
  padding-top: 70px;
  padding-bottom: 40px;
  font-size: 15px;
  line-height: 150%;
}

xmp, textarea {
  display: none;
}

h1,h2,h3,h4 {
  margin: 15px 0;
}

pre {
  margin: 20px 0;
}

img {
  margin: 10px 0;
}

.navbar {
  z-index: 1;
}

.table {
  width: auto;
}

pre.code-wrapper {
  padding: 0px;
  border: none;
}

/* fix issue: https://github.com/arturadib/strapdown/issues/25 */
td[align=right] { text-align: right; }
td[align=center] { text-align: center; }
td[align=left] { text-align: left; }

/* header anchor */

.anchor {
  text-decoration: none !important;
  cursor: auto;
  vertical-align: top;
  position: absolute;
  left: 0px;
  margin-left: -30px;
  top: -6px;
  bottom: 0px;
  outline:none;
  width: 0px;
}

@media (min-width: 980px) {
  .anchor {
    padding-top: 60px;
    margin-top: -60px;
  }
}

.anchor:active, .anchor:focus, .anchor .header-link:active, .anchor .header-link:focus {
  outline:none;
}

.anchor .header-link:before {
  content: '\00b6';
  display: inline-block;
  vertical-align: middle;
}

.anchor .header-link {
  opacity: 0;
  float: right;
  width: 30px;
  position: absolute;
  bottom:0;
  outline:none;
  text-align: center;
  transition: opacity 0.5s ease;
}

.anchor .header-link:hover {
  opacity: 1;
  vertical-align: middle;
  outline:none;
}

.anchor:hover .header-link, h1:hover .header-link, h2:hover .header-link, h3:hover .header-link, h4:hover .header-link, h5:hover .header-link {
  display: inline-block;
  opacity: 1;
  vertical-align: middle;
  outline:none;
}

.backtop {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 30px;
  cursor: pointer;
}

.backtop-icon {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAQAAAAm93DmAAAC0klEQVR4Aa3TA7ArSRiG4Wdt24W1bdu2bdu2bdu2bdtKJsfGPZf/+lRqqid7Lt6v1N3Tb74/k6jJLLZxmJu86iMfedv9TrarRYwSW7lNnfg3ww0X/2awpx1kJgPH9r4QQo9KIq1CaHGyiQ2A2TwvhDqZSkEymT7hVxtSm/V1Cg3KeUlCWhbCqWqwtxB+VxlgStqFWxWwuzBIKXm1Xn1yv6xJuEOClQt1JU1C6PR7UtkonCnHVNoKhi3pEgsesNzWBokCZZvIv56HRUG7brHy/rDFGqLwQ4drNZHqcTXJ0rql9wXYalVhREHLcIF+3hZKad1i+6ti41XGSisznYabDVhJaEroesSi+8mxcVHLsnA8cJlQTrVbdH+Au8bi7ImBDdPKzDCfG4/xfW1oXqdTLLAfcOkOS5178lhseeiuZwDrrCYMk1c2CGuyhtCQO2oUy+wPPLyYmONW2HIfsevuwIarjdOpXb5jOJo9hUouser1wCOL6hOrHw97bSbEfjsB2x2duucezkgdrHYvvLasPiFWOhV230roEwftBVudmxS+we2Jg3qDpr1xhVPGaRN+Vy3M9IpVzpz3fC2JX8Zwn/BkQlhWqfr3Vgvr+//ZTYlf7hBf8UxemEtOmDjPCe8adWF65LPGoDC8yd5jVPgg6wgNY0SYCScwsR8MHiPCemFduFoojwHhUN+YANYUGkdbWBZOA/hIKI+WMNMuzAWwbs2OsfTxsONGNYQl4VpVvCCUioS7nwLnbinUFYw7RK8pVTGTwYYWKLvm+3b/NQ5YbsW39BbomoXt5NhQ6Eoqf9cjDDXE74nTTL1wuQRHFiozTZplyXb1whMKOE4U9EinrKWWDnYwQqjI/leWKRmRHzbFAj4QRshqSDNlXUKTXQyI/f0ihLaENNMghEEuMZ0BM6m9PW6Q6M8I0Z+3nGwuo8BC9nC+x73qXe973XOucZDV1eAPQrYZz64Af40AAAAASUVORK5CYII=);
}

/*******************************************************************

This chunk is for Google's Code Prettify:
http://google-code-prettify.googlecode.com

*******************************************************************/


/* Pretty printing styles. Used with prettify.js. */

/* Put a border around prettyprinted code snippets. */
pre.prettyprint { padding: .8em 1em; border: 1px solid #05232b; background-color: #23241f; font-family: Menlo,Monaco,Consolas,"Courier New",monospace;}

/* SPAN elements with the classes below are added by prettyprint. */

@media screen {
  .pln { color: #f8f8f2 }  /* plain text */
  .str { color: #e6db74 }  /* string content */
  .kwd { color: #f92672 }  /* a keyword */
  .com { color: #75715e }  /* a comment */
  .typ { color: #f92672 }  /* a type name */
  .lit { color: #ae81ff }  /* a literal value */
  /* punctuation, lisp open bracket, lisp close bracket */
  .pun, .opn, .clo { color: #f8f8f2 }
  .tag { color: #f92672 }  /* a markup tag name */
  .atn { color: #a6e22e }  /* a markup attribute name */
  .atv { color: #e6db74 }  /* a markup attribute value */
  .dec, .var { color: #f8f8f2 }  /* a declaration; a variable name */
  .fun { color: #a6e22e }  /* a function name */
}

/* Use higher contrast and text-weight for printable form. */
@media print, projection {
  pre.prettyprint { background-color: none }
  .pln { color: #000 }  /* plain text */
  .str { color: #060 }
  .kwd { color: #006; font-weight: bold }
  .com { color: #600; font-style: italic }
  .typ { color: #404; font-weight: bold }
  .lit { color: #044 }
  .pun, .opn, .clo { color: #440 }
  .tag { color: #006; font-weight: bold }
  .atn { color: #404 }
  .atv { color: #060 }
}

/* Specify class=linenums on a pre to get line numbering */
ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 { list-style-type: none }
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 { background: #eee }

/*

Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/

For highlight.js syntax highlighting

*/

.hljs {
    display: block;
    padding: .8em 1em;
    background-color: #2c2c27;
}


.hljs,
.hljs-tag,
.css .hljs-rules,
.css .hljs-value,
.css .hljs-function
.hljs-doctype,
.hljs-preprocessor,
.hljs-pragma {
  color: #f8f8f2;
}

.hljs-strongemphasis,
.hljs-strong,
.hljs-emphasis {
  color: #a8a8a2;
}

.hljs-bullet,
.hljs-blockquote,
.hljs-horizontal_rule,
.hljs-number,
.hljs-regexp,
.alias .hljs-keyword,
.hljs-literal,
.hljs-hexcolor {
  color: #ae81ff;
}

.hljs-code,
.hljs-title,
.hljs-tag .hljs-attribute,
.java .hljs-annotation,
.python .hljs-decorator,
.css .hljs-class,
.hljs-class .hljs-title:last-child {
  color: #a6e22e;
}

.hljs-link_url {
  font-size: 80%;
}

.hljs-strong,
.hljs-strongemphasis {
  font-weight: bold;
}

.hljs-emphasis,
.hljs-strongemphasis,
.hljs-class .hljs-title:last-child {
  font-style: italic;
}

.hljs-keyword,
.hljs-function,
.hljs-change,
.hljs-winutils,
.hljs-flow,
.lisp .hljs-title,
.clojure .hljs-built_in,
.nginx .hljs-title,
.tex .hljs-special,
.hljs-header,
.hljs-symbol,
.hljs-symbol .hljs-string,
.hljs-tag .hljs-title,
.hljs-value,
.alias .hljs-keyword:first-child,
.css .hljs-tag,
.css .unit,
.css .hljs-important {
  color: #F92672;
}

.hljs-built_in,
.hljs-typename,
.hljs-function .hljs-keyword,
.hljs-class .hljs-keyword:first-child,
.hljs-constant,
.css .hljs-attribute {
  color: #66d9ef;
}

.hljs-params {
  color: #e09800;
}

.hljs-variable,
.hljs-class .hljs-title {
  color: #f8f8f2;
}

.hljs-string,
.hljs-tag .hljs-value,
.css .hljs-id,
.hljs-subst,
.haskell .hljs-type,
.ruby .hljs-class .hljs-parent,
.sql .hljs-aggregate,
.django .hljs-template_tag,
.django .hljs-variable,
.smalltalk .hljs-class,
.django .hljs-filter .hljs-argument,
.smalltalk .hljs-localvars,
.smalltalk .hljs-array,
.hljs-attr_selector,
.hljs-pseudo,
.hljs-addition,
.hljs-stream,
.hljs-envvar,
.apache .hljs-tag,
.apache .hljs-cbracket,
.tex .hljs-command,
.hljs-prompt,
.hljs-link_label,
.hljs-link_url {
  color: #e6db74;
}

.hljs-comment,
.hljs-javadoc,
.hljs-template_comment,
.hljs-pi,
.hljs-deletion,
.hljs-shebang,
.apache .hljs-sqbracket,
.tex .hljs-formula {
  color: #75715e;
}

.coffeescript .javascript,
.javascript .xml,
.tex .hljs-formula,
.xml .javascript,
.xml .vbscript,
.xml .css,
.xml .hljs-cdata,
.xml .php,
.php .xml {
  opacity: 0.5;
}

/*

Make the edit and history button switchable

*/
.nav>li.edit-link,.nav>li.history-link,.nav>li.search-link{
  display: none !important;
}
.edit li.edit-link,.history li.history-link,.search li.search-link{
  display: block !important;
}

.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
    max-height: initial !important;
    /*fix for the responsive viewport */
}
#content img{
    display: block;
    max-width: 100%;
    height: auto;
    /*Copy the img-responsive class here*/
}

/*Footer*/
footer{
  display: none;
}
footer.footer{
  display: block;
}
footer.footer::before{
  content: "";
  display: block;
  width: 100%;
  border-top: solid 1px rgba(0, 0, 0, 0.5);
  margin-top: 2em;
  margin-bottom: 0.5em;
}
footer.footer{
  opacity: 0.6;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  -moz-transition: all 0.5s;
  font-family: monospace;
  font-size: .8em;
}
footer.footer .info span{
  margin-right: 1em;
}
footer.footer .info span b:after{
  content: ": ";
}
footer.footer:hover{
  opacity: 1;
}

/*!
 * Modals v8.1.0: Simple modal dialogue pop-up windows
 * (c) 2015 Chris Ferdinandi
 * MIT License
 * http://github.com/cferdinandi/modals
 */

/**
 * Hide modal window by default
 */
/* line 4, /Users/cferdinandi/Sites/modals/src/sass/components/_modals.scss */
.option-modal {
    background-color: #ffffff;
    border: 0.0725em solid #e5e5e5;
    border-radius: 0.0725em;
    box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.3);
    display: none;
    max-width: 100%;
    padding: 0.5em 1em;
    visibility: hidden;
    z-index: 9999;
    bottom: initial;
}

@media (min-width: 40em) {
    /* line 4, /Users/cferdinandi/Sites/modals/src/sass/components/_modals.scss */
    .option-modal {
        max-width: 98%;
    }
}

/**
 * Show active modal
 */
/* line 23, /Users/cferdinandi/Sites/modals/src/sass/components/_modals.scss */
.option-modal.active {
    display: block;
    height: 100%;
    left: 0;
    max-height: 100%;
    overflow: auto;
    position: fixed;
    right: 0;
    top: 0;
    visibility: visible;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 30em) {
    /* line 23, /Users/cferdinandi/Sites/modals/src/sass/components/_modals.scss */
    .option-modal.active {
        height: auto;
        left: 3%;
        margin-left: auto;
        margin-right: auto;
        right: 3%;
        top: 70px;
    }
}

@media (min-width: 40em) {
    /* line 23, /Users/cferdinandi/Sites/modals/src/sass/components/_modals.scss */
    .option-modal.active {
        left: 20%;
        right: 20%;
    }
    /* line 48, /Users/cferdinandi/Sites/modals/src/sass/components/_modals.scss */
    .option-modal.active.option-modal-medium {
        width: 35em;
    }
    /* line 52, /Users/cferdinandi/Sites/modals/src/sass/components/_modals.scss */
    .option-modal.active.modal-small {
        width: 25em;
    }
}

/**
 * Modal background
 */
/* line 61, /Users/cferdinandi/Sites/modals/src/sass/components/_modals.scss */
.option-modal-bg {
    background-color: #272727;
    bottom: 0;
    position: fixed;
    left: 0;
    opacity: .9;
    right: 0;
    top: 0;
    z-index: 9998;
}

/**
 * Close button
 */
/* line 75, /Users/cferdinandi/Sites/modals/src/sass/components/_modals.scss */
.close {
    color: #808080;
    cursor: pointer;
    float: right;
    font-weight: bold;
    font-size: 1.5em;
}

/* line 82, /Users/cferdinandi/Sites/modals/src/sass/components/_modals.scss */
.close:hover {
    color: #5a5a5a;
    cursor: pointer;
    text-decoration: none;
}

/*
 *
 * Diff to HTML (diff2html.css)
 * Author: rtfpessoa
 *
 */

 .d2h-wrapper {
    text-align: left;
  }
  
  .d2h-file-header {
    padding: 5px 10px;
    border-bottom: 1px solid #d8d8d8;
    background-color: #f7f7f7;
  }
  
  .d2h-file-stats {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: auto;
    font-size: 14px;
  }
  
  .d2h-lines-added {
    text-align: right;
    border: 1px solid #b4e2b4;
    border-radius: 5px 0 0 5px;
    color: #399839;
    padding: 2px;
    vertical-align: middle;
  }
  
  .d2h-lines-deleted {
    text-align: left;
    border: 1px solid #e9aeae;
    border-radius: 0 5px 5px 0;
    color: #c33;
    padding: 2px;
    vertical-align: middle;
    margin-left: 1px;
  }
  
  .d2h-file-name-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
  }
  
  .d2h-file-name {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-x: hidden;
    line-height: 21px;
  }
  
  .d2h-file-wrapper {
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 1em;
  }
  
  .d2h-diff-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Menlo", "Consolas", monospace;
    font-size: 13px;
  }
  
  .d2h-diff-tbody > tr > td {
    height: 20px;
    line-height: 20px;
  }
  
  .d2h-files-diff {
    display: block;
    width: 100%;
    height: 100%;
  }
  
  .d2h-file-diff {
    overflow-x: scroll;
    overflow-y: hidden;
  }
  
  .d2h-file-side-diff {
    display: inline-block;
    overflow-x: scroll;
    overflow-y: hidden;
    width: 50%;
    margin-right: -4px;
    margin-bottom: -8px;
  }
  
  .d2h-code-line {
    display: inline-block;
    white-space: nowrap;
    padding: 0 10px;
    margin-left: 80px;
  }
  
  .d2h-code-side-line {
    display: inline-block;
    white-space: nowrap;
    padding: 0 10px;
    margin-left: 50px;
  }
  
  .d2h-code-line del,
  .d2h-code-side-line del {
    display: inline-block;
    margin-top: -1px;
    text-decoration: none;
    background-color: #ffb6ba;
    border-radius: 0.2em;
  }
  
  .d2h-code-line ins,
  .d2h-code-side-line ins {
    display: inline-block;
    margin-top: -1px;
    text-decoration: none;
    background-color: #97f295;
    border-radius: 0.2em;
    text-align: left;
  }
  
  .d2h-code-line-prefix {
    display: inline;
    background: none;
    padding: 0;
    word-wrap: normal;
    white-space: pre;
  }
  
  .d2h-code-line-ctn {
    display: inline;
    background: none;
    padding: 0;
    word-wrap: normal;
    white-space: pre;
  }
  
  .line-num1 {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    float: left;
    width: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 3px;
  }
  
  .line-num2 {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    float: right;
    width: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 3px;
  }
  
  .d2h-code-linenumber {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: absolute;
    width: 86px;
    padding-left: 2px;
    padding-right: 2px;
    background-color: #fff;
    color: rgba(0, 0, 0, 0.3);
    text-align: right;
    border: solid #eeeeee;
    border-width: 0 1px 0 1px;
    cursor: pointer;
  }
  
  .d2h-code-side-linenumber {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: absolute;
    width: 56px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #fff;
    color: rgba(0, 0, 0, 0.3);
    text-align: right;
    border: solid #eeeeee;
    border-width: 0 1px 0 1px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /*
   * Changes Highlight
   */
  
  .d2h-del {
    background-color: #fee8e9;
    border-color: #e9aeae;
  }
  
  .d2h-ins {
    background-color: #dfd;
    border-color: #b4e2b4;
  }
  
  .d2h-info {
    background-color: #f8fafd;
    color: rgba(0, 0, 0, 0.3);
    border-color: #d5e4f2;
  }
  
  .d2h-file-diff .d2h-del.d2h-change {
    background-color: #fdf2d0;
  }
  
  .d2h-file-diff .d2h-ins.d2h-change {
    background-color: #ded;
  }
  
  /*
   * File Summary List
   */
  
  .d2h-file-list-wrapper {
    margin-bottom: 10px;
  }
  
  .d2h-file-list-wrapper a {
    text-decoration: none;
    color: #3572b0;
  }
  
  .d2h-file-list-wrapper a:visited {
    color: #3572b0;
  }
  
  .d2h-file-list-header {
    text-align: left;
  }
  
  .d2h-file-list-title {
    font-weight: bold;
  }
  
  .d2h-file-list-line {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: left;
  }
  
  .d2h-file-list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .d2h-file-list > li {
    border-bottom: #ddd solid 1px;
    padding: 5px 10px;
    margin: 0;
  }
  
  .d2h-file-list > li:last-child {
    border-bottom: none;
  }
  
  .d2h-file-switch {
    display: none;
    font-size: 10px;
    cursor: pointer;
  }
  
  .d2h-icon-wrapper {
    line-height: 31px;
  }
  
  .d2h-icon {
    vertical-align: middle;
    margin-right: 10px;
    fill: currentColor;
  }
  
  .d2h-deleted {
    color: #c33;
  }
  
  .d2h-added {
    color: #399839;
  }
  
  .d2h-changed {
    color: #d0b44c;
  }
  
  .d2h-moved {
    color: #3572b0;
  }
  
  .d2h-tag {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 10px;
    margin-left: 5px;
    padding: 0 2px;
    background-color: #fff;
  }
  
  .d2h-deleted-tag {
    border: #c33 1px solid;
  }
  
  .d2h-added-tag {
    border: #399839 1px solid;
  }
  
  .d2h-changed-tag {
    border: #d0b44c 1px solid;
  }
  
  .d2h-moved-tag {
    border: #3572b0 1px solid;
  }
  
  /*
   * Selection util.
   */
  
  .selecting-left .d2h-code-line,
  .selecting-left .d2h-code-line *,
  .selecting-right td.d2h-code-linenumber,
  .selecting-right td.d2h-code-linenumber *,
  .selecting-left .d2h-code-side-line,
  .selecting-left .d2h-code-side-line *,
  .selecting-right td.d2h-code-side-linenumber,
  .selecting-right td.d2h-code-side-linenumber * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  .selecting-left .d2h-code-line::-moz-selection,
  .selecting-left .d2h-code-line *::-moz-selection,
  .selecting-right td.d2h-code-linenumber::-moz-selection,
  .selecting-left .d2h-code-side-line::-moz-selection,
  .selecting-left .d2h-code-side-line *::-moz-selection,
  .selecting-right td.d2h-code-side-linenumber::-moz-selection,
  .selecting-right td.d2h-code-side-linenumber *::-moz-selection {
    background: transparent;
  }
  
  .selecting-left .d2h-code-line::selection,
  .selecting-left .d2h-code-line *::selection,
  .selecting-right td.d2h-code-linenumber::selection,
  .selecting-left .d2h-code-side-line::selection,
  .selecting-left .d2h-code-side-line *::selection,
  .selecting-right td.d2h-code-side-linenumber::selection,
  .selecting-right td.d2h-code-side-linenumber *::selection {
    background: transparent;
  }




.black_overlay{
    display: none;
    background:rgba(189,189,189,0.45);
    position: absolute;
    text-align:center;
    position:fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index:1001;
    margin: 0 auto;
}
.white_content {
    display: none;
    background:rgba(189,189,189,0);
    text-align:center;
    z-index:1002;
    width:600px;
    margin:10% auto;
}
.showsearch{
    width:600px;
    margin:0 auto;
}


.searchtxt{
    background:#ffffff;
    border-style:solid none solid none;
    width:600px;
    height:50px;
    font-size:16px;
    opacity:1;
    -moz-opacity:1;
    filter:alpha(opacity=100);
    background:url("/_static/search.png");
    background-position: 5px 3px;
    padding:0px 0px 0px 45px;
}

.searchli{
    font-family:PingFangSC-Regular;
    font-size:14px;
    color:#999999;
    text-decoration:none;
    width:100%;
    text-align:left;
    padding:6px 0 0 45px;
    list-style:none;
    height:54px;
    border-bottom:1px solid #EEE;
    cursor:pointer;
    text-overflow:ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.searchlich{
    font-family:PingFangSC-Regular;
    font-size:14px;
    background-color:#666666;
    color:#ffffff;
    text-decoration:none;
    width:100%;
    text-align:left;
    padding:6px 0 0 45px;
    list-style:none;
    height:54px;
    border-bottom:1px solid #EEE;
    cursor:pointer;
    text-overflow:ellipsis;
    overflow: hidden;
    white-space: nowrap;
}


.searchul{
    background:#ffffff;
    box-shadow:1px 1px 2px 0 inset;
    box-shadow: 0 10px 30px #AAA;
    border-radius:0px 0px 5px 5px;
    width:600px;
    max-height:70%;
    position:fixed;
    overflow:auto;
    margin:0px auto;
    padding:0;
    opacity:1;
    -moz-opacity:1;
    filter:alpha(opacity=100);
}
