/*
==  CUSTOM STYLESHEET  ========================================================

HOW TO USE THIS FILE:
	Simply copy an existing style from the style.css file to this one and 
	modify however you like. It will override the default style.

WHY USE THIS FILE:
	Adding your custom CSS here will make it much easier to upgrade to a 
	newer version of this theme without losing any of your customizations.

===============================================================================
*/

/*
==  THE FOLLOWING CHANGES HAVE BEEN MADE TO THE FOLLOWING FILES ===============

2-21-2019
 * Add MQ at 880px to avoid overflow problems
 * Add rules for prettying up the Subscription fields in the sidebar (#header)
 * Add rules for the mobile state of navigation/masthead to match the live site

2-21-2019
 * Add usage of Font Awesome for social links

3-04-2019
 * Add styles for burger expand/collapse
 * Hide "Build Home" in sidebar nav - that link is only supposed to be displayed in mobile nav

3.-5-2019
 * Tweak the T/B margin from .widget in #mobile-header

YUP.
===============================================================================
*/

body {
	background: url(images/bbbg.png) repeat;
	font: 'Century Gothic', 'PT Sans', 'Droid Sans', Helvetica, Arial, sans-serif;
}

#header {
	width: 80%;
	padding-left: 30px;
	padding-bottom: 5px;
	padding-right: 30px;
	padding-top: 10px;
	margin-left: 0;
	margin-bottom: 0px;
	margin-right: 0;
	margin-top: 0;
	background: url(images/bbheader-bg.jpg) repeat;
	max-width: 866px;
}

#header table {
	border-style: none;
	margin: 0px;
	width: 100%;
	border-width: 0px;
	border-spacing: 0;
	border-collapse: collapse;
}
#header th,
td {
	border-style: none;
	padding: 0px;
	position: relative;
	border-width: 0px;
}
/*# #header th { font-style: normal; text-align: left; font-weight: normal; font-size: 100%; padding: 0px; }
# #header td { vertical-align: top; }*/
#header th:first-child,
td:first-child {
	border-left: 0;
}
#header tr:nth-child(odd) td {
	background-color: white;
}
#header tfoot {
	font-style: italic;
	font-weight: bold;
}
#header caption {
	text-align: center;
	font-family: serif;
	padding-bottom: 0px;
}

.ie8 .single .post-header,
.ie8 .single .post-footer,
.ie8 .page .post-header,
.ie8 .page .post-footer {
	background-color: white;
	font-family: 'Century Gothic', 'PT Sans', 'Droid Sans', Helvetica, Arial, sans-serif;
}

.single .post-footer,
.single .post-header,
.page .post-footer,
.page .post-header {
	background: white;
	margin: -20px 0 0 0;
	padding: 20px;
	color: #888;
	font-size: 11px;
	text-transform: uppercase;
	font-family: 'Droid Sans', sans-serif;
}

.single .post-footer a,
.single .post-header a,
.page .post-footer a,
.page .post-header a {
	font-weight: bold;
	color: #888;
}

.single .post-header a:hover,
.page .post-header a:hover {
	color: gray;
}

.format-video h1.post-title {
	background: url(images/icon-video-lg.png) no-repeat right top;
}

.format-image h1.post-title {
	background: url(images/icon-image-lg.png) no-repeat right top;
}

.format-gallery h1.post-title {
	background: url(images/icon-gallery-lg.png) no-repeat right top;
}

.format-video h1.post-title,
.format-image h1.post-title,
.format-gallery h1.post-title {
	padding-right: 35px;
}

.single .post-footer {
	padding: 20px 0 0 0;
	margin: 0 20px;
	border-top: 1px dotted #ccc;
	background: #fff;
	width: auto;
}

.single .post-title,
.page .page-title {
	color: gray;
	font-size: 18px;
	font-weight: bold;
	text-transform: none;
	font: 'Century Gothic', 'PT Sans', 'Droid Sans', Helvetica, Arial, sans-serif;
	margin: 0;
	padding-bottom: 8px;
}

#sidebar {
	width: 300px;
	margin: 0;
	float: right;
	background: #ffffff;
	border-radius: 3px;
}

#sidebar .mobile-only {
	display: none;
}

.widget-title {
	font-family: 'Century Gothic', 'PT Sans', 'Droid Sans', Helvetica, Arial, sans-serif;
	color: gray;
	padding: 0 0 5px 0;
	margin: 0 0 20px 0;
	border-bottom: 1px dotted #626262;
	text-transform: uppercase;
}

/* search */
.search-wrap input,
.DT_Search input {
	background: #e6e6e6;
	outline: none;
	padding: 5px 10px;
	color: gray;
	width: 240px !important;
	border: none;
	border-radius: 15px;
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.4);
}

.widget a {
	color: #b3b3b3;
}

.DT_Twitter .follow-me {
	margin: 20px 0 0 0;
	text-transform: none;
	color: #b3b3b3;
}

#load-more a {
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(images/header-lm-bg.jpg) repeat;
	border-radius: 3px;
}

.related-posts {
	list-style-type: none;
	margin: 0;
	height: 110px;
}

.related-posts li {
	padding: 0;
	margin: 0;
	float: left;
	margin-right: 5px;
}

.related-post {
	position: relative;
	padding: 3px;
	background-color: white;
	border: 1px solid #ddd;
	width: 100px;
	height: 100px;
	overflow: hidden;
}

.related-post:hover {
	border: 1px solid #999;
}

.related-title {
	position: absolute;
	bottom: 3px;
	left: 0;
	font-size: 0.7em;
	width: 96px;
	margin-left: 3px;
	/* opacity: 0.5; */
	padding: 1px 2px;
	text-align: center;
	line-height: 1.4;
	height: 30px;
	overflow: hidden;
	background-color: black;
	font-family: helvetica, arial;
}

.related-title a {
	text-decoration: none;
	color: white;
}

.related-thumb {
	font-family: 'Century Gothic', 'PT Sans', 'Droid Sans', Helvetica, Arial, sans-serif;
	background-color: white;
	font-size: 1.2em;
	line-height: 1.2;
	height: 100px;
	overflow: hidden;
	width: 100px;
}

.related-thumb a {
	text-decoration: none;
	color: #ddd;
}

.DT_Twitter span a {
	display: inline;
	color: #000;
	text-transform: none;
}

/* Custom Widget form */
.widget_blog_subscription p {
	margin: 0;
}

.widget_blog_subscription form {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
}

@media (max-width: 880px) {
	.widget_blog_subscription form {
		display: inline-flex;
		width: auto;
	}
}

.widget_blog_subscription .wp-block-jetpack-subscriptions__container #subscribe-email {
	flex-grow: 1;
	border-radius: 14px 0 0 14px;
}

.widget_blog_subscription .wp-block-jetpack-subscriptions__container #subscribe-submit {
	min-width: 80px;
}

.widget_blog_subscription .wp-block-jetpack-subscriptions__container .wp-block-button__link {
	color: #fff;
	background-color: #32373c;
	border-radius: 0 14px 14px 0;
	box-shadow: none;
	cursor: pointer;
	display: inline-block;
	font-size: 1.125em;
	padding: 0.335em 0.6em;
	text-align: center;
	text-decoration: none;
	overflow-wrap: break-word;
	box-sizing: border-box;
	border: none;
}

.widget_blog_subscription input[type='email'] {
	border-radius: 14px 0 0 14px;
}

@media (max-width: 880px) {
	.widget_blog_subscription input[type='email'] {
		width: 130px !important;
	}
}

.widget_blog_subscription input[type='email']::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	color: #383838;
	opacity: 1;
	font-size: 12px;
	font-weight: normal;
}
.widget_blog_subscription input[type='email']::-moz-placeholder {
	/* Firefox 19+ */
	color: #383838;
	opacity: 1;
	font-size: 12px;
	font-weight: normal;
}
.widget_blog_subscription input[type='email']:-ms-input-placeholder {
	/* IE 10+ */
	color: #383838;
	opacity: 1;
	font-size: 12px;
	font-weight: normal;
}
.widget_blog_subscription input[type='email']:-moz-placeholder {
	/* Firefox 18- */
	color: #383838;
	opacity: 1;
	font-size: 12px;
	font-weight: normal;
}

.widget_blog_subscription h3.widget-title:empty {
	display: none;
}

/*
a span.plus {
	margin: 0 0 0 4px;
	color: #333;
	font-weight: normal;
	opacity: 1;
	filter: alpha(opacity=100);
}
*/

.item .meta-published {
	position: absolute;
	bottom: 12px;
	right: 20px;
	font-size: 11px;
	color: #aaa;
	background: #fff;
	opacity: 1;
}

#header-inner-left {
	margin-top: 10px;
	height: 50px;
	width: 280px;
	float: left;
}

#header-inner-right {
	margin-top: 10px;
	height: 30px;
	width: 220px;
	float: right;
	padding-top: 4px;
	padding-right: 10px;
	overflow: hidden;
}

.social svg {
	font-size: 16px;
	color: rgba(135, 135, 135, 0.6);
	line-height: 0;
	margin-right: 11px;
}

.social a:hover svg {
	color: rgba(135, 135, 135, 1);
}
/*
 positional adjustments are meant to sync up the position of these icons relative to the main site;
 different resources are used for these icons so making micro adjustments to counter balance

*/
.social .fa-instagram {
	font-size: 18px;
}

.social .fa-facebook-f {
	font-size: 15px;
	transform: translateY(-2px);
	margin-right: 10px;
}

.social .fa-twitter {
	transform: translateY(-1px);
	margin-right: 9px;
}

.social .fa-linkedin-in {
	transform: translateY(-1px);
	font-size: 15px;
}

/* generally used to hide the mobile navigation and mobile masthead */
@media screen and (min-width: 881px) {
	#burger,
	#mobile-header,
	#mobile-nav,
	#mobile-logo {
		display: none;
	}
}

@media screen and (max-width: 880px) {
	.breadcrumbs,
	.archive-title-item,
	#sidebar,
	#primary-menu ul ul,
	.item .featured-details .post-content,
	.item .featured-details a.read-more {
		display: none !important;
	}

	#header {
		position: relative;
		float: none !important;
		width: 100% !important;
		clear: both;
		box-sizing: border-box;
	}

	/* adjustment to enable positioning the burger in the same place as the live site */
	#wrapper {
		margin-top: 16px !important;
	}

	.burger {
		position: absolute;
		right: 20px;
		border: none;
		background-color: transparent;
		font-size: 14px;
		font-family: 'nimbus-sans', sans-serif;
		padding: 0;
		top: -3px;
		letter-spacing: 0.016em;
	}

	.burger--close {
		color: #fff;
		top: 17px;
	}

	#mobile-header {
		margin-bottom: 48px;
	}

	#mobile-header .widget {
		margin: 0 0 20px 0;
	}

	#mobile-nav {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 100px;
		height: 0;
		overflow: hidden;
		text-align: center;
		background-color: #000;
		z-index: 1000;
	}

	#mobile-nav a {
		color: rgba(255, 255, 255, 0.7);
		font-size: 18px;
		display: block;
	}

	#mobile-nav.mobile-nav-expanded {
		transition: all 0.5s ease-out;
		bottom: 0;
		height: auto;
	}

	#mobile-nav ul {
		margin-top: 39px;
		margin-left: 0;
		list-style-type: none;
	}

	#mobile-nav li {
		margin-bottom: 18px;
	}

	#mobile-logo {
		margin-top: 4px; /* counter-balance for the margin-top: 16px adjustment made to #wrapper */
		margin-bottom: 5px;
		width: 50px;
		height: auto;
	}

	#main {
		margin-left: 0 !important; /* remove the 230px left padding, allowing the content to flow in the document from 680 - 880 */
	}
}
