/* Typograhpy */

body {
	color: #444;
	font-size: 16px;
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-style: normal;
	background: #fafafa;
	line-height: 150%;
	-webkit-text-size-adjust: 100%;
	margin: 0;
}

h1, h2, h3, h4, h5 {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	font-weight: inherit;
	text-decoration: none;
}

h1 {line-height: 140%; margin-bottom: 14px;}
h2 {line-height: 130%; margin-bottom: 10px;}
h3 {line-height: 130%; margin-bottom: 8px; }
h4 {line-height: 125%; margin-bottom: 8px; }
h5 {line-height: 120%; margin-bottom: 8px;}

h6 {
	font-size: 16px;
	line-height: 110%;
	margin-bottom: 8px;
	color: inherit;
	font-weight: bold;
}

.italic {font-style: italic;font-weight: normal;}
.subheader { color: #777; }
.normal {font-weight: normal;}
.bolder {font-weight: bolder;}

p { margin: 0 0 20px 0; line-height: 24px; }
p img { margin: 0; }
p.lead { font-size: 24px; line-height: 28px; color: #777;  }

em { font-style: italic; }
strong { font-weight: bold;}
small { font-size: 80%; }

/* About */

.about h1 {
	margin-top: 0;
}

.about p {
	font-size: 14px;
	margin-bottom: 10px;
}

/* Links */

a, a:visited {text-decoration: underline; outline: 0; }
a:hover, a:focus { color: #000; text-decoration: none;}
p a, p a:visited { line-height: inherit; }

.links a {
	display: inline-block;
	padding: 2px 10px;
	background-color: #444;
	border-radius: 10px;
	text-decoration: none;
	color: #fff;
}

.links a:visited {
	color: #fff;
}

.links p:first-of-type {
	margin-top: 20px;
}

.links p:last-of-type {
	margin-bottom: 0;
}

/* Lists */

ul, ol { margin: 10px 0px 20px 0px; }
ol { list-style: decimal; }
ol, #wrap ul.square, #wrap ul.circle, #wrap ul.disc { margin-left: 30px; }
#wrap ul.square { list-style: square outside; }
#wrap ul.circle { list-style: circle outside; }
ul.disc { list-style: disc outside; }
ul ul, ul ol,
ol ol, ol ul { margin: 4px 0 5px 30px;}
ul ul li, ul ol li,
ol ol li, ol ul li { margin-bottom: 6px; }
li { line-height: 18px; margin-bottom: 12px; }
ul.large li { line-height: 21px; }
li p { line-height: 21px; }

/* Block quote*/

blockquote:before, blockquote:after {
	content: '';
	content: none;
}

blockquote, blockquote p {
	color: #333;
	font-size: 1.15em;
	line-height: 140%;
}

blockquote {
	quotes: none;
	margin: 0 0 20px 20px;
	padding: 9px 10px 10px 15px;
	border-left-width: 4px;
	border-left-style: solid;
	border-color:#bfc0bb;
}

blockquote.left {
	float: left;
	width: 200px;
	margin: 10px 20px 20px 0px;
}

blockquote.right {
	float: right;
	width: 200px;
	margin: 10px 0px 20px 20px;
	border-left: none;
	border-right-width: 4px;
	border-right-style: solid;
}

blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
blockquote p:last-of-type { margin-bottom: 0; }

/* Header */

img.profile {
	float: right;
	border-radius: 50%;
	width: 150px;
	margin: 0 0 20px 20px;
}

@media (max-width: 460px) {
	img.profile {
		display: none;
	}
}

/* Layout */

header {
	padding: 20px;
	border-top: 1px solid #ccc;
	background: url(/images/header-bg.jpeg) center center / cover no-repeat;
	margin-bottom: 40px;
}

header .content-container {
	max-width: 840px;
	margin: 0 auto;
	background: #fff;
	opacity: 0.9;
	border-radius: 5px;
	padding: 40px;
}

#main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

#home {
	margin-bottom: 40px;
}

/* Post */

.posted {
	color: #aaa;
	font-style: italic;
	margin: 0 0 20px;
}

#related {
	border-top: 1px solid #ccc;
}

#related h2 {
	margin-top: 20px;
}

/* Code */

pre, code {
	font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
}

code,pre,p.smalldesc {
	background-color: #ededed;
	border-bottom: 1px solid #d9d9d9;
	border-top: 1px solid #d9d9d9;
	display: block;
	width: 100%;
	font-size: 14px;
	line-height: 24px;
	margin: 15px 0;
	padding: 10px 5px;
	overflow: auto;
	overflow-y: hidden;
}

code {
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -o-pre-wrap;
}

p code {
	display: inline;
	margin: 0;
	padding: .25em 0;
}

img.drupal {
	float: right;
}
