.btn {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

#center {
    overflow: hidden;
}

.mesContent {
    width: 1200px;
    margin:50px auto;
    background-color: #fff;
    border:1px solid #eee;
    overflow: hidden;
}

.mesTop {
    height:74px;
    line-height: 74px;
    position: relative;
    background-color: #f3f2f2;
}

.mesTop:after {
    content:"";
    height:1px;
    background-color: #eee;
    position: absolute;
    bottom:0;
    left:30px;
    right:30px;
}

.mesType {
    font-size: 22px;
    color:#999;
    display: inline-block;
}

.mesType>li {
    display: inline-block;
    margin: 0 0 0 30px;
    cursor: pointer;
    position: relative;
}

.mesType>li.active {
    color: #333;
}

.mesType>li.active:after {
    content:"";
    width:100%;
    height: 2px;
    background-color: #6789ab;
    position: absolute;
    left:0;
    bottom: 0;
    z-index: 1;
}

.mesTip {
    display: inline-block;
    color: #b71c22;
    margin:0 0 0 30px;
}

.mesMiddle {
    height: 600px;
    position: relative;
    background-color: #f3f2f2;
    overflow: hidden;
}

.mesList {
    height: 100%;
    padding: 30px 60px;
    overflow: auto;
}

.mesList>li {
    margin:15px 0;
    overflow: hidden;
}

.mesList>li.mesRight {
    text-align: right;
}

.userHead {
    width:45px;
    height: 45px;
    border-radius:50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    overflow: hidden;
    float:left;
}

.userHead>img {
    width: 100%;
    height: 100%;
}

.mesInfo {
    float:left;
    margin:0 14px;
}

.mesList>li.mesRight .mesInfo, .mesList>li.mesRight .userHead {
    float:right;
}

.mesInfo .message {
    max-width: 600px;
    background-color: #fff;
    border-radius:5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding:12px 18px;
    color:#333333;
    position: relative;
    float:left;
}

.mesInfo .message:before {
    content:"";
    width: 0;
    height: 0;
    border-width: 4px 8px 4px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
    position: absolute;
    top: 14px;
    left: -8px;
}

.mesRight .mesInfo .message {
    background-color: #e0ecf7;
    color:#333;
    text-align: left;
    float: right;
}

.mesRight .mesInfo .message:before {
    border-width: 4px 0 4px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #e0ecf7;
    right: -8px;
    left: auto;
}

.mesInfo .iconfont {
    float: left;
    color: #3fb8ff;
    margin: 8px 12px;
    font-size: 20px;
}

.mesRight .mesInfo .iconfont {
    float:right;
}

.mesInfo .mesTime {
    color:#999;
    margin: 8px 0;
}

.mesInfo .mesTime>span {
    margin:0 10px 0 0;
    color:#333;
}

.mesRight .mesInfo .mesTime>span {
    margin:0 0 0 10px;
}

.topMesBg {
    position: absolute;
    left:0;
    right:0;
    bottom:0;
    top:0;
    /*background-color: rgba(6, 29, 15, .1);*/
}

.topContent {
    background-color: #fff;
    position: absolute;
    left:60px;
    top:30px;
    right:60px;
    padding:20px;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    box-shadow: 0 0 12px rgba(6, 29, 15, .2);
    -moz-box-shadow: 0 0 12px rgba(6, 29, 15, .2);
    -webkit-box-shadow: 0 0 12px rgba(6, 29, 15, .2);
}

.topLeft {
    width:920px;
    float:left;
}

.topTitle {
    font-size: 16px;
    color:#333;
    margin-bottom: 14px;
}

.topTitle>span.iconfont {
    color:#3fb8ff;
    margin:0 15px 0 4px;
}

.topTitle>span.topTime {
    color:#999;
    font-size: 12px;
}

.topMes {
    color:#666;
}

.topRight {
    float:right;
}

.btnSubmitRead {
    background-color: #4ca6ff;
    border-color: #4ca6ff;
    color:#fff;
}

.btnSubmitRead:hover, .btnSubmitRead:focus {
    background-color: #1e7dff;
    border-color: #1e7dff;
    color:#fff;
}

.mesBottom form {
    position: relative;
    height: 94px;
}

.mesBottom textarea {
    height: 100%;
    border:0;
    resize: none;
    background-color: #dee7ef;
    padding:15px 160px 15px 50px;
    outline: none;
}

.mesBottom textarea::-webkit-input-placeholder {
    color: #72849b;
}

.mesBottom textarea::-moz-placeholder {
    color: #72849b;
}

.mesBottom textarea:-ms-input-placeholder {
    color: #72849b;
}

.mesBottom textarea:-moz-placeholder {
    color: #72849b;
}

.btnSubmitMes {
    position: absolute;
    right:50px;
    top:30px;
    background-color: #4ca6ff;
    border-color: #4ca6ff;
    color:#fff;
}

.btnSubmitMes:hover, .btnSubmitMes:focus {
    background-color: #1e7dff;
    border-color: #1e7dff;
    color:#fff;
}

@media screen and (max-width: 1200px){
    #center{
        padding:0 20px;
    }
    
    .mesContent{
        width: 100%;
        margin: 50px auto;
    }
}

@media screen and (max-width: 900px){
    .mesContent{
        margin: 20px auto;
    }
    
    .mesTop{
        height: 50px;
        line-height: 50px;
    }
    
    .mesType{
        font-size: 16px;
    }
    
    .mesType>li{
        margin:0 0 0 20px;
    }
    
    .mesMiddle{
        height: 400px;
    }
    
    .mesList{
        padding:20px;
    }
    
    .mesInfo{
        width: 70%;
        position: relative;
    }
    
    .mesInfo .message{
        max-width: 100%;
    }
    
    .mesInfo .mesTime{
        font-size: 12px;
    }
    
    .mesInfo .iconfont{
        position: absolute;
    }
    
    .mesBottom textarea{
        padding:15px 100px 15px 20px;
        border-radius:0;
    }
    
    .btnSubmitMes{
        right: 20px;
    }
    
    .topContent{
        left: 0;
        top: 0;
        right: 0;
        padding: 10px;
    }
    
    .topTitle{
        margin-bottom: 10px;
    }
    
    .topMes{
        margin-bottom: 10px;
    }
    
    .topLeft{
        width: 100%;
    }
}

@media screen and (max-width: 320px){
    .mesInfo{
        width: 70%;
        margin: 0 0 0 10px;
    }
    
    .mesList>li.mesRight .mesInfo{
        margin: 0 10px 0 0;
    }
}
