
.main-section small{
font-size: 10px; margin: 0px 0px -10px 0px;
}
.main-section h3, .main-section h5{
margin: 0px;
}
.main-section{
background-color: #0d0d0d;
border-radius: 5px;
padding: 7px;
margin: 10px;
}
.head-section{
border-bottom:1px solid #E6E6E6;
clear: both;
overflow: hidden;
width: 100%;
}
.headLeft-section{
width: calc(30% - 1px);
float: left;
border-right:1px solid #E6E6E6;
}
.headLeft-sub{
padding: 15px;
text-align: center;
}
.headLeft-sub input{
width: 60%;
border-radius: 0px;
border:1px solid #E6E6E6;
padding: 7px;
}
.headLeft-sub button{
background: #009EF7;
color: #fff;
border:1px solid #E6E6E6;
padding: 7px 15px;
}
.headRight-section{
width: 100%;

}
.headRight-sub{
padding: 10px 15px 0px 15px;
}
.body-section{
clear: both;
overflow: hidden;
width: 100%;
}
.left-section{
width: calc(30% - 1px);
float: left;
height: 500px;
border-right:1px solid #E6E6E6;
background-color: #FFF;
z-index: 1;
position: relative;
}
.left-section ul{
padding: 0px;
margin: 0px;
list-style: none;
}
.left-section ul li{
padding: 15px 0px;
cursor: pointer;
}
.left-section ul li.active{
background: #009EF7;
color: #fff;
position: relative;
}
.mCustomScrollBox, .mCSB_container{
overflow: unset !important;
}
.left-section ul li.active .desc .time{
color: #fff;
}
.left-section ul li.active:before{
position: absolute;
content: '';
right: -10px;
border:5px solid #009EF7;
top: 0px;
bottom: 0px;
border-radius: 0px 3px 3px 0px;
}
.left-section ul li.active:after{
position: absolute;
content: "";
bottom: 0px;
right: 0px;
left: auto;
width: 100%;
top: 0px;
-webkit-box-shadow: -8px 4px 10px #a1a1a1;
-moz-box-shadow: -8px 4px 10px #a1a1a1;
box-shadow: -8px 4px 10px #a1a1a1;
}
.left-section .chatList{
overflow: hidden;
}
.left-section .chatList .img{
width: 60px;
float: left;
text-align: center;
position: relative;
}
.left-section .chatList .img img{
width: 30px;
border-radius: 50%;
}
.left-section .chatList .img i{
position: absolute;
font-size: 10px;
color: #52E2A7;
border:1px solid #fff;
border-radius: 50%;
left: 10px;
}
.left-section .chatList .desc{
width: calc(100% - 60px);
float: left;
position: relative;
}
.left-section .chatList .desc h5{
margin-top: 6px;
line-height: 5px;
}
.left-section .chatList .desc .time{
position: absolute;
right: 15px;
color: #c1c1c1;
}
.right-section{
position: relative;
}
.message{
height: calc(100% - 68px);
font-family: sans-serif;
}
.message ul{
padding: 0px;
list-style: none;
margin: 0px auto;
width: 90%;
overflow:hidden;
}
.message ul li{
position: relative;
width: 80%;
padding: 15px 0px;
clear: both;
}
.message ul li.msg-left{
float: left;
}
.message ul li.msg-left img{
position: absolute;
width: 50px;
bottom: 22px;
border-radius: 5px 5px 5px 5px;
}
.message ul li.msg-left .msg-desc{
margin-left: 70px;
font-size: 12px;
background: #184D19;
padding:10px 10px;
border-radius: 5px 5px 5px 0px;
position: relative;
}
.message ul li.msg-left .msg-desc:before{
position: absolute;
content: '';
border:10px solid transparent;
border-bottom-color: #184D19;
bottom: 0px;
left: -10px;
}
.message ul li.msg-left small{
float: left;
color: #c1c1c1;
}
.message ul li.msg-right{
float: right;
}
.message ul li.msg-right img{
position: absolute;
width: 50px;
right: 0px;
bottom: 22px;
border-radius: 5px 5px 5px 5px;
}
.message ul li.msg-right .msg-desc{
margin-right: 70px;
font-size: 12px;
word-break:break-all;
background: #cce5ff;
color: #004085;
padding:10px 10px;
border-radius: 5px 5px 5px 0px;
position: relative;
}
.message ul li.msg-right .msg-desc:before{
position: absolute;
content: '';
border:10px solid transparent;
border-bottom-color: #cce5ff;
bottom: 0px;
right: -10px;
}
.message ul li.msg-right small{
float: right;
color: #c1c1c1;
/*margin-right: 70px;*/
}
.message ul li.msg-day{
border-top:1px solid #EBEBEB;
width: 100%;
padding: 0px;
margin: 15px 0px;
}
.message ul li.msg-day small{
position: absolute;
top: -10px;
background: #F6F6F6;
color: #c1c1c1;
padding: 3px 10px;
left: 50%;
transform: translateX(-50%);
}
.right-section-bottom{
width: 100%;
padding: 15px;
position: absolute;
bottom: 0px;
border-top:1px solid #E6E6E6;
text-align: center;
}
.right-section-bottom input{
border:0px;
padding:8px 5px;
width:calc(100% - 150px);
}
.right-section-bottom .btn-send{
border:0px;
padding: 8px 10px;
float: right;
margin-right: 30px;
color: #009EF7;
font-size: 18px;
background: #fff;
cursor: pointer;
}
.upload-btn{
position: relative;
overflow: hidden;
display: inline-block;
float: left;
}
.upload-btn .btn{
border:0px;
padding: 8px 10px;
color: #009EF7;
font-size: 18px;
background: #fff;
cursor: pointer;
}
.upload-btn input[type=file] {
font-size: 100px;
position: absolute;
left: 0;
top: 0;
opacity: 0;
}

textarea {
	font-size: 12px;
	background: #cce5ff;
	color: #004085;
    border: 2px solid #a9c358; 
    width: 100%;
	resize: none;
}

select {
  width: 300px;
  background: #fff url(../images/arrow_down.png) no-repeat 98% center;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 7px;
  border: 1px solid #e8e8e8;
}
/* Стили для вывода превью */
.img-item {
	display: inline-block;
	margin: 0 20px 20px 0;
	position: relative;
	user-select: none;
}
.img-item img {
	border: 1px solid #767676;
}
.img-item a {
	display: inline-block;
	background: url(../images/remove.png) 0 0 no-repeat;
	position: absolute;
	top: -5px;
	right: -9px;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.phone-block {
  display:table;
}
.phone-block img,
.phone-block span {
  display: table-cell;
  vertical-align:middle;
}
