html {
    height: 100%;
}
.header-title{
    position: fixed;
    top: 0;
    left: 0;
    background: url("../images/head.png");
    background-size: contain;
    height: 4rem;
    width: 100%;
    text-align: center;
    line-height: 4rem;
    font-size: 1.9rem;
    color: #fff;
    z-index: 3;
}
.chat-bg {
    background: #f9fcfd;
    height: 100%;
    position: relative;
    padding-bottom: 5rem;
}

.chat-box {
    height: 100%;
    overflow-y: hidden;
    position: relative;
    padding-top: 12%;
}

.chat-trip {
    background-color: #F4F4F4;
    line-height: 3.5rem;
    height: 6%;
    display: block;
    text-align: center;
    width: 94%;
    border-radius: 8px;
    font-size: 1.3rem;
    position: relative;
    top: 1rem;
    left: 3%;
    z-index: 2;
}

.bubbleDiv {
    width: 100%;
    margin: 0 auto;
    overflow: auto;
    height: 94%;
    padding: 0 3%;
}

.bubbleItem {
    width: 100%;
    position: relative;
}

.leftBubble {
    position: relative;
    background-color: #ecf1f2;
    margin-left: 1rem;
}

.rightBubble {
    position: relative;
    margin-right: 1rem;
    float: right;
    background-color: #2984d6;
    color: #fff;
}

.bubble {
    line-height: 22px;
    border-radius: 0.8rem;
    margin-top: 2rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 1.5rem;
    margin-left: 5rem;
}

.leftBubble .topLevel {
    position: absolute;
    top: 1rem;
    left: -9px;
    border-bottom: 10px solid #EFF6F9;
    border-left: 10px solid transparent;
}

.rightBubble .topLevel {
    position: absolute;
    top: 1rem;
    right: -8px;
    border-bottom: 10px solid #2984d6;
    border-right: 10px solid transparent;
}

.chat-time {
    color: #888;
    text-align: center;
    line-height: 3rem;
    font-size: 1.3rem;
    margin-top: 1rem;
}

.chat-edit {
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #eee;
    background: #fff;
    padding: 0.5rem 6.8rem 4.6rem 4rem;
    box-sizing: border-box;
}

.chat-info {
    width: 100%;
    border: 1px solid #d4d4d4;
    resize: none;
    padding: 0.6rem 0.4rem;
    font-size: 1.6rem;
    color: #666;
    overflow-y: visible;
}

.send-btn {
    padding: 0.6rem 1rem;
    border: 0;
    background: url("../images/head.png") no-repeat;
    background-size: cover;
    color: #fff;
    min-width: 4rem;
    border-radius: 0.4rem;
    margin-left: 3%;
    position: absolute;
    right: 1rem;
    top: 0.8rem;
    font-size: small;
}

.uploadImg {
    display: inline-block;
    background: url("../images/icon.html") no-repeat;
    width: 2.4rem;
    height: 2.4rem;
    background-position: 0 -95px;
    background-size: 2.4rem;
    z-index: 2;
    position: absolute;
    left: 0.8rem;
    top: 1rem;
}

.uploadfile {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

}

.doctor-head {
    width: 4rem;
    box-sizing: border-box;
    position: absolute;
    height: 4rem;
    top: 2rem;
}


.doctor-head img {
    width: 100%;
    border-radius: 50rem;
    box-sizing: border-box;
    height: 100%;
}

.leftBubble img{
    width: 100%;
    height: auto;
}