/*
 * Theme Name: Justice for Edson
 * Description: Timeline website for the Edson Thevenin case.
 * Author: Dan Phiffer
 * Version: 0.0.2
 */

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
	color: #fff;
	background: #000;
	font-size: 18px;
	line-height: 1.4em;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

a {
	color: #fff;
}

h1 {
	font-family: helvetica, arial, sans-serif;
	font-weight: bold;
	font-size: 40px;
	line-height: 1.1em;
}

h2 {
	font-family: helvetica, arial, sans-serif;
	font-weight: bold;
	font-size: 24px;
	line-height: 1.2em;
	margin-top: 15px;
}

h3 {
	font-family: helvetica, arial, sans-serif;
	font-weight: bold;
	font-size: 20px;
	line-height: 1.2em;
	margin-top: 20px;
	color: #fab903;
}

p {
	margin-top: 15px;
}

strong, b {
	font-weight: bold;
}

em, i {
	font-style: italic;
}

figure {
	width: 100%;
	position: relative;
	z-index: 1;
}

body.single figure {
	margin-top: 15px;
}

figure img {
	width: 100%;
	height: auto;
}

figcaption {
	font-size: 14px;
	line-height: 20px;
	margin-top: 10px;
}

ol {
	margin-top: 15px;
}

ol li {
	list-style: decimal;
	margin-left: 20px;
}

ul {
	margin-top: 20px;
}

ul li {
	list-style: square;
	margin-left: 20px;
}

.clear {
	clear: both;
}

#resolutions {
	font-family: menlo, monospace;
}

#container {
	max-width: 900px;
	padding: 20px 20px 100px 20px;
	margin: 0 auto;
}

.donate {
	display: flex;
	clear: both;
}

.donate .about {
	margin: 0;
	align-self: center;
}

.donate .button {
	width: 208px;
}

.button.venmo,
.about.venmo {
	display: none;
}

.donate-container {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	z-index: 3;
	background: #000;
}

.donate-container .container {
	max-width: 900px;
	padding: 10px 20px;
	margin: 0 auto;
}

.button {
	width: 100%;
	display: inline-block;
	font-weight: bold;
	font-size: 18px;
	color: #000;
	background: #fab904;
	padding: 15px;
	border-radius: 8px;
	text-decoration: none;
	opacity: 0.8;
	transition: 0.3s all ease-out;
	margin-right: 20px;
	text-align: center;
	text-transform: uppercase;
	vertical-align: middle;
}

.button.full-timeline {
	font-size: 16px;
	border: 2px solid #fff;
	color: #fff;
	background: transparent;
	margin-bottom: 0;
	margin-top: 15px;
}

.button.full-timeline:hover {
	color: #000;
	background: #fff;
}

.button.venmo {
	color: #fff;
	background: #3080C5;
}

.button:hover {
	opacity: 1;
}

.donate .about {
	font-size: 14px;
	line-height: 18px;
	margin: 0;
}

header h1 a {
	text-decoration: none;
}

header h1 a:hover {
	text-decoration: underline;
}

header h2 {
	color: #aaa;
}

#links {
	margin-top: 40px;
}

#links dt {
	margin-top: 20px;
}

#links dd {
	margin-top: 10px;
	padding-left: 40px;
}

#links dd a {
	text-decoration: none;
}

.content {
	margin-top: 30px;
}

.content .wp-block-image {
	margin-top: 20px;
}

.content .timeline-title {
	margin-top: 40px;
}

.timeline.full-timeline {
	background-image: url('/wp-content/themes/j4e-theme/img/timeline-bg.gif');
	background-repeat: repeat-y;
	background-position: 3px 0;
	position: relative;
	margin-bottom: 15px;
}

.timeline.full-timeline::before {
	content: "";
	background: #000;
	width: 3px;
	height: 25px;
	position: absolute;
	left: 2px;
	top: 0;
}

.timeline.full-timeline::after {
	content: "";
	background: #000;
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
	width: 3px;
	height: 25px;
	position: absolute;
	left: 2px;
	bottom: 0;
}

.timeline > li {
	list-style: none;
	background-image: url('/wp-content/themes/j4e-theme/img/timeline-dot.png');
	background-repeat: no-repeat;
	background-position: 0 19px;
	background-size: 30px 15px;
	position: relative;
	padding-top: 15px;
	margin-left: 0;
}

.full-timeline > li {
	padding-left: 30px;
}

.timeline > li figure {
	margin-bottom: 15px;
}

.timeline .post__title {
	font-size: 24px;
}

.timeline .post h3 {
	color: #fff;
	font-size: 24px;
	margin-top: 40px;
}

.timeline .post blockquote {
	margin-top: 30px;
	font-size: 16px;
	font-family: spacemono, menlo, monospace;
	padding-left: 30px;
	border-left: 4px solid #444;
}

.timeline .post blockquote p {
	transform: translateY(-3px);
}

.timeline .post--no-label {
	list-style: none;
	background-image: none;
}

.timeline .post--with-label {
	margin-top: 15px;
}

.timeline .post--loading {
	transition: opacity 1s ease-out;
	opacity: 0.5;
}

.timeline .post--loading .post__more {
	text-decoration: none;
}

.timeline .post__label {
	font-family: spacemono, menlo, monospace;
	display: block;
	padding-bottom: 15px;
	font-size: 16px;
	color: #ccc;
	padding-left: 30px;
}

.timeline.full-timeline .post__label {
	padding-left: 0;
}

.timeline .post__link {
	text-decoration: none;
	font-weight: bold;
	color: #fab904;
	transition: color 0.2s ease-out;
}

.timeline .post__link:hover {
	color: #fff;
}

.timeline .post__summary {
	margin: 10px 0 5px 0;
	display: block;
	font-size: 16px;
}

.timeline .post__more {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: bold;
	transition: color 0.2s ease-out;
}

.timeline .post__more--timeline {
	display: inline-block;
	margin-top: 15px;
}

.timeline .post__more:hover {
	color: #fab904;
}

.timeline .post__link:hover {
	text-decoration: underline;
}

.timeline .post__content {
	line-height: 28px;
}

sup {
	font-family: menlo, monospace;
	vertical-align: super;
	font-size: smaller;
	line-height: 0;
}

iframe {
	margin-top: 15px;
}

.references {
	font-family: menlo, monospace;
	padding-left: 30px;
	max-width: 720px;
	margin: 30px 0;
}

.references li {
	position: relative;
	padding-right: 80px;
	margin-top: 15px;
}

.references .reference__text,
.references .reference__back {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

.reference__text {
	margin-bottom: 5px;
}

.reference__url {
	font-size: 14px;
	line-height: 14px;
	opacity: 0.8;
	transition: opacity 0.2s ease-out;
}

.reference__url:hover {
	opacity: 1;
}

.reference__back {
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity 0.2s ease-in;
}

li:hover > .reference__back {
	opacity: 1;
}

.expander {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	height: 100vh;
	width: 100vw;
	transition: background-color 0.2s ease-out;
	z-index: 2;
}

.expander.open {
	display: block;
	background-color: rgba(0, 0, 0, 0.75);
}

.expander-container{
	position: relative;
	height: 100vh;
	width: 100vw;
}

.expander-container img {
	opacity: 0;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	transition: opacity 0.4s ease-in;
}

.expander-close {
	position: absolute;
	right: 30px;
	top: 30px;
	width: 32px;
	height: 32px;
	background: url('/wp-content/themes/j4e-theme/img/close.png');
	background-size: 32px 32px;
	cursor: pointer;
}

footer {
	font-size: 14px;
	margin: 30px 0 20px 0;
}

@media screen and (min-width: 940px) {

	h1 {
		font-size: 60px;
	}

	h2 {
		font-size: 30px;
	}

	header {
		display: flex;
		justify-content: flex-end;
		height: 384px;
	}

	header img {
		margin-right: 20px;
		width: 208px;
	}

	header .headings {
		align-self: flex-end;
		transform: none;
	}

	.header--small {
		height: 200px;
	}

	.header--small h1 {
		font-size: 40px;
	}

	.header--small h2 {
		color: #aaa;
	}

	#container {
		position: absolute;
		left: calc(50% - 450px);
	}

	.donate .about {
		margin-right: 30px;
	}

	.button.venmo,
	.about.venmo {
		display: block;
	}

	.timeline li {
		clear: both;
	}

	.timeline li figure {
		width: 240px;
		float: right;
		margin-left: 30px;
	}

	body.single .timeline li figure {
		width: 320px;
	}

	.reference__back {
		opacity: 0;
	}

	li:hover > .reference__back {
		opacity: 1;
	}

	.button.full-timeline {
		width: 250px;
	}

}
