/*
Welcome to Custom CSS!

To learn how this works, see https://wp.me/PEmnE-Bt
*/
body {
	background-color: #ffffff;
	font-family: 'Roboto Slab';
	font-weight: 400 !important;
	color: #555;
}

.entry-content p {
	text-align: justify;
	text-justify: inter-word;
}

p a, a.customize-unpreviewable, .entry-wrapper > a, .wp-block-heading > a {
	color: #3366aa !important;
}

a:hover, a:focus, a:active {
	color: #4488cc !important;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'American Typewriter', 'Helvetica Neue';
}

h1, h2, h4 {
	font-weight: bold;
}

article.type-page header.entry-header h1.entry-title {
	font-size: 1.2em;
	font-style: italic;
	color: #999999;
	display: none;
}

.nav-menu .menu-item {
	font-size: 1.45em;
}

a {
	target-name: new;
	target-new: tab;
}

@media screen and (min-width: 50em) {
	h1 {
		font-size: 40px;
		line-height: 46px;
	}
	
	h2 {
		font-size: 34px;
	}
	
	h3, #respond h3, .author-title {
		font-size: 30px;
	}
	
	h4 {
		font-size: 24px;
	}
	
	h5 {
		font-size: 20px;
	}
	
	h1.entry-title {
		font-size: 44px;
	}
	
	.entry-content .entry-wrapper > h2.entry-title {
		font-size: 26px;
		word-break: normal !important;
	/*word-wrap: normal !important;*/
	}
	
	/*Front Page Lead Story Headline*/
	.md-topstory article.category-news .entry-wrapper > h2.entry-title {
		font-size: 26px;
	}
}

@media screen and (max-width: 26em) {
	figure.post-thumbnail {
		display: none;
	}
	
	.entry-wrapper p {
		display: none;
	}
	
	.entry-wrapper span.byline {
		display: none;
	}
}

@media screen and (max-width: 55em) {
	h1 {
		font-size: 40px !important;
		line-height: 44px !important;
		color: #444444;
	}
	
	h2 {
		font-size: 30px !important;
		line-height: 38px !important;
	}
	
	h3, #respond h3, .author-title {
		font-size: 30px !important;
		line-height: 38px;
	}
	
	h4, #respond h4, .author-title {
		font-size: 24px !important;
		line-height: 38px;
	}
	
	.entry-content p {
		font-size: 1.1em;
		color: #555 !important;
		text-align: justify;
		text-justify: unset;
	}
	
	a.more-link {
		font-size: 20px !important;
	}
}

@media screen and (min-width: 55em) {
	.no-sidebar .site {
		margin-right: auto;
		margin-left: auto;
		max-width: 872px;
		padding: 54px;
	}
}

.main-navigation {
	border-top: 2px solid #888;
	margin-top: 27px;
	padding-top: 24px;
}

.site-header {
	margin: 0 0 27px;
	padding: 0 0 24px;
	border-bottom: 2px solid #888;
}

span.byline {
	display: inline-block;
}

button {
	border: solid 1px #bbbbbb;
	background-color: #ffffff;
	border-radius: 6px;
	font-family: sans-serif;
	padding: 8px 16px;
	color: #888888;
}

.text-center {
	text-align: center;
}

/* Photos/Images and captions */
div.wp-block-image > figure > img,
li > a > img.size-full, 
li > img.size-full {
	border: solid 1px #777777;
	box-shadow: 0 0 6px 0 #999999;
	border-radius: 4px !important;
}

figure > figcaption {
	font-family: sans-serif;
	line-height: 1.4em;
	margin-top: 0 !important;
	color: #777777 !important;
}

span.posted-on time.published, time.updated {
	display: inline;
}

span.posted-on time.published:before {
	content: "Published: ";
}

span.posted-on time.published:after {
	content: " - ";
}

span.posted-on time.updated:before {
	content: " Updated: ";
}

.site-disclaimer {
	border-top: solid 1px gray;
	font-style: italic !important;
	color: #999999 !important;
	font-size: 9pt;
	line-height: 12pt;
	padding: 10px 0;
}

.wp-block-separator {
	max-width: unset !important;
	width: 100% !important;
	padding: 5px;
	color: #aaaaaa;
}

.wp-block-button__link {
	border: solid 1px #AAA;
	border-radius: 10px !important;
	background: none !important;
	font-family: sans-serif;
}

a.button-in-article {
	font-family: sans-serif;
	font-size: .88em;
	color: #999999;
	border-radius: 4px;
	border: solid 1px #cccccc;
	padding: 6px 12px;
}

a.button-in-article:hover {
	text-decoration: none;
	border-color: #4488cc;
}

.wp-block-search__input {
	border-radius: 5px !important;
}

.wp-block-search__label {
	font-family: sans-serif;
}

.wp-element-button {
	font-family: sans-serif;
}

.advert-local-wrapper {
  margin-bottom: 20px;
}

.advert-local-wrapper::before {
  content: "Sponsored:";
  display: block;
  font-weight: bold;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
}

.advert-local-container {
  border: 1px dotted gray;
  padding: 20px;
  font-family: sans-serif;
  background-color: #FFFFFF;
}