/* FIX: header covers content */
.has-header-image .site-header {
  position: static;
}

article.category-blog h1.entry-title {
	border-left: 3px solid #951b80;
  	padding: 5px 10px;
}

article.category-news h1.entry-title {
    border-left: 3px solid #2fad66;
  	padding: 5px 10px;
}

blockquote {
  	font-size: 1.5rem;
  	font-style: italic;
}

blockquote:before {
    content: "\201C";
    display: block;
    font-size: 75px;
    height: 0;
    left: -40px;
    position: relative;
    top: -25px;
}

pre {
  	background: #eee;
  	border: 1px solid #ccc;
  	padding: 10px 20px;
	margin: 1em 0 1em 0;
  	font-family: inherit;
  	white-space: pre-wrap;       /* css-3 */
 	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 	white-space: -pre-wrap;      /* Opera 4-6 */
 	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

form.wpcf7-form {
	border: 1px solid #eee;
    padding: 10px 20px;
  	margin-bottom: 2em;
}

a.genericon-twitter, a.genericon-twitter:hover {
  text-decoration: none;
  vertical-align: text-bottom;
}

.tp_recent_tweets ul li {
  list-style: none;
  position: relative;
  left: -10px;
}

nav.nav-primary {
  background: #772059;
}

#site-generator {
    background-color: #772059;
    color: #aaa;
}

.menubox {
  background: #42145f;
  color: #fff;
  border-radius: 3px;
  padding-top: 15.6px;
  padding-top: 1.56rem;
  padding-bottom: 12px;
  padding-bottom: 1.2rem;
}

.menubox a, .menubox a:visited {
  color: #fff;
}

.menubox p {
    margin-left: 18px;
  margin-left: 1.8rem;
  margin-right: 18px;
  margin-right: 1.8rem;
  margin-bottom: 0;
}

/* Home page listing styling */


.display-posts-listing.image-left .listing-item {
	overflow: hidden; 
	margin-bottom: 32px;
	width: 100%;
}

.display-posts-listing.image-left .image {
	float: right;
	margin: 0 0 10px 10px;
}

.display-posts-listing.image-left .title {
	display: block;
}

.display-posts-listing.image-left .excerpt-dash { 
	display: none; 
}

.display-posts-listing .title
{
  font-size: 2rem;
  margin: 0 0 5px 0;
  color: #772059;
  font-family: Rufus;
  font-weight: normal;
}

.display-posts-listing .date
{
  display:block;
  color: #333;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  padding-bottom: 5px;
  opacity: 0.75;
}

.home .entry-header,
.entry-meta .byline
{ 
  display: none; 
}

.home .entry-content
{
	margin-top:0;
}

#secondary .widget_recent_entries time {
  margin-bottom: 1em;
}

#secondary .wp-block-latest-posts li,
#secondary .wp-block-social-links li {
  margin-left: 0;
}

.post-navigation .nav-previous::before {
  content: "Previous news article: ";
  display: block;
}

.post-navigation .nav-next::before {
  content: "Next news article: ";
  display: block;
}

/* Fix sidebar latest posts - default featured image (when none set) is the wrong size */
#secondary .wp-block-latest-posts img {
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
}

/* Fix unwanted wrapping of long titles */
#secondary .wp-block-latest-posts {
  margin-left: 110px;
}
#secondary .wp-block-latest-posts div {
  margin-right: 0;
}
#secondary .wp-block-latest-posts img {
  margin-left: -110px;
  margin-bottom: 20px;
}