:focus {outline:none;}
::-moz-focus-inner {border:0;}


* { margin: 0; }
html, body {height: 100%;}
body {
	line-height: 1.3;
    font-size: 1.2em;
	font-family: 'Raleway', serif;
	background-color: #222;
    margin: 0 2%;
	color: #fff;
	/*	padding-bottom: 50ch; */
	max-width: 63ch;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0.2em;
	padding-right: 0.2em;
}
body:after {
  content: "";
  /*  height: 20em; */
  height: 100vh;
  display: block;
}

h1 {
	font-size: 1.55em;
}
h2 {
	font-size: 1.5em;
    margin-top: 15px;
}
h3 {
    font-size: 1.47em;
    margin-top: 15px;
}
h4 {
	font-size: 1.44em;
    margin-top: 15px;
}

a {
    text-decoration: none;
    color: #87C5E6; /*#5f76f7; */
}

.promotion {
    color: #DE5641; /* #d51d1d; */
    font-weight: 700;
}

p, pre {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

figure {
    margin-top: 1em;
    margin-bottom: 1em;
}
figure img {
    margin: auto;
    display: block;
}

figcaption {
    font-style: italic;
    font-size: 0.8em;
    text-align: center;
    margin-top: 0.3em;
}


#skiptomenu {
    font-size: 18px;
    display: block;
    margin: 10px 0;
    margin-bototm: 16px;
}

#header {
    margin-bottom: 15px;
}
#header a {
    color: #5dd55d;
}
#header h1 {
	font-size: 48px;
}
#wrap {
    min-height: 100%;
	overflow-wrap: break-word;
}

#main {
	/*
	max-width: 63ch;
	margin-left: auto;
	margin-right: auto;
*/
}

#main .date {
	text-align: right;
	padding-right: 2em;
}

#sidebar {
    padding-bottom: 100px;
    margin-top: 50px;
    margin-bottom: 4%;
}

#menu ul {
    padding-left: 7px;
}

ul li {
	padding-top: 0.12em;
	padding-bottom: 0.12em;
}

#menu li {
    list-style: none;
}

#footer {
/*    margin-left: 1%; */
/*    margin-right: 1%; */
    position: relative;
    margin-top: -100px;
    height: 100px;
    clear: both;
}

.note {
    clear: both;
    background-color: #306c3f;
    margin-bottom: 1em;
    margin-top: 1em;
    border-radius: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.4em;
    padding-top: 0.3em;
    padding-bottom: 0.4em;
}

a.note {
	color: white;
	text-decoration: underline;
}

.note a {
	color: white;
	text-decoration: underline;
}

.list_no_style ul {
    padding-left: 7px !important;
}

.list_no_style li {
	list-style: none;
}

/* 99problems */

.problem99 {
    padding-bottom: 15px;
}

.example99 {
    float: left;
    padding-right: 2em;
}

.solutions99 {
    clear: both;
}

/* misc */
.date {
    font-size: 0.8em;
}

pre {
    background-color: black;
    overflow: auto;
    padding: 0.3em;
    border-radius: 0.5em;
    border: 0.1em gray solid;
}

code {
    font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace !important;
    background-color: black;
}
div.sourceCode {
    font-size: 0.8em;
}
.sourceLine {
	color: white !important;
}

img {
    max-width: 100%
}

.blogindex  {
	padding-left: 0px;
}

.blogindex li {
    list-style: none;
}



blockquote {
	background: #5e5e5e;
	border-left: 0.3em solid #ccc;
	margin-top: 0.7em;
	margin-bottom: 0.7em;
	margin-left: 0.8em;
	padding: 0.5em 10px;
	border-radius: 0.5em;
}
blockquote:before {
  color: #ccc;
/*  content: open-quote; */
  font-size: 2em;
  line-height: 0.1em;
  vertical-align: -0.2em;
}
blockquote p {
  display: inline;
}

#discussions-around-the-web {
	margin-top: 1.3em;
	padding: 0.4em;
	background-color: #111;
	border-radius: 0.3em;
}

#discussions-around-the-web p {
	margin-bottom: 0;
}
