@charset "utf-8";
/* 
|----------------------
|   header
|----------------------
*/
/*  */
.header {position: absolute; top: 0; left: 0; width: 100%; z-index: 999; }
.header::before{ position: absolute; bottom: 0; left: 0; content: '';z-index: 2; width: 100%; height: 1px; background-color: transparent; transition: none;}
.header::after{ position: absolute; top: 0; left: 0; z-index: -1; content: ''; width: 100%; height: 0; background-color: #fff; transition: .3s;}
@media (max-width:860px) {
	.header {padding-top: 15px; padding-bottom: 15px;}
}
/*  */
.header-space{height:88px}
@media (max-width:1200px) {
	.header-space{height:65px}
}
/*  */
.header-fix{position: relative; z-index: 3; width: 100%; z-index: 999; transition: .5s;}
.header-wrap{ justify-content: space-between; align-items: center;}
.header-left,
.header-right{align-items: center; justify-content: flex-start; }
/*  */
.header-logo span {display: block; width: 102px; height: 44px; background-image: url(../../images/logo-w.svg); background-position: left center;background-size: auto 100%; background-repeat: no-repeat;}
@media (max-width:1200px) {
	.header-logo span {display: block; width: 95px; height: 40px;}
}
/*  */
.header-nav{}
.header-nav>ul>li{margin-left: 70px; }
.header-nav>ul>li>a{ position: relative; display: block; padding-right: 20px; line-height: 88px; color: #fff; transition: .3s;}
.header-nav>ul>li>a span{ position: absolute; z-index: 1; top: 38px; right: 0; display: block; width: 13px; height: 13px;}
.header-nav>ul>li>a span::before,
.header-nav>ul>li>a span::after{ position: absolute; z-index: 1; content: ''; background-color: var(--yf-green-default); transition: .3s;}
.header-nav>ul>li>a span::before{ left: 50%; top: 6px; width: 0; height: 1px; transform: translateX(-50%);}
.header-nav>ul>li>a span::after{ left: 7px; top: 50%; width:1px; height: 0; transform: translateY(-50%);}

@media (max-width:1440px) {
	.header-nav{margin-left: 10px;}
	.header-nav>ul>li{margin-left: 50px; }
}

@media (max-width:1366px) {
	.header-nav{margin-left: 20px;}
	.header-nav>ul>li{margin-left: 30px; }
}

@media (max-width:1200px) {
	.header-nav{margin-left: 30px;}
	.header-nav>ul>li{margin-left: 10px; }
	.header-nav>ul>li>a{ line-height: 65px; padding-right:16px; }
	.header-nav>ul>li>a span{top:26px;}
}


@media (max-width:860px) {
	.header-nav{ display: none;}
}


/* .header-nav>ul>li>a:hover{ color: var(--yf-green-default); box-shadow: 0 -3px 0 var(--yf-green-default) inset;}
.header-nav>ul>li>a:hover::before,
.header-nav>ul>li>a:hover::after{width: 13px;} */


.header-nav-active>a{ color: var(--yf-green-default); box-shadow: 0 -3px 0 var(--yf-green-default) inset;}
.header-nav-active>a span::before{width: 100%!important;}
.header-nav-active>a span::after{height: 100%!important;}
/*  */
.header-search a i{color: #fff;}
.header-checked{margin-left: 20px;}

/*  */
/* navbar */
.navbar {position:relative; margin-left: 15px;width: 24px; height:24px; padding:4px 3px; cursor: pointer;display: none; border:2px solid #fff; border-radius:3px;}
.navbar span {display: block;width: 100%;height: 2px;background-color: #fff;}
.navbar span:nth-child(2) {position: relative;margin: 4px 0; width: 80%;}
.navbar span:nth-child(3) { width: 60%;}
.navbar:before{
    position: absolute;
    top: 50%;
    right: 100%;
    width:35px;
    content: "菜单";
    transform: translateY(-50%);
    color: #fff;
}

@media(max-width: 860px) {
	.header-search,
	.header-checked{display: none;}
	.navbar {display: block;}
}

@media (max-width: 480px) {
	.navbar {margin-left: 5px;}
}
/* active */
.header:hover::after{height: 100%;}
.header:hover::before{background-color: #D9D9D9; transition: .3s; transition-delay: 1.3s;}
.header:hover .header-logo span{ background-image: url(../../images/logo-g.svg);}
.header:hover .header-nav>ul>li>a{color: var(--yf-black-v2);}
.header:hover .header-search a i{color: var(--yf-black-v2);}
.header:hover .header-checked .btn .text{color: var(--yf-black-v2);}
.header:hover .navbar{border-color: var(--yf-black-v2);}
.header:hover .navbar span { background-color: var(--yf-black-v2);}
.header:hover .navbar:before{color: var(--yf-black-v2);}
/* white */
/* black */
.header-black::after {height: 100%;}
.header-black::before{background-color: #D9D9D9;}
.header-black .header-logo span{background-image: url(../../images/logo-g.svg);}
.header-black .header-nav>ul>li>a{ color: var(--yf-black-v2); }
.header-black .header-search a i{color: var(--yf-black-v2);}
.header-black .header-checked .btn .text{color: var(--yf-black-v2);}
.header-black .navbar{border-color: var(--yf-black-v2);}
.header-black .navbar span { background-color: var(--yf-green-default);}
.header-black .navbar:before {color: var(--yf-black-v2);}

/* fixnav */
.fixnav-mask{position: fixed; inset: 0; z-index: 900; background-color: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);}
.fixnav-mask-active{ opacity: 1; visibility: visible;}
/*  */
.fixnav{ position: absolute; top: 87px; left: 0; width: 100%; z-index:1; padding: 80px 0; background-color: #fff; display: none;}
.fixnav-active{transform: translateY(0); opacity: 1; visibility: visible;}
/*  */
.fixnav-item{justify-content: space-between;}
.fixnav-left{flex: 1; margin-right: 40px;}
.fixnav-cates{ width: 33.33%;}
.fixnav-cates h3{ padding-bottom: 20px; border-bottom:1px solid #EBEBEB; color: var(--yf-green-default);}
.fixnav-cates ul li{margin-top: 24px;}
.fixnav-cates ul li a:hover{color: var(--yf-green-default);}

.fixnav-right{width: 570px;}
.fixnav-poster{ overflow: hidden;}
.fixnav-poster img{width: 100%;}
/*  */
#page{ position:relative; z-index:1; background-color:#fff;}

@media (max-width:1200px) {
	.fixnav{ position: absolute; top: 64px;}
}

/* burger */
.burger-bg {position: fixed;top: 0;left: 0; z-index: 3378; width: 100%; height: 100%; padding: 60px 15px 60px; background-color: #fff; transition: all .3s;}
.burger-scroll{ height: 100%; overflow-y: auto;}
.burger-scroll::-webkit-scrollbar {-webkit-appearance: none;width: 2px;width: 2px;}
  
  .burger-scroll::-webkit-scrollbar-track {
	background: #f5f5f5;
  }
  
  .burger-scroll::-webkit-scrollbar-thumb {
	background: var(--yf-green-light);
  }
  
  .burger-scroll::-webkit-scrollbar-thumb:active {
	background: #666;
  }

  
.burger-logo{position: fixed; top: 10px; left: 15px;}
.burger-logo img{ height: 40px;}


/* close */
.close-burger {position: fixed; top: 10px;right: 8px;width: 34px;height: 29px;}
.close-burger span {position: absolute;top: 17px;left: 6px;width: 25px;height: 1px;background-color: #000;}
.close-burger span:first-child {transform: rotate(45deg);}
.close-burger span:last-child {transform: rotate(-45deg);}

/* active */
.burger-bg-active {visibility: hidden;opacity: 0;transform: translateX(120px);}

/* menu */
.burger-nav { position: relative; padding-top: 20px; height: 100%;}
.burger-nav-lists {}

.burger-nav-lists>li {position: relative; border-bottom: 1px solid #eee;}
.burger-nav-lists>li>a { display: inline-block; font-size: 18px; color: #333; line-height: 45px; text-transform: uppercase;}

.burger-menus {display: none;}
.burger-cates{margin-top: 15px;}
.burger-cates h3{color: var(--yf-green-default); font-size: 16px;}
.burger-cates ul{ margin-top: 10px;}
.burger-cates ul >li {position: relative; padding: 0 10px; }
.burger-cates ul >li a{ display: block; font-size: 14px; padding: 5px 0;  border-bottom: 1px solid #eee;}
.burger-cates ul>li:last-child{margin-bottom: -1px;}
/*  */
.burger-nav-lists li span{position: absolute; top: 14px; right: 15px; width: 8px; height: 8px; border-top: 1px solid #333; border-right: 1px solid #333; transform: rotate(135deg);}
.burger-nav-lists .menu-item-has-children{position: relative;}
.burger-nav-lists .menu-item-has-children::before{ position: absolute; top: 16px; right: 5px; content: ''; width: 10px; height: 10px; border-right: 2px solid var(--yf-green-default); border-bottom: 2px solid var(--yf-green-default); transform: rotate(45deg);}

.burger-footer{position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px; align-items: center; justify-content: space-between;}
.burger-search a{ }
.burger-search a i{font-size: 18px; color: var(--yf-green-default);}

.burger-lang a{margin-left: 10px;}


/* alert-search */
.alert-search{position: fixed; top: 0; left: 0; z-index: 3399; width: 100%;height: 100%; background-color: rgba(0,0,0,.7);  visibility: hidden; opacity: 0; transition: .3s;}
.alert-search-box {width: 100%; height: auto; padding: 180px 0; background-color: #fff ;transform: translateY(-100px);visibility: hidden;transition: .3s;}
.alert-search-active {visibility: visible; opacity: 1; transform: translateY(0);}

.search-form form {
	position: relative;
	z-index: 1;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	border-bottom: 1px solid #ccc;
}

.search-form form input {
	display: block;
	width: 100%;
	line-height: 30px;
	padding: 10px 0;
	outline: none;
	border: none;
	flex: 1;
}

.search-form form button {
	background-color: #fff;
	border: none;
	height: 30px;
	line-height: 30px;
	display: block;
}

.search-form form button i {
	color: #333;

}
