* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Microsoft Yahei', 'PingFang SC', Arial, sans-serif;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

@font-face {
    font-family: 'tzbFont';
    src: url('../fontIndex/AlimamaDongFangDaKai-Regular.woff2') format('woff2'), /* WOFF2格式优先 */
    url('../fontIndex/AlimamaDongFangDaKai-Regular.woff') format('woff'), /* WOFF格式 */
    url('../fontIndex/AlimamaDongFangDaKai-Regular.ttf') format('truetype'), /* TTF格式 */
    url('../fontIndex/AlimamaDongFangDaKai-Regular.otf') format('opentype');
    /* OTF格式 */
    /* TTF格式 */
    font-weight: normal;
    /* 字体粗细 */
    font-style: normal;
    /* 字体风格 */
}


/* 使用自定义字体 */

body {
    font-family: 'tzbFont', Arial, sans-serif;
}

.wrap {
    width: 100%;
    height: 100vh;
    background: url(../images/indexBg.png) no-repeat bottom center/cover;
}

header {
    height: 130px;
    background: linear-gradient( 180deg, #BD1225 0%, rgba(175, 21, 21, 0.69) 42%, rgba(149, 14, 14, 0) 100%);
    display: flex;
}

header a.logoIndex {
    padding: 25px 80px;
}

header a.logoIndex img {
    width: 412px;
    height: 50px;
}

nav {
    flex: 1;
}

nav ul {
    padding: 0 40px;
    height: 90px;
    display: flex;
}

nav ul li {
    flex: 1;
    position: relative;
}

nav ul li>a {
    font-size: 26px;
    height: 100%;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul li:hover a {
    color: #fff;
}

nav ul li dl {
    width: 100%;
    background: #b63838;
    height: 0;
    transition: 0.3s;
    overflow: hidden;
}

nav ul li:nth-child(3) dl,nav ul li:last-child dl{
    width: 140%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav ul li dl a {
    font-size: 20px;
    color: #fff;
    text-align: center;
    display: block;
    width: 100%;
    padding: 15px 10px;
}

nav ul li dl a:hover {
    background: #992b2b;
}

nav ul li:hover dl {
    height: fit-content;
    transition: 0.3s;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.footerNav {
    background: url(../images/indexFot.png) no-repeat right/cover;
    flex: 1;
    height: 88px;
}

.searchBox {
    width: 282px;
    height: 48px;
    background: url(../images/searchBg.png) no-repeat left;
    padding-left: 30px;
    margin-bottom: 20px;
    flex-shrink: 0;
    padding-right: 20px;
}

.searchCon {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
}

.searchCon input {
    outline: none;
    border: none;
}

.searchCon .inpTxt {
    width: calc(100% - 28px);
    padding: 0 10px;
    font-size: 20px;
    box-sizing: border-box;
    color: #666666;
}

.searchCon .inpSub {
    width: 28px;
    height: 28px;
    background: url(../images/icon-search.png) center/contain no-repeat;
    flex-shrink: 0;
}

.footerNav {
    /* padding-left: 100px; */
    padding-right: 60px;
    display: flex;
    align-items: flex-end;
    flex: 1;
}

.footerNavLit {
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
}

.footerNavLit a {
    flex: 1;
    font-size: 22px;
    color: #FFFFFF;
    text-align: center;
}

.footerNavLit a:hover {
    color: #fff;
}

.footerNavLit a+a {
    border-left: 1px solid #fff;
}

@media screen and (max-width:1500px) {
    nav ul li>a {
        font-size: 20px;
    }
    nav ul li dl a {
        font-size: 16px;
    }
    header a.logoIndex {
        padding: 25px 50px;
    }
    .searchCon .inpTxt {
        font-size: 20px;
    }
}

@media screen and (max-width:1200px) {
    header nav {
        display: none;
    }
    footer {
        padding-right: 0;
        flex-direction: column-reverse;
    }
    .footerNav {
        background: linear-gradient( 90deg, #CC1E1F 0%, #FFA34E 100%);
        width: 100%;
        padding: 0 20px;
    }
    .footerNavLit {
        height: 80px;
    }
    header a.logoIndex {
        padding: 0;
        text-align: center;
    }
    header a.logoIndex img {
        width: 80%;
        height: auto;
        margin: 20px 0;
    }
    header {
        height: auto;
        flex-direction: column;
    }
}

@media screen and (max-width: 640px) {
    header a.logoIndex {
        padding: 0;
        text-align: center;
    }
    header a.logoIndex img {
        width: 80%;
        height: auto;
        margin: 20px 0;
    }
    .footerNavLit {
        height: auto;
        flex-wrap: wrap;
        padding: 20px 0;
    }
    .footerNavLit a+a {
        border: none
    }
    .footerNavLit a:nth-child(2n) {
        border-left: 1px solid #fff;
    }
    .footerNavLit a {
        flex: 0 0 50%;
        padding: 15px 0;
        font-size: 20px;
    }
    .searchBox {
        background: #fff;
        width: 90%;
        margin: 0 auto;
        margin-bottom: 20px;
        padding: 0;
    }
    .searchCon .inpTxt {
        padding: 0 15px;
        font-size: 18px;
        padding-left: 20px;
    }
    .searchCon {
        padding-right: 15px;
    }
}
