
.categories .col-4 {
	margin-bottom: 30px;
}
.categories h2.title-category-post a,
.categories a.excerpt
{
	color: black;
	text-decoration: none;
}
.categories .btn-xembaiviet a {
	color: black;
	text-decoration: none;
}
.categories .banner {
	display: flex;
	position: relative;
}
.categories .banner:before {
	content: '';
	display: block;
	padding-bottom: 15%;
}
.categories .banner img {
	width: 100%;
	height: 100%;
	position: absolute;
}
.categories h2.title-category-post a:hover {
	color: #155022;
}
.categories h1.title-category {
	color: white;
	z-index: 1111111;
	position: absolute;
	font-size: 40px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.categories #primary {
	margin: 30px 0;
}
.categories h2.title-category-post {
	margin-top: 15px;
	font-size: 1.4em;
}

.categories .btn-xembaiviet span {
	font-size: 16px;
	padding: 8px 10px;
	background: var(--color_linear);
	color: white;
	position: absolute;
	bottom: 3%;
}
.categories .btn-xembaiviet span:hover {
	background: #9b0000;
}
.categories a.excerpt p{
	margin-bottom: 15px;
}
.categories .avt-post-category a {
	position: relative;
	display: flex;
	overflow: hidden;
}
.categories .avt-post-category a:before {
	content: '';
	display: block;
	padding-bottom: 75%;
}
.categories .avt-post-category img  {
	position: absolute;
	width: 100%;
	height: 100%;
} 
.categories img.img-responsive.ratio--object.wp-post-image:hover{
	transform: scale(1.2);
	transition: .7s;
}
.categories .post-baiviet {
	padding: 20px 15px 35px 15px;
	box-shadow: 0 3px 6px -4px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	min-height: 100%;
	position: relative;

}
.categories nav.navigation.pagination h2 {
	display: none;
}

.categories .nav-links {
	text-align: center;
	padding:25px; 

}
.categories .nav-links a {
	padding: 5px 12px;
	border: 1px solid  #155022;
	text-decoration: none;
	color: black;
}
.categories .nav-links span {
	padding: 5px 12px;
	border: 1px solid;
	background: #155022;
	color: white;
}
.categories .nav-links a:hover {
	background: #279740;
	color: white;
}
.categories .col-6{
	padding-bottom: 30px
}
.categories{
	padding: 30px 0;
}
.categories .post-baiviet {
	margin-bottom: 15px;

}


@media(max-width: 768px){
	.categories .banner:before {

		padding-bottom: 40%;

	}
	.categories aside#online-support a {
		line-break: anywhere;
	}
	.categories .col-9{
		flex: 0 0 70%;
		max-width: 70%;
	}
	.categories .col-3{
		flex: 0 0 30%;
		max-width: 30%;
	}
	.categories h2.title-category-post {
		font-size: 19px;
	}
	.categories .page_banner .page-title {
		font-size: 1.7em;
	}

	.categories .col-6 {
		flex: 50%;
		max-width: 50%;
		padding: 5px 7px;
	}
	.categories .col-3 {
		padding: 5px 7px;
	}
	.right-sidebar h5.widgettitle {
		font-size: 15px;
	}
	.categories .btn-xembaiviet span {
		font-size: 13px;

	}
	.right-sidebar #tin-noi-bat a {
		margin-right: 5px;
	}
	.right-sidebar #tin-noi-bat img {
		width: 60px;
		height: 50px;
	}
}

@media(max-width: 425px){
	.col-4 {
		max-width: 100%;
		flex: 0 0 100%;
	}
	.categories .banner:before {

		padding-bottom: 125%;
	}
	.categories .post-baiviet {
		margin-bottom: 15px;

	}
	.categories .col-9,
	.categories .col-3 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.categories .col-6 {
		flex: 100%;
		max-width: 100%;
		padding: 5px 7px;
	}
	.categories h1.page-title.white_txt{
		font-size: 1.5em;
	}

}
