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

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

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

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

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

pre  {
	background: #e5e5e5;
	overflow: scroll;
	border-left: 5px solid #44b9;
}

code {
	background: #e5e5e5;
	white-space: pre;
    font-family: "Iosevka", monospace;
	font-size: 0.9em;
	line-height: 1.5em;
}

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

h3 {
    margin-top: 25px;
    color: #22292d;
    font-family: "Iosevka", monospace;
}

#main,
#sidebar {
    position: absolute;
    top: 40px;
    background-color: #f4f4f4;
}
* {
    margin: 0;
	color: #22292d;
    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: "Iosevka", monospace;
    background-color: #f4f4f4;
}

#main li {
	margin-top: 15px;
	color: #22292d;
	font-size: 0.9em;
	list-style-type: square;
}

#sidebar h2 {
    font-family: "Iosevka", monospace;
	color: #22292d;
}


#main {
    left: 280px;
	color: #2a3338;
    background-color: #f4f4f4;
    width: 500px;
}
#main h1 {
    margin-top: 0;
    font-size: 40px;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: -1px;
    color: #ff2267;
}

#main p {
    font-family: Helvetica Neue, Helvetica, Verdana, Arial, sans-serif;
	color: #2a3338;
    font-size: 0.9em;
    line-height: 1.5em;
    margin: 12px 0;
}

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

a {
	color: #44b9b1;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#sidebar {
    left: 20px;
    width: 200px;
    border-right: 1px solid #ccc;
    padding: 20px 20px 0 0;
    text-align: right;
}

#sidebar a {
	color: #2a3338;
}
#sidebar a:visited {
	color: #2a3338;
}

#sidebar p.subtitle {
	margin-top: 0.3em;
	margin-left: 1em;
	font-size: 0.8em;
	color: #a0a0a0;
}

#sidebar a:hover {
	color: #44b9b1;
	text-decoration: underline;
}

#sidebar h1 {
	margin-left: 2.7em;
	color: #44b9;
}

#sidebar h1.title1 {
	color: #2a3338;
}

#sidebar h1.title2 {
	margin-left: 0.03em;
	color: #44b9b1;
}

#sidebar h1.title1, h1.title2 {
	display: inline;
}

#sidebar h2 {
    margin-top: 1em;
    padding-top: 1.2em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    font-size: 13px;
}
#sidebar ul {
    list-style-type: none;
    margin: 10px 0;
}

#sidebar li.recents {
	margin-top: 10px;
	margin-bottom: 10px;
   	padding-left: 5em; 
    font-size: 12px;
    line-height: 1.2em;
}

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

#nav ul {
	margin-bottom: 10px;
}

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

#nav img.logo {
    width: 0px;
    margin-bottom: 15px;
}

#sidebar a.license {
	font-size: 10px;
	color: #a2a2a2;
}

#sidebar img.license {
	margin-top: 10px;
	width: 50px;	
}

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

    #main {
        left: 15em;
        width: 450px;
    }
}


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

    #sidebar {
        display: none;
    }

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


.social {
	font-size: 0.8em;
    margin: 50px 0;
    padding-top: 1.5em;
    border-top: 1px dashed #aaa;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: flex-start;
}
a.changelog {
    color: #00f;
}
a.changelog:hover {
    color: #333;
}
.social div {
    flex-grow: 0.1;
    text-align: left;
}


img.logo {
    width: 50px;
}

*:focus {
    outline: none;
}


.links {
    color: inherit;
    font-family: Helvetica, 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;
}
