/*
Theme Name: Architas Theme 20180704
Theme URI: 
Author: Sarah Maynard
Author URI: http://www.sarahmaynard.net
Description: A theme for Architas Points of View
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: architas2018
Tags: 

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body {
	letter-spacing: 0.08em;
	font-size: 14px;
}
body.page-template-page-events {
	overflow-x: hidden;
}
body.home,
body.category,
body.post-type-archive-events,
body.page-template-page-events {
	background: #f3f4f4;
	}	

h1.entry-title {
	margin-bottom: 20px;
}
h2.entry-title a,
h2.entry-title {
	font-weight: 400;
}
h3 {font-size: 16px;}

img {
	max-width: 100%;
	height: auto;
}
.wp-caption {
	width: auto !important;
	max-width: 100% !important;
	display: inline-block;
	clear: both;
	background: #1e252c;
	color: #fff;
	margin-bottom: 20px;
}
.post-content p.wp-caption-text {
	max-width: 680px;
	padding: 10px;
	margin: 0;
	font-size: 0.9em;
}
.post-content .size-medium + p.wp-caption-text {
	max-width: 300px;
}
.alignleft {
	float: left;
	margin-right: 30px;
}
.alignright {
	float: right;
	margin-left: 30px;
}
.aligncenter {
	display: block;
	margin: 0 auto 20px auto;
}

cite {
	font-size: 16px;
	font-style: normal;
	display: block;
	margin-top: 2em;
	font-weight: 500;
}

.socialnav-container input::placeholder{ 
  color: #d6d6d9 !important;
}
.socialnav-container input::-webkit-input-placeholder{ 
  color: #d6d6d9 !important;
}
.socialnav-container input::-moz-placeholder{ 
  color: #d6d6d9 !important;
}
.socialnav-container input:-ms-input-placeholder{ 
  color: #d6d6d9 !important;
}
.socialnav-container input:-moz-placeholder { 
  color: #d6d6d9 !important;
}

/*================== Header ====================*/

#cookie-law-bar a {
	color: #fff;
	text-decoration: underline;
}

.banner {
	height: 336px;
	background: #ffc632;
}

.site-title,
.site-subtitle {
	overflow: hidden;
	line-height: 1000px;
}
.site-title {
	background: url('img/logo-main.png') center no-repeat;
	background-size: contain;
	max-width: 70%;
	height: 182px;
	margin: 30px auto 20px auto;

}
.site-subtitle {
	width: 319px;
	max-width: 70%;
	height:55px;
	background: url('img/logo-architas-centered.png') center no-repeat;
	background-size: contain;
	margin: 0 auto 20px auto;
}

.header-content {
	font-size: 11px;
	padding-bottom: 20px;
}
.nav-container {
	background: #1e252c;
	width: 100%;
}

.socialnav-container {
	background: #c1c6c8;
	width: 100%;
	min-height: 32px;
}

#main-menu ul > li > a {
	font-weight: 500;
	color: #fff;
}

#main-menu #menu-pages ul > li > a:hover {
	background: #2f363c;
}

.main-body {
	margin-top: 50px;
}
.navbar-toggle .icon-bar {
	background:#fff;
}

#searchbar {
	padding: 0;
	float: right;
	position: relative;
}
#searchbar input.searchbox {
	background: transparent;
	border: 0px;
	padding: 5px 5px 35px 10px;
	width: 100%;
}

input.searchbutton {
	width: 30px;
	height: 30px;
	position: absolute;
	top: 0;
	right: 3px;
	padding: 0;
	background: url('/wp-content/themes/architas/img/search.png') center no-repeat;
	border: 0;
	overflow: hidden;
	color: transparent;
}


/*-------------------- Social ------------------------*/

.socialnav-container #socialbar {
	float: right;
}
#socialbar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 30px;
}

#socialbar li {
	list-style: none;
	display: inline-block;
	overflow: hidden;
}

#socialbar li a {
	height: 30px;
	width: 30px;
	overflow: hidden;
	color: #1e252c;
	display: inline-block;
    font: normal normal normal 18px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

#socialbar li a:before {
	display: block;
	width: 30px;
	height: 30px;
	font-size: 18px;
	margin-right: 20px;
	padding: 1px;
	line-height: 30px;
	text-align: center;
	overflow: hidden;
}

#socialbar li.twitter a:before {
    content: "\f099";
}
#socialbar li.facebook a:before {
    content: "\f09a";
}
#socialbar li.linkedin a:before {
    content: "\f08c";
}
#socialbar li.youtube a:before {
    content: "\f167";
}
#socialbar li.menu-item-4832 a:before {
    content: "\f0e0";
}

#socialbar li a:hover {
	text-decoration: none;
	color: #434a51;
}

/*--------------- Social/Search toggle styles ---------*/
.socialnav-container #socialbar {
    -webkit-transition: width 1s; /* Safari */
    transition: width 1s;
	width: 110px;
	padding-left: 5px;
	overflow: hidden;
}
.socialnav-container .menu-social-container {
	width: 110px;
}
.socialnav-container #searchbar {
    -webkit-transition: all 1s; /* Safari */
    transition: all 1s;
	overflow: hidden;
	height: 32px;
	position: relative;
	width: 200px;
}
.socialnav-container .searchbox {
	display: none;
}
.searchtoggle {
	display: block;
	width: 35px;
	height: 32px;
	position: absolute;
	top: 0;
	right: 0px;
	background: transparent url('img/transparent.png');
    cursor:pointer;
}
.socialnav-container #socialbar.slidehide {
	width: 0px !important;
}

.socialnav-container #searchbar.slidehide {
	background: #a3a6a8;
	width: 500px;
}

/*----- Mobile Search/Social ---------*/


#menu-searchbar .searchbox {
	padding: 10px 45px 10px 15px;
	font-size: 18px;
	border: 0;
	width: 100%;
}

#menu-searchbar .searchbutton {
	float: right;
	padding: 25px;
	position: relative;
	top: -48px;
}

.menu-socialblob #socialbar ul {
	height: auto;
}
.menu-socialblob #socialbar li {
	margin: 20px 30px 20px 0;
} 
.menu-socialblob #socialbar li:hover {
	color: #fff;
	background: transparent;
} 
.menu-socialblob #socialbar li a:before {
	width: 35px;
	height: 35px;
	font-size: 25px;
}
/* =========================== SIDEBAR ======================*/
#related-posts,
.relatedthumb,
#sidebar .widget {
	padding: 30px 0;
	border: 0px solid #ffc632;
	border-top: 2px solid #ffc632;
}

#sidebar .widget:last-child {
	border-bottom: 2px solid #ffc632;
}

#sidebar .widget h3 {
	margin-top: 0px;
	margin-bottom: 20px;
}


#related-posts {
	border: 0;
}
.relatedthumb {
	margin: 0px;
	padding-top: 0;
	padding-bottom: 20px;
	border-top: none;
}
.category-your-views #related-posts,
.category-your-views .relatedthumb {
	border-color: #0076a8;
}
.category-regulation #related-posts,
.category-regulation .relatedthumb {
	border-color: #008675;
}
.category-investment #related-posts,
.category-investment .relatedthumb {
	border-color: #658d1b;
}
.category-retirement #related-posts,
.category-retirement .relatedthumb {
	border-color: #cf4520;
}

.relatedthumb .category-meta {
	margin-top: 30px;
}
.relatedthumb a {

	font-weight: 500;
	color: #1e252c;
	text-decoration: none;
}

/*================== Homepage =====================*/

.summary {position: relative;}

.summary .summary-wrapper {
	height: 270px;
	background: #fff;
	margin-bottom: 30px;
	padding: 30px;

}
.summary-block .summary-wrapper, 
.summary-vertical .summary-wrapper {
	height: 545px;
}

/* --- Block category colours --- */
.category-your-views blockquote,
.category-your-views .category-meta,
.category-your-views .date-meta {
	color: #0076a8;
	border-color: #0076a8;
}
.category-regulation blockquote,
.category-regulation .category-meta,
.category-regulation .date-meta {
	color: #008675;
	border-color: #008675;
}
.category-investment blockquote,
.category-investment .category-meta,
.category-investment .date-meta {
	color: #658d1b;
	border-color: #658d1b;
}
.category-retirement blockquote,
.category-retirement .category-meta,
.category-retirement .date-meta {
	color: #cf4520;
	border-color: #cf4520;
}


/* --- Block background colours --- */
.summary.category-your-views.summary-square .summary-wrapper {
	background: #0076a8;
}
.summary.category-regulation.summary-square .summary-wrapper {
	background: #008675;
}
.summary.category-investment.summary-square .summary-wrapper {
	background: #658d1b;
}
.summary.category-retirement.summary-square .summary-wrapper {
	background: #cf4520;
}

.summary.category-your-views.summary-square .summary-wrapper *, 
.summary.category-retirement.summary-square .summary-wrapper *, 
.summary.category-investment.summary-square .summary-wrapper *, 
.summary.category-regulation.summary-square .summary-wrapper * {
	color: #fff;
}


/* --- Block thumbnails --- */
.summary-thumbnail {
	width: 290px;
	height: 270px;
	background: #333;
	margin: -30px 0 -30px -30px;
	position: absolute;
	background-position: center;
	background-size: cover;
}

.summary-block .summary-wrapper {
	padding: 0;
}
.summary-block .summary-wrapper .summary-container {
	width: 100%;
	height: inherit;
	position: relative;
}
.summary-block .summary-wrapper .summary-wrapper-bg { 
	background-position: center;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	height: inherit;
	width: 100%;
}


.summary-block .summary-wrapper .entry-header {
	width: 100%;
	height: auto;
	position: absolute;
	bottom: 0px;
	left: 0;
	padding: 30px 0;
	background: #181f28;
}


.summary-block .summary-wrapper * {
	color: #fff !important;
}

.summary-block .summary-wrapper .entry-header > div,
.summary-block .summary-wrapper .entry-header > h2 {
	margin: 0 30px;
}

.summary-block .summary-wrapper .entry-header h2 {
	margin-top: 20px;
}
.event-title::before,
.relatedthumb .relatedthumb-wrapper::after,
.summary-block .entry-header::before,
.summary-thumbnail::after {
	display: block;
	content: "";
  width: 0; 
  height: 0; 
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent; 
  border-right:15px solid white; 
  float: right;
  margin-top: 30px;
}


.summary-block .entry-header::before {

	  border-left: 16px solid transparent;
	  border-right:16px solid transparent; 
	  border-bottom: 15px solid #181f28; 
	  margin: 0;
	  top: -30px;
	  left: 30px;
	  position: absolute;

	}

.category-summary .summary-thumbnail::after {
	content: none;
}

.relatedthumb .relatedthumb-wrapper::after,
.summary-vertical .summary-thumbnail::after {
  border-left: 16px solid transparent;
  border-right:16px solid transparent; 
  border-bottom: 15px solid white; 
  bottom:0;
  float: none;
  margin: 240px 0 0 30px;

}

.relatedthumb .relatedthumb-wrapper::after {
	margin: -30px 0 0 15px;
	z-index: 2;
	position: relative;
}


/* --- Block content  --- */
.summary.summary-horizontal .entry-header,
.summary.summary-horizontal .entry-summary {
	margin-left: 50%;
	padding-left: 20px;
}

.summary.summary-vertical .entry-header {
	margin-top: 270px;
}

.category-meta,
.date-meta {
	font-size: 12px;
	font-weight: 500;
}

.summary  a {
	color: inherit;
}

.summary h2.entry-title {
	font-size: 22px;
	margin: 23px 0;
}
.home .summary-block h2 { 
	font-size: 26px; 
}

.summary p {
	margin-top: 23px;
}

.load-more,
.load-more-events {
	display: block;
	clear: both;
	max-width: 400px;
	color: #1e252c;
	background: #ffc632;
	font-weight: 500;
	margin: 30px auto;
	text-align: center;
	border: 0;
}
.btn-primary[disabled]:hover,
.load-more:hover,
.load-more-events:hover  {
	background: #1e252c;
	color: #ffc632;
}

/*================================= CATEGORY  ====================================*/


	.category .category-summary .summary-thumbnail {
		position: relative;
	}

.summary-thumbnail-caption {
	font-weight: 500;
	font-size: 13px;
	border-bottom: 2px solid #ffc632;
	padding: 5px 0px;
	margin-bottom: 15px;
}
.summary-thumbnail-caption p {
	margin: 0;
	padding: 0;
}
.category .summary-wrapper {
	margin-right: 20px;
	padding-left: 0px;
}
.category .summary-thumbnail {
	margin-left: -10px;
}

.category .summary-content {
	padding-left: 30px;
	padding-right: 0px;
}

.category-summary .summary-thumbnail {
	margin-top: 0;
	margin-bottom: 0;
}
/*================================= SINGLE / PAGE  ====================================*/

/*---- Article header ----*/
.page .category-meta,
.category .category-meta,
.single .category-meta {
	font-size: 14px;
}
.page .entry-header,
.category .entry-header,
.single .entry-header {
	margin-bottom: 50px;
}
h2.post-excerpt {
	font-size: 20px;
	font-weight: 400;
}

/*---- Author sidebar  --------*/
.author-sidebar.author-meta {
	text-align: center;
	margin-bottom: 25px;
}
.author-meta {
	margin-bottom: 25px;
}

.author-meta .author-name {
	margin-top: 0;
	margin-bottom: 25px;
}
.author-meta a.share-icon {
	display: inline-block;
	padding: 25px;
	color: inherit;

}
.author-sidebar.author-meta a.share-icon {
	display: block;
	clear: both;
}
.author-meta a.share-icon:hover {
		color: #434a51;
	}

/*---- Article content --------*/
.video-wrapper,
.post-thumbnail {
	margin-bottom: 50px;
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}


.post-content p,
.post-content ol,
.post-content ul {
	font-size: 16px;
	margin-bottom: 2em;
}

.lead,
.post-content p:first-child {
	font-size: 20px;
}



/*========================== EVENTS ====================================*/

/*
.summary.events {
	background: #fff;
	margin-right: 20px;
	margin-bottom: 20px;
	width: auto;
}

.event-title {
	color: #fff;
	background: #475cc7;
	position: relative;
	padding: 0;
	min-height: 184px;
}

.event-title h2 {
	padding: 30px;
}

.event-summary {
	padding: 30px;
}

.event-summary .date-meta {
	float: left;
	padding: 0 30px 0 0;
	color: #475cc7;
}


.event-summary .date-meta .fa {
	font-size: 16px;
	position: relative;
	bottom: -1px;
	margin-right: 3px;
}

.event-summary p {
	clear: both;
	font-size: 13px;
	min-height: 63px;
}
*/

.summary.events  h2 {
	font-size: 22px;
	color: #475cc7;
}

.events .summary-content {
	min-height: 210px;
}
a.event-link {
	font-size: 14px;
	font-weight: medium;
	display: block;
	padding: 5px 10px;
	color: #fff;
	background: #475cc7;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	float: right;
	position: absolute;
	bottom: 0;
	right:0;
}


.page-template-page-events .category-summary .summary-thumbnail {
	position: static;
	margin: 0 0 0 -10px;
}


/*========================== SEARCH ====================================*/

.search .page-header {
	border: 0;
	background: #ffc632;
	text-align: center;
	margin: 0 0 50px 0;
	padding: 50px 0;
}

.main-body .searchbox {
	padding: 10px 45px 10px 15px;
	font-size: 20px;
	border: 1px solid #343f49;
	width: 100%;
}

.search .main-body .searchbutton {
	float: right;
	padding: 25px;
	position: relative;
	top: -50px;
}

.search-item {
	margin-bottom: 50px;
}
.search .search-item h2.entry-title {
	margin: 10px 0;
}

.search .search-item h2.entry-title a {

	color: #343f49;
}
.search .main-body .date-meta,
.search .main-body .category-meta {
	font-size: 16px
}
.search .main-body .date-meta {
	color: inherit !important;
}
/*========================== FOOTER ====================================*/

#main-footer {
	background: #1e252c;
	color: #fff;
	padding: 50px 0;
	margin-top: 50px;
}

#main-footer .footer-content {
	font-size: 0.9em;
}
#main-footer a {
	color: #fff;
}

#main-footer .menu-footer-container ul > li {
	margin-right: 50px;
}

#backtotop {
	color: #181f29;
	font-weight: 600;
	background: #fdc71d;
	border: 1px solid #fff;
	border-right: 0;
	padding: 15px 20px;
	position: fixed;
	bottom: 40px;
	right: 0;
	visibility: hidden;
	opacity: 0;
	transition: opacity 1s;
}
.scrolled #backtotop {
	visibility: visible;
	opacity: 1;
}
#backtotop .fa-3 {
	font-size: 2.1em;
	line-height: 0.5em;
	position: relative; 
	top: 4px;
	padding-right: 5px;
}

/* ============================ MEDIA QUERIES =========================*/


/*----------- medium upward ----------------*/
@media (min-width: 992px) {


	.summary-thumbnail-caption {
		position: relative;
		left: -10px;
	}

	.lead {
		padding: 0 30px 20px 0;
	}

	.summary.events {
		min-width: 670px;
	}


	.events-container {
		padding-right: 30px;
	}
}
/*----------- large upward ----------------*/
@media (min-width: 1300px) {

	.category .summary:nth-child(even) .article-thumb {
		margin-right: -30px;
	}

	.summary.events {
		min-width: 895px;
	}

	.events .summary-thumbnail {
	margin: -30px 0 -30px -40px;
	}
	.events:nth-child(even) .summary-thumbnail {
		margin: -30px -40px -30px 15px;
	}

}


/*------------ Medium only -----------------*/
@media (min-width: 992px) and (max-width: 1299px) {

	.header-content {
		width: 400px;
	}

	.events .summary-thumbnail,
	.category .summary-thumbnail {
		width: 215px;
		height: 215px;
		margin: -30px 0 -30px -30px;
	}

	.category .category-summary .summary-thumbnail {
		margin: 0;
	}

	.events.summary .summary-wrapper,
	.category .summary .summary-wrapper {
		height: 215px;
		padding: 30px 20px;

	}

	.category .summary:nth-child(even) .article-thumb {
		margin-right: -8px
	}
	.category .summary:nth-child(even) .summary-thumbnail {
		margin: -30px -10px -30px 0px;
	}

	.category .summary-wrapper {
		padding-left: 0px;

	}

	.summary-block .summary-wrapper-bg, 
	.summary-vertical .summary-wrapper {
		height: 430px;
	} 

	.summary-block .summary-wrapper .summary-wrapper-bg,
	.summary-block .summary-wrapper .entry-header {

	position: relative;
	top: 0;
	bottom: auto;
}


	.summary.summary-vertical .entry-header {
		margin-top: 215px;
	}

	.summary-vertical .summary-thumbnail::after {
	  margin: 185px 0 0 20px;
	}

	.events .entry-title {
		margin: 0;
	}
	.events.summary p {
		margin-top: 10px;
	}
	.events .summary-content {
		min-height: 165px;
	}
	.events .summary-thumbnail {
		margin: -30px 0 -30px -30px;
	}
	.events:nth-child(even) .summary-thumbnail {
		margin: -30px -30px -30px 10px;
	}

}

/*------------ Medium and below -----------------*/
@media (max-width: 1299px) {


	.events.summary h2.entry-title {
		margin: 0 0 20px 0;
	}

	.summary .summary-wrapper {
		height: auto;

	}
	
	.summary-block .summary-wrapper .summary-wrapper-bg {
		height: 400px;
	} 

	.summary-block .summary-wrapper .summary-wrapper-bg,
	.summary-block .summary-wrapper .entry-header {

		position: relative;
		top: 0;
		bottom: auto;
	}


	.summary-horizontal .summary-wrapper,
	.summary-vertical .summary-wrapper {
		height: 270px;

	}

	.summary-vertical .summary-thumbnail::after {
			border-left: 0;
		  border-top: 16px solid transparent;
		  border-bottom: 16px solid transparent; 
		  border-right:15px solid white; 
		  float: right;
		  margin: 0px;
		  margin-top: 30px;

	}

	.summary.summary-horizontal .entry-header,
	.summary.summary-horizontal .entry-summary,
	.summary.summary-vertical .entry-header,
	.summary.summary-vertical .entry-summary {
		margin-left: 280px;
		margin-top: 0px;
		padding-left: 20px;
	}

}

/* ------ Small upward ---------- */
@media (min-width: 768px) {

	blockquote {
		float: left;
		width: 40%;
		margin-right: 30px;
		margin-top: 0.3em;
	}

	.category .summary:nth-child(even) .article-thumb,
	.page-template-page-events .summary:nth-child(even) .article-thumb,
	.summary.events:nth-child(even) .event-title {
		float: right;
	}

	.category .summary:nth-child(even) .summary-thumbnail::after,
	.page-template-page-events .summary:nth-child(even) .summary-thumbnail::after,
	.summary.events:nth-child(even) .event-title::before {

	  border-top: 16px solid transparent;
	  border-bottom: 16px solid transparent; 
	  border-left:15px solid white; 
	  border-right: 0;
	  float: left;
	  margin-top: 30px;
	}

}

/*---------- Small only ---------------*/
@media (min-width: 768px) and (max-width: 991px) {


	.header-content {
		width: 350px;
		font-size: 10px;
	}

	.category .summary-horizontal .summary-wrapper,
	.page-template-page-events .summary-horizontal .summary-wrapper {
		height: 200px;
	}

	.category .summary-thumbnail,
	.page-template-page-events .summary-thumbnail {
		width: 100%;
		height: 200px;
	}


	.category .summary-wrapper,
	.page-template-page-events .summary-wrapper {
		padding-right: 0px;
	}

	.category-summary .summary-thumbnail {
		height: 300px;
	}

	.events .summary-thumbnail {
		margin: -30px 0 -30px -40px;
	}
	.events:nth-child(even) .summary-thumbnail {
		margin: -30px -30px -30px -10px;
	}

	.events .summary-content {
		padding: 0px 20px 0px 0px;
	}

}


/*---------- Small and below ---------------*/
@media (max-width: 991px) {


	.lead {
		padding: 0 0 20px 0;
	}

	.banner {
		height: auto;
	}
	.site-title {
		max-width: 90%;
		padding-bottom: 25%;
		height: 0;
		margin-bottom: 20px;
	}
	

	.events .entry-title {
		margin: 0;
	}
	.events.summary p {
		margin-top: 10px;
	}
	.events .summary-content {
		min-height: 150px;
	}
	.category .summary-wrapper {
		margin-left: 0;
		margin-right: 0;
	}
	a.event-link {
		right: 20px;
	}

	.category .category-summary .summary-thumbnail {
		margin: 0;
	}

}

/* ------ Extra Small only ---------- */
@media (max-width: 767px) {


	.header-content {
		max-width: 320px;
		font-size: 9px;
	}

	.alignleft {
		float: none;
		margin-right: 0px;

	}
	.alignright {
		float: none;
		margin-left: 0px;
	}
	.aligncenter {
		display: block;
		margin: 0 auto 20px auto;
	}

	.site-title { 
		margin-bottom: 5px;
	}

	.category .summary .article-thumb,
	.page-template-page-events .summary .article-thumb {
		margin: 0 -20px 20px 0;
	}

	.category .summary-thumbnail,
	.page-template-page-events .summary-thumbnail {
		margin: 0px -10px;

	}

	.summary-horizontal .summary-thumbnail::after,
	.summary-vertical .summary-thumbnail::after {
	  border-left: 16px solid transparent;
	  border-right:16px solid transparent; 
	  border-bottom: 15px solid white; 
	  bottom:0;
	  float: none;
	  margin: 240px 0 0 30px;

	}
	.summary-horizontal .summary-wrapper, 
	.summary-vertical .summary-wrapper,
	.summary-wrapper {
		height: auto;
	}

	.summary.summary-horizontal .summary-wrapper,
	.summary.summary-vertical .summary-wrapper {
		padding: 0px 0 30px 0;
	}
	.summary-thumbnail {
		width: 100%;
		height: 270px;
		background: #333;
		margin: 0 0 30px 0;
		background-position: center;
		background-size: cover;
		position: relative;
	}
	.summary-horizontal .summary-thumbnail::after, 
	.summary-vertical .summary-thumbnail::after {
		position: relative;
	    margin: 0;
	    top: 240px;
	    left: 30px;
	    bottom: 0;

	}
	.summary.summary-horizontal .entry-header, 
	.summary.summary-horizontal .entry-summary, 
	.summary.summary-vertical .entry-header, 
	.summary.summary-vertical .entry-summary {
		width: auto;
		height: auto;
		margin: 30px 0 0 0;
		padding: 0px 30px;
		position: relative;
	}



.author-meta a.share-icon {
	padding: 15px;
}
	
	.events .summary-content {
		min-height: initial;
		padding: 20px;
		float: none;
	}

	a.event-link {
		position: static;
	}
}

/* Sidebar posts styling */

.pis-ul {
    padding: 0px;
}

.pis-li {
    list-style-type: none;
}

/* dropdown styling */
.dropdown-menu {
    background: #333;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background: #333;
}
    
.mobile-flex {
    margin-top: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-title {
    max-width: 60%;
    height: 110px;
    margin: 0;
}

.header-content {
    margin: 0 auto;
    margin-top: 2%;
	text-align: left;
	width: 90%;
}

.site-subtitle {
    margin: 0;
}

.banner {
    height: 185px;
}

/* Related articles inline styling */

.relatedthumb {
    width: 30%;
    display: inline-block;
    float: left;
    margin-right: 5%;
}

.relatedthumb:nth-child(4) {
    margin-right: 0px;
}

.relatedthumb:nth-child(n+5) {
    display: none;
}

.related-articles-container {
    height: 420px;
    overflow: hidden;
}

.related-articles-container h3 {
    padding: 15px 0;
    border-top: 2px solid #ffc632;
}


/* Navigation parent clickable link */

.dropdown:hover .dropdown-menu {
    display: block;
}

@media(min-width: 768px){
    .dropdown:hover .dropdown-menu {
          display: block;
    }
}

a.caret-before {
    padding-right:1px !important;
}
a.caret-after {
    padding-left:1px !important;
}

/* Sidebar hack and extra responsive fixes */
.hide-desktop {
    display: none!important;
}
@media (max-width: 767px) {
    .hide-mobile {
        display: none!important;
    }
    .hide-desktop {
        display: unset!important;
    }
    .related-articles-container {
        height: auto;
    }
    .relatedthumb {
        width: 100%;
    }
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  {
    .hide-mobile {
        display: none!important;
    }
    .hide-desktop {
        display: unset!important;
    }
}
