﻿@charset "utf-8";
/*---------------------------------------------------------
interact styles
---------------------------------------------------------*/

body {
    background-color: #f4f5f9;
}

#container {
    width: 1200px;
    background: #fff;
    margin: 0 auto 10px;
}

#container .letter {
    padding: 10px 20px 30px;
}

/* 我要查询 */
#container .row_top {
    height: 54px;
    background: #f8f8f8;
    padding: 0 18px;
}

#container .row_top .top_left {
    font-weight: bold;
    color: #18509f;
    font-size: 20px;
}
#container .row_top .top_write a{
     font-size: 20px;
     font-weight: bold;
     color: #18509f;
}
#container .row_top .search input {
    width: 160px;
    line-height: 32px;
    font-size: 14px;
    padding: 0 15px;
    border: 1px solid #d2d2d2;
}

#container .row_top .search input:first-of-type {
    border-right: none;
}

#container .row_top .search button {
    width: 44px;
    height: 34px;
    line-height: 34px;
    background: #005bac url(xy_hdjl_icon_search.png) center no-repeat;
    border-radius: 0 5px 5px 0;
    border: none;
}

#container .row_top .search button:hover {
    background-color: #18509f;
}

/* 信箱列表 */
#container .row_title {
    line-height: 45px;
    background: #e8f2fb;
    color: #18509f;
}

#container .row_title li,
#container .letter-list li span {
    text-align: center;
}

#container .row_title li,
#container .letter-list li span {
    flex: 1 1 0;
}

#container .row_title .title,
#container .letter-list li .title {
    flex: none;
    width: 35%;
}

#container .letter-list li {
    padding: 10px 0;
}

#container .letter-list li span {
    font-size: 14px;
    color: #666;
    padding: 0 10px;
}

#container .letter-list li .title {
    text-align: left;
    font-size: 16px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#container .letter-list li:hover .title {
    color: #18509f;
}

#container .letter-list li a {
    display: flex;
    align-items: center;
}

/* 列表分页 */
#container .page {
    font-size: 14px;
}

#container .page .page_left span {
    color: #0000ff;
}

#container .page .page_right a,
#container .page .page_right span,
#container .page .page_right input,
#container .page .page_right button {
    color: #333;
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #e8e8e8;
    margin: 0 2px;
}

#container .page .page_right a:hover,
#container .page .page_right span:hover,
#container .page .page_right button:hover {
    background: #18509f;
    color: #fff;
}

#container .page .page_right span:hover {
    cursor: default;
}

#container .page .page_right input,
#container .page .page_right button {
    outline: none;
}

#container .page .page_right input {
    text-align: center;
}

#container .page .page_right button {
    background: none;
}

/* 写信须知 */
.letter_notice {
    padding: 20px;
}

.letter_notice h3 {
    font-weight: bold;
    font-size: 20px;
    color: #1964b1;
    text-align: center;
    padding: 16px 0;
}

.letter_notice .word_content {
    line-height: 32px;
}

.letter_notice .button_group {
    text-align: center;
}

.letter_notice .button_group a {
    display: inline-block;
    width: 129px;
    line-height: 40px;
    font-size: 14px;
    margin: 0 10px;
    border-radius: 5px;
    color: #fff;
}

.letter_notice .button_group a:first-of-type {
    background: #015293;
}

.letter_notice .button_group a:nth-of-type(2) {
    background: #747474;
}

/* 手机端 */
@media (max-width: 480px) {

    #container {
        width: 100%;
        padding: 80px 15px 20px;
        margin: 0;
    }

    /* 我要查询 */
    #container .row_top {
        height: auto;
        flex-direction: column;
        background: none;
        padding: 0;
    }

    #container .row_top .top_left {
        width: 100%;
        line-height: 54px;
        font-size: 14px;
        background: #f8f8f8;
        padding: 0 18px;
        margin-bottom: 10px;
    }
     #container .row_top .top_write {
        width: 100%;
        line-height: 54px;
        font-size: 14px;
        background: #f8f8f8;
        padding: 0 18px;
        margin-bottom: 10px;
    }

    #container .row_top .search {
        justify-content: center;
    }

    #container .row_top .search input {
        width: 40%;
        font-size: 12px;
    }

    /* 信箱列表 */
    #container .row_title {
        line-height: 25px;
        font-size: 14px;
        padding: 10px 0;
    }

    #container .row_title li {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 5px;
    }

    #container .letter-list li span {
        word-break: break-all;
        padding: 0 5px;
    }

    #container .letter-list li .title {
        overflow: auto;
        white-space: pre-wrap;
    }

    #container .row_title .id,
    #container .letter-list li .id,
    #container .row_title .time,
    #container .letter-list li .time {
        flex: none;
    }

    #container .row_title .id,
    #container .letter-list li .id {
        width: 22%;
    }

    #container .row_title .time,
    #container .letter-list li .time {
        width: 15%;
    }

    #container #container .letter-list li .time {
        padding: 0;
    }

    /* 列表分页 */
    #container .page {
        flex-direction: column;
    }

    #container .page .page_left {
        width: 100%;
    }

    #container .page .page_right {
        flex-wrap: wrap;
        justify-content: center;
    }

    #container .page .page_right a,
    #container .page .page_right span,
    #container .page .page_right input,
    #container .page .page_right button {
        margin-top: 5px;
    }

}