/*
 *	Styles for Stratford Blog & Stratford News
 *  (Note: Additional Stratford News styles are in stratford-news.css)
 */


.screen-reader-text {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
}


.clear-fix::before,
.clear-fix::after {
	clear:both;
  content: " ";
  display: table;
}

.hero-container.image a {
  display:block;
}

.blog-hero-title {
    position: absolute;
    bottom: 0;
    text-align: left;
    width: 90%;
    color: #FFFFFF;
    text-shadow: var(--textshadow);
    padding: 0 0 .5em 1.4em;
}

.blog-hero-title h1 {
    font-size: 1.75em;
}

  
#page_title h1 {
  line-height: 1.2;
}  

/*	Sidebar	*/
#stratford_sidebar {
	position: relative;
	background: var(--blue);
  margin: 0 -1.5em 0;
}

#stratford_sidebar .sub-wrapper {
	padding: 0 1.6em 0;
}

#stratford_items li {
	display: inline-block;
	width: 32%;
	color: #FFFFFF;
	text-align: center;
	font-size: 1.1em;
	padding: 0.6em 0;
}
#stratford_items li a {
	color: #FFFFFF;
}
#stratford_items li.active {
	color: #009DDC;
}
#stratford_items li i {
	font-size: 0.8em;
}
#stratford_sidebar .stratford-sidebar {
	display: none;
	padding: 1em 0;
}
/*	Search */
#stratford-searchbox {
	background: #FFFFFF;
	border-radius: 6px;
	position: relative;
}
#stratford-searchbox input#s[type="text"] {
	display: block;
	width: 100%;
	max-width: 100%;
	/* padding-right: 3.2em !important; */
	background: none;
	border: 0;
	margin: 0 0 0 0;
	font-size: 16px;
	padding: 0.5em 0.8em;
}
#stratford-searchbox input[type="submit"] {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	text-transform: uppercase;
	background-color: var(--red);
	display: inline-block;
	padding: 0.5em 1em;
	min-height: 2.4em;
	border-radius: 6px;
	border: none;
	font-family: 'Roboto', Geneva, sans-serif;
	font-weight: 500;
	font-size: 0.9em;
	line-height: 1;
	color: #fff;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
}

#stratford-searchbox input[type="submit"]:hover {
	cursor: pointer;
}
/*	Topics */
#stratford-topics span.title {
	display: none;
}
#stratford-topics ul li {
	display: block;
}
#stratford-topics ul li a {
	display: block;
	padding: 0.75em 0;
	color: #FFFFFF;
	font-size: 1.1em;
	border-bottom: 1px solid rgba(0,0,0, 0.1);
}
#stratford-topics ul li:last-of-type a {
	border-bottom: 0;
}
#stratford-topics ul li.selected a {
	color: #009DCC;
}

.stratford-blog {
	margin: 0 0 1em 0;
	padding: 0 0 1.4em 0;
}
.stratford-blog.singular {
	padding: 0 0 1em 0;
}
.stratford-blog .post-image img {
	max-width: 100%;
	width: 100%;
	height: auto;
}
.entry-content .stratford-blog .post-image .wp-post-image {
  .entry-content img.wp-post-image {
    padding-bottom: 1em;
  }
}

.stratford-blog .post-meta {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    margin: 0 0 1rem;
    border-bottom: 1px solid var(--ltgrey);
}
.stratford-blog .post-content .post-info {
	display: block;
	margin: 0 0 .8em 0;
	font-size: .7rem;
	line-height:1.5em;
}
.stratford-blog .post-content .post-info a {
	text-decoration: none;
	font-weight: 500;
}
.stratford-blog h3 {
	margin: 0.5em 0;
	font-size: 1.3em;
	line-height: 1.5;
}
.stratford-blog h3 a {
	color: var(--blue);
	text-decoration: none;
}
.stratford-blog a.read-more {
	color: var(--red);
  display: inline-block;
  padding-bottom: 0;
  position: relative;
  right: 0;
  width: auto;
  text-align: left;
}
.post-topics a {
	color: var(--blue);
}
div.back-to-blog {
	width: 100%;
	padding: 1em 0 0 0;
  text-align:center;
}
div.back-to-blog a {
	color: var(--blue);
	text-decoration: none;
}
#stratford_blog_search_header {
	color: var(--red);
	margin: 0 0 1.5em;
}

.addthis_toolbox {
	display: none;
}

.singular.stratford_blog #page_title {
	position: relative;
	margin: 0 0 1.5em;
}
.singular.stratford_blog #page_title h1.entry-title {
	max-width: 100%;
}
.singular.stratford-blog .post-content {
	width: auto;
}

.entry-content img {
	margin: 0 0 1em 0;
	width: 100%;
}

nav.pagination {
	clear:both;
}

nav.navigation.pagination {
    margin: 2em 0;
    text-align: center;
}

nav.navigation.pagination .page-numbers {
  display:none;
}

nav.navigation.pagination .page-numbers.next,
nav.navigation.pagination .page-numbers.prev {
  display: inline-block;
  text-align: center;
  font-size: 1.2em;
  font-weight: 600;
  border: 2px solid var(--blue);
  border-radius: 3px;
  padding: .5em 1em;
  width:110px;
  text-decoration: none;
  color: var(--blue);
}


/* MEDIA QUERIES */

@media only screen and ( min-width: 480px ) {
	
	#landing_title {
		bottom: 3em;
	}
}

@media only screen and ( min-width: 600px ) {	
    .entry-content img.wp-post-image {
      width: 40%;
      float: right;
      padding: 0 0 1em 1em;
  }
}

@media only screen and ( min-width: 640px ) {
	
	.stratford-blog .post-image {
		float: left;
		width: 30%;
		padding: 0.3em 0 0;
	}
	.stratford-blog .post-content {
		float: right;
		width: 68%;
	}
	.stratford-blog .post-content h3.title {
		margin: 0 0 0.5em;
	}
	
	.entry-content img {
		margin: 0 0 0 0;
		width: auto;
	}
	img.alignleft {
		margin-right: 1.5em;
	}
	img.alignright {
		margin-left: 1.5em;
	}

}

@media only screen and ( min-width: 768px ) {
  #stratford_sidebar {
    margin: 0 -2.5em 0;
  }
}

@media only screen and ( min-width: 1024px ) {
	
	#landing_title {
		bottom: 5em;
	}
  .blog-hero-title h1 {
    font-size: 2.5em;
  }
}

@media only screen and ( min-width: 1200px ) {
	
	#hero {
		margin-bottom: 1.25em;
	}

	#landing_title {
		bottom: 8em;
	}
	.blog-hero-title h1 {
    font-size: 3em;
  }

	#nobel_tool_bar {
	    top: auto;
	    bottom: 0.5em;
	}
	#content {
		float: right;
		width: 73%;
		padding-top:0;
	}
	#stratford_sidebar {
		float: left;
		width: 23%;
		margin: 0 0 0 0;
		background: transparent;
	}
	#stratford-searchbox {
    border: 1px solid rgba(0,0,0, 0.25);
	}
	#stratford_items {
		display: none;
	}
	#stratford_sidebar .stratford-sidebar#stratford-blog-search {
		padding: 0 0 1.5em;
	}
	#stratford-topics span.title,
	#stratford_sidebar .stratford-sidebar {
		display: block;
		margin: 0 0 1em;
	}
	#stratford_sidebar .stratford-sidebar {
		border-bottom: 1px solid rgba(0,0,0, 0.25);
	}
	#stratford_sidebar a.stratford-sidebar {
		border-bottom: 0;
	}
	#stratford_sidebar .stratford-sidebar span.title {
		font-weight: 500;
	}
	#stratford-topics ul li a,
	#stratford_sidebar ul li a {
	    display: inline-block;
	    font-weight: 700;
	    text-decoration: none;
	    color: var(--blue);
	    font-size: 1em;
	    padding: 0 0 0 0;
	    margin: 0 0 0.5em 0.5em;
	    border-bottom: 0;
	}
	#stratford-topics ul li.selected a {
		color: #F68B1F;
	}
	#stratford-archives ul li ul.monthly-archives,
	#stratford-archives ul li ul.monthly-archives li ul.articles {
		display: none;
	}
	#stratford-archives ul li span:hover {
		cursor: pointer;
	}
	#stratford-archives ul.yearly-archives {
		margin: 1em 0 0 0.5em;
	}
	#stratford-archives ul.monthly-archives,
	#stratford-archives ul.yearly-archives li.article {
		margin: 0.5em 0 0 1em;
	}
	#stratford-archives .yearly-archive {
		color: var(--blue);
	}
	#stratford-archives .yearly-archive .fa {
		color: #B2B2B2;
		padding: 0 0.5em 0 0;
		font-size: 0.75em;
	}
	
}