/*
 * BLOG
*/

#subheader {
	padding: 4em 0 2.2em;
}

#subheader .container {
	padding-top: 9em;
	min-height: unset; 
}

#subheader .container .row {
	width: 100%;
}

#subheader .b5 {
	margin-top: 0.9em;
}

.slides .glide__slides {
	margin: 0;
	background:  #F1F1F1;
}

.slides-item {
	height: auto;
	position: relative;
	background:  #F1F1F1;
}

.slides-image {
	width: calc(100% - 15px);
}

.slides-item .container {
	position: absolute;
	top: 0;
	margin: auto;
	left: 0;
	right: 0;
	height: 100%;
}

.slides-item .row, .slides-item .col-md-6 {
	height: 100%;
}

.slides-item-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 29em;
/*	min-height: 24.5em;*/
	padding: 2em 2em 3em;
	height: 100%;
	color: #4F4D88;
}

.slides-item-content .type-post-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    padding: 0;
}

.slides  .glide__arrows {
	max-width: 1130px;
	display: flex;
	justify-content: space-between;
	margin: auto;
	position: absolute;
	left: 0;
	right: 0;
	top: 44%;
}

.slides .glide__arrow {
	border: none;
	box-shadow: none;
	position: static;
}

.glide__bullets {
	bottom: 1em;
}

.glide__bullet {
	background-color: #4acd3e;
	opacity: 0.5;
}

.glide__bullet--active {
	border: 2px solid #4F4D88;
	background-color: #4acd3e;
	opacity: 1;
}

.glide__bullet:hover, .glide__bullet:focus {
	border: 2px solid #4F4D88;
	background-color: #4acd3e;
	opacity: 1;
}

.slides-image {
	width: calc(100% - 15px);
	height: 100%;
	object-fit: cover;
}

.slides-item-content .type-post-content {
	justify-content: space-between;
	padding: 0;
}

.slides-item-content article {
	height: 100%;
}

.slides-item-content .type-post-content .entry-meta {
	margin-bottom: 0.5em;
}

.slides-item-content .type-post-content .h3 {
	margin-bottom: 1em;
	line-height: 1.6;
}

.slides-item-content .type-post-content .h3 a {
	color: #4F4D88;
}

.filter {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	color: #4F4D88;
}

.filter::after {
	content: "";
	display: block;
	width: 1em;
	height: 2em;
	background-image: url(/wp-content/uploads/2021/11/Arrow-Left-32px.svg);
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	right: 1em;
	pointer-events: none;
}

.filter select {
	max-width: 50%;
	width: 100%;
	padding-right: 1.5em;
	font-weight: 300;
	margin-left: 2em;
	background: transparent;
	border: none;
	border-bottom: 1px solid #4F4D88;
    -moz-appearance:none;
    -webkit-appearance:none; 
    appearance:none;
    color: #4F4D88;
}

.filter select option {
	font-size: 0.8em;
}

.all-news {
	padding-top: 3em;
}

.read-more {
	padding-top: 1.8em;
}

@media (min-width: 992px) {
	article.type-post.col-md-6,
	article.type-transactions.col-md-6 {
		-ms-flex: 0 0 33.3%;
		flex: 0 0 33.3%;
		max-width: 33.3%;
	}
}


article.type-post,
article.type-transactions {
	display: flex;
	flex-direction: column;
	margin-bottom: 2em;
}

article.type-post > a,
article.type-transactions > a {
	filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.15));
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 23em;
	background: #fff;
	border-radius: 4px;
}

article.type-post > div.post-large,
article.type-transactions > div.post-large {
	display: flex;
	min-height: 23em;
	height: 100%;
	background: #F1F1F1;;
	border-radius: 4px;
	filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.152945));
}

article.type-post > div.post-large > *,
article.type-transactions > div.post-large > * {
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	max-width: 50%;
}

article.type-post > div.post-large > img,
article.type-transactions > div.post-large > img {
	object-fit: cover;
	object-position: center;
}

.post-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.6em 2em;
	color: #4F4D88;
}

.type-post-meta {
	padding: 1.5em 1.9em 1em;
}

.type-post-meta .entry-meta,
article.type-post > div.post-large .entry-meta {
	display: flex;
	align-items: center;
	font-weight: bold;
	color: #4F4D88;
}

.type-post-meta .entry-meta img {
	margin-right: 0.8em;
}

.entry-date {
	font-size: 0.8em;
	font-weight: 400;
}

.post-content p {
	margin-bottom: 2em;
	flex-grow: 1;
	font-weight: 300;
}

.center {
	display: flex;
	justify-content: center;
}

.center .link {
	margin-top: 0.3em;
}

article.type-post > img,
article.type-transactions > img {
	border-radius: 4px;
    object-fit: contain;
    width: 100%;
    max-height: 400px;
	height: 400px;
}
article.type-transactions > img {
	max-height: 209px;
	height: 209px;
}
article.type-transactions img.attachment-full.size-full.wp-post-image {
	height: 400px;
}

.type-post-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.5em 1.9em;
	height: 100%;
}

.type-post-content .entry-meta img {
	margin-right: 0.8em;
}

.type-post-content .h5 {
	margin-bottom: 1em;
	font-size: 1em;
}

.type-post-content .h5 a {
	color: #4F4D88;
}

article.type-post > div.post-large .h4 a,
article.type-transactions > div.post-large .h4 a  {
	color: #4F4D88;
}

article.type-post > div.post-large .entry-meta {
	margin-bottom: 1em;
}

article.type-post > div.post-large .entry-meta img {
	margin-right: 0.5em;
}

.post-excerpt {
	/* flex-grow: 1; */
	font-weight: 300;
	margin-bottom: 2em;
	color: #4F4D88;
}

.post-excerpt p > * {
	font-size: 1em !important;
}

.post-excerpt a{
	color: #4F4D88;
	text-decoration: underline;
}

.pagination-nav {
	margin-bottom: 3em;
	position: relative;
	z-index: 2;
}

.article-archive {
	background: #767688;
	padding: 3em 0;
	color: #fff;
}

.article-archive .b2 {
	font-weight: 300;
	font-size: 1.78em;
	line-height: 1.125;
	text-align: center;
	letter-spacing: -0.5px;
	margin-bottom: 1em;
}

.article-archive-list {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 2em;
	flex-wrap: wrap;
}

.article-archive-list > a {
	margin: 0 0.2em;
	padding: 0.85em 1em;
	border-bottom: 5px solid transparent;
	color: #fff
}

.article-archive-list > a.active {
	border-bottom: 5px solid #4ACD3E;
}

.article-archive-list > a img {
	margin-right: 0.7em;
}

.archive-post {
	display: block;
	margin-bottom: 0.5em;
	font-size: 1.11em;
	line-height: 1.5;
	color: #fff;
	padding-left: 1.7em;
	position: relative;
}

.archive-post:hover {
	color: #FFF;
}

.archive-year {
	margin-top: 1.5em;
	font-size: 1.11em;
	line-height: 1.5;
}

.archive-post::before {
	content: "•";
	display: block;
	position: absolute;
	left: .6em;
	top: 0;
}

.article-archive-cat {
	display: none;
}

.article-archive-cat.active {
	display: block;
}

.archive-caption {
	margin-top: 3em;
	text-align: center;
}

.archive-caption a {
	color: #fff;
	text-decoration: underline;
}


@media (max-width: 991px) {
	.article-archive-list {
		flex-wrap: wrap;
		margin-bottom: 1em;
	}

	.article-archive-list > a {
		padding: 0.55em 0.5em;
	}

	article.type-post.col-md-8 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}

	article.type-post > div.post-large, article.type-transactions > div.post-large {
		flex-direction: column;
		height: auto;
	}

	article.type-post > div.post-large > *, 
	article.type-transactions > div.post-large > * {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
		max-height: 50%;
	}


}

@media (max-width: 767px) {

	#subheader .container {
		padding-top: 4em;
	}

	.filter {
		justify-content: flex-start;
	}

	.filter::after {
		position: relative;
	}

	.filter select {
		max-width: 58%;
	}

	.newsletter-left .b2 {
		padding-left: 1.5em;
		line-height: 1.8;
		font-size: 2em;
	}

	/*article.type-post,
	article.type-transactions {
		text-align: center;
	}*/

	.type-post-content {
		text-align: left;
	}

	.slides-item .col-md-6:first-child {
		display: none;
	}

	.slides-item-content {
		margin: auto;
	}

	.slides-item .row, 
	.slides-item .col-md-6 {
		height: 100%;
	}

	.archive-post {
		font-size: 1em;
	}

	.newsletter-left-content {
		max-width: 100%;
	}

	.newsletter-left svg {
		position: absolute;
		left: 15px;
	}

	article.type-post.col-md-8 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}

}

@media (max-width: 480px) {

	article.type-post, article.type-transactions {
		overflow: hidden;
	}

	article.type-post.col-md-8 .post-large {
		overflow: hidden;
	}

	article.type-post > div.post-large > img {
		max-height: 20em;
	}
}

@media (max-width: 374px) {
	.newsletter-left .b2 {
		line-height: 1.3;
	}
}

@media (max-width: 340px) {
	.filter select {
		max-width: 64%;
		margin-left: 0.3em;
	}
}