#page-wrapper {
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


body::-webkit-scrollbar {
    width: 0.2em;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 1px;
    border-radius: 1px;
}

body::-webkit-scrollbar-thumb {
    -webkit-border-radius: 1px;
    border-radius: 1px;
    background: rgba(170, 51, 17, 0.6);
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);*/
}

.article-cover {
    max-width: 100%;
    margin-top: 0;
    position: relative;
    max-height:460px;
    overflow:hidden;
    background:#eee;

    > div {
        max-height: 480px;
        line-height: 0;
    }

    .image {
        width: 100%;
        top: 0;
        position:relative;
    }
}


.front-cover {
    @extend .article-cover;
    height: 130px;
    background-color:#111;
    background-size:cover;
    background-position:center center;
    z-index:1;

    section {
        text-align: center;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom:0;
        background-color:rgba(0,0,0,0.4);
        background-image: linear-gradient(bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 100%);
        background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 100%);
        background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 100%);
        background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 100%);
        background-image: -ms-linear-gradient(bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 100%);

        background-image: -webkit-gradient(
            linear,
            left bottom,
            left top,
            color-stop(0, rgba(0,0,0,0.15)),
            color-stop(1, rgba(0,0,0,0))
        );
        padding: 100px 0;
        z-index:10;

        a:last-child {
            margin:1.5em 0 0 0;
        }
        a {
            color:#fff;
            border:0;
            width:36px;
            height:36px;
            border:2px solid rgba(255,255,255,1);
            display:inline-block;
            padding:10px 0;
            border-radius:42px;
            margin:1.5em 1em 0em 0;
            transition:0.2s all ease;
            line-height:0;
            text-align:center;

            &:hover {
                transition:0.2s all ease;
                background:#fff;

                .icon-rss {
                    background-position:1px -11px;
                }

                .icon-twitter {
                    background-position:0px -15px;
                }

                .icon-facebook {
                     background-position:0px -14px;
                 }
            }
        }
    }

    h1 {
        font-size:2.7em;
        line-height:1.4em;
        /*text-align: center !important;
        padding-bottom: 1em !important;*/
    }

    h3 {
        font-size:1.3em;
    }

    h1, h3 {
        color:#fff !important;
        margin:0;
        font-weight:600;
    }

}

.featured div {
    position: relative;
    color: white;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    h3 {
        padding-top: 0.5em;
    }

}




blockquote {
  background: #f9f9f9 !important;
  border-left: 10px solid #ccc !important;
  margin: 1.5em 10px !important;
  padding: 0.5em 10px !important;
  quotes: "\201C""\201D""\2018""\2019" !important;
  font-style: normal !important;
}
blockquote:before {
  color: #ccc !important;
  font-size: 4em !important;
  line-height: 0.1em !important;
  margin-right: 0.25em !important;
  vertical-align: -0.4em !important;
}
blockquote p {
  /*display: inline !important;*/
}

.site-title {
    display: inline-block !important;
}

#site-version {
    text-transform: lowercase;
}


.page-content>p:first-child {
    font-size: 18px !important;
  font-size: 1.125rem !important;
  line-height: 1.55556 !important;
  margin-bottom: 24px !important;
  margin-bottom: 1.5rem !important;
}

/*#main .inner-wrap {width: 95% !important;}*/


figure {
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  padding-bottom: 1em;
}

/* Design figure caption BEGIN */
/* Grabed from https://css-tricks.com/slide-in-image-captions */

/*figcaption {
  position: absolute !important;
  background: rgba(0,0,0,0.75) !important;
  color: white !important;
  padding: 10px 20px !important;
  opacity: 0 !important;
  bottom: 0em !important;
  left: -30% !important;
  -webkit-transition: all 0.6s ease !important;
  -moz-transition:    all 0.6s ease !important;
  -o-transition:      all 0.6s ease !important;
}

figure:hover figcaption {
  opacity: 1 !important;
  left: 0 !important;
}

figure:before {
  content: "?" !important;
  position: absolute !important;
  background: rgba(255,255,255,0.75) !important;
  color: black !important;
  width: 24px !important;
  height: 24px !important;
  -webkit-border-radius: 12px !important;
  -moz-border-radius:    12px !important;
  border-radius:         12px !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 24px !important;

  -webkit-transition: all 0.6s ease !important;
  -moz-transition: all 0.6s ease !important;
  -o-transition: all 0.6s ease !important;
  opacity: 0.75 !important;
  bottom: 2em !important;
  left: 10px !important;
  border: 2px solid #000;
}
figure:hover:before {
  opacity: 0 !important;
}
*/

figure figcaption {
    background: rgba(236, 233, 233, 0.75) !important;
      color: #888282 !important;
      padding: 2px 5px 0px 5px !important;
      bottom: 0em !important;
      text-align: center;
      margin-left: auto !important;
    margin-right: auto !important;
    max-width: 90%;
}

figure img {
    margin-left: auto !important;
    margin-right: auto !important;
}

figure.highlight:hover {
  opacity: 1 !important;
  left: 0 !important;
}

figure.highlight:before {
  content: "" !important;
  position: absolute !important;
  background: rgba(255,255,255,0.75) !important;
  color: black !important;
  width: 1px !important;
  height: 1px !important;
  -webkit-border-radius: 1px !important;
  -moz-border-radius:    1px !important;
  border-radius:         11px !important;
  text-align: center !important;
  font-size: 1px !important;
  line-height: 1px !important;
  /* Only Fx 4 supporting transitions on psuedo elements so far... */
  -webkit-transition: all 0.6s ease !important;
  -moz-transition: all 0.6s ease !important;
  -o-transition: all 0.6s ease !important;
  opacity: 0.75 !important;
  bottom: 2em !important;
  left: 10px !important;
}
figure.highlight:hover:before {

}



/* Design figure caption END */


/* See also: nicolasgallagher.com/pure-css-gui-icons */
.anchorjs-link {
  border-color: #FF5231 #FF5231 transparent;
  border-width: 15px 7px 6px;
  border-style: solid;
  margin-top: 10px;
  font-size: 22px;
  padding-right: 0 !important;
}

#footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #FFF;
    list-style: none !important;
    list-style-type: none !important;
}

#footer li {
    float: left;
}

#footer li a {
   font-size: 70%;
    display: inline-block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: gray;
}

#footer li a:hover {
    color: #A31;
}

#footer p {
   font-size: 70%;
    display: inline-block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

#footer p a {
    display: inline-block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: black;
}

#footer p a:hover {
    color: #A31;
}

#footer hr
{
   display: block;
   position: relative;
   padding: 0;
   margin: 8px auto;
   height: 0;
   width: 100%;
   max-height: 0;
   font-size: 1px;
   line-height: 0;
   clear: both;
   border: none;
   border-top: 1px solid #aaaaaa;
   border-bottom: 1px solid #ffffff;
}

.container {
    max-width: 50rem !important;
}

li>ul {
  margin-bottom: 0.1rem;
}
.post>ul {
   margin-bottom: 1em !important;
}

#markdown-toc
{
   border-style: dashed;
    border-width: thin;
    border-color: #9C9C9C;
    padding: 1em 1em 1em 2em;
    white-space: nowrap;
    display: inline-block;
    float: right;
    max-width: 45%;
    word-wrap: break-word;
    overflow: auto;
    overflow-y: hidden;
    text-overflow: ellipsis;
}
#markdown-toc>ul,>ol,>dl {
    margin-bottom: 0 !important;
}

#markdown-toc::-webkit-scrollbar {
    height: 2px;
}

#markdown-toc::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 1px;
    border-radius: 1px;
}

#markdown-toc::-webkit-scrollbar-thumb {
    -webkit-border-radius: 1px;
    border-radius: 1px;
    background: rgba(170, 51, 17, 0.5);
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);*/
}

#sidebar {
    background-color: black !important;
}

.page-meta p
{
   text-align: right;
    font-size: 70%;
}

.til-subsection {
    text-align: center;
    padding: 1em;
}

.totd-subsection {
    text-align: center;
    padding: 1em;
}

/* Glyph, by Harry Roberts */

hr.paragraph {
    padding: 0;
    border: none;
    border-top: medium double #333;
    color: #333;
    text-align: center;
}
hr.paragraph:after {
    content: "";
    display: inline-block;
    position: relative;
    top: -0.9em;
    font-size: 1em;
    padding: 0 0.25em;
    background: white;
    z-index: 9999;
}


/* Wave */
@mixin wavy-border($color:#000, $stroke:1, $width:50, $height:25) {
  border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 #{$width} #{$height+$stroke}" width="#{$width}" height="#{$height+$stroke}"><path fill="none" stroke="#{$color}" stroke-width="#{$stroke}" d="M0,#{$height+($stroke/2)}c#{$width/4},0,#{$width/4}-#{$height},#{$width/2}-#{$height}s#{$width/4},#{$height},#{$width/2},#{$height}"/></svg>') 0 0 100% repeat;
  border-width: 0 0 #{$height+$stroke}px;
  border-style: solid;
}

.wave {
  width: 35%;
  @include wavy-border(hsla(0, 0%, 75%, 0.9), 3, 12, 12);
  position: relative;
}

.wave:before,
.wave:after {
  position: absolute;
  display: block;
  width: 20px;
  height: 30px;
  background-color: hsl(0, 0%, 75%);
  bottom: -22.5px;
}

.wave:before {
  border-radius: 30px 0 0 30px;
  left: -2px;
}

.wave:after {
  border-radius: 0 30px 30px 0;
  right: -2px;
}

.accessory {
  height: 6px;
  background-image: radial-gradient(
    closest-side,
    hsla(0, 0%, 50%, 1.0),
    hsla(0, 0%, 50%, 0) 100%);
  position: relative;
}
.accessory:after {
  position: absolute;
  top:  50%;
  left: 50%;
  display:block;
  background-color: hsl(0, 0%, 75%);
  height: 12px;
  width:  12px;
  transform: rotate(45deg);
  margin-top:  -10px;
  margin-left: -10px;
  border-radius: 4px 0;
  border: 4px solid hsla(0, 0%, 100%, 0.35);
  background-clip: padding-box;
  box-shadow: -10px 10px 0 hsla(0, 0%, 100%, 0.15), 10px -10px 0 hsla(0, 0%, 100%, 0.15);
}


.bookends {
  position: relative;
  border-width: 5px;
  border-color: hsl(0, 0%, 50%) transparent;
  height: 11px;
  border-style: double;
  width: 20%;
}
.bookends:before,
.bookends:after {
  position: absolute;
  bottom: -3.536px;
  width: 7.071px;
  height: 7.071px;
  display: block;
  border-width: 0 7.071px 7.071px 0;
  border-color: hsl(0, 0%, 50%);
  border-style: double;
  box-sizing: border-box;
}
.bookends:before {
  transform: translateZ(0) rotate(-45deg);
  left: -21px;
}
.bookends:after {
  transform: translateZ(0) rotate(135deg);
  right: -21px;
}


/* Design Notes div with different styles */

.notes--info, .notes--success, .notes--warning, .notes--error {
    padding:20px;
    margin:10px 0;
}
.notes--info:before, .notes--success:before, .notes--warning:before, .notes--error:before {
    font-family:FontAwesome;
    font-style:normal;
    font-weight:400;
    speak:none;
    display:inline-block;
    text-decoration:inherit;
    width:1em;
    margin-right:.2em;
    text-align:center;
    font-variant:normal;
    text-transform:none;
    line-height:1em;
    margin-left:.2em;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale
}
.notes--info:before {
    content:"\f05a";
    padding-bottom: 1em;
    opacity: 0.3;
}
.notes--success:before {
    content:'\f00c';
    padding-bottom: 1em;
    opacity: 0.3;
}
.notes--warning:before {
    content:'\f071';
    padding-bottom: 1em;
    opacity: 0.3;
}
.notes--error:before {
    content:'\f057';
    padding-bottom: 1em;
    opacity: 0.3;
}
.notes--info {
    /*color: #00529B;*/
    /*background-color: #BDE5F8;*/
    border: 2px solid #BDE5F8;
}
.notes--success {
    /*color: #4F8A10;*/
    /*background-color: #DFF2BF;*/
    border: 2px solid #DFF2BF;
}
.notes--warning {
    /*color: #9F6000;*/
    /*background-color: #FEEFB3;*/
    border: 2px solid #FEEFB3;
}
.notes--error {
    /*color: #D8000C;*/
    /*background-color: #FFBABA;*/
    border: 2px solid #FFBABA;
}

/* .btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    font-size: 14px;
    font-size: .875rem;
    line-height: 1.71429;
    margin-bottom: 24px;
    margin-bottom: 1.5rem;
    background-color: #000;
    color: #fff;
    border: 2px solid #000 !important;
    border-radius: 3px;
    text-decoration: none;
}

.btn:hover {
  background-color: white;
  color: black;

    text-decoration: none;
} */

.btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    font-size: 14px;
    font-size: .875rem;
    line-height: 1.71429;
    margin-bottom: 24px;
    margin-bottom: 1.5rem;
    background-color: white;
    color: black;
    border: 2px solid #000 !important;
    border-radius: 3px;
    text-decoration: none;
}

.btn:hover {
  background-color: #000;
  color: #fff;

    text-decoration: none;
}

.btn--light {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    font-size: 14px;
    font-size: .875rem;
    line-height: 1.71429;
    margin-bottom: 24px;
    margin-bottom: 1.5rem;
    background-color: #fff;
    color: #515151;
    border: 2px solid #000 !important;
    border-radius: 3px;
    text-decoration: none;
}

.btn--light:hover {
  background-color: white;
  color: black;
  text-decoration: none;
}


/*Kanban CSS*/

.kanban {
width: 100%;
overflow-x: scroll;
border-top: 1px solid #888;
padding-top: 1em;
border-bottom: 1px solid #888;
margin-bottom: 3em;
}

ul.kanban__columns {
  width: 960px;
}

ul.kanban__columns,
li.kanban__column {
  list-style: none;
  margin: 0;
  padding: 0;
}

li.kanban__column {
/*   background-color: #eee; */
  border-radius: 0px;
  float: left;
  margin-right: 0px;
  padding: 4px 8px;
  width: 310px;
}

dl.kanban__card {
  border: 1px solid #000;
}

dl.kanban__card,
dl.kanban__card dt.kanban__card,
dl.kanban__card dd.kanban__card {
  margin: 0;
  padding: 0;
}

dl.kanban__card {
/*   background-color: #eee; */
  border-radius: 3px;
  font-size: 9pt;
  margin: 8px;
  padding: 12px;
}

dt.kanban__card {
  border-bottom: 1px dotted #232323;
  font-weight: bold;
}

dd.kanban__card {
  padding-top: 0.5em;
}

ul.kanban__columns li.kanban__column div.kanban__name {
  border-bottom: 2px solid #eee;
}
div.kanban__name {
  text-align: center;
}
h2.kanban__head {
 text-align: center;
}


/* for mermaid graph */

div.mermaid {
text-align: center !important;
}

div.footnotes {
   margin-top: 2em !important;
   padding-top: 2em !important;
   border-top: 1px solid #c3c3c3 !important;
}


.show-comments {
   background-color: white;
   color: black;
   cursor: pointer;
}
.disqus-lazy-button-center {
    text-align: center;
}
