/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
}

/* header */
.header {
    height: 100px;
    background-color: #fff;
    padding-top: 29px;
}
.header .w {
    display: flex;
}

.logo a {
    display: block;
    width: 195px;
    height: 41px;
    background: url(../images/logo.png) no-repeat;
    /* 隐藏logo文字 */
    /* text-indent: -9999px;
    overflow: hidden; */
    font-size: 0;
}
.nav ul {
    display: flex;
    /* 102-24=78 */
    margin-left: 78px;
    margin-right: 88px;
}

.nav li a {
    display: block;
    height: 41px;
    line-height: 41px;
    font-size: 19px;
    padding: 0 8px;
    margin-left: 24px;
}
.nav li a:hover {
    border-bottom: 2px solid #00a4ff;
}

.search input {
    width: 412px;
    height: 41px;
    background-color: #f3f5f7;
    border: 0;
    outline: 0;
    padding-left: 20px;
    border-radius: 20px;
}
.search {
    position: relative;
}
/* .search button {
    position: absolute;
    top: 13px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: url(../images/search.png);
    border: 0;
} */

.search .icon-fangdajing {
    position: absolute;
    top: 13px;
    right: 20px;
    background-color: transparent;
    color: #00a4ff;
    border: 0;
    cursor: pointer;
}

.user {
    display: flex;
    align-items: center;
}
.user img {
    height: 30px;
    margin-left: 32px;
    margin-right: 7px;
}
.user a {
    color: #666;
}

.banner {
    height: 420px;
    background-color: #0092cb;
}
.banner .w {
    height: 100%;
    background: url(../uploads/banner.png) no-repeat;
    display: flex;
    justify-content: space-between;
}

.banner-l {
    width: 191px;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
    padding: 0 20px;
}

.banner-l li {
    height: 46px;
    line-height: 46px;
    font-size: 16px;
}
.banner-l li a {
    color: #fff;
    display: flex;
    justify-content: space-between;
    /* transition: all .3s; */
}
.banner-l li a:hover {
    color: #00a4ff;
}
.banner-l li a span {
    font-family: 'simsun';
}

.banner-r {
    float: right;
    width: 218px;
    height: 305px;
    background-color: rgba(255, 255, 255, .1);
    margin-top: 60px;
    /* padding: 18px 14px 0; */
    border-radius: 10px;
}

.banner-r h4 {
    color: #fff;
    font-size: 15px;
    /* height: 48px; */
    /* line-height: 20px; */
    padding-top: 18px;
    padding-left: 14px;
    margin-bottom: 9px;
}

.banner-ke {
    /* width: 218px; */
    height: 257px;
    background-color: #fff;
    padding: 14px 14px 0;
    border-radius: 10px;
}

.banner-ke li {
    /* height: 61px; */
    padding-bottom: 9px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 12px;
}

.banner-ke li a {
    /* color: #333; */
    /* font-size: 14px; */
    font-weight: 700;
    /* line-height: 20px; */
}

.banner-ke li p {
    color: #7d7d7d;
    font-size: 12px;
    line-height: 16px;
    margin-top: 8px;
}

.banner-ke li p span {
    color: #00a4ff;
}

.banner-ke a.ke-all {
    display: block;
    /* width: 190px; */
    height: 32px;
    background-color: #00a4ff;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 32px;
    border-radius: 16px;
}

.recommend {
    height: 60px;
    background-color: #fff;
    box-shadow: 0px 1px 2px 0px rgba(211, 211, 211, 0.5);
    margin-top: 12px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}
.recommend h3 {
    color: #00a4ff;
    margin-right: 20px;
}
.recommend ul {
    flex: 1;
    display: flex;
}
.recommend li span {
    color: #e0e0e0;
    margin: 0 22px;
}
.recommend-mod {
    color: #00a4ff;
    font-size: 16px;
}

.goods,
.web,
.python,
.ai,
.java {
    margin-top: 15px;
}

/* .goods {
    height: 616px;
    background-color: skyblue;
} */
.hd {
    height: 60px;
    /* background-color: pink; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hd h2 {
    font-size: 21px;
    /* 固定宽度，配合flex将hd导航居中 */
    width: 228px;
}
.hd .see-all {
    color: #999;
    /* 固定宽度，配合flex将hd导航居中 */
    width: 228px;
    text-align: right;
}
.hd .see-all span {
    /* font-family: 'simsun'; */
    font-size: 14px;
    margin-left: 3px;
}
/* .bd {
    height: 556px;
    background-color: skyblue;
} */
.bd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.bd li {
    position: relative;
    width: 228px;
    height: 271px;
    background-color: #fff;
    /* margin-right: 14px; */
    /* 清除img空格 */
    font-size: 0;
    transition: all .3s;
}

/* 0724 insert */
.bd li:hover {
    transform: translate(0,-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
}

.bd li a {
    display: block;
    /* width: 228px; */
    height: 271px;
}

.bd li .hot {
    position: absolute;
    top: 4px;
    right: -4px;
    width: 40px;
    height: 24px;
    background: url(../images/hot.png);
}


.bd li h3 {
    /* 给h3一个高度，无论几行，它的高度固定，不会影响布局 */
    height: 40px;
    font-size: 14px;
    margin: 20px 20px 13px;
}

.bd li p {
    color: #999;
    font-size: 14px;
    margin-left: 20px;
}

.bd li p span {
    color: #fa6400;
}

.hd ul {
    display: flex;
}
.hd li a {
    font-size: 16px;
    margin: 0 30px;
}
.hd li a.active {
    color: #00a4ff;
}
.bd {
    display: flex;
    justify-content: space-between;
}
.bd-l {
    width: 228px;
    height: 386px;
    /* background-color: pink; */
}
.bd-r {
    width: 957px;
    height: 386px;
    /* background-color: skyblue; */
}
.bd-r-t {
    height: 100px;
    /* background-color: pink; */
    margin-bottom: 15px;
}

.goods .bd ul {
    height: 556px;
    align-content: space-between;
}

.ai .bd ul,
.java .bd ul {
    width: 1200px;
}

.footer {
    height: 273px;
    background-color: #fff;
    margin-top: 60px;
    padding-top: 60px;
}
.footer .w {
    display: flex;
    justify-content: space-between;
}

.footer-l p {
    color: #666;
    font-size: 12px;
    line-height: 17px;
    margin: 24px 0 14px 0;
}
.footer-l a {
    display: block;
    width: 120px;
    height: 36px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 34px;
    font-size: 16px;
    color: #00a4ff;
}
.footer-r {
    display: flex;
}
.footer-r dl {
    width: 210px;
}
.footer-r dl:last-child {
    width: 65px;
}
.footer-r dt {
    font-size: 16px;
    margin-bottom: 10px;
}
.footer-r dd a {
    color: #666;
    line-height: 24px;
}