/*
 Theme Name:   Corpus Child
 Theme URI:    http://themeforest.net/user/euthemians
 Description:  Corpus Child Theme
 Version:      2.7.4
 Author:       Euthemians Team
 Author URI:   http://euthemians.com
 Text Domain:  corpus
 Template:     corpus
*/
.eut-portfolio article.eut-portfolio-item > a,
.eut-portfolio article.eut-portfolio-item > a > figure,
.eut-portfolio article.eut-portfolio-item > a > figure > div {
	display: block;
	width: 100%;
	height: 100%;
}

.eut-portfolio article.eut-portfolio-item > a > figure > div > img {
	display: block;
	width: auto;
	height: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

#eut-nav-bar a.eut-backlink.text {
	width: auto;
	margin-top: -18px;
	display: block;
}

.eut-post-title:hover {
	color: #ea3030 !important;
}

header .lang_sel_list_horizontal {
	border: none;
	float: left;
	padding: 0px;
	border-right: 1px solid rgba(224, 224, 224, 1);
}

header .lang_sel_list_horizontal a {
	position: relative;
	top: -3px;
}

.eut-widget.eut-latest-news ul li img { display: block; }

.eut-column-1-12,
.eut-column-5-12,
.eut-column-7-12,
.eut-column-11-12,
.eut-column-1-6,
.eut-column-1-5,
.eut-column-1-4,
.eut-column-1-2,
.eut-column-1-3,
.eut-column-2-3,
.eut-column-3-4,
.eut-column-4-5,
.eut-column-5-6,
.eut-column-1
{
	padding-right: 25px;
	padding-left: 25px;
}

/* Home page posts grid */
.posts-wrapper {
	padding: 100px 0;
}

.posts-grid {
	display: flex;
	flex-wrap: wrap;
}

.posts-grid .post-item {
	display: flex;
	flex-direction: row;
	flex: 1 1 calc(50% - 20px);
	margin: 10px;
	padding: 15px;
	box-sizing: border-box;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	font-size: 14px;
	line-height: 22px;
	max-width: 50%;
}

.posts-grid .post-item-empty {
	display: flex;
	flex-direction: row;
	flex: 1 1 calc(50% - 20px);
	margin: 10px;
}

.posts-grid .post-content {
	flex: 2;
	display: flex;
	flex-direction: column;
}

.posts-grid .post-thumbnail {
	flex: 1;
	margin-left: 20px;
}

.posts-grid .post-thumbnail img {
	max-width: 100%;
	height: auto;
}

.posts-grid .post-date {
	font-size: 12px;
	color: #bdbdbd;
}

.posts-grid .post-excerpt {
	margin-top: 10px;
}

@media (max-width: 768px) {
	.posts-grid .post-item {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

.eut-blog.eut-blog-grid .eut-blog-item {
    height: 660px;
}