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

.fr {
    float: right;
}

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: #bf095f;
}
nav .nav-bar li:last-child {
    margin-right: 0;
}
nav .nav-bar li a{
    color: #ffffff;
}
nav .nav-bar li a:hover {
    background: #bf095f;
}

/*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: #bf095f;
}
.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: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 #bf095f;
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(0,0,0,.5);
}
.tedu ul li:hover p span{
    color: #bf095f;
}

/*通用*/
.p1-btn,.p2-btn,.p3-btn,.p4-btn,.p5-btn,.p6-btn,.p7-btn{
    width: 257px;
    height: 56px;
    margin: 0 auto;
}

/*p1*/
.p1{
    width: 100%;
    margin-top: 75px;
    background: #ffffff;
}
.p1-contents{
    width: 1000px;
    height: 100%;
    margin: 0 auto;
    padding: 58px 0 45px;
}
.p1-title{
    width: 100%;
    text-align: center;
}
.p1-title h3{
    color: #bf095f;
    font-size: 38px;
    margin-bottom: 20px;
}
.p1-title p{
    color: #6b6c70;
    font-size: 18px;
}
.p1-main{
    width: 100%;
    margin: 43px 0 48px;
}
.p1-main ul{
    display: flex;
    justify-content: center;
}
.p1-main ul li{
    margin-right: 93px;
}
.p1-main ul li:last-child{
    margin-right: 0;
}
.p1-main ul li>div{
    width: 180px;
    height: 180px;
    margin-bottom: 47px;
    position: relative;
}
.p1-1-pic{
    background: url("../img/p1-1.png") no-repeat;
}
.p1-2-pic{
    background: url("../img/p1-2.png") no-repeat;
}
.p1-3-pic{
    background: url("../img/p1-3.png") no-repeat;
}
.p1-4-pic{
    background: url("../img/p1-4.png") no-repeat;
}
.p1-main ul li>div img{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .5s;
}
.p1-main ul li>p{
    color: #5e5e5f;
    text-align: center;
    font-size: 16px;
}
.p1-main ul li:hover img{
    opacity: 1;
    transform: rotate(90deg);
}
.p1-btn{
    background: url("../img/p1-btn.png") no-repeat;
}

/*p2*/
.p2{
    width: 100%;
    margin: 50px 0 0;
    padding-top: 72px;
    background: #ffffff;
}
.p2-title{
    width: 100%;
    text-align: center;
}
.p2-title h3{
    color: #bf095f;
    font-size: 38px;
    margin-bottom: 20px;
}
.p2-title p{
    color: #6b6c70;
    font-size: 18px;
}
.p2-main{
    width: 100%;
    margin-top: 32px;
}
.p2-up,.p2-down{
    width: 100%;
}
.p2-down{
    transform: translateY(-10px);
}
.p2-up ul,.p2-down ul{
    width: 100%;
    display: flex;
}
.p2-up ul li,.p2-down ul li{
    width: 10%;
    cursor: pointer;
}
.p2-up ul li img,.p2-down ul li img{
    width: 100%;
    position: relative;
    transition: all .3s;
}
.p2-main li:hover img{
    transform: scale(1.2);
    z-index: 2;
}
.p2-btn{
    background: url("../img/p2-btn.png") no-repeat;
    margin-top: 50px;
}

/*p3*/
.p3{
    width: 100%;
    background: #ffffff;
    padding: 50px 0;
}
.p3-title{
    width: 100%;
    text-align: center;
}
.p3-title h3{
    color: #bf095f;
    font-size: 38px;
    margin-bottom: 20px;
}
.p3-title p{
    color: #6b6c70;
    font-size: 18px;
}
.p3-main{
    width: 1000px;
    margin: 40px auto 50px;
}
.p3-main:after{
    display: block;
    content: '';
    clear: both;
}
.p3-main div{
    width: 210px;
    height: 260px;
    background: url("../img/p3-border.png") no-repeat;
    position: relative;
    margin: 0 53px 32px 0;
    padding: 16px 7px 7px;
}
.p3-main div:nth-child(4),.p3-main div:nth-child(8) {
    margin-right: 0;
}
.p3-main div:nth-child(5),.p3-main div:nth-child(6),.p3-main div:nth-child(7),.p3-main div:nth-child(8){
    margin-bottom: 0;
}
.p3-main div p{
    height: 40px;
    line-height: 40px;
    background: #31303e;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    cursor: default;
}
.p3-main div:hover p{
    background: #bf095f;
}
.p3-btn{
    background: url("../img/p3-btn.png") no-repeat;
}

/*p4*/
.p4{
    width: 100%;
    margin-top: 65px;
    padding: 48px 0 50px;
    background: #ffffff;
}
.p4-title{
    width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.p4-title span{
    display: inline-block;
    margin: 0 12px 0 75px;
}
.p4-title h3{
    color: #bf095f;
    font-size: 38px;
    margin-bottom: 20px;
}
.p4-title p{
    color: #6b6c70;
    font-size: 18px;
    margin-left: 162px;
}
.p4-title:after{
    display: block;
    content: '';
    clear: both;
}
.p4-main{
    width: 100%;
    margin: 36px 0 50px;
}
.p4-content-title{
    width: 100%;
    height: 120px;
    background: #bf095f;
    margin-bottom: 49px;
}
.content-title-main{
    width: 1000px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.content-title-main li{
    width: 143px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.content-title-main li:after{
    content: '';
    width: 20px;
    height: 20px;
    background: #bf095f;
    position: absolute;
    left: 50%;
    margin-left: -10px;
    bottom: -5px;
    transform: rotate(45deg);
    display: none;
}
.content-title-main li.act:after{
    display: block;
}
.p4-contents{
    width: 1000px;
    height: 418px;
    margin: 0 auto;
    position: relative;
}
.p4-content{
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .8s;
}
.p4-content.act{
    opacity: 1;
    z-index: 2;
}
.p4-left-content{
    width: 350px;
    height: 418px;
    margin-right: 100px;
}
.p4-left-content p{
    height: 60px;
    background: #bf095f;
    line-height: 60px;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
}
.p4-left-content .left-detail{
    height: 358px;
    padding: 0 25px 25px;
    border: 1px solid #a8a8a8;
    border-top: 0;
}
.p4-left-content ul{
    height: 100%;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.p4-left-content ul li{
    width: 240px;
    height: 30px;
    margin-bottom: 20px;
    line-height: 30px;
    font-size: 16px;
    color: #6b6c70;
    background: #ffffff;
    text-align: center;
}
.p4-right-content{
    width: 550px;
    height: 414px;
}
.right-pic{
    height: 305px;
}
.java{
    background: url("../img/p4-1.jpg") no-repeat;
}
.net{
    background: url("../img/p4-2.jpg") no-repeat;
}
.linux{
    background: url("../img/p4-3.jpg") no-repeat;
}
.web{
    background: url("../img/p4-4.jpg") no-repeat;
}
.python{
    background: url("../img/p4-5.jpg") no-repeat;
}
.php{
    background: url("../img/p4-6.jpg") no-repeat;
}
.test{
    background: url("../img/p4-7.jpg") no-repeat;
}
.right-detail{
    height: 109px;
    text-align: center;
    background: #f0f0f0;
}
.right-detail h3{
    font-size: 18px;
    color: #6b6c70;
}
.right-detail p{
    font-size: 16px;
    color: #6b6c70;
}
.p4-btn{
    background: url("../img/p4-btn.png") no-repeat;
}

/*p5*/
.p5{
    width: 100%;
    margin-top: 65px;
    padding: 48px 0 50px;
    background: #ffffff;
}
.p5-title{
    width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.p5-title span{
    display: inline-block;
    margin: 0 12px 0 206px;
}
.p5-title h3{
    color: #bf095f;
    font-size: 38px;
    margin-bottom: 20px;
}
.p5-title p{
    color: #6b6c70;
    font-size: 18px;
    margin-left: 85px;
}
.p5-title:after{
    display: block;
    content: '';
    clear: both;
}
.p5-main{
    width: 1000px;
    margin: 39px auto 50px;
}
.p5-main:after{
    display: block;
    content: '';
    clear: both;
}
.p5-tag{
    width: 163px;
}
.p5-tag li{
    width: 100%;
    height: 110px;
    margin-bottom: 7px;
    border: 1px solid #31303e;
    padding: 4px;
}
.p5-tag li:nth-child(3),.p5-tag li:nth-child(6){
    margin-bottom: 0;
}
.p5-tag li img{
    width: 100%;
}
.tag-1{
    background: url("../img/p5-tag-1.jpg") no-repeat center;
}
.tag-1.act{
    background: url("../img/p5-tag-1-act.jpg") no-repeat center;
}
.tag-2{
    background: url("../img/p5-tag-2.jpg") no-repeat center;
}
.tag-2.act{
    background: url("../img/p5-tag-2-act.jpg") no-repeat center;
}
.tag-3{
    background: url("../img/p5-tag-3.jpg") no-repeat center;
}
.tag-3.act{
    background: url("../img/p5-tag-3-act.jpg") no-repeat center;
}
.tag-4{
    background: url("../img/p5-tag-4.jpg") no-repeat center;
}
.tag-4.act{
    background: url("../img/p5-tag-4-act.jpg") no-repeat center;
}
.tag-5{
    background: url("../img/p5-tag-5.jpg") no-repeat center;
}
.tag-5.act{
    background: url("../img/p5-tag-5-act.jpg") no-repeat center;
}
.tag-6{
    background: url("../img/p5-tag-6.jpg") no-repeat center;
}
.tag-6.act{
    background: url("../img/p5-tag-6-act.jpg") no-repeat center;
}
.p5-pic{
    width: 613px;
    height: 343px;
    position: relative;
    margin: 0 28px;
    border: 1px solid #31303e;
}
.p5-pic img{
    width: 99%;
    position: absolute;
    top: 4px;
    left: 4px;
    opacity: 0;
    transition: all .5s;
}
.p5-pic img.act{
    opacity: 1;
    z-index: 2;
}
.p5-btn{
    background: url("../img/p5-btn.png") no-repeat;
}

/*p6*/
.p6{
    width: 100%;
    margin-top: 65px;
    padding: 48px 0 50px;
    background: #ffffff;
}
.p6-title{
    width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.p6-title span{
    display: inline-block;
    margin: 0 12px 0 130px;
}
.p6-title h3{
    color: #bf095f;
    font-size: 38px;
    margin-bottom: 20px;
}
.p6-title p{
    color: #6b6c70;
    font-size: 18px;
    margin-left: 85px;
}
.p6-title:after{
    display: block;
    content: '';
    clear: both;
}
.p6-teachers{
    width: 1000px;
    margin: 50px auto;
    display: flex;
}
.p6-teachers>div{
    width: 190px;
    height: 431px;
    margin-right: 13px;
    position: relative;
}
.p6-1{
    background: url("../img/p6-1.png") no-repeat;
}
.p6-2{
    background: url("../img/p6-2.png") no-repeat;
}
.p6-3{
    background: url("../img/p6-3.png") no-repeat;
}
.p6-4{
    background: url("../img/p6-4.png") no-repeat;
}
.p6-5{
    background: url("../img/p6-5.png") no-repeat;
    margin-right: 0;
}
.p6-teachers>div>div{
    width: 100%;
    height: 100%;
    padding: 52px 17px;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.6);
    text-align: center;
    transform: rotateY(90deg);
    transition: all .5s ease-in-out;
}
.p6-teachers>div>div h3{
    font-size: 20px;
    color: #ffffff;
}
.p6-teachers>div>div .line{
    width: 100%;
    height: 2px;
    background: #ffffff;
    margin: 10px 0;
}
.p6-teachers>div>div p{
    font-size: 14px;
    color: #ffffff;
}
.p6-teachers>div:hover .t-detail{
    transform: rotateY(0deg);
}
.p6-btn{
    background: url("../img/p6-btn.png") no-repeat;
}

/*p7*/
.p7{
    width: 100%;
    margin: 65px 0 50px 0;
    padding: 48px 0 50px;
    background: #ffffff;
}
.p7-title{
    width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.p7-title span{
    display: inline-block;
    margin: 0 12px 0 270px;
}
.p7-title h3{
    color: #bf095f;
    font-size: 38px;
    margin: 0 60px 20px 0;
}
.p7-title p{
    color: #6b6c70;
    font-size: 18px;
    margin-left: 5px;
}
.p7-title:after{
    display: block;
    content: '';
    clear: both;
}
.p7-contents{
    width: 1000px;
    margin: 51px auto 32px;
    display: flex;
}
.p7-contents>div{
    width: 202px;
    height: 233px;
    background: url("../img/p7-bg.png") no-repeat;
    background-size: 100% 100%;
    margin-right: 65px;
    position: relative;
}
.p7-4{
    margin-right: 0;
}
.p7-circle{
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -30px;
    background: #31303e;
}
.p7-contents>div:hover .p7-circle{
    background: #bf095f;
}
.p7-logo-1,.p7-logo-2,.p7-logo-3,.p7-logo-4{
    position: absolute;
    top: 50%;
    left: 50%;
}
.p7-logo-1{
    width: 100px;
    height: 117px;
    background: url("../img/p7-1.png") no-repeat;
    margin-top: -58.5px;
    margin-left: -50px;
}
.p7-logo-2{
    width: 89px;
    height: 115px;
    background: url("../img/p7-2.png") no-repeat;
    margin-top: -57.5px;
    margin-left: -44.5px;
}
.p7-logo-3{
    width: 99px;
    height: 116px;
    background: url("../img/p7-3.png") no-repeat;
    margin-top: -58px;
    margin-left: -50px;
}
.p7-logo-4{
    width: 86px;
    height: 117px;
    background: url("../img/p7-4.png") no-repeat;
    margin-top: -58.5px;
    margin-left: -43px;
}
.p7-btn{
    background: url("../img/p7-btn.png") no-repeat;
}