
/*header*/

.headerdiv{
	display: flex;
	justify-content:space-between;
	align-items: center;
	min-height: 110px;
	padding-left: 0%;
}
.headerdiv .search{
	width: 24%;
	display: flex;
}
.headerdiv .logo{
	display: flex;
	align-items: center;
	text-align: center;
	margin-left: -10%;
}
.headerdiv .logo a img{
	max-width: 295px;
	height: auto;
}
.header_right{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	color: #fff;
}

.header_right .nav_currency{
	display: flex;
	line-height: 27px;
	position: relative;
	align-items: center;
	font-size: 15px;
	height: 90px;
}
.header_right .code{margin: 0px 5px 0px 6px}
.header_right .arrow-down{
	margin-top: 7px;
}
.header_right .currecy_code_icon{
	font-size: 12px;
}

.nav_right{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	position: relative;
}
.nav_right_text{
	font-size: 14px;
	text-transform: uppercase;
	padding: 0px 0px;
}
.arrow-down {
	display: inline-block;
	border-top: 1px solid;
	border-right: 1px solid;
	width: 8px;
	height: 8px;
	border-color: #fff;
	transform: rotate(-225deg);
}


.nav_currency_list{
	background-color: #fff;
	position: absolute;
	top: 51px;
	border-radius: 2px;
	padding: 10px;
	z-index: 100;
	/* display: none; */
	right: 0px;
	border: #f4f4f4 solid 1px;
	top: 77px;
	width: 300px;
}

.nav_currency_list::before{
	/*content: '';*/
	/*position: absolute;*/
	/*top: -8px;*/
	/*left: 43%;*/
	/*background: #fff;*/
	/*width: 15px;*/
	/*height: 15px;*/
	/*transform: rotate(45deg);*/
	/*border: solid 1px #f4f4f4;*/
	/*border-bottom: none;*/
	/*border-right: none;*/
}
.nav_currency_list .list {
	line-height: 30px;
	margin-bottom: 12px;
}

.nav_currency_list .list a{
	color: #333;
	font-size: 12px;
	display: flex;
	flex-direction: row;
}
.nav_currency_list .list a:hover{
	color: #f30;
}
.nav_currency_list .list a span{
	line-height: 20px;
	padding: 10px 5px;
}

.nav_currency .img{
	display: flex;
	align-items: center;
}

.headerdiv .logo,.headerdiv .logo a{
    display: flex;
}

.nav_currency_list .sm{
	position: absolute;
	width: 0px;
	height: 0px;
	/*
     做出小箭头主要靠border的transparent属性,它的作用是使背景色隐藏。
     因为我们上面定义小正方形的宽高都是0
     下面设置了四面的边框为10px，所以只有边框占有小正方形的面积
     由于transparent隐藏背景色，如果不给某一边添加颜色时，就不会有小三角形。
     如果给四面的边框都设置颜色后,可以看到此小正方形会分成了四个小三角形，此处我们隐藏其他三边，得到一个小三角形。
     top和left为设置小三角形的位置
     */
	border:10px solid transparent;
	border-right-color:#f30;
	/*border-bottom-color: blue;
    border-left-color: green;
    border-top-color: yellow;*/
	top:20px;
	left:-20%;
}

.searchinput{
	width: 320px;
	height: 46px;important;
	border: none;
	border-radius: 2px;
	background: #f5f5f5;
	text-indent: 10px;
	font-size: 12px;
	line-height: 46px;
}
.searchdiv input[type=text]{
	line-height: 38px;
	height: 38px;
	/* border-radius: 4px; */
	width: 100%;
	background: #fff;
	color: #000;
}
.all-categorys{
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e8e8e8;
	padding: 0px 14px;
	white-space: nowrap;
	height: 38px;
	color: #525151;
	border-radius: 5px 0px 0px 5px;
}
.searchdiv input[type=text]:focus {
	outline: none; /* 移除默认的焦点轮廓 */
}

.header-search-icon {
	width: 38px;
	height: 38px;
	display: flex;
	float: left;
	margin: 0px;
	position: absolute;
	right: 0.5%;
	top: 0px;
	color: #000;
	text-align: center;
	/* font-weight: bolder; */
	align-items: center;
	justify-content: center;
	font-family: iconfont;
	border-radius: 0px 5px 5px 0px;
	font-size: 22px;
}
.header-search-icon:before{
	content: "\e87c";
}
.nav-menu{
	margin-right: 15px;
}

.header_icon_search{
	position: absolute;
	top: 13px;
	right: 15px;
}

.headerdiv .user{
	height: 21px;
	position: relative;
	font-size: 22px;
	font-weight: bolder;
	line-height: 21px;
	padding: 0px 10px;
	border-radius: 15px;
	color: #fff;
}

.headerdiv .accountdiv{
	display: flex;
	padding: 0px 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 90px;
}

.headerdiv .user-account-menu {
	background-color: #fff;
	border: 1px solid #e4e4e4;
	box-shadow: 0 0 5px #ccc;
	display: none;
	line-height: 24px;
	padding: 5px 10px;
	position: absolute;
	text-align: center;
	width: 145px;
	z-index: 99999;
	top: 30px;
	left: 0px;
	margin: 0px;
	padding: 15px;
}

.headerdiv .user-account-menu li{

}
.headerdiv .user-account-menu li a{
	font-weight: normal;
	font-size: 13px;
	text-align: left;
	display: block;
	line-height: 29px;
	color: #000;
}
.headerdiv .user-account-menu li a:hover{
	text-decoration: underline;
}

.headerdiv .cart{
	height: 25px;
	position: relative;
	display: flex;
	cursor: pointer;
	font-size: 15px;
	padding: 0px 10px;
	border-radius: 5px;
	color: #fff;
	/* background: #fff; */
	/* width: 92px; */
	justify-content: space-between;
	align-items: center;
	font-size: 26px;
}


.cart .cart_div{
	text-transform: uppercase;
	font-size: 12px;
	position: absolute;
	top: -5px;
	right: -2px;
	background: #e12013;
	color: #fff;
	height: 18px;
	line-height: 18px;
	padding: 0px 6px;
	border-radius: 17px;
	overflow: hidden;
	z-index: 100;
}

.headerdiv .cart:hover,.headerdiv .user:hover{
	/*background:#223675;*/
	/*color: #fff;*/
	/*cursor: pointer;*/
	cursor: pointer;
}
.headerdiv .tips{
	color: #fff;
	font-size: 12px;
	text-align: center;
	background: #e33057;
	border-radius: 15px;
	display: inline-block;
	padding: 0 5px;
	margin-left: 2px;
	/*margin-right: 35px;*/
}
.navdiv{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.navdiv .line{
	height: 10px;
	border: none;
	/* border-bottom: 1px dashed #e6e6e6; */
	font-size: 0;
	margin: 8px 0;
	overflow: hidden;
	background: #505050;
	width: 1px;
	margin: 0px 13px;
}
.navdiv .line:last-child{display: none;}
.navdiv .item{
	padding: 0px 20px 0px 0px;
	position: relative;
}




.navdiv .item .navitemlink{
	color: #fff;
	font-size: 15px;
	line-height: 53px;
	/*font-weight: bolder;*/
	padding: 0px 0px;
	display: block;
	/*text-transform: uppercase;*/
}

.navdiv .item.active .navitemlink{
	border-bottom: solid 1px #fff;
	line-height: 53px;
	height: 53px;
	display: block;
}

.navdiv .item .navitemlink:hover{
	border-bottom: solid 1px #fff;
	line-height: 53px;
	height: 53px;
	display: block;
}


.navdiv .item .navchild {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: rgb(239, 241, 242);
	padding: 0px;
	border-radius: 1px;
	pointer-events: none; /* 防止鼠标事件穿透 */
	transition: opacity 0.3s ease-in-out;
	width: 246px;
	opacity: 0; /* 默认不可见 */
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */

}
.navdiv .item:hover .navchild {
	display: block; /* hover时显示子菜单 */
	opacity: 1; /* 子菜单变得不透明 */
	pointer-events: auto; /* 激活鼠标事件 */
}

.navchild .navchildlink{
	display: block;
	overflow: hidden;
	padding: 0px 15px;
	height: 53px;
	line-height: 53px;
	/* font-weight: bolder; */
	color: #000;
	font-size: 16px;
}



.navchild .navchildlink:hover{
	background: var(--all-bg-color);
	color:#fff;
}




.headerinfo{
	background:var(--all-bg-color);
	text-align: center;
	line-height: 35px;
	color: #fff;
	font-size: 14px;
	border-bottom: solid 1px rgba(255, 255, 255, 0.15);
	text-align: left;
	text-indent: 25px;
}
.headerinfo a{
	font-size: 14px;
	color: #264a63;
}
.headerinfo .publicwidth{text-align: center}


.navbox{
	background: #000;
	border-bottom: solid 1px rgba(255, 255, 255, 0.15);
	transition: all 0.5s;
}
.navboxline{
	background: #000;
	box-shadow: inset 0 -1px 0 rgba(245, 98, 161, 0.9);
}

.navshow{
	transform:translateY(0);
	transition: 0.2s;
	transform-origin: top center;
	position: relative;
	z-index: -1;
}
.navshow_active{
	transform:translateY(-200%);
	transition: 0.2s;
	transform-origin: top center;
}


.iconfont.navmenu-iconfont{
	font-size: 24px;
	margin-right: 0px;
	margin-left: 5px;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav_mobile_menu {
	position: absolute;
	top: 300px;
	right: 0px;
	z-index: 1000;
	width: 100%;
	background: #ccc;
	background: #fff;
	padding: 0px;
	display: none;
	box-shadow:rgba(0, 0, 0, 0.1) 0px 4px 8px 1px
}
.nav_mobile_menu .menuitems{
	background: rgba(0, 0, 0, 0.027);
	padding-bottom: 20px;
}
.nav_mobile_menu .menuitems .item{
	position: relative;
}
.nav_mobile_menu .menuitems .item .navshow{
	position: absolute;
	right: 0px;
	top: 0px;
	border-left:solid 1px rgba(0, 0, 0, .105);
	border-right:solid 1px rgba(0, 0, 0, .105);
	width: 44px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	font-size: 12px;
	color: #000;
}
.nav_mobile_menu .menuitems .isshow{
	background:#f3f3f3;
}
.nav_mobile_menu .menuitems .item a{
	display: block;
	padding: 10px 15px;
	font-size: 17px;
	color: #000;
	border-bottom: solid 1px rgba(0, 0, 0, .105);
}
.nav_mobile_menu .menuitems .item a:active{
	background: rgba(0, 0, 0, 0.1);
}

.nav_mobile_menu .menuitems .navchild a{
	font-size: 14px;
}

.select_currency{
	position: relative;
	width: 95%;
	margin: 0px auto;
}
.select_currency .currency_selected {
	display: flex;
	align-items: center;
	width: 100%;
	border: solid 1px rgb(221, 221, 221);
	padding: 10px;
	color: #000;
}
.currency_selected{
	margin-top: 10px;
	padding: 10px;
}
.currency_selected img{margin-right: 15px;}
.currency_selected .iconfont{margin-left: auto;margin-right: 10px;}
.currency_list{
	display: flex;
	flex-direction: column;
	background: #fff;
	padding: 10px;
	position: absolute;
	top: 46px;
	width: 100%;
	border: solid 1px rgb(221, 221, 221);
	display: none;
}
.currency_list_item{
}

.currency_list_item span.currency_title{padding-left: 10px;}

/*.currency_list_item span{margin-left: 10px;}*/
.currency_list_item a{
	display: flex;
	/* background: red; */
	padding: 10px;
	color: #000;
}
.currency_list_item a:active{
	background:rgba(0, 0, 0, 0.027);
}
.header-scroll{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 999;
}
.mobilenavmenu{
	display: none;
}

.navselected {
	background:var(--all-bg-color);
	color: #fff !important;
}