@charset "UTF-8";

body {
    background: #fcf9f9;
}

.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 30px;
    width: 1170px;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 20px;
    grid-row-gap: 15px;
}

.famous-card-item {
    display: flex;
    position: relative;
    padding: 15px 25px 15px 15px;
    /* border: 1px solid #c9c9c9; */
    background: #fff;
    border-radius: 5px;
}

img.famous-card-item-img {
    width: 120px;
    min-width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-right: 20px;
    /* border: 1px solid #c9c9c9; */
}

.famous-card-item-info {
    display: flex;
    width: 325px;
    min-width: 325px;
    /* max-width: 325px; */
    flex: 1;
    flex-direction: column;
    max-height: 120px;
    overflow: hidden;
}

.famous-card-item-name {
    display: flex;
    width: 100%;
    margin-bottom: 8px;
    align-items: flex-start;
    font-size: 20px;
    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%;
    flex: 1;
    /* height: 19px; */
    line-height: 1.5;
    font-size: 14px;
    color: #888; 
	/* 设置最大行数为3行 */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}



.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: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.famous-card-item-enn-name {
    display: block;
    width: 100%;
    line-height: 1.5;
    padding: 0;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
    text-overflow: ellipsis;
}

.group-nav-box {
	display: flex;
	position: relative;
	width: 1170px;
	margin: 85px auto 20px;
	align-items: center;
}

a.group-nav-item {
	color: #888;
	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;
	}
}

.top-box {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    width: 70px;
    max-height: 120px;
    align-items: flex-end;
    justify-content: center;
}

.top-num {
    font-size: 24px;
    color: #000;
}

.top-contribution {
    font-size: 12px;
    color: #ddd;
}

span.csmp-name {
    display: block;
    font-size: 12px;
    margin-left: 15px;
    /* padding: 3px 5px; */
    border-radius: 5px;
    /* border: 1px solid #ff6828; */
    color: #ff6828;
    font-weight: normal;
}

.famous-card-item:hover .top-num, .famous-card-item:hover  span.csmp-name{
    color: #fff;
}

.join-btn {
    display: flex;
    position: absolute;
    right: 0;
    width: 160px;
    height: 32px;
    border-radius: 5px;
    border: 1px solid #004ea2;
    color: #004ea2;
    /* background: #fff; */
    font-size: 15px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.join-btn:hover {
    opacity: 0.7;
}

.join-btn {
    display: flex;
    position: absolute;
    right: 0;
    width: 100px;
    height: 32px;
    border-radius: 5px;
    border: 1px solid #004ea2;
    color: #004ea2;
    /* color: #fff; */
    /* background: #3481d1; */
    font-size: 15px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.join-btn:hover {
    opacity: 0.7;
}