.nav{width: 100%;font-size: 0px;list-style: none;position: relative;background: #f6f6f6;height: 100px;display: flex;justify-content: space-around;align-items: center;}
.nav>li{font-size: 14px;}
.nav>li:first-child{text-align: left;width: 50%;display: flex;padding: 0 0.3rem;-webkit-tap-highlight-color:rgba(255,255,255,0);}
.nav>li:first-child>a>img{width: 0.3rem;}
.nav>li:nth-child(2){text-align: left;width: 50%;padding: 0 0.3rem 0 1rem;}
.nav>li:nth-child(2)>ul{height: 100%;vertical-align: middle;display: flex;align-items: center;display: flex;justify-content: space-between;}
.nav>li:nth-child(2)>ul>li{display: inline-block;padding: 3px 0;vertical-align: middle;height: 50%;text-align: center;position: relative;}
.nav>li:nth-child(2)>ul>li>a{color:#000;}
.nav>li:nth-child(2)>ul>li>p{height:1px;background:#000;width: 100%;bottom: 0;position: absolute;transition: all 0.5s linear;transform: scaleX(0);transform-origin:0 0;border-radius: 0.1rem;transition:all 0.3s linear;}
.nav>li:nth-child(2)>ul>li>p.on{transform: scaleX(1);}
#toggle{display: none;}

.nav>li:nth-child(2)>ul>li:nth-child(6){font-size: 13px;color:lightgray;}
.nav>li:nth-child(2)>ul>li:nth-child(6):hover{cursor: pointer;}



@media screen and (max-width:768px){	
.nav{width:100%;font-size: 0;list-style: none;height: 1.5rem;position: fixed;top: 0;z-index: 10000;padding:0rem;display:flex;justify-content: space-between;align-items: center;}
.nav>li{font-size: 16px;display: block;}
.nav>li:first-child{text-align: left;padding-left: 0.3rem;}
.nav>li:first-child>a>img{width:1rem;}
.nav>li:nth-child(2){width: 100%;top: 1.5rem;height:11.84rem;background:#f6f6f6;position: absolute;left: -100%;opacity: 0;padding: 0;}
.nav>li:nth-child(2)>ul{height: 100%;vertical-align: middle;display:block;align-items: center;}
.nav>li:nth-child(2)>ul>li:nth-child(1){margin-top: 1.82rem;}
.nav>li:nth-child(2)>ul>li{display:block;padding: 3px 0;position: relative;vertical-align: middle;height:auto;width: 100%;text-align: center;margin:0.9rem 0;}
.nav>li:nth-child(2)>ul>li>a{color:#000;-webkit-tap-highlight-color:rgba(255,255,255,0);}
.nav>li:nth-child(2)>ul>li>a:hover{color: red;background-color: transparent;}
.nav>li:nth-child(2)>ul>li>p{display: none;}
.nav>li:nth-child(2)>ul>li:hover>p{transform: scaleX(1);}

.nav>li:nth-child(2)>ul>li:nth-child(6){font-size: 14px;color:lightgray;margin: 1.5rem 0;}
.nav>li:nth-child(2)>ul>li:nth-child(6):hover{cursor: pointer;}
	
	
#toggle:checked+.nav_btn .topLine {
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
		margin-top: -0.06rem
	}
	#toggle:checked+.nav_btn .bottomLine {
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
		margin-top: -0.15rem;
	}	
	
	
	.nav>li:last-child{
		display: inline-block;
		padding-right: 0.3rem;
	
		
		
		
		
		}
	.nav_btn>div {
		
		border-radius: 3px;
		height:2px;
		width:0.5rem;
		background: #000;
		margin: 0.1rem 0;
		-webkit-transition: all 0.3s 0s ease-in-out;
		-moz-transition: all 0.3s 0s ease-in-out;
		-ms-transition: all 0.3s 0s ease-in-out;
		-o-transition: all 0.3s 0s ease-in-out;
		transition: all 0.3s 0s ease-in-out;
	}

	
}