/* ----------------------------------- w3cschool&宁皓网vip合作页面样式  ----------------------------------- */
#navfirst_item {
	display: none;
}
/* banner */
.vip-banner {
    width: 100%;
    min-width: 1129px;
    height: 500px;
    background: url("//7nsts.w3cschool.cn/images/w3c/vip-ninghao-banner.png") no-repeat center center;
}
.vip-wrapper {
    position: relative;
    padding: 320px 0 0;
}
.vip-wrapper .banner-btn {
    display:block;
    width: 176px;
    height: 50px;
    line-height: 50px;
    margin: 0 auto;
    border: 1px solid #f0ad4e;
    background-color: #f0ad4e;
    text-align: center;
    font-size: 16px;
    color: #fff;
    border-radius: 6px;
}
.vip-wrapper .banner-btn:hover {
    border: 1px solid #ed9c28;
    background-color: #ed9c28;
}
/* 导航 */
.vip-tab {
    height: 65px;
    line-height: 65px;
    border-bottom: 2px solid #ededed;
    text-align: center;
    background: #fff;
}
.fixed {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    opacity: 0.95;
}
.tab-wrapper {
    padding: 0;
}
.vip-tab li {
    position: relative;
    display: inline-block;
    margin: 0 30px;
}
.vip-tab li a {
    display: inline-block;
    width: auto;
    min-width: 180px;
    font-size: 16px;
    color: #333;
}
.vip-tab li a.active {
    border-bottom: 2px solid #d2322d;
    color: #d2322d;
}
.vip-tab li a:hover {
    color: #d2322d;
}
/* item-content */
.section {
    margin: 30px 0;
    overflow: hidden;
    text-align: center;
}
.secion-title {
	margin-bottom: 40px;
    text-align: center;
	font-size: 32px;
	font-weight: 500;
	color: #333;
}
.section .intro {
    line-height: 30px;
    font-size: 18px;
    color: #444;
}
.section .note {
    margin-top: 20px;
    font-size: 16px;
}
.section .intro b,.section .note b {
    color: #ff5200;
}
.item-bottom {
    background: url("//7nsts.w3cschool.cn/images/w3c/vip-ninghao-banner2.png") no-repeat center center;
}
.item-bottom .secion-title {
    color: #fff;
    letter-spacing: 2px;
}
.vip-btn {
    display: block;
    width: 250px;
    height: 55px;
    line-height: 55px;
    margin: 0 auto;
    background-color: #d9534f;
    border-radius: 4px;
    font-size: 18px;
    color: #fff;
    text-align: center;
}
.vip-btn:hover {
	background-color: #d2322d;
	color: #fff;
}
.nh-btn {
    background-color: #4979f5;
}
.nh-btn:hover {
    background-color: #3167f4;
}
.more-btn {
    background-color: #f5c607;
}
.more-btn:hover {
    background-color: #eaad06;
}
.bottom-btn {
    background-color: #f0ad4e;
}
.bottom-btn:hover {
    background-color: #ed9c28;
}

/* vip购买 */
.vip-box {
    display: inline-block;
    width: 320px;
    height: 110px;
    padding: 40px 20px;
    background: #fffdeb;
    border: 1px #dcd48a solid;
    border-radius: 6px;
}
.vip-box img {
    display: block;
    width: 180px;
    height: auto;
    margin: 20px auto 5px;
}
.vip-box h3 {
    font-weight: normal;
    font-size: 24px;
    color: #333;
}
.vip-box .pay-money {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}
.vip-box .pay-money span {
    font-size: 28px;
    color: #ff5200;
    margin-right: 5px;
}
.vip-box p {
    font-size: 18px;
    color: #ff0000;
}
.add-btn {
    display: inline-block;
    width: 100px;
    height: 80px;
    line-height: 80px;
    margin: 55px 60px 0;
    vertical-align: top;
}
.add-btn span {
    display: block;
    font-size: 60px;
    color: #ff5200;
}
.first-item {
    margin-bottom: 40px;
}
.first-item .secion-title {
    margin-bottom: 10px;
}
.first-item .intro {
    color: #ff5200;
}
.vip-item2 {
    margin: 30px 0;
}
.pay-money2 {
    font-size: 26px;
    color: #333;
}
.pay-money2 span {
   color: #ff5200;
}
.vip-item2 p {
   font-size: 20px;
   color: #666;
   text-decoration: line-through;
   margin: 5px 0 10px;
}
.coupon-item {
    margin-top: 30px;
}
.coupon-box {
    display: inline-block;
    width: 240px;
    height: 130px;
    margin: 0 19px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    background: url("//7nsts.w3cschool.cn/images/w3c/coupon-demo.png") no-repeat center center;
    animation: myfirst 2s infinite;
}
.coupon-title {
    width: 80px;
    margin: 0px auto;
    height: 30px;
    line-height: 30px;
    background-color: #f5b049;
    font-weight: normal;
    font-size: 18px;
    letter-spacing: 1px;
}
.coupon-box .desc {
    color: #ff5200;
}
.coupon-center {
    padding: 5px 0;
    text-align: center;
}
.coupon-ico {
    font-size: 20px;
    vertical-align: top;
}
.coupon-price {
    line-height: 60px;
    vertical-align: top;
    font-family: impact,Arial;
    font-size: 40px;
}
.coupon-right {
    display: inline-block;
}
.coupon-limit {
    line-height: 30px;
    font-size: 13px;
}
.coupon-limit span {
    margin-right: 3px;
}
.coupon-get {
    display: inline-block;
    width: 95px;
    background-color: #fff;
    color: #f5b049;
    line-height: 25px;
    border-radius: 2px;
    text-align: center;
}
.coupon-get:hover {
    color: #f89135;
}
.coupon-get .arrow-right {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: -15px;
    margin-left: 6px;
    vertical-align: -1px;
    border: 6px solid transparent;
    border-left-color: #f5b049;
}
.coupon-get-des {
    font-size: 14px;
}
.priv-item,.priv-item2 {
    margin: 40px 0 50px;
    overflow: hidden;
}
.priv-item .priv-box1,.priv-item .priv-box2,.priv-item .priv-box3 {
    float: left;
    width: 26.6%;
    height: 225px;
    padding: 20px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 6px;
    text-align: center;
    box-shadow: 3px 3px 7px 0 #ddd;
    -moz-box-shadow: 3px 3px 7px 0 #ddd;
    -webkit-box-shadow: 3px 3px 7px 0 #ddd;
}
.priv-item .priv-box1,.priv-item .priv-box2 {
    margin-right: 50px;
}
.priv-item img {
    display: block;
    margin: 10px auto 0;
    width: 100px;
    height: 100px;
}
.priv-item h4 {
    margin: 15px 0px;
    font-size: 18px;
    color: #333;
}
.priv-item p {
    padding: 0 25px;
    line-height: 26px;
    font-size: 16px;
    color: #444;
}
.priv-item2 li {
    float: left;
    width: 17%;
    text-align: center;
    margin-left: 33px;
}
.priv-item2 img {
    display: block;
    margin: 0 auto;
    width: 128px;
    height: 128px;
}
.priv-item2 li span {
    display: block;
    font-size: 18px;
    color: #333;
    margin-top: 30px;
}

/* 宁皓网课程样式 */
.ninghao-content {
    margin: 30px 0;
}
.ninghao-item {
    margin-left: -30px;
    overflow: hidden;
}
.ninghao-item li {
    float: left;
    width: 22.1%;
    margin: 0 0 30px 30px;
    text-align: left;
}
.ninghao-box {
    display: block;
    background: #fff;
    border: 1px solid #f1f1f1;
    line-height: 20px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,.055);
}
.ninghao-box:hover {
    border: 1px solid #e1e1e1;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.ninghao-box a {
    color: #333;
}
.ninghao-img {
    padding: 20px;
    text-align: center; 
}
.ninghao-img img {
    width: 163px;
}
.ninghao-desc {
    text-align: center;
}
.ninghao-desc h3 {
    line-height: 40px;
    font-size: 18px;
}
.ninghao-desc p {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}
.ninghao-meta {
    border-top: 1px solid #f1f1f1;
    padding: 10px;
    font-size: 14px;
    color: #666;
}

/*支付模态框*/
.pay-vip-Box{
    background-color:rgba(0, 0, 0, 0.8);
    height:100%;
    left:0;
    position:fixed;
    top:0;
    width:100%;
    z-index:1200;
}
.pay-vip-content{
    background-color: #fff;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    top: 10%;
    width: 600px;
    z-index: 1200;
    height: 400px;
}
.pay-vip-top{
    background-color: #f3f3f3;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 20px;
}
.pay-vip-result{
    margin-top: 45px;
    padding: 0 30px;
}
.pay-vip-result a{
    border:1px solid #ae4141;
    background-color: #ae4141;
    padding: 10px 75px;
    color: #fff;
    border-radius: 4px;
    font-size: 17px;
    margin-right: 20px;
}
.pay-vip-title{
    font-size: 16px;
    font-weight: bold;
}
.pay-vip-close{
    color: #9e9e9e;
    cursor: pointer;
    float: right;
    font-weight: 700;
    height: 20px;
    text-align: center;
    text-shadow: 0 1px 0 #fff;
    width: 20px;
}
.pay-vip-price{
    text-align: left;
    height: 50px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 5px;
}
.pay-vip-price-first{
    margin-top: 40px;
}
.pay-vip-price span {
    margin-right: 12px;
    vertical-align: middle;
    font-size: 16px;
}
.pay-vip-btn{
    border:1px solid #ae4141;
    width: 20px;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 16px;
    margin-right: 15px;
    background-color: #fff;
    color: #ae4141;
}
.pay-vip-btn-un{
    
}
.pay-vip-btn-ck{
    background-color: #ae4141;
    color: #fff;
}
.pay-vip-btn:hover{
    background-color: #ae4141;
    color: #fff;
}
.pay-vip-paytype{
    margin-top: 20px;
    margin-left: 15px;
    text-align: left;
    height: 30px;
    font-size: 16px;
}
.pay-vip-paytype span{
    vertical-align: middle;
    margin-right: 5px;
}
.pay-vip-paytype #sale-code,.pay-vip-paytype #sale-price {
    color: #ff0000;
}
.pay-vip-paytype p {
    margin-top: 10px;
}
.pay-vip-paytype img{
    height: 30px;
    margin-right:12px;
    vertical-align: middle;
}
.pay-vip-gray{
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}
.pay-fbi-waring{
    color: #3e3e3e;
    margin-left: 15px;
    text-align: left;
}
.pay-vip-gopay{
    text-align: center;
    margin-top: 50px;
}
.pay-vip-gopay a{
    display: inline-block;
    border:1px solid #ae4141;
    padding: 10px 90px;
    background-color: #ae4141;
    color: #fff;
    border-radius: 4px;
    font-size: 17px;
}
.pay-vip-result-title{
    border-bottom:1px solid #9e9e9e;
    padding-bottom:8px;
    font-size:28px;
}
.pay-vip-result-waring{
    margin-top:13px;
    font-size:14px;
}
.pay-vip-result-btn{
    margin-top:50px;
    text-align:center;
}
#pay-total{
    font-size:28px;
    font-weight:bold;
    color: #df4d4b;
}
#pay-sale{
    color: #ff0000;
}
.pay-vip-result a:hover,.pay-vip-gopay a:hover {
	background-color: #900b09;
	border:1px solid #900b09;
}
/*支付模态框结束*/
 @keyframes myfirst {  
   0% {  
       transform: translate(0px, 0px);  
   }  
   50% {  
       transform: translate(0px, -10px);  
   }  
   100% {  
       transform: translate(0px, 0px);  
   }  
}  