*, *:before, *:after {
  box-sizing: border-box;
}

:root {
  --white: #fff;
  --black: #000;
  --bg: #f8f8f8;
  --grey: #999;
  --dark: #1a1a1a;
  --light: #e6e6e6;
  --wrapper: 1000px;
  --blue: #00b0ff;
}

body {
  background-color: #f8f8f8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  
  background-size: cover;
  background-repeat: none;
}

.wrapper {
  position: relative;
  /*left: 50%;*/
  width: 100%;
 
  /*-webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);*/
}

.container {
  position: relative;
  /*top: 50%;
  left: 50%;*/
  width: 100%;
  
  background-color: #fff;
  /*-webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);*/
}
.container .left {
  /*float: left;*/
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  background-color: #fff;
}
.container .left .top {
  position: relative;
  width: 100%;
  height: 96px;
  padding: 29px;
}
.container .left .top:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  width: 80%;
  height: 1px;
  content: '';
  background-color: #e6e6e6;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}
.container .left input {
  float: left;
  width: 50%;
  height: 42px;
  padding: 0 15px;
  border: 1px solid #e6e6e6;
  background-color: #eceff1;
  border-radius: 21px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
}
.container .left input:focus {
  outline: none;
}
.container .left a.search {
  display: block;
  float: left;
  width: 42px;
  height: 42px;
  margin-left: 10px;
  border: 1px solid #e6e6e6;
  background-color: #00b0ff;
  background-image: url("../img/search.png");
  background-repeat: no-repeat;
  background-position: top 12px left 12px;
  border-radius: 50%;
}
.container .left a.setting {
  display: block;
  float: right;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  border: 1px solid #e6e6e6;
  background-color: #00b0ff;
  background-image: url("../img/setting.png");
  background-repeat: no-repeat;
  background-position: top 12px left 12px;
  border-radius: 50%;
}
.container .left .people {
  margin-left: -1px;
  border-right: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
  width: calc(100% + 2px);
}
.container .left .people .person {
  position: relative;
  width: 100%;
  padding: 12px 10% 16px;
  cursor: pointer;
  background-color: #fff;
}
.container .left .people .person:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  width: 80%;
  height: 1px;
  content: '';
  background-color: #e6e6e6;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}
.container .left .people .person a{
    text-decoration:none
}


.container .left .people .person img {
  float: left;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 50%;
}
.container .left .people .person .name {
  font-size: 14px;
  line-height: 22px;
  color: #1a1a1a;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
}
.container .left .people .person .time {
  font-size: 14px;
  position: absolute;
  top: 16px;
  right: 10%;
  padding: 0 0 5px 5px;
  color: #999;
  background-color: #fff;
}
.container .left .people .person .preview {
  font-size: 12px;
  line-height: 18px;
  display: block;
  overflow: hidden !important;
  width: 70%;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #999;
}
.container .left .people .person.active, .container .left .people .person:hover {
  margin-top: -1px;
  margin-left: -1px;
  padding-top: 13px;
  border: 0;
  background-color: #00b0ff;
  width: calc(100% + 2px);
  padding-left: calc(10% + 1px);
}
.container .left .people .person.active span, .container .left .people .person:hover span {
  color: #fff;
  background: transparent;
}
.container .left .people .person.active:after, .container .left .people .person:hover:after {
  display: none;
}
.container .right {
  position: relative;
  float: left;
  width: 100%;
  min-height: 500px;

}
.top {
  width: 100%;
  height: 47px;
  line-height:47px; 
  padding-left: 15px;
  background-color: #eceff1;
}
.top span {
  font-size: 15px;
  color: #999;
}
.top span .name {
  color: #1a1a1a;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  float: left;
}
.top span .avatar {
  color: #1a1a1a;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  float: left;
  margin-right: 10px;
  width: 30px;
  height: 30px;
  margin-top: 8px;
}
.top span .useragent {
  color: #1a1a1a;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  float: left;
  margin-left: 10px;
  width: 16px;
  height: 16px;
  margin-top: 15px;
}
.top a.edit {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    border: 1px solid #e6e6e6;
    background-color: #00b0ff;
    background-image: url(../img//name-type.png);
    background-repeat: no-repeat;
    background-position: top 6px left 7px;
    border-radius: 50%;
    float: left;
    line-height: 47px;
    margin-top: 8px;
    cursor: pointer;
}
.top a.user {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border: 1px solid #e6e6e6;
    background-color: #00b0ff;
    background-image: url(../img/users.png);
    background-repeat: no-repeat;
    background-position: top 6px left 7px;
    border-radius: 50%;
    float: right;
    line-height: 47px;
    margin-top: 8px;
}
.container .right .chat {
  position: relative;
  display: none;
  overflow: hidden;
  padding: 0 35px 92px;
  border-width: 1px 1px 1px 0;
 
  border-color: #e6e6e6;
  height: calc(100% - 48px);
  justify-content: flex-end;
  flex-direction: column;
  margin-top: 10px;
}
.container .right .chat.active-chat {
  display: block;
  display: flex;
}
.container .right .chat.active-chat .bubble {
  transition-timing-function: cubic-bezier(0.4, -0.04, 1, 1);
}
.container .right .chat.active-chat .bubble:nth-of-type(1) {
  -webkit-animation-duration: 0.15s;
          animation-duration: 0.15s;
}
.container .right .chat.active-chat .bubble:nth-of-type(2) {
  -webkit-animation-duration: 0.3s;
          animation-duration: 0.3s;
}
.container .right .chat.active-chat .bubble:nth-of-type(3) {
  -webkit-animation-duration: 0.45s;
          animation-duration: 0.45s;
}
.container .right .chat.active-chat .bubble:nth-of-type(4) {
  -webkit-animation-duration: 0.6s;
          animation-duration: 0.6s;
}
.container .right .chat.active-chat .bubble:nth-of-type(5) {
  -webkit-animation-duration: 0.75s;
          animation-duration: 0.75s;
}
.container .right .chat.active-chat .bubble:nth-of-type(6) {
  -webkit-animation-duration: 0.9s;
          animation-duration: 0.9s;
}
.container .right .chat.active-chat .bubble:nth-of-type(7) {
  -webkit-animation-duration: 1.05s;
          animation-duration: 1.05s;
}
.container .right .chat.active-chat .bubble:nth-of-type(8) {
  -webkit-animation-duration: 1.2s;
          animation-duration: 1.2s;
}
.container .right .chat.active-chat .bubble:nth-of-type(9) {
  -webkit-animation-duration: 1.35s;
          animation-duration: 1.35s;
}
.container .right .chat.active-chat .bubble:nth-of-type(10) {
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
}
.container .right .write {
  position: absolute;
  bottom: 29px;
  left: 30px;
  height: 42px;
  padding-left: 8px;
  border: 1px solid #e6e6e6;
  background-color: #eceff1;
  width: calc(100% - 58px);
  border-radius: 5px;
}
.container .right .write input {
  font-size: 16px;
  float: left;
  width: 90%;
  height: 40px;
  padding: 0 10px;
  color: #1a1a1a;
  border: 0;
  outline: none;
  background-color: #eceff1;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
}
.container .right .write .write-link.attach:before {
  display: inline-block;
  float: left;
  width: 20px;
  height: 42px;
  content: '';
  background-image: url("../img/attachment.png");
  background-repeat: no-repeat;
  background-position: center;
}
.container .right .write .write-link.smiley:before {
  display: inline-block;
  float: left;
  width: 20px;
  height: 42px;
  content: '';
  background-image: url("../img/smiley.png");
  background-repeat: no-repeat;
  background-position: center;
}
.container .right .write .write-link.send:before {
  display: inline-block;
  float: left;
  width: 25px;
  height: 42px;
  margin-left: 5px;
  content: '';
  background-image: url("../img/send.png");
  background-repeat: no-repeat;
  background-position: center;
}
.container .right .write .write-link.enroll:before {
  display: inline-block;
  float: left;
  width: 25px;
  height: 42px;
  margin-left: 5px; 
  content: '';
  background-image: url("../img/enroll.png?v=1.3");
  background-repeat: no-repeat;
  background-position: center;
}
.container .right .bubble {
  font-size: 16px;
  position: relative;
  display: inline-block;
  clear: both;
  margin-bottom: 8px;
  padding: 13px 14px;
  vertical-align: top;
  border-radius: 5px;
  max-width:100%;
}
.container .right .bubble a{
  text-decoration: none;
}
.container .right .bubble:before {
  position: absolute;
  top: 19px;
  display: block;
  width: 8px;
  height: 6px;
  content: '\00a0';
  -webkit-transform: rotate(29deg) skew(-35deg);
          transform: rotate(29deg) skew(-35deg);
}
.container .right .bubble.you {
  float: left;
  color: #fff;
  /*color: #fff;*/
  background-color:#00b0ff;
  /*background-color: #00b0ff;*/
  align-self: flex-start;
  -webkit-animation-name: slideFromLeft;
          animation-name: slideFromLeft;
}
.container .right .bubble.you a{
 
  color: #fff;
  
}
.container .right .bubble.you:before {
  left: -3px;
  background-color:#00b0ff;
  /*background-color: #00b0ff;*/
}
.container .right .bubble.me {
  float: right;
  color:#1a1a1a;
  /*color: #1a1a1a;*/
  background-color: #eceff1;
  align-self: flex-end;
  -webkit-animation-name: slideFromRight;
          animation-name: slideFromRight;
}
.container .right .bubble.me:before {
  right: -3px;
  background-color: #eceff1;
}
.container .right .bubble.me a{
 
  color: #fff;
  
}
.container .right .bubble img {
  max-width:30%;
}
.container .right .conversation-start {
  position: relative;
  width: 100%;
  margin-bottom: 17px;
  text-align: left;
}
.container .right .conversation-start span {
  font-size: 14px;
  display: inline-block;
  /*color: #999;*/
  color:#999;
}
.container .right .conversation-start span a{
  text-decoration: none;

	color: #00b0ff;
}
.container .right .conversation-start span:before, .container .right .conversation-start span:after {
  position: absolute;
  top: 10px;
  display: inline-block;
  width: 30%;
  height: 0px;
  content: '';
  background-color: #e6e6e6;
}
.container .right .conversation-start span:before {
  left: 0;
}
.container .right .conversation-start span:after {
  right: 0;
}

@keyframes slideFromLeft {
  0% {
    margin-left: -200px;
    opacity: 0;
  }
  100% {
    margin-left: 0;
    opacity: 1;
  }
}
@-webkit-keyframes slideFromLeft {
  0% {
    margin-left: -200px;
    opacity: 0;
  }
  100% {
    margin-left: 0;
    opacity: 1;
  }
}
@keyframes slideFromRight {
  0% {
    margin-right: -200px;
    opacity: 0;
  }
  100% {
    margin-right: 0;
    opacity: 1;
  }
}
@-webkit-keyframes slideFromRight {
  0% {
    margin-right: -200px;
    opacity: 0;
  }
  100% {
    margin-right: 0;
    opacity: 1;
  }
}

.outModal {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.7);
	z-index: 10;
	display: none;
}
.infoAbout {
	width: 300px;
	height: 340px;
	position: fixed;
	top: 50%;
	margin-top: -150px;
	left: 50%;
	margin-left: -150px;
	background-color: #fff;
	border-radius: 10px;
	z-index: 100;
}
.infoAbout-h {
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background: #eceff1;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	position: relative;
}
.closeModal {
	display: inline-block;
	width: 40px;
	height: 40px;
	position: absolute;
	right: 0;
	top: 0;
	cursor: pointer;
}
.infoAbout-con ul li {
	height: 40px;
	line-height: 40px;
	text-align: center;
	margin-bottom: 10px;
}
.infoAbout-con ul li input,select {
	height: 34px;
	line-height: 34px;
	text-indent: 8px;
	width:173px;
}
.infoAbout-con ul li span {
	display: inline-block;
	width: 60px;
	text-align: left;
	color: #1A1A1A;
	font-size: 14px;
	margin-right: 4px;
}
.infoAbout-con {
	margin-top: 30px;
}
.submit {
	display: inline-block;
	width: 80px;
	height: 30px;
	line-height: 30px;
	background: #1085e8;
	color: #fff;
	border-radius: 6px;
	cursor: pointer;
	opacity: 0.8;
}
.submit:hover {
	opacity: 1;
}
.infoAbout-b {
	text-align: center;
	margin-top: 30px;
}

