@media all and (orientation: landscape) {  /*横屏*/

    .msg {
        max-width: 50%;
    }
    #postContent video {
        width: 50%;
        height: auto;
    }

}

@media all and (orientation:portrait) {  /*竖屏*/

    #postContent video {
        width: 100%;
        height: auto;
    }


}

html, body {
    margin: 0;
    padding: 0;
}

.head_zew {
    width: 96%;
    padding: 10px 2%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.head_zew img {
    margin-left: 10px;
}

#main_zew {
    flex: 1;
}

.roomBox {
    width: 100px;
    position: relative;
    margin: 10px;
}

.roomDef {
}

.nomp {
    margin: 0px;
    padding: 0px;
}

.roomIcon {
    position: absolute;
    width: 50px;
    bottom: 2.2em;
    left: 10%;
    transform: rotateY(-40deg);
    -webkit-transform: rotateY(-40deg); /* Safari 和 Chrome */
    -moz-transform: rotateY(-40deg); /* Firefox */
    transform: rotate(15deg) !important;
}

.nav {
    width: 96%;
    background: rgba(39, 29, 13, 0.03);
    display: flex;
    align-items: center;
    padding: 2vh 2%;
}

.nav a,.nav span{
    margin-right: 1em;
}

.nav img {
    height: 3em;
}

.letter {
    border-bottom: 1px solid #eee;
    min-height: 50px;
    padding-left: 20px;
    display: flex;
    align-items: center;
}



img.avatar {
    width: 50px;
}

.avatarBox {
    width: 50px;
    height: 50px;
    overflow: hidden;
    background: white;
    display: inline-block;
    border-radius: 50%;
}



.character {
    position: fixed;
    height: 15%;
    text-align: center;
}

.character img {
    height: 100%;
}

.ptip {
    align-self: center;
}
#msgs {
    overflow-y: auto;
    padding-bottom: 50px;
}
#msgs .emoticon {
    width: 100px;
}

.msg {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    padding: 0.5em;
}
.msg .timestamp{
    font-weight: lighter;
}

.msgtxt {
    font-size: small;
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin:0.2em 0;
    display: inline-block;
    word-break: break-word;
    max-height: 20em;
    overflow: auto;
}

.msgtxt img {
    max-width: 100%;
    max-height: 20vh;
}

.uname {
    font-size: small;
    color: grey;
}

#container audio {
    width: 200px;
}

.audioUserDiv {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
}

.audioUserDiv .avatarBox {
    margin: 0;
}

.audioUname {
    width: 5em;
}



.postDate {
    color: grey;
    font-size: small;
}

.chatObj{
    margin:5px 1em;
    line-height: 150%;
    display: flex;
    align-items: center;
}
 .chatObj .main{
     margin-left:0.5em;
     margin-right: 1em;
     display: flex;
     flex-direction: column;
     word-break: keep-all;
     white-space: nowrap;
     overflow: hidden;
 }
 .chatObj .name{
 }
 .chatObj .avatarBox{
     margin-top:0;
     border:1px solid #eee;
     flex-shrink: 0;
 }
 .chatObj .unread {
     font-size: 2em;
     color:lime;
     margin-left: 1em;
 }
 .chatObj .time{
     word-break: keep-all;
     white-space: nowrap;
 }
 .chatObj .lastMsg{
     word-break: keep-all;
     white-space: nowrap;
     color:grey;
     font-size: small;
 }

.chatObj .typeLogo img{
    width: 50px;
}
.olNum{
    position: absolute;
    right: 2%;
    top: 2%;
    display: inline-block;
    background: lime;
    padding: 0.1em 0.5em;
    border-radius: 50%;
    color: white;
    font-size: small;
    font-weight: bold;
}
#replyPanel{
    padding: 0.5em;
    font-size: small;
    background: aliceblue;
}
#replyTopicPanel{
    padding: 0.5em;
    font-size: small;
    background: aliceblue;
}
.replyTxt{
    display: block;
    font-size: small;
    padding: 0.5em 0;
}
.replyTxt .inner {
    background: #E8E8E8;
    color:#79798D;
    display: inline-block;
    padding: 0.5em;
}
.msgTopic{
    display: block;
    font-size: small;
    padding: 0.5em 0;
}
.msgTopic .tname {
    display: inline-block;
    padding: 0.5em;
}
.topicColor{
    background: #1e9fff0d!important;
}

.selectAttrs{
    background: aliceblue;
    padding: 0.2em;
}

.inputAttrs{
    color: grey;
}

.已出餐{
    color: green;
}
.已取消{
    color: darkred;
}