.mail-button {
    margin-top: .2rem;
}

.mail-button .a-btn {
    width: calc((100% - .26rem * 2) / 3);
    height: 1.2rem;
    background-color: #fff9eb;
    display: block;
    border-radius: 5px;
    float: left;
}

.mail-button .a-btn:first-child {
    margin-right: .26rem;
}

.mail-button .a-btn:nth-child(3) {
    float: right;
}

.mail-button .a-btn.active {
    background: url(2024-mail-btn-bg-active.jpg) no-repeat bottom #c81e21;
    background-size: 100% auto;
}

.mail-button .a-btn:hover {
    background-color: #fff0de;
}

.mail-button .a-btn.active:hover {
    background-color: #c81e21;
}

.mail-button .a-btn img {
    width: .68rem;
    height: .68rem;
    display: block;
    margin-top: calc((1.2rem - .68rem) / 2);
    margin-left: 1.26rem;
    margin-right: .3rem;
    float: left;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0.07rem #fbe7cf;
}

.mail-button .a-btn img.active {
    display: none;
}

.mail-button .a-btn.active img {
    display: none;
}

.mail-button .a-btn.active img.active {
    display: block;
}

.mail-button .a-btn span {
    line-height: 1.2rem;
    font-size: .22rem;
    font-weight: 700;
    cursor: pointer;
}

.mail-button .a-btn.active span {
    color: #ffffff;
}

.mail-list {
    margin-top: .3rem;
    background-color: #fcfcfc;
    border-radius: 5px;
    padding: .3rem;
}

.mail-list .list-msg {
    font-size: .17rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
    line-height: 1.6;
    letter-spacing: 1px;
}

.mail-list .list-msg span {
    color: #c81e21;
}

.mail-list .list-ul {
    padding: 0 .2rem;
}

.mail-list .list-ul li {
    width: calc((100% - .3rem) / 2 - 2px - .4rem);
    float: left;
    border-radius: .06rem;
    margin-top: .3rem;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    padding: .2rem;
    height: .85rem;
}

.mail-list .list-ul li:nth-child(2n) {
    float: right;
}

.mail-list .list-ul li .fl {
    width: .16rem;
    height: .7rem;
    padding: .15rem .1rem 0;
    border-radius: 3px;
    background: url(2024-mail-list-ico-zx.png) no-repeat right bottom #eb4d00;
    background-size: .27rem .28rem;
    color: #ffffff;
    font-size: .16rem;
    font-weight: 700;
    line-height: .28rem;
    float: left;
    display: block;
}

.mail-list .list-ul li .fl.zx {
    background-color: #eb4d00;
    background-image: url(2024-mail-list-ico-zx.png);
}

.mail-list .list-ul li .fl.jy {
    background-color: #f0c706;
    background-image: url(2024-mail-list-ico-jy.png);
}

.mail-list .list-ul li .fl.yj {
    background-color: #eb9500;
    background-image: url(2024-mail-list-ico-yj.png);
}

.mail-list .list-ul li .fl.ts {
    background-color: #eb1215;
    background-image: url(2024-mail-list-ico-ts.png);
}

.mail-list .list-ul li .fl.qt {
    background-color: #d27b51;
    background-image: url(2024-mail-list-ico-qt.png);
}

.mail-list .list-ul li .a-tit {
    width: calc(100% - .36rem - .15rem);
    display: block;
    height: .44rem;
    line-height: .44rem;
    border-bottom: 1px dashed #e1e1e1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: right;
}

.mail-list .list-ul li .a-tit:hover {
    color: #ff0000;
}

.mail-list .list-ul li .msg {
    width: calc(100% - .36rem - .15rem);
    float: right;
    height: .4rem;
    line-height: .4rem;
    font-size: .16rem;
    color: #999999;
}

.mail-list .list-ul li .msg span {
    float: left;
}

.mail-list .list-ul li .msg span:last-child {
    float: right;
}

.mail-list .list-ul li .msg span:first-child {
    margin-right: .4rem;
}

@media screen and (max-width: 768px) {
    .mail-button {
        margin-top: .1rem;
    }
    
    .mail-button .a-btn {
        width: calc((100% - .15rem * 2) / 3);
    }
    
    .mail-button .a-btn:first-child {
        margin-right: .15rem;
    }
    
    .mail-button .a-btn {
        height: auto;
        padding-bottom: .15rem;
    }
    
    .mail-button .a-btn img {
        float: none;
        margin: .15rem auto 0;
        width: .4rem;
        height: .4rem;
    }
    
    .mail-button .a-btn span {
        float: none;
        width: 100%;
        text-align: center;
        margin-top: .1rem;
        line-height: 1;
        display: block;
        font-size: .18rem;
    }
    
    .mail-list {
        margin-top: .15rem;
        padding: .15rem;
    }
    
    .mail-list .list-msg span {
        display: block;
    }
    
    .mail-list .list-ul {
        padding: 0;
    }
    
    .mail-list .list-ul li {
        margin-top: .15rem;
        width: calc(100% - 2px - .3rem);
        float: none !important;
        padding: .15rem;
    }
    
    .mail-list .list-ul li .msg span:first-child {
        display: none;
    }
}