/*公用样式*/
.fl {
    float: left;
}

.fr {
    float: right;
}
.container{
    width: 1000px;
    margin: 0 auto;
}

img {
    -webkit-user-drag: none;
}

/*wrapper*/
.wrapper {
    width: 100%;
    background: #f2f2f2;
}

.wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

/*logo*/
.logo {
    width: 1000px;
    height: 80px;
    margin: 0 auto;
    padding-top: 20px;
}
.logo-img{
    width: 289px;
    height: 40px;
}
.logo img{
    width: 100%;
}
/*nav*/
nav {
    width: 100%;
    height: 50px;
    background: #1e2432;
}
nav .nav-bar {
    width: 1000px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .nav-bar li{
    width: 142px;
    height: 100%;
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    /*margin-right: 20px;*/
}
nav .nav-bar li.act{
    background: #22d3b6;
}
nav .nav-bar li:last-child {
    margin-right: 0;
}
nav .nav-bar li a{
    color: #ffffff;
}
nav .nav-bar li a:hover {
    background: #22d3b6;
}

/*banner*/
.banner {
    width: 100%;
    position: relative;
}
.banner img {
    width: 100%;
}
.banner-tip{
    width: 1000px;
    height: 130px;
    position: absolute;
    left: 50%;
    bottom: -65px;
    margin-left: -500px;
    background: #22d3b6;
}
.banner-tip ul{
    width: 100%;
    height: 100%;
    padding: 40px 10px;
    display: flex;
    overflow: hidden;
}
.banner-tip ul li{
    width: 245px;
    height: 100%;
    border-left: 1px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}
.banner-tip ul li a{
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner-tip ul li:last-child{
    border-right: 1px solid #ffffff;
}
.banner-tip ul li span{
    display: inline-block;
}
.banner-tip ul li p{
    color: #ffffff;
    font-size: 16px;
}
.banner-tip ul li:first-child span{
    width: 33px;
    height: 33px;
    background: url("../img/icon1.png") no-repeat;
    margin-right: 30px;
}
.banner-tip ul li:nth-child(2) span{
    width: 19px;
    height: 35px;
    background: url("../img/icon2.png") no-repeat;
    margin-right: 30px;
}
.banner-tip ul li:nth-child(3) span{
    width: 57px;
    height: 32px;
    background: url("../img/icon3.png") no-repeat;
    margin-right: 30px;
}
.banner-tip ul li:last-child span{
    width: 36px;
    height: 31px;
    background: url("../img/icon4.png") no-repeat;
    margin-right: 30px;
}
.banner-tip ul li:after{
    display: block;
    content: '';
    width: 22px;
    height: 22px;
    background: #ffffff;
    transform: rotate(45deg);
    position: absolute;
    top: 85px;
    left: 50%;
    margin-left: -11px;
    display: none;
}
.banner-tip ul li:hover:after{
    display: block;
}

/*tedu*/
.tedu{
    width: 100%;
    height: 150px;
    margin-top: 100px;
    background: #ffffff;
}
.tedu ul{
    width: 100%;
    height: 100%;
    display: flex;
}
.tedu ul li{
    width: 20%;
    height: 100%;
    border: 1px solid #c2c2c2;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .2s;
}
.tedu ul li:nth-child(2),.tedu ul li:nth-child(3),.tedu ul li:nth-child(4),.tedu ul li:nth-child(5){
    border-left: 0;
}
.tedu ul li p{
    font-size: 16px;
    color: #5e5e5f;
    text-align: center;
}
.tedu ul li p span{
    font-size: 50px;
    color: #5e5e5f;
    margin: 0 10px;
}
.tedu ul li:hover {
    border: 2px solid #22d3b6;
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(0,0,0,.5);
}
.tedu ul li:hover p span{
    color: #22d3b6;
}

/*重复样式*/
.p1,.p2,.p3,.p4,.p5,.p6{
    width: 100%;
    background: #ffffff;
    margin: 50px 0;
    padding: 40px 0;
}
.p1-btn,.p2-btn,.p3-btn,.p4-btn,.p5-btn,.p6-btn{
    width: 324px;
    height: 98px;
    margin: 30px auto 0;
    transition: all .5s;
}

/*p1*/
.p1-title{
    width: 530px;
    height: 97px;
    background: url("../img/p1-title.png") no-repeat;
    margin: 0 auto;
}
.p1-contents{
    width: 100%;
    margin: 17px 0 32px;
    position: relative;
}
.p1-logo{
    width: 214px;
    margin: 0 auto;
    animation: shake 3s linear alternate infinite;
}
.p1-logo img{
    width: 100%;
}
.p1-1,.p1-2{
    position: absolute;
}
.p1-1{
    width: 422px;
    height: 151px;
    background: url("../img/p1-content-1.png") no-repeat;
    top: 60px;
    left: 0;
}
.p1-2{
    width: 526px;
    height: 219px;
    background: url("../img/p1-content-2.png") no-repeat;
    top: 40px;
    right: -60px;
}
.p1-banner{
    width: 100%;
}
.p1-banner img{
    width: 100%;
}
.p1-btn{
    background: url("../img/p1-btn.png") no-repeat;
    background-size: 100% 100%;
}
.p1-btn:hover{
    transform: scale(1.05);
}

/*p2*/
.p2-title{
    width: 814px;
    height: 101px;
    background: url("../img/p2-title.png") no-repeat;
    margin: 0 auto;
}
.p2-main{
    width: 100%;
    margin: 43px 0 30px;
}
.p2-main ul{
    display: flex;
    justify-content: center;
}
.p2-main ul li{
    margin-right: 93px;
}
.p2-main ul li:last-child{
    margin-right: 0;
}
.p2-main ul li>div{
    width: 180px;
    height: 180px;
    margin-bottom: 47px;
    position: relative;
}
.p2-1-pic{
    background: url("../img/p2-1.png") no-repeat;
}
.p2-2-pic{
    background: url("../img/p2-2.png") no-repeat;
}
.p2-3-pic{
    background: url("../img/p2-3.png") no-repeat;
}
.p2-4-pic{
    background: url("../img/p2-4.png") no-repeat;
}
.p2-main ul li>div img{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .5s;
}
.p2-main ul li>p{
    color: #5e5e5f;
    text-align: center;
    font-size: 16px;
}
.p2-main ul li:hover img{
    opacity: 1;
    transform: rotate(90deg);
}
.p2-btn{
    background: url("../img/p1-btn.png") no-repeat;
}
.p2-btn:hover{
    transform: scale(1.05);
}

/*p3*/
.p3-title{
    width: 575px;
    height: 102px;
    background: url("../img/p3-title.png") no-repeat;
    margin: 0 auto;
}
.p3-main{
    width: 100%;
    margin-top: 32px;
}
.p3-up,.p3-down{
    width: 100%;
}
.p3-down{
    transform: translateY(-10px);
}
.p3-up ul,.p3-down ul{
    width: 100%;
    display: flex;
}
.p3-up ul li,.p3-down ul li{
    width: 10%;
    cursor: pointer;
}
.p3-up ul li img,.p3-down ul li img{
    width: 100%;
    position: relative;
    transition: all .3s;
}
.p3-main li:hover img{
    transform: scale(1.2);
    z-index: 2;
}
.p3-btn{
    background: url("../img/p3-btn.png") no-repeat;
}
.p3-btn:hover{
    transform: scale(1.05);
}

/*p4*/
.p4-title{
    width: 736px;
    height: 102px;
    background: url("../img/p4-title.png") no-repeat;
    margin: 0 auto;
}
.p4-contents{
    width: 100%;
    margin: 45px auto 30px;
    display: flex;
}
.p4-1,.p4-2,.p4-3,.p4-4{
    width: 238px;
    height: 314px;
    margin-right: 16px;
    transition: all .3s;
}
.p4-1{
    background: url("../img/p4-1.png") no-repeat;
}
.p4-2{
    background: url("../img/p4-2.png") no-repeat;
}
.p4-3{
    background: url("../img/p4-3.png") no-repeat;
}
.p4-4{
    background: url("../img/p4-4.png") no-repeat;
    margin-right: 0;
}
.p4-contents>div:hover{
    transform: translateY(-5px);
}
.p4-btn{
    background: url("../img/p4-btn.png") no-repeat;
}
.p4-btn:hover{
    transform: scale(1.05);
}

/*p5*/
.p5-title{
    width: 659px;
    height: 97px;
    background: url("../img/p5-title.png") no-repeat;
    margin: 0 auto;
}
.p5-contents{
    width: 100%;
    margin: 45px auto 30px;
    display: flex;
}
.p5-1,.p5-2,.p5-3,.p5-4{
    width: 200px;
    height: 270px;
    margin-right: 60px;
    transition: all .5s;
}
.p5-1{
    background: url("../img/p5-1.png") no-repeat center;
}
.p5-2{
    background: url("../img/p5-2.png") no-repeat center;
}
.p5-3{
    background: url("../img/p5-3.png") no-repeat center;
}
.p5-4{
    background: url("../img/p5-4.png") no-repeat center;
    margin-right: 0;
}
.p5-contents>div:hover{
    box-shadow: 0 10px 20px rgba(0,0,0,.5);
}
.p5-btn{
    background: url("../img/p5-btn.png") no-repeat;
}
.p5-btn:hover{
    transform: scale(1.05);
}

/*p6*/
.p6-title{
    width: 503px;
    height: 97px;
    background: url("../img/p6-title.png") no-repeat;
    margin: 0 auto;
}
.p6-contents{
    width: 100%;
    height: 393px;
    margin: 44px 0 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.p6-logo{
    width: 167px;
    margin: 0 auto;
    animation: light linear 2s infinite alternate;
}
.p6-logo img{
    width: 100%;
}
.p6-1,.p6-2{
    width: 420px;
    height: 393px;
    position: absolute;
}
.p6-1{
    background: url("../img/p6-1.png") no-repeat;
    top: 0;
    left: 0;
}
.p6-1>p,.p6-2>p{
    padding: 1px 30px;
    background: #f46a5f;
    color: #ffffff;
    font-size: 16px;
    border-radius: 50px;
    position: absolute;
    cursor: default;
}
.p6-1-1{
    top: 60px;
    left: 145px;
}
.p6-1-2{
    top: 167px;
    left: 63px;
}
.p6-1-3{
    bottom: 60px;
    left: 175px;
}
.p6-1>p:hover{
    background: #22d3b6;
}
.p6-2{
    background: url("../img/p6-2.png") no-repeat;
    top: 0;
    right: 0;
}
.p6-2-1{
    top: 60px;
    left: 132px;
}
.p6-2-2{
    top: 167px;
    left: 216px;
}
.p6-2-3{
    bottom: 60px;
    left: 88px;
}
.p6-2>p:hover{
    background: #22d3b6;
}
.p6-btn{
    background: url("../img/p6-btn.png") no-repeat;
    background-size: 100% 100%;
}
.p6-btn:hover{
    transform: scale(1.05);
}

@keyframes shake {
    0%{
        transform: rotate(10deg);
    }
    /*25%{*/
        /*transform: rotate(-10deg);*/
    /*}*/
    /*50%{*/
        /*transform: rotate(0deg);*/
    /*}*/
    /*75%{*/
        /*transform: rotate(10deg);*/
    /*}*/
    100%{
        transform: rotate(-10deg);
    }
}

@keyframes light {
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(1.1);
    }
}