#nb {
	text-align: right;
	margin-top: 10px;
}
#nb a {
	font-size: 41px;
	color:#787AB2;
	letter-spacing: 0.5em;
	margin-left: 2px;
}
a{
	text-decoration: none;
}
@media (min-width: 501px) {
  /* 当页面宽度大于或等于800px时应用的样式 */
  body {
	background-color: #3C3C3C;
	margin: 0;
	width: 430px;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0%);
}
}
@media (max-width: 500px) {
  /* 当页面宽度大于或等于800px时应用的样式 */
  body {
	background-color: #3C3C3C;
	margin: 0;
	width: 100%;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0%);
}
}
body, html {
	overflow-x: hidden; /* 防止页面超出屏幕宽度 */
}
#navli {
	text-align: center;
	margin: auto;
	/*height: 40px;*/
	padding: 10px 0 0 0;
}
#navli ul {
	list-style: none;
	margin: 50px;
}
#navli li {
	display: inline;
}
#navli a {
	font-size: 1.5em;
	line-height: 40px;
	color: #e9bd6c;
	text-decoration: none;
	padding: 5px;
	position: relative;
	text-align: center;
}
#navli a:hover {
	background-color: #5A4D89;
}
#navli li img {
	width: 46%;
	object-fit: cover;
	margin-bottom: 2.5px;
	border-radius: 5px;
}

.shadow-image {
		box-shadow: 0 3px 16px rgba(0, 0, 0, 0.3); /* 添加阴影效果 */
	}

/*************************** details ***************************/

#jm{
	color: #787AB2;
}
#sy {
	margin: 20px 10px;
}
#sy a {
	color: #787AB2;
	font-size: 1.5em;
}
#ifm {
	width: 100%;
	height: 235px;
	frameborder: 0;
	border: 0;
	marginwidth: 0;
	marginheight: 0;
	scrolling: no;
	allowfullscreen: allowfullscreen;
	mozallowfullscreen: mozallowfullscreen;
	msallowfullscreen: msallowfullscreen;
	oallowfullscreen: oallowfullscreen;
	webkitallowfullscreen: webkitallowfullscreen;
}
#content {
	margin: 4px 0 4px 0;
}
#tips {
	color: #787AB2;
	text-align: right;
}
/* 设置无序列表 ul 的基本样式 */
#navji {
	list-style-type: none; /* 移除列表项前的默认项目符号 */
	margin: 0;
	padding: 0;
	overflow: hidden; /* 超出容器部分隐藏 */
	background-color: #333; /* 设置背景颜色 */
}
 
/* 设置导航菜单项 li 的基本样式 */
#navji li {
	width:80px;
	float: left; /* 列表项向左浮动 */
}
 
/* 设置导航链接 a 的基本样式 */
#navji li a {
	width:30px;
	font-size: 1.3em;
	display: block; /* 设置为块级元素 */
	color: #787AB2; /* 设置文本颜色 */
	text-align: center; /* 文本居中对齐 */
	padding: 10px 30px; /* 设置内边距，使链接有些间距 */
	text-decoration: none; /* 移除下划线 */
	transition: background-color 0.3s; /* 设置背景颜色变化过渡动画 */
}
 
/* 设置链接 a 在鼠标悬停时的样式 */
#navji li a:hover {
	background-color: #5A4D89; /* 设置悬停时的背景颜色 */
}
#gjj {
	text-align: center;
	color:#787AB2;
	margin: 16px 0;
	font-size: 17px;
}
#spxq {
	color: #787AB2;
	background-color: #333;
	padding: 10px 10px;
	font-size: 1em;
	line-height: 30px;
	letter-spacing: 0.1em;
}

/*************************** search ***************************/

@font-face {
	font-family: "1";
	font-weight: 400;
	/*src: url("//at.alicdn.com/wf/webfont/t6dUpf78QV1c/b5zii7nYsuGM.woff2") format("woff2"),
	 url("//at.alicdn.com/wf/webfont/t6dUpf78QV1c/MhBYWdtT6YRn.woff") format("woff");*/
	font-display: swap;
}
 
.search-container {
	text-align: center;
	margin-top: 15px;
	margin-bottom: 10px;
}
 
.search-input-container {
	position: relative;
	display: inline-block;
	overflow: hidden;
	transition: width 0.3s;
	width: 390px;
}
 
.search-input-container.expand {
	width: 380px;
}
 
.search-icon {
	position: absolute;
	top: 50%;
	left: 7px;
	transform: translateY(-50%);
	fill: #ccc;
}
 
.search-text-after-icon::after {
	content: "|";
	position: absolute;
	top: 50%;
	right: 9px;
	transform: translateY(-50%);
	font-size: 15px;
	color: #ccc;
}
 
#search-input {
	padding: 10px 11px 10px 31px; /* 调整右侧内边距为10px */
	width: calc(100% - 0px); /* 减去右侧图标和竖线的宽度 */
	border: 2px solid #787AB2;
	border-radius: 5px;
	font-size: 15.4px;
	font-family: "1", Arial, sans-serif;
	outline: none;
	background-color: #3C3C3C;
	color:#fff;
}

#search-input::placeholder {
	color: #787AB2;
}

/*************************** all ***************************/

nav {
    background-color: #333;
}

.nav-menu {
    list-style-type: none; /* 去掉默认的列表样式 */
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.nav-menu li {
    float: left; /* 使列表项水平排列 */
    width: 20%;
}

.nav-menu li a {
    display: block;
    color: #787AB2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
}

.nav-menu li a:hover {
    background-color: #5A4D89;
}

#nav-all {
	text-align: center;
	margin: auto;
	/*height: 40px;*/
	padding: 10px 0 0 0;
}
#nav-all ul {
	list-style: none;
	margin: 50px;
}
#nav-all li {
	display: inline;
}
#nav-all a {
	font-size: 1.5em;
	line-height: 40px;
	color: #787AB2;
	text-decoration: none;
	padding: 5px;
	position: relative;
	text-align: center;
}
#nav-all a:hover {
	background-color: #5A4D89;
}
#nav-all li img {
	width: 46%;
	object-fit: cover;
	margin-bottom: 2.5px;
	border-radius: 5px;
}
#mgjj {
	text-align: center;
	color:#e9bd6c;
	margin: 10% 0;
	font-size: 16px;
}