﻿/**/
header {
	position: relative;
	z-index: 2;
}
header .wrapper {
	display:flex;
	align-items: center;
	justify-content: space-between;
}
header .logo {
	display: flex;
    align-items: center;
    justify-content: flex-start;
	height: 100px;
	transition: all 0.3s linear;
}
header .logo img {
	max-height: 80px;
	vertical-align: middle;
	transition: all 0.3s linear;
}
header .menu {
	display: inline-block;
/*	margin-left:auto;*/
	z-index: 1;
	transition: all 0.3s linear;
} 
header .menu ul {
	display:flex;
}
header .menu ul li {
	display: flex;
	margin-right: 0.5rem;
	padding-right:1.5rem;
	position: relative;
	height:100px;
	align-items: center;
	justify-content:center;
}
header .menu ul li a {
	display: block;
	font-size: 1.3rem;
	font-weight: 600;
	color: #000;
	text-transform:uppercase;
}
header .menu ul li.list {
	margin-right:2rem;
}
header .menu ul li.list > a:after {
	font-family: "iconfont" !important;
	content:"\e7ab";
	position:absolute;
	right: 0;
	z-index:-1;
	transform: rotate(90deg);
	transition: all 0.3s ease-in-out;
}
header .menu ul li.list.on > a:after {
	transform: rotate(270deg);
}
header .menu ul li a:hover,header .menu ul li:hover > a {
	color: #be1b22;
}
header .menu li ul {
	position: absolute;
	background-color:rgba(255,255,255,0.98);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border: solid 1px rgba(0, 0, 0, 0.1);
	border-top: none;
	padding: 10px;
	padding-top:0;
	display: none;
	top: 100px;
	left: -20px;
	z-index: 999;
}
header .menu li ul li {
	width: 100%;
	height:auto;
	align-items: unset;
	justify-content: unset;
}
header .menu li ul li a {
	display: block;
	width: 100%;
	height:auto;
	padding:10px;
	line-height:1.5;
	font-size: 1.25em;
	font-weight:400;
	text-transform: unset;
	white-space: nowrap;
	color:#000;
	transition: all 0.3s linear;
}
header .menu li ul li a:hover {
	background-color:rgba(0,0,0,0.05);
	color:#be1b22;
}
header .search {
	display: flex;
	align-items: center;
	position:relative;
	z-index:2;
}
header .search .search-input {
	width: 0;
	padding: 0;
	border: none;
	outline: none;
	font-size: 1.2rem;
	border-radius: 50px;
	transition: all 0.3s ease;
	background: #FFF;
	border: 2px solid #000;
	position:absolute;
	right: -10px;
	z-index:-1;
	padding: 10px 20px;
	opacity:0;
}
header .search.active .search-input {
	width: 250px;
	opacity:1;
}
header .search .search-btn {
	font-family: "iconfont" !important;
	background: none;
    color: #000;
    border: none;
    cursor: pointer;
	font-size: 2rem;
	display: flex;
	align-items: center;
}
header .search .search-btn:after {
	content:"Search";
	font-size:1.2rem;
	margin-left:2px;
	text-transform:uppercase;
}
header .search .search-btn:hover {
	color: #be1b22;
}
header .btop {
	height: 100px;
	transition: all 0.3s linear;
}
header .boxfix {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100px;
	opacity: 1;
	z-index: 3;
	background-color: #FFF;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
	transition: all 0.3s linear;
}
header .boxfix.close {
	height: 0;
	opacity: 0;
	transition: all 0.3s linear;
}
/*scoll*/
header.scroll .btop {
	height: 80px;
}
header.scroll .boxfix {
	height: 80px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
header.scroll .logo {
	height: 80px;
}
header.scroll .logo img {
	max-height: 60px;
}
header.scroll .menu ul li {
	height: 80px;
}
header.scroll .menu ul li ul li {
	height: auto !important;
}
header.scroll .menu li ul {
	top: 80px;
}
#banner {
	position: relative;
	width: 100%;
}
#banner .swiper-container {
	height: inherit;
}
#banner .prev, #banner .next {
	position: absolute;
	width: 50px;
	height: 60px;
	top: 50%;
	margin-top: -30px;
	background: #000;
	background-size: 100% 100%;
	border-radius: 10px;
	border: solid 1px #000;
	cursor: pointer;
	z-index: 3;
	filter: Alpha(opacity=50);
	-moz-opacity: .50;
	opacity: 0.50;
}
#banner .prev:before, #banner .next:before {
	content: "\e666";
	font-family: "iconfont" !important;
	vertical-align: middle;
	position: absolute;
	width:100%;
	top:50%;
	margin-top:-25px;
	font-size: 50px;
	color: #FFF;
	text-align: center;
}
#banner .prev {
	left: -60px;
	transform: rotate(180deg);
}
#banner .next {
	right: -60px;
}
#banner:hover .prev, #banner:hover .next, #banner .prev, #banner .next {
	transition: all 0.3s ease-in-out;
}
#banner:hover .prev {
	left: 10px;
}
#banner:hover .next {
	right: 10px;
}
#banner .swiper-slide img {
    width: 100%;
	height: 100%;
	object-fit: cover; /* 保持图片比例，填满容器 */
	display: block;
}
#banner .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: #999;
	border-radius: 12px;
	opacity: 0.70;
}
#banner .swiper-pagination-bullet-active {
	background: #be1b22;
}
.tbanner {
  width: 100%;
  max-height: 768px;
  overflow: hidden;
  position: relative;
}
.tbanner picture,
.tbanner picture img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
}



@media screen and (max-width: 1080px) {
	header .menu ul li {
		margin-right: 1.5rem;
	}
	header .menu ul li.list {
		margin-right: 2.5rem;
	}	
}

@media screen and (max-width: 811px) {
	header .menu{
		position:absolute;
		left:0;
		top:-100px;
		opacity:0;
		padding:0;
		z-index:-1;
	}	
	header .overlay {
		position: fixed;
		z-index: 3;
		background-color: #000;
		top: 0;
		left: 0;
		width: 100%;
		height: 0;
		transition: all 0.4s ease-in-out;
	}
	header .menubtn {
		position: fixed;
		cursor: pointer;
		text-align: center;
		right: 10px;
		top: 25px;
		z-index: 4;
		transition: all 0.4s ease-in-out;
	}
	header .menubtn:before {
		content: "\e639";
		font-family: "iconfont" !important;
		color: #000;
		font-size: 25px;
		padding: 10px 5px;
		display: inline-block;
	}
	header.scroll .menubtn {
		top: 5px;
	}
	header.wapopen {
		z-index:3;
	}
	header.wapopen .menubtn:before {
		color: #FFF;
		content: "\e654";
	}
	header.wapopen .overlay {
		height: 100%;
	}
	header.wapopen .wrapper {
		width: 100%;
	}
	header.wapopen .menu {
		top:0;
		width: 100%;
		opacity:1;
	    padding: 50px 0 0 0;
		z-index:4;
		overflow: hidden;
		transition: all 0.3s ease-in-out 0.1s;
	}
	header.wapopen .menu > ul {
		height:calc(100vh - 50px);
		overflow-y:auto;
		display:block;
	}
	header.wapopen .menu ul li {
		display: block;
		margin-right:0;
		height:auto;
		border-bottom: solid 1px rgba(255,255,255,0.1);
	}
	header.wapopen .menu ul li a {
		height: auto;
		line-height: 1;
		color: #FFF;
		padding: 20px 40px;
		font-size: 1.4rem;
	}
	header.wapopen .menu > ul > li > a.on {
		background-color:#FFF;
		color:#000;
	}
	header.wapopen .menu ul li ul {
		display:none;
		top: 0;
		padding:0 20px;
		position: relative;
		background-color:unset;
	}
	header.wapopen .menu li ul li a {
		font-size: 1.3rem;
	}
	header .menu ul li.list > a:after {
		right:unset;
	}
	header .search {
		margin-right: 60px;
	}
}

@media screen and (max-width: 480px) {
	header .btop {
		height: 65px;
	}
	header .boxfix {
		height: 65px;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
	}
	header .logo {
		height: 65px;
	}
	header .logo img {
		max-height: 50px;
	}
	header .menu ul li {
		height: 65px;
	}
	header .menu ul li ul li {
		height: auto !important;
	}
	header .menu li ul {
		top: 65px;
	}
	header .menubtn {
		top: 8px;
	}
	header .search .search-btn:after {
		content:"";
	}
}