/*
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
*/

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: #eee;
	/* font-family: 'Roboto', sans serif; */
	font-family: 'Roboto Mono', monospace;
	color: #a9aeb4;
	font-size: 14px;
}
p:not(:last-child) {
	margin-bottom:1em;
}

.container {
	margin: 1em;
	/* max-width:1000px; */
}

.nav {
	margin-bottom: 1em;
}

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

a {
	color: #ff3434;
}

h1 {
	/* font-family: 'Source Code Pro', monospace; */
	margin-left: 1px;
}

.flex-grid {
	flex-wrap: wrap;
	display: inline-flex;
	align-items: start;
	font-size: 1em;
}

.med-item {
	width: 680px;
}

.sm-item {
	width: 320px;
}

.med-item,
.sm-item {
	padding: 10px 10px;
	margin-top: 1em;
	margin-right: 1.5em;
	margin-bottom: .5em;
	background-color: #fff;
	box-shadow: 7px 7px 0 0 #ddd;
	border: #dfdfdf 1px solid;
}

.sm-item p {
	color: #aaa;
	margin-bottom: 0.5rem;
}

.title {
	display: block;
	margin-bottom: 0.5rem;
}

.divlink {
	text-decoration: none;
	/*   display: inline-flex; */
	/*   align-items: stretch; */
}

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

.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;
}

/* 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:18px;
	}
	.container {
		    margin: .5em .8em .5em 0.5em;

	}
	.flex-grid a,
	.flex-grid img,
	.med-item,
	.sm-item {
		width: 100%;
	}
	.med-item, .sm-item {
    	margin: 0 0 1em 0;
	}
	.nav ul li {
		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;
	}
}


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