@charset "UTF-8";

body {
    background: #E5EBE9;
}

.container {
    display: block;
    width: 100%;
    /* height: 1035px; */
    /* overflow: auto; */
    -ms-overflow-style: none;  /* IE 和 Edge */
    scrollbar-width: none;  /* Firefox */
}

.container::-webkit-scrollbar {
  display: none;  /* Chrome, Safari 和 Opera */
}

.famous-card-box {
    display: grid;
    margin: 0 auto 80px;
    width: 1170px;
    grid-template-columns: repeat(3,1fr);
    grid-column-gap: 20px;
    grid-row-gap: 15px;
}

.famous-card-item {
    display: flex;
    position: relative;
    padding: 15px;
    /* border: 1px solid #c9c9c9; */
    background: #fff;
    border-radius: 5px;
}

img.famous-card-item-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-right: 20px;
    /* border: 1px solid #c9c9c9; */
}

.famous-card-item-info {
    display: flex;
    width: 206px;
    max-width: 206px;
    flex: 1;
    flex-direction: column;
    height: 120px;
    overflow: hidden;
}

.famous-card-item-name {
    display: block;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    color: #333;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.famous-card-item-tips {
    display: -webkit-box;
    width: 100%;
    /* height: 19px; */
    margin-top: 5px;
    line-height: 19px;
    font-size: 12px;
    color: #888; 
	/* 设置最大行数为3行 */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.famous-card-item-type-box {
    display: flex;
    flex: 1;
    align-items: self-end;
}

.famous-card-item-type {
    min-width: 40px;
    line-height: 1;
    margin-right: 20px;
    font-size: 16px;
    color: #188373;
    letter-spacing: 2px;
    font-weight: normal;
}

.famous-card-item-type:nth-child(2) {
    min-width: 60px;
}

.disc-letter {
    display: inline-block;
    min-width: 20px;
    text-align: center;
}

.famous-card-item:hover {
    background: #188373;
    /* border-color: #f5f5f5; */
}


.famous-card-item:hover .famous-card-item-name {
    color: #fff;
}

.famous-card-item:hover .famous-card-item-type {
    color: #fff;
}

.famous-card-item:hover .famous-card-item-enn-name {
    color: #fafafa;
}

.famous-card-item:hover .famous-card-item-tips {
    color: #f5f5f5;
}


.famous-card-item-name-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.famous-card-item-enn-name {
    display: block;
    width: 100%;
    margin-top: 10px;
    line-height: 1;
    padding: 0;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
    text-overflow: ellipsis;
}

.group-nav-box {
	display: flex;
	width: 1170px;
	margin: 85px auto 20px;
	display: none;
}

a.group-nav-item {
	color: #333;
	margin-right: 12px;
}

a.group-nav-item:not(:first-child) {
	margin-left: 12px;
}

a.group-nav-item:last-child {
	color: #333;
}

.loading span {
	display: inline-block;
	width: 15px;
	height: 15px;
	background-color: #1ABC9C;
	border-radius: 50%;
	margin: 0 3px;
	-webkit-animation: loadding 0.8s cubic-bezier(.2, .68, .18, 1.08) 0s
		infinite;
	animation: loadding 0.8s cubic-bezier(.2, .68, .18, 1.08) 0s infinite;
}

.loading {
    display: flex;
    width: 100%;
    height: 80px;
    background: #f5f5f5;
    align-items: center;
    justify-content: center;
}

.loading span:nth-child(1) {
	animation-delay: 0.2s;
}

.loading span:nth-child(2) {
	animation-delay: 0.4s;
}

.loading span:nth-child(3) {
	animation-delay: 0.6s;
}

@-webkit-keyframes loadding{
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
	45% {
		-webkit-transform: scale(0.2);
		transform: scale(0.2);
		opacity: 0.7;
	}
	80% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes loadding{
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
	45% {
		-webkit-transform: scale(0.2);
		transform: scale(0.3);
		opacity: 0.7;
	}
	80% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
}


.page-title-text {
	display: block;
	width: 1170px;
	margin: 0 auto;
	font-size: 22px;
	font-weight: bold;
	letter-spacing: 2px;
}

.filter-box {
	display: block;
	width: 1170px;
	margin: 20px auto 40px;
}

.filter-content {
	display: flex;
	gap: 5px;
	/* margin-left: -10px; */
} 

.filter-item {
	height: 28px;
	padding: 0 10px;
	font-size: 15px;
	color: #111;
	cursor: pointer;
	letter-spacing: 1px;
	border: 1px solid transparent;
}

.filter-item.selected-filter {
	color: #f03030;
	/* font-weight: bold; */
	border-radius: 14px;
	border: 1px solid #f03030;
	box-sizing: border-box;
}
