/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

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

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
    width: 100%;
    margin: 20px 5px;
}

code {
    font-size: 15px;
    font-family: 'Source Code Pro', monospace;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

h2, h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #303030;
    font-family: 'PT Sans', 'Source Serif Pro', serif;
}


#main,
#sidebar {
    position: absolute;
    top: 40px;
}
* {
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: 'liga', 'kern';
    font-stretch: normal;
    -webkit-font-kerning: auto;
    font-kerning: auto;
    -webkit-font-smoothing: antialiased!important;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .004);
    vertical-align: baseline;
    font-family: 'PT Sans', 'Source Serif Pro', serif;
}


#main p,
#sidebar h2 {
    font-family: 'PT Sans', 'Source Sans Pro', sans-serif;
}

#main {
    font-size: 16px;
    left: 280px;
    width: 600px;
    text-align: justify;
}
#main h1 {
    margin-top: 0;
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -1px;
}

#main p {
    line-height: 22px;
    margin: 12px 0;
}

#main h1 a {
    color: inherit;
    text-decoration: none;
}

#sidebar {
    left: 20px;
    width: 200px;
    padding: 20px 20px 0 0;
    border-right: 1px solid #ccc;
    text-align: right;
}
#sidebar h2 {
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}
#sidebar ul {
    list-style-type: none;
    margin: 10px 0;
}
#sidebar li {
    font-size: 14px;
    line-height: 20px;
}

#nav {
    display: none;
    margin-bottom: 20px
}

#nav li {
    display: inline;
    margin-right: 7px
}

#nav img.logo {
    width: 65px;
    margin-bottom: 10px;
}


@media only screen and (max-width: 800px){
    #sidebar {
        left: 0;
        width: 190px;
        padding: 20px 12px 0 0;
    }

    #main {
        left: 214px;
        width: 486px;
    }
}


@media only screen and (max-width: 700px){
    #nav {
        /* display: initial; */
        display: none;
    }

    #sidebar {
        display: none;
    }

    #main {
        left: 15px;
        width: calc(100% - 30px);
    }
}


.social {
    margin: 50px 0;
    padding-top: 25px;
    border-top: 1px solid #aaa;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
}
a.changelog {
    color: #00f;
}
a.changelog:hover {
    color: #333;
}
.social div {
    flex-grow: 1;
    text-align: center;
}


img.logo {
    width: 113px;
}

*:focus {
    outline: none;
}


.links {
    color: inherit;
    font-family: 'PT Sans', 'Source Sans Pro', serif;
}

.links:hover {
    color: #00f;
}

.post-info {
    color: grey;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}

ul li {margin-left: 15px;}

/* tables */
table {
    margin: 20px;
    border-collapse: collapse;
    border-collapse: collapse;
    empty-cells: show;
    border-spacing: 0;
    border: 1px solid #ddd;
}
caption {
    caption-side: top;
    text-align: left;
    margin: 0 0 .3em;
}
th,
td {
    padding: .3em .5em;
    margin: 0;
    vertical-align: top;
    border: 1px solid #ddd;
    text-align: left;
}
th {
    font-weight: bold;
    background-color: #efeded;
}
tr:hover {background-color: #f5f5f5;}

/* links */
a:link,
a:link:active,
a:visited,
a:visited:active {
    text-decoration: none;
    color: #005181;
}
a:link:hover,
a:link:focus,
a:link:active,
a:visited:hover,
a:visited:focus,
a:visited:active {
    text-decoration: none;
    border-bottom: none;
    color: #2e3436;
    outline: none;
}
