* 
{
	box-sizing: border-box;
}
#persistent_navigation
{
}
#persistent_navigation #site_logo_and_tagline
{
	display: flex;
	align-items: flex-end;
	float: left;
	margin: 6px;
}
#persistent_navigation #tagline
{
	padding-left: 1em;
}
#persistent_navigation #site_logo
{
	max-width: 13em;
	max-height: 5em;
	margin: 0;
}
#persistent_navigation #search_box_and_utilities
{
        display: flex;
	align-items: center;
        float: right;
        margin: 6px;
}
@media (max-width: 600px) 
{
	#persistent_navigation #site_logo_and_tagline,
	#persistent_navigation #search_box_and_utilities
	{
		display: block;
	}
}

#persistent_navigation #sections, .dropdown_content 
{
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: #333;
}

#persistent_navigation #sections a 
{
	float: left;
}
#persistent_navigation #sections a 
{
	display: block;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}
#persistent_navigation #sections a:hover 
{
	background-color: #111;
}

#persistent_navigation #sections .selected_section a
{ 
	color: black;
	background-color: white;
}
.dropdown_content 
{
        display: none;
        position: absolute;
        z-index: 1;
}

.section
{
	display: inline-block;
	position: relative;
}
.section_
{
	min-height: 3em;
}
.section:hover .dropdown_content 
{
        display: block;
}
#persistent_navigation #sections .dropdown_content a
{
	float: none;
}

body
{
	margin: 0px;
	border: 0px;
	padding: 0px;
	font-size: 16px;
}

body
{
	counter-reset: counter;
}
h2.counter::before 
{
	counter-increment: counter;
	content: counter(counter) ". ";
}

.counter-backwards-initiate
{
	couneer-reset:start-from 11;
}
}
.counter-backwards 
{
	counter-increment:start-from -1;
}
.counter-backwards::before
{
	content:counter(start-from) ". ";
}

* html .counter-backwards 
{ list-style-type:decimal; }
*+html .counter-backwards 
{ list-style-type:decimal; }

#latest_articles
{	
	margin: 0 auto; 
}
iframe,
img,
figure
{
	display: block;
	margin: 10px auto;
}
.iframe-container
{
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; 
	height: 0;
	margin-bottom: 2em;
}
.iframe-container iframe
{
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
}
img
{
	max-width: 100%;
}
img.medium_width
{
	max-width: 400px;
}
img.small_width
{
	max-width: 300px;
}
#logo
{	
	float: left;	
	
}	
.menu-item
{	
	float: right;	
	max-width: 100px;	
	text-align: center;	
	position: relative;	
}	
#logo,
.menu-item
{	
	margin: 10px;	
}	
.clear
{	
	clear: both;	
}	
.menu-item p,
.article_link p,
#logo p
{	
	margin: 0;	
	padding: 0;	
}
@media (min-width: 601px) 
{
	.article_link p
	{
		font-size: 1.2em;
	}
}
.article_link:hover 
{
	background-color: bisque;
}
.menu-item:hover
{	
	background: #f2f2f2;	
}
.link-spanner
{
	position:absolute; 
	width:100%;
	height:100%;
	top:0;
	left: 0;
	z-index: 1;
}	
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
table
{
	font-family: 'Noto Sans JP', Arial, sans-serif;
	word-wrap: break-word;
	font-display: swap;
}
h1,
h2,
h3
{
	font-family: 'Oswald', sans-serif;
	font-display: swap;
}
h1
{
	margin: 0;
}
#entry_text
{
	padding-top: 1em;
	padding-bottom: 3em;
}
#entry_text h1
{
	margin-top: 4em;
	text-transform: uppercase;
}
h2
{
	margin-top: 3em;
	font-size: 1.7em;
}
h3
{
	margin-top: 2.5em;
	font-size: 1.5em;
}
h4
{
	margin-top: 1.5em;
}
#article,
#standard_page
{	
	max-width: 800px;	
	min-height: 100%;
	display: block;	
	margin-left: auto;	
	margin-right: auto;	
	padding: 1em;	
}
#container_for_404_page i
{
	font-size: 10em;
}
#container_for_404_page
{
	text-align: center;
	margin: 7em auto;
}

#article_metadata
{
	display: flex;
	margin-bottom: 3em;
}
#article_metadata span
{
	font-size: 16px;
}
#article_metadata,
#article_author span,
#article_author a
{
	color: #888888;
}
#article_metadata #date_written, #article_metadata #author_and_social_media
{
	align-self: flex-end;
}
.metadata .fa-calendar,
.metadata .fa-user
{
	min-width: auto;
}
.metadata .fa-calendar
{
	font-weight: 100;
}
.metadata .author
{
	padding-left: 3em;
	padding-right: 1em;
}
.fa,
.fab
{	
	min-width: 2em;	
}	
@media (max-width: 600px) 
{
	#article_metadata
	{
		display: block;
	}
	.metadata .author
	{
		padding-left: 0em;
		display: block;
	}
}
pre
{	
	white-space: pre-wrap;	
}	
#page_content
{	
	max-width: 1000px;	
	display: block;	
	margin-left: auto;	
	margin-right: auto;	
	padding: 1em;	
}	
@media (max-width: 600px) 
{	
	#page_content 
	{	
		max-width: 100%;	
	}	
	#introduction
	{	
		flex-flow: column;	
	}	
}	
#home_page
{	
	margin: 0 auto;	
}	
#footer
{	
	display: flex;	
	margin-top: 6em;	
	clear: both;
}	
.footer_link
{	
	padding: 1em;	
}	

a
{
	text-decoration: none;	
}
.footer_link a,
#logo a,
#article_author a,
#latest_articles a,
.author a	
{
	color: inherit;	
}	
.author a
{
	font-weight: bold;
}
#author_bio a
{
	text-decoration: underline;
}
#comments_section
{	
	margin: 6em auto;	
}	
.comment_name,
.comment_timestamp
{	
	color: grey;	
}	
p.comment_text
{
	white-space: pre-line;
}
.comment
{	
	padding: 1em 0em;	
}	
.child_comment
{
	padding-left: 5em;
}
.grandchild_comment
{
	padding-left: 10em;
}
@media (max-width: 500px) 
{	
	.child_comment
{
		padding-left: 2em;
	}
	.grandchild_comment
{
		padding-left: 4em;
	}
}
.comment .comment_reply_button
{
	cursor: pointer;
	width: max-content;
	color: gray;
	font-size: 0.9em;
}
.comment .comment_reply_button:hover
{
	color: blue;
}
.write_comment_form textarea, #write_comment_form textarea
{	
	height: 70px;	
}	
.write_comment_form textarea,
.write_comment_form input,
#write_comment_form textarea,
#write_comment_form input
{	
	overflow: hidden;	
	overflow-wrap: break-word;	
	resize: none;	
	-webkit-appearance: none;	
	border: none !important;	
	background: transparent !important;	
	color: rgba( 0, 0, 0, 0.7 );	
	text-shadow: 0 1px 0 rgba( 255, 255, 255, 0.45 );	
	width: 100%;	
	outline: none;	
	font-size: 16px;
	font-family: sans-serif;
	padding: 0em;
}	
.write_comment_loading_icon,
#write_comment_loading_icon
{	
	height: 2em;	
	width: 2em	
}
 
.hidden
{	
	display: none; 	
 }	
 blockquote 
{
	background: #f9f9f9;
	border-left: 10px solid #ccc;
	margin: 1.5em 10px;
	padding: 0.5em 10px;
}
.fa-facebook-square
{	
	color: blue; 
}
.fa-youtube
{
	color: red;
}
figcaption
{
	text-align: center;
	font-weight: lighter;
	font-style: italic;
}
figure
{
	margin: 40px auto;
}
.video_container 
{
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}
.video 
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.amazon_affiliate_link
{
	padding-top: 2em;
}
#entry_text #amazon_disclosure
{
	margin-bottom: 2em;
}
.amazon_affiliate_link,
#amazon_disclosure
{
	font-style: italic;
}
#entry_text h1,
#entry_text h2,
#entry_text h3,
#entry_text h4
{
	text-align: center;
	//margin: 3em auto 0em auto;
}
#entry_text h3.no_top_margin,
#entry_text h4.no_top_margin
{
	margin-top: 1em;
}
#entry_text h3
{
	font-style: italic;
}
#entry_text p,
#entry_text blockquote,
#entry_text h1,
#entry_text h2,
#entry_text h3,
#entry_text h4,
#entry_text ol,
#entry_text ul,
#entry_text li,
#entry_text table
{
	max-width: 30em;
}
#entry_text p,
#entry_text blockquote,
#entry_text ol,
#entry_text ul,
#entry_text li,
#entry_text table
{
	margin: 1em auto;
}
#author_section
{
	display: flex;
	background-color: rgba(0,0,0,0.4);
	color:white;
	max-width: 35em;
	margin: 3em auto;
}
#author_section div
{
	//padding: 1em;
}
#author_section #author_bio
{
	padding: 1em;
	flex: 2;
}
#author_section #author_bio a
{
	color: inherit;
}
#author_section #author_image 
{
	flex: 1;
}
#author_section #author_image img
{
	margin: 0;
	//border-radius: 50%;
}
#related_results_section
{
	margin: 0px auto;
	padding: 1em;
}
@media (max-width: 631px) 
{
	#related_results_section
	{
		text-align: center;
	}
	#related_results_section .article_link
	{
		float: none;
		margin: auto;
	}
}
@media (min-width: 632px) and (max-width: 1231px)
{
	#related_results_section
	{
		width: 632px;
	}
	#related_results_section .article_link:nth-child(4) 
	{
		clear: both;
	}
}
@media (min-width: 1232px) 
{
	#related_results_section
	{
		width: 1232px;
	}
}
.paragraph_divider
{
	text-align: center;
}

@media (min-width: 601px) 
{
	#entry_text p, 
	#entry_text li
	{
		font-size: 1.2em;
	}
}
@media (max-width: 600px) 
{
	#featured_image img
	{
		width: 100%;
	}
	.article_link
	{
		//width: 100px;
	}
}
@media (max-width: 400px) 
{
	#entry_text img
	{
		width: 100%;
		min-width: initial;
	}
}
#entry_text p, #entry_text blockquote, #entry_text h2, #entry_text h3, #entry_text h4, #entry_text ol, #entry_text ul, #entry_text li, #entry_text table 
{
	max-width: 50em;
}
#entry_text img
{
	min-width: 300px;
}
#entry_text blockquote
{
	max-width: 40em;
}
body 
{ 
	font-family: sans-serif; 
}
video 
{
	max-width: 100%;
}
#link_to_previous_article
{
	float: left;
}
#link_to_next_article
{
	float: right;
}


//the following stuff is for masonary
.grid:after 
{
	content: '';
	display: block;
	clear: both;
}

.grid-item 
{
	float: left;
}

#latest_articles .grid-sizer,
#latest_articles .grid-item 
{ 
	width: 300px; 
}
@media (max-width: 1000px) 
{
	#latest_articles .grid-sizer,
	#latest_articles .grid-item 
	{ 
		width: 25%; 
	}
}

@media (max-width: 600px) 
{
	#latest_articles .grid-sizer,
	#latest_articles .grid-item 
	{ 
		width: 33%; 
	}
}

@media (max-width: 500px) 
{
	#latest_articles .grid-sizer,
	#latest_articles .grid-item 
	{ 
		width: 50%; 
	}
}

