/* code */
@import "highlighter.css";

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    background: #fff;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

figure {
    margin: 0;
}

body {
    margin: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup,
main, menu, nav, section, summary {
    display: block;
}


body {
    color: #262626;
    font-family: "Source Sans Pro", "Trebuchet MS", Helvetica, Arial, sans-serif;
    font-size: 1.25em;
    word-wrap: break-word;
}



h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin: 0.67em 0;
    font-family: 'Roboto Slab', Georgia, serif;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #262626;
}

h1 a {
    font-size: 1em;
}

.home #main h1 {
    font-size: 3em;
    line-height: 1;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.15em;
}

.caption {
  font-size: .9em;
  display: block;
  text-align: center;
  margin-top: 6px;
}

@media screen and (max-width: 768px) {

    body {
    font-size: 1.1em;
    }

    .home #main h1 {
        font-size: 2.7em;
    }

    h1 a {
      font-size: .95em;
    }

    header#main h1 {
        font-size: 2.1em;
    }

    p {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 450px) {

  body {
  font-size: .9em;
  }

  h1 a {
    font-size: .9em;
  }

  header#main h1 {
        font-size: 1.8em;
    }

    p {
        font-size: 1.3em;
    }
}

blockquote {
    font-size: .9em;
    border-left: 2px solid #9fd2e3;
    margin: 1em 1em;
    padding: 0.75em 1em;
    background-color: #EEF7FA;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

blockquote p:last-child, footer p:last-child {
    margin-bottom: 0;
}

table {
    table-layout: fixed;
    width: 100%;
    word-wrap: break-word;
    overflow-x: scroll;
    display: inline-block;
}

td, th {
    padding: 0.5em 1em;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
}

table, dl, kbd, samp {
    margin: 1em 0;
}

dt {
    font-weight: bold;
}

dd {
    margin-left: 2em;
}

p, ol, ul, dl, .math-display {
    line-height: 1.5;
    margin-bottom: 1em;
}

.math-display {
    display: inline-block;
    width: 100%;
}

li p {
    display: inline
}

li > ul, li > ol {
    margin-bottom: 0;
    margin-left: 1em
}

ol, ul {
    list-style-position:inherit;
    padding-left: 2em;
    font-size: .8em;
}

hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #fff;
    margin: 1em 0;
}

a {
    color: #337ab7;
    text-decoration: none
}

iframe, img, embed, object, video {
    max-width: 100%;
    padding: 0 10%
}

img[align=left] {
    margin-right: 3%
}

img[align=right] {
    margin-left: 3%
}

#post-nav {
    padding: 3% 6%
}

@media (max-width: 1000px) {
    #post-nav {
        padding: 3% 3%
    }
}

article, .comments, .feature-image .post-content, .feature-image footer,
.posts .post-teaser, .site-footer {
    padding: 1% 23%
}


@media (max-width: 1000px) {
    article, .comments, .feature-image .post-content, .feature-image footer,
    .posts .post-teaser, .site-footer {
        padding: 6% 12.5%
    }
}

@media (max-width: 576px) {
    article, .comments, .feature-image .post-content, .feature-image footer,
    .posts .post-teaser, .site-footer {
        padding: 4%
    }
}

.call-out {
    padding: 6% 20%
}

@media (max-width: 1000px) {
    .call-out {
        padding: 9% 12.5%
    }
}

@media (max-width: 576px) {
    .call-out {
        padding: 6%
    }
}

/* .header-txt-shadow, .call-out p, .call-out a, .call-out li, .call-out h1,
.call-out h2, .call-out h3, .call-out h4, .call-out h5, h1.title {
    text-shadow: 1px 1px 2px #3f3f3f;
} */


.button {
    border-radius: 0.3em;
    border: 1px solid;
    display: inline-block;
    margin: 1em 0;
    padding: 0.5em 0.75em
}

.button-link:hover, a.button:hover {
    background: #337ab7;
    border: 1px solid #337ab7;
    color: #fff;
    text-decoration: none
}

.body-link:hover, article a:hover, .posts .post-teaser p a:hover {
    text-decoration: underline;
    color: #22527b
}

.post-link:hover {
    text-decoration: none;
    color: #4f93ce
}

.disabled {
    opacity: 0.7
}

.text-center {
    text-align: center
}

.right {
    float: right
}

article, .comments {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    float: left;
    width: 100%
}

article header {
    margin-bottom: 6%;
    text-align: left;
}

article .footnotes {
    font-size: 0.9em
}

footer {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.9em;
    display: inline-block;
    text-align: center
}

footer .meta, footer #post-nav p, #post-nav footer p {
    display: inline
}

footer a.button {
    margin-left: 1em
}

header h1 {
    margin: 8px 0;
    line-height: 1.1;
}

header {
  border-bottom: 1px solid silver;
}

.meta, #post-nav p {
    color: #595959;
    letter-spacing: 0.1em;
    margin: 0;
    text-transform: uppercase
}

.post-info {
    border-radius: 1em;
    padding-right: 0.5em;
    display: inline-flex
}

.post-info a {
    display: flex;
    align-items: center
}

.post-info img {
    border-radius: 1em;
    padding: 0px;
    width: 1.5em;
    height: 100%;
    margin-right: 0.5em
}

.feature-image {
    padding: 0
}

.feature-image .post-link {
    color: #fff
}

.feature-image header {
    color: #fff;
    margin-bottom: 0;
    padding: 8% 20%
}

.feature-image header .meta, .feature-image header #post-nav p, #post-nav .feature-image header p {
    color: rgba(255, 255, 255, 0.7)
}

.feature-image .post-content {
    padding-bottom: 0
}

.feature-image footer {
    padding-top: 0
}

@media screen and (max-width: 768px) {
    .feature-image header {
        padding: 4% 4%
    }
}

@media screen and (min-width: 768px) {
    .feature-image header {
        background-size: 120% auto
    }

    .editlink {
      display:none;
    }
}

@media screen and (max-width: 768px) {
    .feature-image header {
        background-size: 200% auto
    }
}

@media screen and (max-width: 450px) {
    .feature-image header {
        background-size: 400% auto
    }
}

.call-out {
    display: inline-block;
    width: 100%;
    height: 100%;
    /* font-size: 1.2em; */
    text-align: center;
    color: #FFF;
    background: #337ab7 no-repeat;
    /* background-size: contain; */
}

@media screen and (min-width: 768px) {
    .call-out {
        background-size: 120% auto
    }
}

@media screen and (max-width: 768px) {
    .call-out {
        background-size: 200% auto
    }
}

@media screen and (max-width: 450px) {
    .call-out {
        background-size: 400% auto
    }
}

.call-out p:last-child {
    margin-bottom: 0
}

#main {
  display: inline-block;
  width: 100%;
  height: 100%;
  /* font-size: 1.2em; */
  text-align: center;
  color: #FFF;
  background: #337ab7 no-repeat;
  background-size: cover;
  background-position: center;
  /* background-origin: content-box; */
}

.posts .post-teaser {
    width: 100%;
    margin-bottom: 0;
    display: inline-block;
    background-size: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1)
}

.posts .post-teaser .post-img {
    vertical-align: middle;
    /* border-radius: 10px; */
    overflow: hidden
}

.post-img img {
object-fit: cover !important;
width: 100%;
height: 100%;
max-height: 100%;
}

@media (min-width: 768px) {
    .posts .post-teaser .post-img {
        height: 250px
    }
}

@media screen and (max-width: 768px) {
    .posts .post-teaser .post-img {
        height: 150px
    }
}

.posts .post-teaser .post-img img {
    width: 100%;
    padding: 0;
    vertical-align: middle
}

.posts .post-teaser .post-img img {
    -moz-transition-timing-function: ease-out;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -moz-transition: all 2s;
    -webkit-transition: all 2s;
    transition: all 2s
}

.posts .post-teaser .post-img img:hover {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1)
}

.posts .excerpt {
    margin-top: 1em
}

.subtitle {
    font-weight: normal;
    margin-top: 5px;
    /* text-shadow: 1px 1px 2px #3f3f3f */
}

.tag-list {
    width: 100%;
    font-size: 0.9em;
    padding-bottom: 3%
}

.tag-list div.meta {
    margin-right: 0.5em
}

.tag-list a.button {
    margin: 0.1em;
    padding: 0.2em 0.4em
}

.tag-list p {
    margin: 0;
    padding: 0 0.2em 0 0
}

.tag-anchor {
    margin-bottom: 0;
}

.tag-anchor a {
    color: #337ab7;
}

h3.tag-anchor {
  font-size: 1em;
}


h3.tag-anchor i {
  margin-top: -40px;
  padding-bottom:40px;
  display:block;
  visibility: hidden;
}



.tag-anchor a:hover {
    text-decoration: none
}

.tag-posts {
    display: inline-block;
    width: 100%
}

.tag-posts .tag-title {
    margin-top: 0;
    margin-bottom: 0
}

.tag-posts .tag-title a {
    margin-left: 3%
}

.tag-posts .meta, .tag-posts #post-nav p, #post-nav .tag-posts p {
    display: inline;
    float: right;
    font-size: 0.7em;
    line-height: normal
}

.search-bar {
    display: block;
    width: 90%;
    height: 46px;
    padding: 6px 12px;
    font-size: 18px;
    line-height: 1.43;
    color: #262626;
    background: #fff none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s
}

.search-bar:focus, .search-bar:hover {
    border-color: #337ab7;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(51, 122, 183, 0.4);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(51, 122, 183, 0.4)
}

.search-bar::-moz-placeholder {
    color: #999;
    opacity: 1
}

.search-bar:-ms-input-placeholder, .search-bar::-webkit-input-placeholder {
    color: #999
}

.search-bar input[type=text] {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 6px
}

.search-title a h3 {
    margin: 0
}

.search-title a:hover {
    text-decoration: none
}

.site-footer {
    display: inline-block;
    text-align: center;
    width: 100%;
    color: #636363;
    font-size: 0.9em
}

.site-footer .footer-icons ul {
    list-style: none
}

.site-footer .footer-icons ul li {
    display: inline;
}

.site-footer .footer-icons ul li a {
    color: #87758e;
}

.site-footer .footer-icons ul a:hover {
    color: #22527b
}

#post-nav {
    width: 100%;
    display: inline-block
}

#post-nav a {
    width: 100%;
    padding: 0;
    margin: 0
}

#post-nav #previous-post {
    float: left
}

#post-nav #next-post {
    float: right
}

@media screen and (max-width: 450px) {
    #post-nav a, #post-nav p {
        font-size: 0.8em
    }
}

.site-header {
background: #fff;
width: 100%;
top:0;
padding-right: 20px;
height: 55px;
z-index: 100;
display: flex;
justify-content: space-between;
align-items: center;
}



.site-header .separator {
    user-select: none;
    opacity: 0
}

.site-header .separator:first-child {
    display: none
}

.site-header a {
    color: #383838
}

.branding {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin:0;
  padding:0;
}

.branding img.avatar {
  display: block;
    max-height: 45px;
    /* width: 50px; */
    margin: 0 0.5em;
    padding:0;
}

.site-header .site-title {
    font-weight: bold;
    font-size: 1.3em
}

.site-header nav {
  font-family: "Source Sans Pro", "Trebuchet MS", Helvetica, Arial, sans-serif;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.5;
    float: right;
    text-align: right;
    display: block;
}

.site-header nav li {
    display: inline;
    float: left;
    margin: 0;
    padding: 5px 9px;
  }
  
  .site-header nav a:hover {
    color: #812db9;
  }
  
  .site-header nav li:hover {
    background-color: #e4fdbd;
  }

.site-header nav a#pull i {
    /* margin-top: 13px; */
    float: right
}

.clear {
    * zoom: 1
}

.clear:after {
    clear: both
}

.clear:before, .clear:after {
    content: " ";
    display: table
}

@media (min-width: 768px) {
    a#pull {
        display: none
    }
}

@media screen and (max-width: 768px) {



    nav {
        height: auto;
        width:auto;
    }

    nav .separator {
        display: none !important
    }

    nav ul {
      width: 100%;
      overflow: hidden;
      transition: font-size .25s, margin .25s, padding .25s, opacity .5s .25s;
      background: white;
      z-index: 100;
      opacity: .9;
      position: fixed;
      right:0;
      top: 55px;  /* this will be changed in the settings */
    }

    .site-header nav li {
        padding-right: 20px;
      }

    nav ul.willhide {
        font-size: 0;
        margin: 0;
        opacity: 0;
        padding: 0;
        transition: opacity .25s, font-size .5s .25s, margin .5s .25s, padding .5s .25s;
    }

    nav li {
        width: 100%;
        float: left;
        position: relative;
    }

    nav a {
        text-align: left;
        width: 100%
    }

    nav a#pull {
        display: block;
        width: 100%;
        position: relative
    }

    nav a#pull:after {
        content: "";
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 10px
    }
}

.portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 400px
}

.portfolio-link .caption {
    margin: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s
}

.portfolio-link .caption::before {
    content: ' ';
    display: inline-block;
    vertical-align: middle;
    height: 100%
}

.portfolio-link .caption:hover {
    opacity: 1
}

.portfolio-link .caption .caption-content {
    font-size: 15px;
    color: white;
    text-shadow: -1px 0 #ddd, 0 1px #ddd, 1px 0 #ddd, 0 -1px #ddd;
    display: inline-block;
    vertical-align: middle
}

@media screen and (max-width: 450px) {
    .portfolio-link .caption .caption-content {
        font-size: 7px
    }
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around
}

.portfolio-cell {
    flex: 0 0 32%;
    margin-bottom: 10px
}

.grid {
    padding-bottom: 6%;
    padding-top: 1%
}

.grid:after {
    content: '';
    display: block;
    clear: both
}

.grid-sizer, .grid-item {
    width: 32.6%
}

.grid-item {
    float: left;
    border-radius: 5px
}

.grid-item img {
    display: block;
    max-width: 100%;
    min-height: 30%
}

.gutter-sizer {
    width: 1%
}

.grid-item:first-of-type {
    margin-bottom: 1%
}

.grid-item {
    margin-bottom: 1%
}

ul.share-buttons {
    list-style: none;
    padding: 1.5% 0 1.5% 0;
    margin: 0;
    text-align: center
}

ul.share-buttons div.meta {
    display: inline;
    margin-right: 0.5em
}

ul.share-buttons li {
    display: inline
}

ul.share-buttons li a:hover {
    text-decoration: none
}

ul.share-buttons .sr-only {
    position: absolute;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden
}

.pagination {
    padding: 4% 20% 0 20%;
    display: inline-block;
    text-align: center;
    width: 100%;
    clear: both
}

@media (max-width: 600px) {
    .pagination {
        padding: 4%
    }
}

.pagination:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle
}

.pagination .page_number {
    display: inline-block;
    vertical-align: sub
}

@media (max-width: 254px) {
    .pagination .page_number {
        display: none
    }
}

.pagination .button {
    margin: 0em;
    display: inline-block
}

.pagination .button .fa.fa-chevron-right, .pagination .button .fa.fa-chevron-left {
    font-size: initial
}

.pagination .button i .fa-chevron-left .fa-chevron-right {
    vertical-align: inherit
}

@media (max-width: 768px) {
    .pagination .button {
        display: table-cell
    }
}

.pagination .previous {
    float: left
}

.pagination .next {
    float: right
}



.post-content {
  /* border: 1px solid red; */
}

.post-content img {
  display: block;
  max-width: 100%;
  padding:0;
  margin:auto;
  max-height: 600px;
}


.call-out {
background-color: rgb(61, 172, 147);
background-repeat: no-repeat;
background-position: center;
/* background-size: 100%;
background-size: cover; */
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}

a {
    background-color: transparent
}

a:active, a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

dfn {
    font-style: italic
}

/* h1 {
    font-size: 2em;
    margin: 0.67em 0
} */

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button, select {
    text-transform: none
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], html input[disabled] {
    cursor: default
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    height: auto
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

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

td, th {
    padding: 0
}

div.highlighter-rouge, figure.highlight {
    position: relative;
    margin-bottom: 1em;
    background: #263238;
    color: #eff;
    font-family: Monaco, Consolas, "Lucida Console", monospace;
    font-size: .75em;
    line-height: 1.8;
    border-radius: 4px
}

div.highlighter-rouge > pre, div.highlighter-rouge pre.highlight,
figure.highlight > pre, figure.highlight pre.highlight {
    margin: 0;
    padding: 1em
}

code.highlighter-rouge {
    padding: 0.2em 0.4em;
    font-size: .75em;
    background-color: rgba(38, 50, 56, 0.15);
    color: #24292e;
    border-radius: 2px;
    font-family: Monaco, Consolas, "Lucida Console", monospace
}

.highlight table {
    margin-bottom: 0;
    font-size: 1em;
    border: 0
}

.highlight table td {
    padding: 0;
    width: calc(100% - 1em);
    border: 0
}

.highlight table td.gutter, .highlight table td.rouge-gutter {
    padding-right: 1em;
    width: 2em;
    color: #B2CCD6;
    border-right: 1px solid #B2CCD6;
    text-align: right
}

.highlight table td.code, .highlight table td.rouge-code {
    padding-left: 1em
}

.highlight table pre {
    margin: 0
}

.highlight pre {
    width: 100%
}



.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

.sr-only-focusable:active, .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto
}

.gist table tbody tr td {
    box-sizing: content-box
}

::selection {
    background: #D4D4D4
}

::-moz-selection {
    background: #D4D4D4
}


.editlink {
  display:inline;
  font-size: .6em;
  color: white;
  background: black;
  padding:4px;
  width:auto;
  border-radius: 4px;
  /* position: relative; */
}

.feature-image .editlink {
  text-align: center;
}

 a.editlink:hover, a.word:hover {
  text-decoration: none;
  background: #742f71;
  color: white;
}

a.word {
  margin: 0 auto;
  display:block;
  font-size: .8em;
  color: white;
  background: #d15e2d;
  padding:3px;
  width:50%;
}


.video-box {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	margin-bottom: 12px;
  width:100%;
}

.video-box iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
  padding: 0 !important;
}

/* hide the repeated title of the page */

.excerpt h1, .post-content h1 {
  display:none;
}

#main {

  display:flex;
  justify-content: center;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
}


li.active {
    background-color: #ebce7f;
  }