/* Color scheme: https://coolors.co/759695-f5fbef-522a27-503d42-c59849 */

* {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

html {
	background-color: #fff;
}
html, body {
	margin: 0;
	font-family: 'Noto Sans', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #333 !important;
	line-height: 1.6;
}

A, A:visited {
	color: #C59849;
}
em {
	font-style: italic;
}
b {
	font-weight: bold;
}
p {
	margin: 10px 0;
}
ul {
	list-style: square outside none;
	margin-left: 16px;
}
li {
	/* extra vertical space because it's hard to read */
	margin: 2px auto;
}
ol {
	list-style: decimal;
    margin-left: 32px;
}

h1 {
	margin: 15px 0;
	font-size: 150%;
	color: #522A27;
}
h2 {
	margin: 15px 0;
	font-size: 130%;
}
h3 {
    font-size: 120%;
    margin-top: 15px;
}
h4 {
    margin-top: 15px 0;
    font-weight: bold;
}
.tagline {
	font-weight: bold;
	margin: 5px auto;
}

td {
    /* border-top: 1px solid #999; */
}
table > tbody > tr:first-child > td {
    border-top: none;
}

kbd {
	font-family: 'Inconsolata', monospace;
	border: 1px dashed #aaa;
	background-color: #f7f9f9;
	padding: 2px;
}

code {
	font-family: 'Inconsolata', monospace;
    border: 1px dashed #aaa;
    /* background-color: #dee; */
    padding: 2px;
}
pre > code {
	font-size: 14px;
    border: none;
    background-color: none;
    padding: 0;
}
IMG {
	max-width: 100%;
}
.site-header-wrapper {
	background-color: #759695;
}
.site-header-wrapper a, .site-header-wrapper a:visited {
	color: white; /* invert color because the background is dark */
}
.site-header {
	margin: auto;
	max-width: 700px;
	overflow: hidden;
	padding: 20px;
}
.site-header .title {
	font-size: 24px;
	line-height: 36px;
}
.site-header .title A, .site-header .title A:visited {
	text-decoration: none;
	color: black;
}
.site-header .title .wbk{
	color: white;  /* invert color because the background is dark */
	font-size: 24px;
}
.site-header .menu-block-wrapper {
	line-height: 36px;
	float: right;
}
.site-header .title.logged_in::after {
	color: red;
	content: "+admin";
} 

.site-header .menu-block, .site-header .title {
	display: inline-block;
}

.site-header .menu-block {
	margin: 0 10px;
}

.sidebar {
	margin: 20px;
}

/* on desktop, put the sidebar on the side */
@media screen and (min-width: 1200px) {
	.sidebar-wrapper {
		position: absolute;
		top: 0;
		right: -250px;
		width: 250px;
	}
	
	/* Make sidebar h3's smaller */
	.sidebar > h3 {
		font-size: 90%;
	}
}

.sidebar > h3:first-child {
	/* margin-top does not collapse due to float */
	margin-top: 0;	
}

.sidebar-recent-post {
	margin: 3px 0;
}

.main-content-wrapper {
	margin: 0 auto;
	max-width: 700px;
	position: relative;
}

.main-content {
	overflow: hidden;
}

.main-content-inner {
	padding: 20px;
	overflow: hidden;
}

.main-content-inner:not(.no-separator):after {
    display: block;
    border-bottom: 1px solid #759695;
    content: "";
    margin-top: 30px;
}


.main-content-inner > h1:first-child {
	/* margin-top does not collapse due to overflow */
	margin-top: 0;	
}

.main-content-inner.flash {
	/* border: 2px dotted red; */
}

.hidden {
	display: none;
}

.full-width {
	display: block;
	width: 90%;
}
.align-right {
	text-align: right;
}
.audit {
	color: #503D42;
	font-size: 80%;
}
.small-text {
	font-size: 80%;
}

@media screen and (max-width: 900px) {
	.main-content-inner {
		margin: 10px;
	}
}

.row {
	overflow: hidden;
	clear: both;
}
.col-6 {
	float: left;
	width: 50%;
}
.col-12 {
    float:left;
    width: 100%;
}
.col-9 {
    float: left;
    width: 75%;
}
.col-3 {
    float: left;
    width: 25%;
}
.pull-left {
    float: left;
}
.reddit-button {
    margin-left: 3px;
}
.pull-left.share {
	margin-right: 4px;
}
    
.pager-next {
	float:right;
}

figure {
	background-color: #f0f0f0;
	margin: 10px;
	padding: 10px;
}

figcaption {
	font-style: italic;
	font-size: 90%;
}

/* Table styling */

th {
    background-color: #eee;
    font-weight: bold;
}
table, th, td {
    border: 1px solid #999;
    padding: 5px;
}
