.screen-wrap {
  height:100%;
  overflow: hidden;
  position: relative;
  margin:0 -10px;
}

.screen {
  background: #fff;
  height:100%;
}

.screen-detail {
  position: absolute;
  right: -200%;
  top: 0px;
  width: 100%;
  -webkit-transition: all 0.4s cubic-bezier(0.8, 0.395, 0.06, 0.81);
  transition: all 0.4s cubic-bezier(0.8, 0.395, 0.06, 0.81);
  height:100%;
  
  margin-top:40px;
}
.screen-detail.active {
  -webkit-transform: translateX(-200%);
  transform: translateX(-200%);
}
.screen-detail .content {
  overflow: hidden;
}

.screen-detail span { font-weight:bold;}

.header {
  text-align: center;
  padding: 15px 10px 10px;
  background: white;
  border-bottom: 1px solid #ccc;
}
.header .menu, .header .back-btn {
  float: left;
  color: #333;
  margin-top: 2px;
}
.header .plus, .header .ellipsis {
  float: right;
  color: #fe531b;
  margin-top: 2px;
}

.content {
  overflow-y: auto;
}

.comment {
  background: white;
  padding: 10px 20px;
  position: relative;
  cursor: pointer;
  border-bottom:1px solid #ccc;
}
.comment.new .name:after {
  content: '';
  width: 8px;
  height: 8px;
  display: inline-block;
  background: red;
  border-radius: 100%;
  vertical-align: middle;
  margin-left: 8px;
  margin-bottom: 3px;
}

.comment.new .name { font-weight:bold;}
.comment.new .time { font-weight:bold; color:#333;}

.comment .avatar {
  width: 45px;
  height: 45px;
  display: inline-block;
  overflow: hidden;
  border-radius: 100%;
  text-align: center;
  position: absolute;
  top: 10px;
  left: 20px;
  background-color:#D9DF00;
}
.comment .avatar img {
  max-height: 100%;
  position: relative;
  left: -50%;
  margin-left: 10px;
}

.detail {
  position: relative;
  padding-left: 70px;
}
.detail .time {
  position: absolute;
  right: 0;
  font-size: 12px;
  color: #B1B1B1;
}
.detail p {
  margin: 0;
}
.detail .name {
  font-size:13px;
}
.detail .notice {
  width: 90%;
  font-size: 12px;
  color:#B1B1B1;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height:15px;
  margin-top:2px;
  height:30px;
}



.chatroom {
  height: calc(100% - 55px);
  overflow-y: auto;
  padding: 15px 20px;
  box-sizing: border-box;
  -webkit-transition: all 0.4s cubic-bezier(0.8, 0.395, 0.06, 0.81);
  transition: all 0.4s cubic-bezier(0.8, 0.395, 0.06, 0.81);
}
.chatroom.active {
  height: calc(100% - 200px);
}

.dialog-wrap {
  margin-bottom: 30px;
  position: relative;
}

.dialog {
  background: white;
  width: 100%;
  padding: 15px;
  font-size: 12px;
  box-sizing: border-box;
}

.date {
  text-align: center;
  font-size: 14px;
  color: #b3b3b3;
  margin-bottom: 25px;
}






