:root {
	--primary-color: rgba(0, 0, 0, 0.95);
	--blue: #0879fb;
	--text-color: #555;
	--white: #fff;
	--gray: #f5f5f7;
	--black: #111;
	--shadow: 0px 0 12px 0 rgba(0, 0, 0, 0.2);
	--border-color: #e5e7e9;
	--border-radius: 0px;
	--transition: all 0.3s ease;
}

a {
	color: var(--white);
	text-decoration: none;
}

a:hover {
	color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 500;
}

/* 预加载动画 */
#preloader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: #37517e;
}

#preloader:before {
	content: "";
	position: fixed;
	top: 50%;
	left: 50%;
	border: 6px solid #37517e;
	border-top-color: var(--white);
	border-bottom-color: var(--white);
	border-radius: 50%;
	width: 60px;
	height: 60px;
	transform: translate(-50%, -50%);
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* 回到顶部按钮 */
.back-to-top {
	position: fixed;
	right: 15px;
	bottom: 15px;
	z-index: 996;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(68, 114, 196, 0.9);
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s;
}

.back-to-top i {
	font-size: 24px;
	color: var(--white);
}

.back-to-top:hover {
	background: springgreen;
}

.back-to-top.active {
	opacity: 1;
	visibility: visible;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
	transition: all 0.5s;
	z-index: 997;
	padding: 5px 2px;
	/* background: var(--primary-color); */
}

#header1 {
	transition: all 0.5s;
	z-index: 997;
	padding: 5px 2px;
	background: var(--primary-color);
}

#header.header-scrolled,
#header.header-inner-pages,
#header1.header-scrolled,
#header1.header-inner-pages {
	background: var(--primary-color);
}

#header .logo,
#header1 .logo {
	font-size: 30px;
	margin: 0;
	padding: 0;
	line-height: 0;
	/*影响LOGO下边距*/
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
}

#header .logo a,
#header1 .logo a {
	color: var(--white);
}

#header .logo img {
	max-height: 34px;
}

#header1 .logo img {
	max-height: 34px;

}

.me-auto {
	margin-right: auto !important;
}

.d-flex {
	display: flex !important;
}



/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
	padding: 0;
}

.navbar ul {
	margin: 0;
	padding: 0;
	display: flex;
	list-style: none;
	align-items: center;
}

.navbar a,
.navbar a:focus {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2px 2px;
	margin-right: 15px;
	margin-left: 15px;
	font-size: 13px;
	color: var(--white);
	white-space: nowrap;
	transition: 0.3s;
	text-transform: uppercase;
}

.navbar a:hover,
.navbar .active {
	color: var(--white);
	border-bottom: 2px solid var(--white);
}

.navbar .getstarted,
.navbar .getstarted:focus {
	padding: 8px 20px;
	margin-left: 30px;
	border-radius: 50px;
	color: var(--white);
	border: 2px solid var(--blue);
	font-weight: 600;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
	color: var(--white);
	background: var(--blue);
}

/* 下拉菜单 */
.navbar .dropdown ul {
	display: block;
	position: absolute;
	left: 13px;
	top: calc(100% + 30px);
	margin: 0;
	padding: 10px 0;
	z-index: 99;
	opacity: 0;
	visibility: hidden;
	background: var(--white);
	box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
	transition: 0.3s;
	border-radius: 4px;
}

.navbar .dropdown ul li {
	min-width: 200px;
}

.navbar .dropdown ul a {
	padding: 10px 20px;
	font-size: 13px;
	text-transform: none;
	font-weight: 500;
	color: #0c3c53;
}

.navbar .dropdown ul a i {
	font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
	color: var(--white);
}

.navbar .dropdown:hover>ul {
	opacity: 1;
	top: 100%;
	visibility: visible;
}

.navbar .dropdown:hover>ul {
	opacity: 1;
	top: 100%;
	visibility: visible;
}

.navbar .dropdown .dropdown ul {
	top: 0;
	left: calc(100% - 30px);
	visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
	opacity: 1;
	top: 0;
	left: 100%;
	visibility: visible;
}

@media (max-width: 1366px) {
	.navbar .dropdown .dropdown ul {
		left: -90%;
	}

	.navbar .dropdown .dropdown:hover>ul {
		left: -100%;
	}
}


/* Mobile Navigation */
.mobile-nav-toggle {
	color: var(--white);
	font-size: 28px;
	cursor: pointer;
	display: none;
	line-height: 0;
	transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
	color: var(--white);

}

@media (max-width: 991px) {
	.mobile-nav-toggle {
		display: block;
	}

	.navbar ul {
		display: none;
	}
}

.navbar-mobile {
	position: fixed;
	inset: 0;
	background: rgba(40, 58, 90, 0.9);
	z-index: 999;
	transition: 0.3s;
}

.navbar-mobile .mobile-nav-toggle {
	position: absolute;
	top: 15px;
	right: 15px;
}

.navbar-mobile ul {
	display: block;
	position: absolute;
	top: 55px;
	right: 15px;
	bottom: 15px;
	left: 15px;
	padding: 10px 0;
	border-radius: 10px;
	background-color: var(--white);
	overflow-y: auto;
	transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
	padding: 10px 20px;
	color: var(--black);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
	color: var(--blue);
}


.navbar-mobile .dropdown ul {
	position: static;
	display: none;
	margin: 10px 20px;
	padding: 10px 0;
	z-index: 99;
	opacity: 1;
	visibility: visible;
	background: var(--white);
	box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}


/* --------------------自定义-------------------------- */
section {
	padding: 60px 0;
	overflow: hidden;
}

.section-title {
	font-size: 32px;
	color: #555;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 30px;
}

.section-title p {
	font-size: 16px;
	color: #666;
	/* text-transform: uppercase; */
	text-align: center;
	margin-bottom: 5px;
}


/* mid-header */

.mid-header {
	background: #f5f5f7;
	padding: 60px 0;
}

.mid-header .container {
	margin-top: 30px;
	color: #111;
	text-align: center;
	text-transform: uppercase;
}

.mid-header .container h1 {
	margin-top: 30px;
	color: #111;
	text-align: center;
	text-transform: uppercase;
}

.mid-header .container p {
	margin-bottom: 0;
	font-weight: 300;
	line-height: 1.4;
	text-align: center;
	color: #111;
}
/* BG */
#aboutus,#xpjc,#wish,#ymchen,#ymli,#ymfz,#jzry {
	background: #fff;
}

#history,#qingming,#contact,#jzymc,#rule,#jzbf,#gdb,#ymli{
	background: #f5f5f7;
}


/* 主页 */
#home {
	width: 100%;
	height: 100vh;
	background-image: url('../../img/index/bg1.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
}
#home:before {
	content: "";
	background: rgba(0, 0, 0, 0.2);
	/* backdrop-filter: blur(2px); */
	position: absolute;
	inset: 0;
}

#home .container {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

#home h1,
#home h2,
#home h3,
#home h4 {
	color: var(--white);
	margin-top: 1rem;
}

@media (max-width: 768px) {
	#home h1 {
		font-size: 28px;
	}

	#home h2 {
		font-size: 24px;
	}

	#home h3 {
		font-size: 18px;
		width: 95%;
	}

	#home img {
		width: 50%;
	}
}

/* 按钮 */
.btn-get-started {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 16px;
	padding: 10px 28px;
	border-radius: 8px;
	transition: 0.5s;
	margin: 10px;
	border: 2px solid var(--blue);
	background: var(--blue);
	color: var(--white);
	display: inline-block;
	min-width: 200px;
}

.btn-get-started:hover {
	background: #FAA43D;
	color: var(--white);
	border: 2px solid #FAA43D;
}

.shadowed-text {
	text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
}

/* --------------------卡片格式------------------------ */
.card-box {
	display: flex;
	justify-content: space-between;
}

.box-con {
	flex: 1;
	position: relative;
	/* box-shadow: var(--shadow); */
	/* border-radius: 4px; */
	background: #fff;
	align-items: center;
	border: 1px solid var(--border-color);
}


.box-con img {
	width: 100%;
	height: auto;
	/* border-top-left-radius: 4px;
	border-top-right-radius: 4px; */
}

.box-con .title {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	height: 50px;
	background: var(--white);
	color: #666;
	font-weight: 500;
	/* border-top-left-radius: var(--border-radius);
	border-top-right-radius: var(--border-radius);
	border-top: 4px solid var(--blue); */
	/* border-bottom: #ebebeb 1px solid; */
	margin: 10px 10px;
}

.box-con .content,
.box-con .content-left {
	padding: 0 12px;
	margin-bottom: 1rem;
}










/* ----------------contact----------------- */


/* footer 页脚优化 */
#footer {
	padding-top: 20px;
	background: #efefef;
}

.footer {
	color: #111;
	font-size: 13px;
}

/* gallery 画廊优化 */
.gallery .gallery-item {
	overflow: hidden;
	
}

.gallery .gallery-item img {
	transition: 0.4s ease-in-out;
	border-radius: var(--border-radius);
}

.gallery .gallery-item:hover img {
	transform: scale(1.1);
}


.box {
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	height: 80px;
	font-size: 22px;
	/* line-height: 15px; */
	color: var(--white);
	font-weight: 600;
	background-color: rgba(65, 105, 225, 1);
	border-radius: var(--border-radius);
	box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}




.center {
	text-align: center;
}

#bg_white {
	background-color: #fff;
}

#bg_gray {
	background-color: #f5f5f7;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
	padding: 18px 0;
	background: #f7f7f7;
	min-height: 40px;
	margin-top: 80px;
}

.breadcrumbs a {
	color: #111;
}

.breadcrumbs a:hover {
	color: #4472C4;
}


.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 13px;
}

.breadcrumbs ol li+li {
	padding-left: 10px;
}

.breadcrumbs ol li+li::before {
	display: inline-block;
	padding-right: 10px;
	color: #6b7b8d;
	content: "/";
}

@media (max-width: 992px) {
	.breadcrumbs {
		margin-top: 58px;
	}

	.breadcrumbs .d-flex {
		display: block !important;
	}

	.breadcrumbs h2 {
		margin-bottom: 10px;
	}

	.breadcrumbs ol {
		display: block;
	}

	.breadcrumbs ol li {
		display: inline-block;
	}
}