
#nav{
	z-index: 0;
	}

.logo {
	position: relative;
	padding: 0%;
	max-width: 6rem;
	max-height: 4rem;
}

header input,
header label {
	display: none;
}

header.header {
	position: fixed;
	display: flex;
	align-content: center;
	justify-content: space-between;
	width: 100%;
	height: 4.5rem;
	width: calc(100% - 2 * (24% / 2.5));
	padding: 0 calc(24% / 2.5);
	background-color: #FCF6EF;
	box-shadow: 0 2px 6px #0002;
	z-index: 10;
}

div.nav_brand {
	display: flex;
	position: relative;
	top: 28%;
	height: 2.4rem;
	user-select: none;
	width: 18%;
	/* padding-left: 2vw; */
	border-right: 1px solid #cecece;
}

div.nav_brand>a {
	width: 94px;
	/* margin-right: 2rem; */
	padding: .4rem 0;
	padding-left: 0px;
	line-height: calc(2.4rem - 2 * .4rem);
	text-align: center;
	/* font-size: .75rem; */
	font-size: .9rem;
	font-weight: 500;
	padding-left: 1rem;
}

nav.header_nav {
	height: 100%;
	width: calc(50% / .83);
}

nav ul.header_nav_all {
	box-sizing: inherit;
	display: flex;
	--flex-column-gap: 0px;
	justify-content: space-between;
}

ul.header_nav_all>li {
	box-sizing: inherit;
	display: inline-block;
	--flex-column-gap: .8rem;
	margin-right: .8rem;
	flex-shrink: 0;
	text-align: center;
}

li.header_nav_menu>a {
	/* display: inline-block; */
	padding: .6rem .7rem;
	border-radius: 4px;
	transition: background-color 150ms;
	font-weight: 500;
	box-sizing: inherit;
	line-height: 4.5rem;
	font-size: 1.06rem;
}

li.header_nav_menu>a:hover {
	background-color: #F7E1CE;
}

/* 最上面导航栏的箭头,这个是没展开的时候的 */
.arrowBefore::after {
	content: '';
	display: inline-block;
	position: relative;
	bottom: .14rem;
	width: .4em;
	height: .4em;
	margin-left: 1.4ch;
	border-bottom: 1.5px solid #656565;
	border-left: 1.5px solid #656565;
	animation: down 0.2s ease-in-out;
	-webkit-transform: rotate(-45deg);
}

@keyframes down {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(-45deg);
    }
}

/* 还是最上面的那个箭头,是下面内容展开时的样式 */
.arrowAfter::after {
	content: '';
	display: inline-block;
	position: relative;
	/* top: .14rem; */
	width: .4em;
	height: .4em;
	margin-left: 1.4ch;
	border-top: 1.5px solid #656565;
	border-right: 1.5px solid #656565;
	animation: up 0.2s ease-in-out;
	-webkit-transform: rotate(-45deg);
}

@keyframes up {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(-45deg);
    }
}

div.li_expand {
	width: 80%;
	max-height: 600px;
	overflow-y: hidden;
	position: absolute;
	left: 0;
	top: 100%;
	background-color: #fff;
	box-shadow: 0 6px 6px -6px #0002;
	transition: box-shadow 400ms, max-height 400ms;
	box-sizing: inherit;
	padding: 0 calc(100vw / 10);
	/* border-top: 1px solid #cecece; */
	display: none;
	z-index: 100;
}

div.li_expand>ul {
	display: grid;
	align-items: center;
	column-gap: 1.6rem;
	padding: 1.2rem 0;
	transition: opacity 400ms;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid #cecece;
	z-index: 100;
}

div.li_expand li {
	display: block;
}

.expand_item {
	display: grid;
	align-items: center;
	gap: .2rem 1.2rem;
	/* grid-template-columns: 40px 1fr; */
	padding: 1.3rem 2rem;
	border-radius: 4px;
	transition: background-color 150ms,opacity 150ms;
	z-index: 100;
}

.li_expand>ul>li:hover a {
	/* background-color: #F7E1CE; */
	background-color: #f8f8f8;
}

.expand_item_title {
	display: flex;
	font-weight: 500;
	grid-row-end: span 2;
	left: 100vw;
	padding-left: calc(100vw / 17);
	font-size: 1rem;
}

.li_expand>ul>li:hover .expand_item_title {
	text-decoration: underline;
}

.expand_item_title::after {
	content: '';
	display: inline-block;
	position: relative;
	width: .4em;
	height: .4em;
	border-bottom: 1.5px solid #656565;
	border-right: 1.5px solid #656565;
	transform: rotate(-45deg);
	margin: .4ch 1.3ch;
	transition: opacity 300ms,transform 300ms;
	/* opacity: 0%; */
}

/* .li_expand>ul>li:hover .expand_item_title::after {
	opacity: 100%;
} */

.expand_item_detail {
	color: #999;
	font-size: .95rem;
	display: flex;
	padding-left: calc(100vw / 17);
	padding-top: .6rem;
	text-align: left;
}

.show {
	display: block !important;
	z-index: 100;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.hide {
    display: none;
}

.display {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.nav_space {
	z-index: 999;
	position: fixed;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: white;
	opacity: 0;
	display: block;
}
