:root {
	--var-orange-color: orange;
	--var-purple-color: #5400ec;
}
html, body, header, figure {
	margin: 0;
	word-wrap: break-word;
	overflow-x: hidden;
}
a {
	text-decoration: none;
}
html {
	font-family: "Helvetica Neue", Helvetica, sans-serif;
}
iframe {
	width: 100%;
}
code {
	background-color: #b0bdff;
	padding: 3px;
}
.poll ul {
	list-style: none;
	padding: 0;
}
#mapid {
	height: 100vh;
}
.swift-quote {
	font-size: 1.5rem;
	font-style: italic;
	line-height: 2.5rem;
	margin: 0 0 1.5rem 0;
	padding: 0 0 0 1.5rem;
	position: relative;
}
meter {
	height: 1em;
	background: lightblue;
	height: 12.5px;
}
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 1rem;
}
.grid_card {
	padding: 1rem;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.grid_card h2 {
	margin-top: 0;
}
pre code {
	background-color: initial;
	padding: initial;
}
main {
	max-width: 75vw;
	width: 85%;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	background: white;
	border-radius: 20px;
	padding: 20px;
	border: 2px solid lightgray;
}
.talk_image {
	max-width: 500px;
}
.hn, .star {
	display: none;
}
.hovercard {
    margin-top: 1.5rem;
    background-color: white;
    border: 1px solid lightslategrey;
    border-radius: 10px;
    position: absolute;
    padding: 10px;
    max-width: 40%;
  }
.highlight {
	background-color: yellow;
	transition: background-color 1000ms ease;
}
nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px 0;
}
p, code, li {
    font-size: 1.0625rem;
}
.special-image img {
	width: 75vw;
	margin-left: 50%;
	transform: translateX(-50%);
}
.red_notice {
	border: 1px solid black;
	padding: 10px;
	background-color: #f9dede;
	border-radius: 3px;
}
dt, .rsvp-text {
	font-weight: 600;
}
dd {
	padding-bottom: 10px;
}
.rsvp-text, .event-time {
	padding-top: 10px;
}
button {
	background-color: royalblue;
	border-radius: 10px;
	padding: 10px;
	display: inline-block;
}
nav, footer ul {
	display: flex;
	border-top: 5px orange dashed;
	border-bottom: 5px orange dashed;
}
.citation_box {
	background-color: #f7f7f7;
}
nav ul li {
	display: inline-block;
	padding-left: 10px;
}
footer ul {
	padding: 15px;
	flex-direction: row;
	flex-wrap: wrap;
	list-style-type: none;
}
.h-entry ul {
	list-style-type: disc;
}
ul {
	list-style-type: none;
}
.h-feed ul {
	padding: 0;
}
.announcement p {
	margin-left: 5%;
	margin-right: 5%;
	color: black;
	font-weight: 600;
}
.article_list li {
	padding-bottom: 15px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1em;
	width: 100%;
}
.article_list {
	padding-left: 0;
	list-style-type: none;
}
.article_list li a.interview {
	display: inline-block;
	width: fit-content;
}
footer li {
	flex: auto;
	text-align: center;
	margin: 0;
	padding: 5px;
}
h1 {
	font-size: 2rem;
}
.form_div {
	margin: auto;
	width: 50%;
	text-align: center;
}
.main-photo {
	margin-left: 20px;
	border-radius: 50px;
	float: right;
	width: inherit;
}
img {
	max-width: 100%;
	border-radius: 10px;
}
footer {
	text-align: center;
	margin-top: 5px;
}
input[type="text"] {
	border-radius: 5px;
	padding: 5px;
}
.flex_left_home {
	flex: 0 60%;
}
.flex_right_home {
	flex: 1 38%;
}

.activeStory {
	cursor: pointer;
	border: 2px solid #1DA1F2;
}
#tablist {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}
#tablist li {
	margin: 0;
}

#main ul {
	margin-left: 10px;
}
.pinned h3 {
	margin: 0;
}
section > .language-plaintext {
	background-color: white;
	border: 4px orange dashed;
	border-radius: 3px;
	padding: 10px;
}
.social_interaction, .webmention, .hiring {
	border-radius: 10px;
	background: white;
	padding: 15px;
	border: 3px solid lightgrey;
}
.social_interaction {
	margin-bottom: 10px;
}
.social ul {
	padding: 0;
}
.icon_grid {
	display: flex;
	flex-direction: row;
}
.icon_grid a {
	flex: 1;
}
.icon_grid img {
	width: 100px;
}
#webmentions img { max-height: 1.2em; margin-right: -1ex; }
pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}
.e-content li, .webmention li {
    padding-bottom: 15px;
}
.e-content img, .full-webmention img {
	max-width: 100%;
	width: 100%;
	display: block;
}
code, pre {
	font-family: monospace;
	padding: 2px;
}
.flex_item {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.flex_right_home {
	margin-left: 10px;
}
@media screen and (max-width: 750px) {
	.main-photo {
		float: none;
		margin-left: 0;
	}
	.flex_left_home, .flex_right_home {
		flex: 0 100%;
	}

	.blog img, .flex_right_home {
		margin-left: 0 !important;
	}

	nav li {
		margin-bottom: 10px;
	}
	.social_interaction, .webmention, .hiring {
		border-radius: 10px;
		background: white;
		padding: 0;
		border: none;
	}
	.article_list li span {
		display: inline-block;
		width: fit-content;
		text-align: right;
	}
	.mapside {
		display: block;
	}
	.sidelist {
		max-width: initial;
	}
	.flex_item {
		display: block;
	}
	#main ul {
		padding: 0;
		margin-left: 0;
	}
	.social_interaction, .intro {
		border-bottom: 1px solid lightgray;
		border-radius: 0;
		border-color: lightgrey;
	}
	.pinned h3 {
		margin-bottom: 20px;
	}
}
input {
	min-width: 50%;
	text-align: center;
	box-sizing: border-box;
}
.announcement {
	background-color: #ffb266;
	padding: 1px;
	text-align: center;
	margin-bottom: 10px;
	border-bottom: 2px dotted black;
}
.announcement a {
	color: white;
	font-weight: 600;
	border-color: white;
}
details {
	background-color: white;
	border-radius: 5px;
	padding: 10px;
	display: inline;
	border: none;
}
summary {
	padding-top: 5px;
}
details > p {
	margin-bottom: 0;
}
a {
	color: #006BD6;
	border-bottom: 2px dotted #006BD6;
}
.bottom-navigation {
	display: block;
	width: auto;
	overflow: hidden;
	padding-top: 20px;
	padding-bottom: 20px;
}
.bottom-navigation .prev {
	display: block;
	width: 50%;
}
blockquote {
	font-style: italic;
}
.bottom-navigation .prev, .prev a {
	float: left;
	text-align: left;
}
.bottom-navigation .next {
	float: right;
	width: 50%;
	text-align: right;
}
article header ul, article section ul{
	margin-left: 1em;
}
.main_image, .blogList img {
	width: 50%;
}
.indieweb_footer {
	padding-bottom: 1em;
}
.indieweb_footer img {
	width: auto;
	border-radius: 0;
}
article footer {
	padding-top: 30px;
}
p, li, h1, h2, h3, dt, dd {
	line-height: 1.5em;
}
h2, h1, h3 {
	color: royalblue;
}
.e-content h2 {
	padding-top: 1em;
}
input[type="number"], textarea {
	border-radius: 5px;
	padding: 5px;
	margin-bottom: 10px;
}
.e-content, .other-posts, .webmention, .hiring {
	max-width: 35em;
	margin: auto;
	margin-bottom: 10px;
}
.h-entry h1 {
	font-size: 38px;
}
article header {
	max-width: 50em;
	margin: auto;
	text-align: center;
}
article {
	width: 100%;
}
a:focus {
  background-color: #006BD6;
  color: white;
  outline: lightblue 2px;
  border-bottom: 2px dotted black;
}

input[type="text"]:focus, input[type="number"]:focus, textarea:focus, input[type="text"]:focus, input[type="username"]:focus, input[type="password"]:focus {
  outline: 3px solid royalblue;
}

button:focus {
  background-color: yellow;
  color: black;
  outline: 3px royalblue solid;
}

a:hover {
  color: #0000CD;
  cursor: pointer;
}
input[type="text"], input[type="url"], input[type="number"], textarea {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: inline-block;
    text-align: left;
	min-width: 50%;
    font-size: 1.0625rem;
}
input[type="text"], input[type="url"] {
	width: 100%;
}
input[type="submit"] {
    padding: 10px;
	margin-top: 10px;
    border: none;
    background-color: royalblue;
    color: white;
    border-radius: 10px;
    min-width: 0;
    appearance: none;
    font-size: 1.1875rem;
}
.button-link {
	border: none;
	image-rendering: pixelated;
}
.contact_list img {
	height: 100px;
	padding-right: 20px;
}
.contact_list {
	display: flex;
	padding: 0;
}
.contact_list a {
	text-decoration: none;
	border: none;
}
.noborder {
	border: none;
}
#game #webmentions .text {
	white-space: pre;
	padding-bottom: 5px;
	display: block;
	white-space: pre-wrap;
}
#game #webmentions li {
	border-bottom: 1px solid lightgrey;
	padding-top: 10px;
	padding-bottom: 10px;
}
#game #webmentions ul {
	padding: 0;
}
#intended_audience {
	background-color: #008514;
	color: white;
	padding: 10px;
	border-radius: 5px;
}
#mapid { height: 100vh; }
.mapside { display: flex; }
.mapside #mapid { flex: 1 30%; }
.sidelist { max-width: 50%; }
#sidelist { flex: 1; padding-right: 20px; min-width: 50%; }
#sidelist ul { list-style-type: none; padding: 0; margin: 0; }
#sidelist ul li { margin-bottom: 10px; }
@media screen and (max-width: 768px) {
	.mapside { flex-direction: column; }
	#sidelist { padding-right: 0; }
}
.project_item {
	width: 40%;
	margin: 10px;
}
.project_grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.project_grid ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.rf {
	border-color: var(--var-purple-color);
}
@media screen and (max-width: 800px) {
	.project_item {
		width: 100%;
	}
}

@media screen and (max-width: 600px) {
	main {
		max-width: 100vw;
	}
	.flex {
		flex-direction: column-reverse;
	}
	.flex .map {
		flex: 1 100%;
		width: 100%;
		margin-right: 0;
	}
	.flex .content {
		flex: 1 100%;
		width: 100%;
		margin-left: 0;
	}
	.flex .content {
		width: 100%;
	}
	.talk_image {
		max-width: 100%;
	}
	.mapside {
		display: block;
	}
	#mapid {
		height: 300px;
	}
}
@media print {
	html {
		background-color: white;
	}
	body {
		width: 100%;
		margin-left: 10px;
		margin-right: 10px;
	}
	nav, footer, .accessibility_label, .print_message, .announcement, .webmention {
		display: none;
	}
	h1, h2, h3 {
		color: black;
	}
	a:after {
		content: "(" attr(href) ")";
		display: inline-block;
		width: auto;
		text-decoration: none;
		margin-left: 0.3em;
		font-style: italic;
		word-break: break-all;
	} 
	main:after {
		content: "Published on James' Coffee Blog (jamesg.blog).";
		font-style: italic;
		margin-bottom: 20px;
	}
	.social_interaction, .webmention, #main {
		border: none;
	}
	main {
		border: none;
		max-width: 50em;
		margin: auto;
	}
	h1 {
		margin-top: 0;
	}
}
@media only screen and (max-width: 750px) {
	.special-image img, .blogList img, .not_found img {
		width: 100%;
	}
	.h-entry h1 {
		font-size: 1.6em;
	}
}