.line  {
	height: 270px;
	margin-bottom: 35px;
}

.line .article {
	height: 270px;
}

.article {
	position: relative;
	height: 390px;
	margin-bottom: 35px;
	box-sizing: border-box;
	border-radius: 10px;
	display: flex;
}

.article-inner {
	position: relative;
	overflow: hidden;
	height: 390px;
	border: 1px solid #ececec;
	background-repeat: no-repeat;
	border-radius: 10px;
	margin-bottom: 35px; 
	width: 100%;
}

.line .article-inner {
	height: 270px;
}

.line img {
	float: left;
	border: 0;
	padding-right: 10px;
}

.article-inner img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

.double img {
	float: right;
	border: 0;
	-ms-interpolation-mode: bicubic;   
	height: 390px;
}

.single img {
	max-width: 100%;
	width: 100%;
	border: 0;       
}

.article-txt{
	padding:10px;
}

.article-title {
	font-weight: bold;
}

.article-desc p {
	text-overflow: ellipsis;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	white-space: normal;
	display: -webkit-box;
}

.article-inner .article-title {
	font-size: 18px;
	padding-top: 5px;
}

.article-inner .article-date {
	position: relative;
	left: 0;
	padding-top: 5px
}

.article-inner .article-desc {
	padding-top: 10px;
}

.line .article-details {
	height: 270px;
}

.line .article-content {
	height: 270px;
}

.article-details {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #3a3b3c;
	transform: scaleY(0);
	transition: transform .5s;
	border-radius: 10px;
}

.article:hover .article-details {
	transform: scaleY(1);
}

.article-content {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	padding: 10px;
	color: #fff;
	height: 350px;
}

.article-content .article-title {
	font-size: 25px;
	padding-top: 20px;
	text-align: center
}

.article-content .article-desc {
	text-overflow: ellipsis;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	white-space: normal;
	display: -webkit-box;
	margin: 0 30px 10px 30px;
}

.article-content .btn-more {
	border: 2px solid #ececec;
	bottom: 40px;
	color: #ececec !important;
	position: absolute;
	transform: translateX(-50%);
	left: 50%;
}

.article-content .article-date {
	position: absolute;
	right: 20px;
	bottom: 10px;
}

#btn_desc{
	display: none;
}

@media(max-width: 1199px) {
	.article {
		height: 600px;
	}

	.article-inner {
		height: 600px;
	}

	.article .article-details {
		height: 600px;
	}

	.article:hover .article-details {
		transform: scaleY(0);
	}

	.article-inner .btn-more {
		bottom: 5px;
		color: #3a3b3c !important;
		border: 1px solid #3a3b3c;
	}

	#btn_desc {
		display: block;
		bottom: 10px;
		position: relative;
		left: 38%;
	}

	.double #btn_desc {
		left: 0;
	}
}

@media(max-width: 992px) {
	.line {
		height: 600px;
	}
	
	.double .article {
		height: 600px;
	}

	.double .article-inner{
		height: 600px;
	}
	
	.line .article {
		height: 600px;
	}

	.line .article-inner{
		height: 600px;
	}

	.single .article {
		height: 480px;
	}

	.single .article-inner {
		height: 480px;
	}

	.article-inner .btn-more {
		bottom: 5px;
		color: #3a3b3c !important;
		border: 1px solid #3a3b3c;
	}

	#btn_desc {
		display: block;
		bottom: 10px;
		position: relative;
		left: 38%;
	}

	.article:hover .article-details {
		transform: scaleY(0);
	}

	.double img {
		float: none;
	}

	.line img {
		float: none;
		padding-right: 0;
	}
	
	.single img {
		height: 50%;
	}
	
	.double #btn_desc {
		left: 38%;
	}
}

@media(max-width: 768px) {
	.double .article {
		height: 620px;
	}

	.double .article-inner {
		height: 620px;
	}
}
