/*
Theme Name: Grayson Earle
Theme URI: https://github.com/prismspes/
Author: Grayson Earle
Author URI: graysonearle.com/
Description: blah blah
Version: 1
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Text Domain: Grayson Earle
*/

/* The good stuff */


html {
	box-sizing: border-box;
}

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

a {
	outline: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
p,
ul,
figure {
	margin: 0;
	padding: 0;
	font-weight: normal;
}

ol,
ul {
	list-style: none;
}

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


/* end reset  begin custom */

body {
	background-color: #fff;
	font-family: 'Roboto Mono', monospace;
	color: #a9aeb4;
	font-size: 16px;
}

p:not(:last-child) {
	margin-bottom:1em;
}

/* h1 {
	margin-left: 1px;
} */

/* .med-item {
	width: 680px;
} */

/* .talks-texts p {
	margin-bottom: 10px;
} */

li {
	display: inline-block;
	margin-right: 1em;
}

nav {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

a {
	color: #ff3434;
	/* text-decoration: none; */
}

.container {
	max-width: 920px;
	margin: auto;
}

.work-content {
	margin-left: 4rem;
}

.item {
	display: block;
}

.item {
	margin-top: 2rem;
	margin-bottom: 2rem;
	background-color: #fff;
}

.work-item p {
	color: #aaa;
	margin-bottom: 2rem;
	margin-left: 4rem;
}
.work-item img {
	margin-left:8rem;
	width: calc(100% - 8rem);
}

.title {
	display: block;
	margin-bottom: 2rem;
	text-decoration: underline;
}

.text-title {
	color: #f00;
	text-decoration: none;
}

.divlink {
	text-decoration: none;
}

.flex-grid img {
	display: block;
}


/* press area in individual posts */

.press-post ul {
	margin-top: .5em;
}

.press-post li {
	display: block;
}

.press-post li:before {
	content: "↬ ";
}

.press-post a {
	text-decoration: none;
}

/* image galleries etc */
.wp-caption-text, .caption {
	font-size: .75em;
	color: #aaa;
	display: block;
	text-align: center;
	margin-top: .75em;

	}
.gallery-item {
	padding: 0.5em;
}
.gallery-item img {
	border: none !important;
}

video {
  width: 100%;
  max-height: 100%;
}

.pagination a {
	display:block;
	margin-bottom: 2rem;
}

/* bit smaller screens */
/* @media only screen and (max-width: 1400px) {
	.med-item {
		width: 500px;
	}
}

@media only screen and (max-width: 1200px) {
	.med-item {
		width: 450px;
	}
}

@media only screen and (max-width: 1000px) {
	.med-item {
		width: 400px;
	}
}

@media only screen and (max-width: 900px) {
	.med-item {
		width: 350px;
	}
} */

/* Mobile */

@media only screen and (max-width: 800px) {
	body {
		font-size:16px;
	}
	.container {
		margin: .5rem;
	}
	.content {
		margin: 0;
	}
	.content a,
	.content img,
	.item {
		width: 100%;
	}

	.item img {
		margin: 0;
	}
	nav ul li {
		display:block;
		margin: .5em 0 1em;
	}
	nav {
    margin-bottom: 0;
	}
	nav ul li::before {
		content: "↬ ";
	}
/* 	fix it so wp image gallery is responsive */
	.gallery-item {
		float: left;
		width: 100% !important;
	}
}
