/*
 Theme Name:   Mike Industries Three
 Description:  One Template to Rule Them All
 Author:       Mike Davidson
 Version:      3.0.0
*/

html {
  font-size: 62.5%;
}

body {
	font-family: Avenir, "Helvetica Neue", Helvetica, Roboto, Corbel, sans-serif;
	font-size: 1.5vw;
    line-height: 1.2;
    font-weight: 400;
    color: #222;
}

p {
  margin-top: 0;
  line-height: 1.6;
}

ol, ul {
	line-height: 1.6;
}

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

blockquote {
	font-style: italic;
	border-left: 1px solid #666;
	padding-left: 1em;
	margin-left: 1em;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: -.15em;
  margin-bottom: .5em;
}


h1 { font-size: 200%; font-weight: 500; }
h2 { font-size: 200%; font-weight: 500; }
h3 { font-size: 130%; }
h4 { font-size: 115%; }
h5 { font-size: 100%; }
h6 { font-size: 100%; font-weight: 500; }

a:link {
	color: #4A90E2;
	text-decoration: none;
	overflow-wrap: break-word;
	word-wrap: break-word;
	/*word-break: break-all; Commenting this out since it seems to make anchor text break on letters instead of words*/
	hyphens: auto;
}

a:visited {
	color: #7246A8;
	text-decoration: none;
}

code {
	background-color: #eee;
}

figure {
	margin: 0;
}

figcaption {
	font-size: 1.5rem;
	text-align: center;
	font-weight: 500;
	margin-top: .5em;
	margin-bottom: 1em;
	display: block;
}

figure img {
	border: 1px solid #ccc;
}

nav {
	color: #fff;
	-webkit-transition: top .5s ease-out;
	-moz-transition: top .5s ease-out; 
	-o-transition: top .5s ease-out;
	transition: top .5s ease-out;
	position: fixed;
	z-index: 3;
	top: 0;
	width: 100%;
	display: table;
}

nav .sitenavigation {
	width: 75%;
	display: table-cell;
	background-color: #333;
	vertical-align: middle;
}

nav .sitetitle {
	text-align: right;
	background-color: #000;
	position: relative;
	z-index: 1;
	display: table-cell;
	width: 25%;
	vertical-align: middle;
}

nav .g {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

nav .g h1 {
	font-size: 1.5rem;
	margin: 0;
}

nav .sitetitle a:link, nav .sitetitle a:visited {
	color: #fff;
	border-bottom: none;
}

nav .toggle, nav [id^=drop] {
	display: none;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	color: #aaa;
	line-height: 1.2;
}

nav ul li {
	float: left;
	margin-right: 2em;
	font-size: 1.5rem;
}

nav ul li a:link, nav ul li a:visited {
	color: #aaa;
	display: block;
	border-bottom: none;
}

/*
nav ul li.subscribe a:link, nav ul li.subscribe a:visited {
    background: url('data:image/svg+xml;utf8,<svg width="8" height="8" xmlns="http://www.w3.org/2000/svg"><title>RSS</title><style type="text/css">.symbol {stroke: none; fill: #aaa;}</style><g><title>Layer</title><circle id="svg_2" r="1" cy="6" cx="2" class="symbol"/><path id="svg_3" d="m1,4a3,3 0 0 1 3,3l1,0a4,4 0 0 0 -4,-4l0,1z" class="symbol"/><path id="svg_4" d="m1,2a5,5 0 0 1 5,5l1,0a6,6 0 0 0 -6,-6l0,1z" class="symbol"/></g></svg>');
	background-size: auto 70%;
	background-repeat: no-repeat;
	background-position: left center;
	zoom: 1;
	padding-left: 1.1em;
}

nav ul li.subscribe a:hover {
    background: url('data:image/svg+xml;utf8,<svg width="8" height="8" xmlns="http://www.w3.org/2000/svg"><title>RSS</title><style type="text/css">.symbol {stroke: none; fill: #fff;}</style><g><title>Layer</title><circle id="svg_2" r="1" cy="6" cx="2" class="symbol"/><path id="svg_3" d="m1,4a3,3 0 0 1 3,3l1,0a4,4 0 0 0 -4,-4l0,1z" class="symbol"/><path id="svg_4" d="m1,2a5,5 0 0 1 5,5l1,0a6,6 0 0 0 -6,-6l0,1z" class="symbol"/></g></svg>');
	background-size: auto 70%;
	background-repeat: no-repeat;
	background-position: left center;
}
*/

nav .current-menu-item a:link, nav .current-menu-item a:visited {
	color: #fff;
}

nav ul li a:hover {
	color: #fff;
}

nav.fixed {
	top: -10rem;
}

.g {
	padding: 2.3em;
}

#headercontainer {
	min-height: 40vh;
	position: relative;
	margin-top: 5rem;
}

body.single #headercontainer, body.single header, body.single header .intro {
	min-height: 20vh;
}

body.featured.single #headercontainer, body.featured.single header, body.featured.single header .intro {
	min-height: 40vh;
}

body.home #headercontainer, body.home header, body.home header .intro {
	min-height: 75vh;
}

#headerbg {
	height: 100%;
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 0;
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s; 
	-o-transition: opacity 1s;
	transition: opacity 1s;
}

#headerbg_low {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-color: #666;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
}

header {
	z-index: 2;
	min-height: 40vh;
	width: 100%;
	color: #fff;
	position: relative;
	overflow: hidden;
	display: table;
}

header .intro {
	background: rgba(0,0,0,.4);
	min-height: 40vh;
	width: 25%;
	text-align: right;
	position: relative;
}

header .intro a:link, header .intro a:visited {
	color: #ccc;
	border-bottom: 1px solid rgba( 255, 255, 255,.5);
}

header .intro a:hover {
	color: #fff;
		border-bottom: 1px solid rgba( 255, 255, 255,1);
}

header .introtext p {
	max-width: 30ch;
	margin-right: 0;
	margin-left: auto;
	margin-bottom: 1em;
}

header .introtext p.headline {
	font-size: 200%;
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: .5em;
}

header .caption {
	position: absolute;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,.4);
	padding: 1em;
	font-size: 1.5rem;
	opacity: 0;
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s; 
	-o-transition: opacity 1s;
	transition: opacity 1s;
}

section {
	display: table;
	width: 100%;
}

section article {
	display: table-row;
}

section article.pagetitle .g {
	padding-bottom: 0;
}

section article.pagetitle h5 {
	margin-bottom: 0;
}

section article .sidebar {
	width: 25%;
	background-color: #666;
	color: #fff;
	text-align: right;
	-webkit-transition: background-color .5s;
	-moz-transition: background-color .5s; 
	-o-transition: background-color .5s;
	transition: background-color .5s; 
	display: table-cell;
	vertical-align: top;
}

section article .content {
	width: 75%;
	display: table-cell;
}

section article .content h1 a:link, section article .content h1 a:visited,
section article .content h2 a:link, section article .content h2 a:visited {
	color: #222;
	border-bottom: none;
}

section article .content a.perma:link, section article .content a.perma:visited {
    background-image: url('data:image/svg+xml;utf8,<svg width="457.03px" height="457.03px" xmlns="http://www.w3.org/2000/svg"><title>Permalink</title><g><path style="stroke: none; fill: #222;" class="symbol" d="M421.512,207.074l-85.795,85.767c-47.352,47.38-124.169,47.38-171.529,0c-7.46-7.439-13.296-15.821-18.421-24.465 l39.864-39.861c1.895-1.911,4.235-3.006,6.471-4.296c2.756,9.416,7.567,18.33,14.972,25.736c23.648,23.667,62.128,23.634,85.762,0 l85.768-85.765c23.666-23.664,23.666-62.135,0-85.781c-23.635-23.646-62.105-23.646-85.768,0l-30.499,30.532 c-24.75-9.637-51.415-12.228-77.373-8.424l64.991-64.989c47.38-47.371,124.177-47.371,171.557,0 C468.869,82.897,468.869,159.706,421.512,207.074z M194.708,348.104l-30.521,30.532c-23.646,23.634-62.128,23.634-85.778,0 c-23.648-23.667-23.648-62.138,0-85.795l85.778-85.767c23.665-23.662,62.121-23.662,85.767,0 c7.388,7.39,12.204,16.302,14.986,25.706c2.249-1.307,4.56-2.369,6.454-4.266l39.861-39.845 c-5.092-8.678-10.958-17.03-18.421-24.477c-47.348-47.371-124.172-47.371-171.543,0L35.526,249.96 c-47.366,47.385-47.366,124.172,0,171.553c47.371,47.356,124.177,47.356,171.547,0l65.008-65.003 C246.109,360.336,219.437,357.723,194.708,348.104z" /></g></svg>');
	background-size: auto 70%;
	background-repeat: no-repeat;
	background-position: left center;
	zoom: 1;
	display: block;
	width: 1em;
	text-indent: -99999px;
	border-bottom: none;
}

section article .content li {
	margin-bottom: 1em;
}

section article .content li:last-child {
	margin-bottom: 0;
}

section article .content .g {
	max-width: 66ch;
}

/* Responsive YouTube Shizz */

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
margin-bottom: 1em;	
}
 
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

span.photo_title:after, span.photo_location:after {
	content:'\2002\2002\21C1\2002\2002';
}

span.photo_date:after {
	content:'\2002\2002';
}

footer {
	background-color: #000;
	font-size: 1.5rem;
	text-align: center;
}

footer a:link, footer a:visited {
	color: #aaa;
	display: block;
	padding: 1em;
}

div.update {
    background-color: #eee;
    padding: 1em;
    margin: 1em 0 1em 0;
    font-style: italic;
	line-height: 1.6;
}

.subscribe_inline {
	background-color: #eee;
	font-size: 1.5rem;
	padding: 1em;
	line-height: 1.6;
}

#comments ol {
	list-style-type: none;
	padding-left: 0;
}

#comments ol .avatar {
	vertical-align: text-top;
}

#comments ol cite.fn {
	font-weight: bold;
}

#comments ol p {
	margin-left: 33px;
}

#comments ol p:first-of-type {
	margin-top: .5em;
}

#comments ol p:last-of-type {
	margin-bottom: .5em;
}

#comments .comment-meta {
	margin-left: 33px;
	font-size: 75%;
	text-align: right;
}

#comments .bypostauthor {
    background-color: #eee;
    padding: 1em;
    margin-left: -1em;
    margin-right: -1em;
}

#respond {
	margin-bottom: 2em
}

#respond .comment-form-subscriptions {
	font-size: 1.5rem;
	padding-bottom: 1em;
}

#respond .comment-form-subscriptions input[type="checkbox"] {
	margin-right: .3em;
}

#respond label {
	display: block;
}

#respond textarea {
	width: 100%;
	border: 1px solid #ccc;
}

#respond input[type="submit"], #post-9999999 input[type="submit"] {
    background-color: #000;
    border: none;
    color: #fff;
    padding: .5em 1em .5em 1em;
}	

#respond input[type="text"] {
	border: 1px solid #ccc;
	max-width: 90%;
}

/* These are for the comment-subscribe management pages... needed to hack around some garbage HTML code from the plug-in */

#post-9999999 input[type="text"] {
	padding: .45em;
}

#post-9999999 #subscribe-reloaded-legend-p, 
#post-9999999 .subscribe-column-1,
#post-9999999 .subscribe-separator,
#post-9999999 .subscribe-column-2,
#post-9999999 #subscribe-reloaded-select-all-p,
#post-9999999 #action_type_force_y,
#post-9999999 #action_type_force_y+label,
#post-9999999 #action_type_force_r,
#post-9999999 #action_type_force_r+label {
	display: none;
}

#post-9999999 #subscribe-reloaded-action-p {
	font-size: 1px;
	color: transparent;
	margin-bottom: 1.5rem;
}
 
#post-9999999 #subscribe-reloaded-action-p input {
	color: #222;
	font-size: 1.5rem;
	margin-right: .5em;
}

#post-9999999 #subscribe-reloaded-action-p label {
	color: #222;
	font-size: 1.5rem;
	margin-right: 1em;
}

#post-9999999 fieldset {
	margin: 0;
	padding: 0;
	font-size: 1.5rem;
}

#post-9999999 fieldset ul {
	list-style-type: none;
	padding: 0;
}

/* MailChimp subscribe form styleage */

#mc_embed_modal {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.3);
	top: 0;
	left: 0;
	position: fixed;
	z-index: 5;
	opacity: 1;
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s; 
	-o-transition: opacity 1s;
	transition: opacity 1s;
	max-height: 100vh;
	max-width: 100vw;
}

#mc_embed_modal.hiddenform {
	opacity: 0;
	top: -99999px;
	left: -99999px;
}

#mc_embed_signup {
	background-color: rgba(0,0,0,.75);
	border-radius: .5em;
	padding: 2em;
	color: #fff;
	font-size: 1em;
	text-align: center;
  	max-height: calc(100% - 100px);
  	position: absolute;
    top: 50%;
    left: 50%;
  	transform: translate(-50%, -50%);
	z-index: 6;
}

#mc_embed_signup h2 {
	font-size: 1.4em;
}

#mc_embed_signup input {
	width: 12em;
	color: #222;
}

#mc_embed_signup input[type="submit"] {
	background-color: #666;
	border: none;
    padding: .5em 1em .5em 1em;
	width: auto;
	color: #fff;
}

#mc_embed_signup label {
	display: block;
	margin-bottom: .5em;
}

#mc_embed_signup .mc-field-group {
	margin-bottom: 1em;
}

#mc_embed_signup p {
	margin-top: .5em;
	margin-bottom: 0;
	font-size: 80%
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive shizz-nizz */

@media only screen and (max-width: 960px) {
	body {font-size: 1.6rem}
}

@media only screen and (min-width: 1920px) {
	body {font-size: 2.8rem}
}

@media only screen and (max-width: 750px) {

	.g {
		padding: 1.5em;
	}

	header {
		min-height: auto;
		font-size: 1.6rem;
		display: block;
	}
	
	header .intro {
		width: 100%;
		text-align: left;
		display: none;
		font-size: 4vw;
	}

	body.home header .intro {
		display: block;
	}
	
	header .intro .g {
		padding: 2.2rem;
	}
	
	header .introtext p {
		margin-left: 0;
		max-width: 100%;
	}

	section {
		display: block;
	}

	section article {
		font-size: 1.6rem;
		display: block;
	}

	section article .sidebar {
		width: 100%;
		display: block;
		text-align: left;
	    margin-bottom: 0;
	    padding-bottom: 0;
	}

	section article .sidebar .g {
		padding-top: 1em;
		padding-bottom: 1em;
	}

	section article .content {
		width: 100%;
		display: block;
	}
	
	section article.pagetitle .g {
		padding-bottom: 1.5em;
	}
	
	header .caption {
		display: none;
	}

	nav {
		width: 100%;
		display: block;
	}

	nav .sitetitle {
		display: block;
		width: 100%;
		font-size: 1.6rem;
		text-align: left;
	}
	
	nav .sitenavigation {
		width: 100%;
		display: block;
		margin-top: -20rem;
	}	

	nav .sitenavigation .g {
		padding: 0;
	}

	nav .toggle {
		display: block;
		font-size: 1em;
		position: absolute;
		top: 1.75em;
		right: 2em;
		line-height: 0;
		background-color: red;
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
		z-index: 2;
	}

	nav .sitenavigation ul {
		background-color: #333;
		padding-top: 1rem;
		padding-bottom: 1rem;
		font-size: 1em;
		-webkit-transition: margin-top .5s ease-out;
		-moz-transition: margin-top .5s ease-out; 
		-o-transition: margin-top .5s ease-out;
		transition: margin-top .5s ease-out;
	}

	nav .sitenavigation ul li {
		float: none;
		margin-right: 0;
	}

	nav .sitenavigation ul li a:link, nav .sitenavigation ul li a:visited {
		text-align: center;
		padding: 1rem;
	}

/*
	nav ul li.subscribe a:link, nav ul li.subscribe a:visited {
		background: none;
	}
*/

	nav [id^=drop]:checked + div ul {
		margin-top: 20rem;
	}

	nav [id^=drop] + div label {
	    -ms-transform: rotate(270deg);
	    -webkit-transform: rotate(270deg);
	    transform: rotate(270deg);
	}

	nav [id^=drop]:checked + div label {
	    -ms-transform: rotate(90deg);
	    -webkit-transform: rotate(90deg);
	    transform: rotate(90deg);
	}

}

@media only screen and (max-width: 400px) {
	header .intro {
		font-size: 1.6rem;
	}
}