.resource-body {
	width: 100%;
	height: 100vh;
	padding-top: 72px;
	background-color: #fff;
	display: flex;
	overflow: hidden;
}

.resource-body .resource-category {
	width: 240px;
	height: 100%;
	background-color: #F7F7F7;
	padding: 20px 0;
	overflow: hidden;
	overflow-y: auto;
}

.resource-body .resource-category::-webkit-scrollbar {
	width: 5px;
	height: 1px;
}

.resource-body .resource-category::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 10px #F7F7F7;
	background: #8b8b8b;
}

.resource-body .resource-category::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 10px #F7F7F7;
	border-radius: 10px;
	background: none;
}

.resource-body .resource-category .category-item {
	width: 100%;
	text-align: center;
	/* padding: 13px 8px; */
	color: rgba(102, 102, 102, 1);
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 15px;
	padding: 0 8px;
}

.resource-body .resource-category .category-item:hover,
.resource-body .resource-category .active {
	font-weight: bold;
	background-color: rgba(0, 133, 250, 0.17);
	color: rgba(0, 133, 250, 1);
	border-radius: 0;
	background-color: #fff;
	font-size: 17px;
}


/* 
xs	<768px 响应式栅格数或者栅格属性对象	
sm	≥768px 响应式栅格数或者栅格属性对象	
md	≥992px 响应式栅格数或者栅格属性对象	
lg	≥1200px 响应式栅格数或者栅格属性对象	
xl	≥1920px 响应式栅格数或者栅格属性对象 */

@media (max-width: 767.98px) {
	/* 屏幕宽度小于 768px 时的样式 */
	
	.resource-body .resource-category::-webkit-scrollbar {
		width: 0px;
	}
	
	.resource-body .resource-category {
		width: 100px;
		padding: 0;
	}

	.resource-body .resource-category .category-item {
		font-size: 14px;
		height: 55px;
	}

	.resource-body .resource-category .active {
		font-size: 15px;
	}
}

.resource-body .resource-data {
	flex: 1;
	height: 100%;
	background-color: #fff;
}

.resource-body .resource-data .data-loading {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.resource-body .resource-data .data-loading .loading-img {
	width: 100px;
	height: 100px;
	animation: loadingImg 2s linear infinite;
}

.resource-body .resource-data .data-loading .empty-img {
	width: 200px;
	height: 200px;
}

.resource-body .resource-data .data-loading .text {
	margin-top: 15px;
	color: #999;
}

/* 关键帧：360° 旋转 */
@keyframes loadingImg {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

/* 搜索栏 */
.resource-body .resource-data .data-search {
	width: 100%;
	height: 90px;
	background-color: #fff;
	align-items: center;
	padding: 0 20px;
	/* align-items: flex-end; */
}

.resource-body .resource-data .data-search .input-group {
	width: 50%;
}

@media (max-width: 767.98px) {
	.resource-body .resource-data .data-search {
		padding: 0 10px;
		height: 60px;
	}
	
	.resource-body .resource-data .data-search .input-group  {
		width: 100%;
	}
	
	.resource-body .resource-data .data-loading .empty-img {
		width: 100px;
		height: 100px;
	}
}

/* 中间数据栏 */
.resource-body .resource-data .data-main {
	width: 100%;
	height: calc(100% - 90px - 60px);
	/* background-color: yellow; */
	margin: 0;
	padding: 0 10px;
	overflow: hidden;
	overflow-y: auto;
}

.resource-body .resource-data .data-main::-webkit-scrollbar {
	width: 5px;
	height: 1px;
}

.resource-body .resource-data .data-main::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 10px #F7F7F7;
	background: #8b8b8b;
}

.resource-body .resource-data .data-main::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 10px #F7F7F7;
	border-radius: 10px;
	background: none;
}

.resource-body .resource-data .data-main .row {
	margin: 0;
	width: 100%;
}

.resource-body .resource-data .data-main .data-item {
	height: auto;
	margin-bottom: 20px;
	padding: 0 10px;
}

.resource-body .resource-data .data-main .data-card {
	width: 100%;
	border: 1px solid rgba(152,152,152,0.3);
	border-radius: 4px;
	padding: 15px;
	cursor: pointer;
	display: flex;
}

.resource-body .resource-data .data-main .data-card:hover {
	box-shadow: 0 0 15px rgba(152,152,152,0.3);
}

.resource-body .resource-data .data-main .cover {
	width: 100px;
	height: 100px;
	margin-right: 10px;
	border-radius: 4px;
}

.resource-body .resource-data .data-info {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
}

.resource-body .resource-data .data-info .title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 17px;
}

.resource-body .resource-data .data-info .remark {
	width: 100%;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
	-webkit-line-clamp: 2;
}

.resource-body .resource-data .data-info .data-view {
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

@media (max-width: 767.98px) {
	.resource-body .resource-data .data-main {
		padding: 0;
		height: calc(100% - 60px);
	}
	
	.resource-body .resource-data .data-main::-webkit-scrollbar {
		width: 0;
	}
	
	.resource-body .resource-data .data-main .data-item {
		margin-bottom: 0;
	}
	
	.resource-body .resource-data .data-main .data-card {
		padding: 15px 0;
		border-top: none;
		border-left: none;
		border-right: none;
		border-radius: 0;
	}
	
	.resource-body .resource-data .data-main .data-card:hover {
		box-shadow: none;
	}
}

/* 底部分页栏 */
.resource-body .resource-data .page-footer {
	width: 100%;
	height: 60px;
	/* background-color: red; */
	display: flex;
	justify-content: center;
}

.resource-body .resource-data .mobile-footer {
	width: 100%;
	display: none;
	text-align: center;
	padding: 15px;
}

@media (max-width: 767.98px) {
	.resource-body .resource-data .page-footer {
		display: none;
	}
	
	.resource-body .resource-data .mobile-footer {
		display: block;
	}
}

/* 弹窗 */
.modal-body .loading {
	width: 100%;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-body .loading .error {
	width: 200px;
	height: 200px;
	color: rgba(102, 102, 102, 1);
	background-color: #F7F7F7;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-body img {
	width: 200px;
	height: 200px;
}

.modal-body .loading-img {
	width: 100px;
	height: 100px;
	animation: loadingImg 2s linear infinite;
}
