.cat-main {
	min-height: 295px;
}

.cat-main a {
	position: absolute;
	bottom: 1rem;
}
.cat-body p {
	line-height: 22px;
}
.main-top {
	background: url(../img/trangloai/bg-top.jpg) center center no-repeat;
}

.main-top .vct-item {
	background: white;
}

.main-top .vct-item:before {
	border: 1px dashed white;
}

/*main top*/
.main-top-list a {
	display: block;
	height: 160px;
	width: 160px;
	border: 1px dashed white;
	border-radius: 50%;
	padding: 1rem;
}

.main-top-list {
	display: grid;
	grid-template-columns: repeat(6,1fr);
	padding: 3rem 1rem;
	padding-bottom: 5rem;
}

.main-top-list div {background: white;height: 100%;width: 100%;border-radius: 50%;}

.main-top-list span {
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.8rem;
}

.main-top-list a:hover {
	text-decoration: none;
}

/*breadcrumb */
.main-breacrumd .breadcrumb
{
	/* background: linear-gradient(45deg,transparent, black)!important; */
	background: transparent;
	justify-content: flex-start;
	margin-bottom: 0;
}li.breadcrumb-item a,.breadcrumb-item.active, .breadcrumb-item + .breadcrumb-item::before {
    color: #fff !important;
}
.main-breacrumd {
	background: linear-gradient(45deg,transparent, black)!important;
}
.main-top {
	position: relative;
}

.main-breacrumd {
	position: absolute;
	width: 100%;
	bottom: 0;
}
/*breadcrumb */

/*tim kiem trong trang loai*/
.main-search button {
	background: #004DDC;
	border: none;
	border-top-right-radius: 2rem!important;
	border-bottom-right-radius: 2rem;
	width: 60px;
	background: #004ddc url(../img/trangloai/icon-search.png) center center no-repeat;
}
/*end tim kiem*/
/*thiet bi*/
ul.main-thietbi-content {
	/*display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-gap: 6px;*/
}
ul.main-thietbi-content li img {
	margin: 0 auto;
}

ul.main-thietbi-content li:hover {
	box-shadow: 0px 0px 2px #ccc;
}

ul.main-thietbi-content li {
	cursor: pointer;
}
/*thiet bi*/

/*tags*/
ul.main-tags-content a {
	padding: 5px 15px;
	margin-bottom: 10px;
	margin-right: 5px;
	border-radius: 5rem;
	border-color: #5d5d5d;
	color: #5d5d5d;
	text-transform: uppercase;
	font-size: 0.8rem;
}
/*tags*/

/*trang loai left*/
.pages-main-item {
	padding-left: 40px;
	margin-bottom: 2rem;
}

.pages-main-item .card {
	width: 100%!important;
	background: rgba(210, 210, 210, 0.2);
	border: none;
}

.pages-main-item .card .card-img-top {
	margin-top: 25px;
	margin-left: -40px;
}

.pages-main-item card-body {
	position: relative;
}

.pages-main-item-abs {
	position: absolute;
	top: 10px;
	width: 40px;
	left: -40px;
	text-align: center;
}

.pages-main-item .card-text {
}

.pages-main-item .card-body {
	position: relative;
}

.pages-main-item-abs span {
	font-size: 0.7rem;
	display: block;
	margin-bottom: 1rem;
	margin-top: -5px;
}
a.pages-link {
	display: inline-block;
	padding: 3px 21px;
	background: #39C3E1;
	color: white;
	border-radius: 2rem;
	position: absolute;
}

a.pages-link:hover {
	background: #004ddc;
}
.main-title {
	margin-bottom: 1rem;
}
/*bai viet moi nhat*/
.pages-bvmn-item>a {
	max-width: 30%;
	margin-right: 15px;
}
/*bai viet moi nhat*/
/*trang loai left*/

/*trang chi tiet*/
.post-content h1 {
	border-bottom: 1px solid;
	font-size: 2rem;
	color: #3399cc;
	font-weight: 500;
}

.post-main h2 {
	font-size: 1.5rem;
	color: #004ddc;
	border-bottom: 1px solid;
}

.khungxanh {
	border: 1px solid #ccc;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 1rem;
	background: rgba(51, 153, 204, 0.2);
}

.post-content {
/*box-shadow: 3px 2px 11px #3399cc;*/
	box-shadow: 10px 3px 6px -8px #3399cc, 0px 8px 0px -8px #3399cc;
	padding: 5px;
	
}
.right-khung {
	padding: 10px;
	border-radius: 5px;
	margin: 1rem 10px;
	box-shadow: 0px 0px 2px green;
	background: rgba(0, 77, 220, 0.1);
}
/*trang chi tiet*/

a.lk-out {
    position: relative;
    display: inline-block;
}

.btn_tuvan_noidung {
   text-align: center;
    box-sizing: border-box;
    background: repeating-linear-gradient( -45deg, #fff, #fff 5px, #465298 5px, #465298 10px );
    background-size: 200% 200%;
    animation: barberpole 25s linear infinite;
    padding: 8px;
    border-radius: 10px;
}
@-webkit-keyframes barberpole {
		from {background-position: 0%;}
		to {background-position: 100%;}
}
.btn-out {
    position: absolute;
    animation: scale-reverse 2s ease-in-out infinite;
    background: hsl(0, 100%, 93%);
    width: 100%;
    height: 100%;
    border-radius: 6px;
    z-index: 1;
    top: 0;
    left: 0;
}

@keyframes scale-normal{
  0%{
    transform:scale(1);
  }
  50%{
    transform:scale(.98);
  }
  100%{
    transform:scale(1);
  }
}
@keyframes scale-reverse{
  0%{
    transform:scale(1);
  }
  50%{
    transform:scale(1.02, 1.20);
  }
  100%{
    transform:scale(1);
  }
}