@charset "utf-8";
#tb{
	display:grid;
	grid-template-columns:calc(25% - (60px/4)) calc(25% - (60px/4)) calc(25% - (60px/4)) calc(25% - (60px/4));
	column-gap:20px;
	row-gap:20px;
	width:auto;
	height:auto;
	margin:auto;
	overflow:hidden;
	margin-top:20px;
	margin-bottom:20px;
}
@media (max-width:767px){
	#tb{
		grid-template-columns:calc(33.3% - (20px/3)) calc(33.3% - (20px/3)) calc(33.3% - (20px/3));
		padding:10px;
		column-gap:10px;
		row-gap:10px;
	}
}
@media (max-width:480px){#tb{grid-template-columns:calc(50% - (10px/2)) calc(50% - (10px/2));}}
@media (max-width:280px){#tb{grid-template-columns:auto;}}

a.tb_tb{
	width:auto;
	height:auto;
	overflow:hidden;
	display:block;
	margin:auto;
	background-color:#fff;
	border:1px solid #ddd;
	transition:all 0.4s;
	box-sizing:border-box;
	padding: 20px;
}
a.tb_tb:hover{
	border-color:#e00;
}
.tb_pic{
	width:auto;
	height:auto;
	padding-bottom:100%;
	overflow:hidden;
	display:block;
	margin:auto;
	position:relative;
}
.tb_new{
	background-color: var(--back_color);
	width:50px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	font-size: 10px;
	position: absolute;
	right: 10px;
	top:0px;
	clip-path: polygon( 0px 0px ,10% 50%, 0px 100%,100% 100%,90% 50%,100% 0px);
	background-image: linear-gradient(90deg,#f00,#a00,#f00);
}
.tb_name{
	display:block;
	width:auto;
	height:auto;
	overflow:hidden;
	margin:10px;
	word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    -webkit-line-clamp:1; 
    overflow: hidden; 
}
.tb_tfoot{
	display:flex;
	display:-webkit-flex;
	width:auto;
	height:auto;
	overflow:hidden;
	margin:auto;
	padding:10px;
	justify-content:space-between;
	align-items:center;
	border-top:1px solid #ddd;
}
a.tb_more{
	display:block;
	width:80px;
	height:36px;
	line-height:36px;
	overflow:hidden;
	border-radius:18px;
	text-align:center;
	background-color:#eee;
	text-transform:uppercase;
}
a.tb_more:hover{
	color:#fff;
	background-color:#f5ddb6;
}