﻿@charset "utf-8";
/*---------------------------------------------------------
letter styles
---------------------------------------------------------*/

#container {
    background: url(xy-hd-head-bg.png) no-repeat top center;
}

#container .header {
    width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}

#container .header .title {
    font-size: 36px;
    color: #022643;
    height: 110px;
    line-height: 110px;
}

#container .header .address li img {
    vertical-align: middle;
}

#container .header .address li {
    font-size: 14px;
    margin-right: 5px;
}

#container .header .address li,
#container .header .address li a {
    color: #999;
}

#container .letter-list {
    width: 1200px;
    margin: 25px auto;
}

#container .letter-list .letter-item {
    padding: 20px;
    height: 110px;
}

#container .letter-list .letter-item:nth-child(odd) {
    background-color: #f6fbff;
}

#container .letter-item .title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    height: 36px;
    line-height: 36px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-indent: 2em;
    position: relative;
}

#container .letter-item .title::before {
    position: absolute;
    content: "";
    width: 6px;
    height: 6px;
    left: 0;
    top: 50%;
    margin-top: -3px;
    background: #d1d6da;
}

#container .letter-item .subTitle {
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

#container .letter-item .subTitle li {
    width: 25%;
}

#container .letter-item .subTitle li:first-of-type {
    width: 20%;
}

#container .letter-item .subTitle li:nth-of-type(2) {
    width: 30%;
}

/* 翻页 */
#page {
    width: 1200px;
    margin: 35px auto;
    justify-content: center;
    text-align: center;
}

#page li {
    font-size: 14px;
    color: #333;
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #e8e8e8;
    margin: 0 3px;
    cursor: pointer;
}

#page .active {
    background-color: #015293;
    color: #fff;
}

#page .total {
    border: none;
    cursor: text;
}

/* 手机端 */
@media (max-width: 480px) {
    #container {
        width: 100%;
        padding: 0 15px;
        margin: 0;
        background: url(xy-hd-head-bg1.png) left -68px no-repeat;
    }

    #container .header {
        width: 100%;
        flex-direction: column;
    }

    #container .header .title {
        height: auto;
        line-height: 75px;
        font-size: 22px;
    }

    #container .letter-list,
    #page {
        width: 100%;
    }

    #container .letter-item .subTitle {
        flex-wrap: wrap;
    }

    #container .letter-item .subTitle li {
        width: 50% !important;
        line-height: 30px;
    }

    #container .letter-list .letter-item {
        height: auto;
    }

    /* 翻页 */
    #page {
        flex-wrap: wrap;
    }

    #page li {
        margin: 3px;
    }
}