﻿

.chat_box{}
.chat_box .chat_btn{
	width: 0px;
	height: 50px;
	padding-left: 60px;
	line-height: 50px;
	position: fixed;
    right: 50px;
    bottom: 30px;
	background-color: #fff;
	cursor: pointer;
	z-index: 999;
	overflow: hidden;
	-webkit-transition: .2s ease-out;
	-moz-transition: .2s ease-out;
	-ms-transition: .2s ease-out;
	-o-transition: .2s ease-out;
	transition: .2s ease-out;
}
.chat_box .chat_btn:hover{
	width: 140px;
}
@media only screen and (max-width: 800px){
.chat_box .chat_btn{
	right: 0px;
	bottom: 0;
	width: 0px;
	padding-left: 50px;
	background-position: 0 !important;
	overflow: hidden;
	cursor: pointer;
	display: none;
}
}
.chat_btn_img_on{
	background: url(../images/chat/chat_on.png) no-repeat 6px;
	color: #b0b046;
	border:1px solid #B0B046;
}
.chat_btn_img_on_gif{
	background: url(../images/chat/chat_on.gif) no-repeat 6px;
	color: #b0b046;
	border:1px solid #B0B046;
}
.chat_btn_img_off{
	background: url(../images/chat/chat_off.png) no-repeat 6px;
	color: #cecece;
	border:1px solid #cecece;
	display: none;
}
/* chat图标设置 */
.chat_bg_box{
	background: #a0b0bf;
	padding: 50px 50px 50px 0;
}
.chat_cus_box{
	width: 980px;
	margin: 0px auto;
	/* padding: 50px 0; */
}
.chat_cus_l{
	float: left;
	width: 30%;
	/* margin-right: 5%; */
	/* border-right: 1px solid #A0A046; */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-top: 30px;
	height: 100%;
}
.chat_cus_r{
	float: left;
	width: 70%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-left: 1px solid #B0B046;
}
.box_c{
	border:10px solid #8f979f;
	background: #fff;
	-webkit-box-shadow: 5px 5px 7px 0px rgba(64,64,64,0.5);
	-moz-box-shadow: 5px 5px 7px 0px rgba(64,64,64,0.5);
	box-shadow: 5px 5px 7px 0px rgba(64,64,64,0.5);
	border-radius: 5px;
}
.chat_cus_l .box_c{
	padding-top:30px;
}
.chat_cus_l h1{
	background: url(../images/chat/chat_cus.png) no-repeat;
	height: 50px;
	padding-left: 70px;
	color: #b0b046;
	line-height: 50px;
	font-weight: 400;
	font-size: 28px;
	font-family: '微软雅黑';
	margin:0 5% 30px;
}
.chat_cus_l p{
	line-height: 50px;
	color: #b0b046;
	font-size: 18px;
	padding-left: 5%;
	border-bottom: 1px solid #707070;
	position: relative;
}
.bubble{
    position: absolute;
    right: 0;
    margin-right: 5%;
    background: #b0b046;
    color: #fff;
    margin-top: 14px;
    line-height: 24px;
    border-radius: 24px;
    padding: 0px 5px;
    min-width: 14px;
    text-align: center;
}
.chat_cus_l ul {
	max-height: 480px;
	overflow: auto;
}
.chat_cus_l ul li{
    position: relative;
    padding: 0 40px 0px 5%;
    background: url(../images/chat/chat_cus.png) no-repeat 0 -54px;
    line-height: 50px;
    border-bottom: 1px solid #707070;
    border-top: 1px solid #FFFFFF;
    padding-left: 50px;
    cursor: pointer;
    cursor: pointer;
    overflow:hidden;
	white-space:nowrap;
	-o-text-overflow:ellipsis;
	text-overflow:ellipsis;
}
.chat_cus_l ul li.chat_select{
	background-color: rgba(176, 176, 70, 0.3);
}
.chat_mas_box h2,
.chat_user_box h2,
.chat_cus_r h2{
	background-color: rgba(176, 176, 70, 0.3);
	line-height: 50px;
	padding-left:5%;
	font-weight: 400;
	font-size: 18px;
}
.chat_box_centent{
    height: 360px;
    margin: 10px 0;
    overflow: auto;
}
.chat_box_centent div{
	margin: 10px 0;
}
.chat_box_centent div pre{
	line-height: 30px;
	padding: 0 5px;
	border-radius: 5px;
	max-width: 500px;
}
.chat_box_centent div.chat_c_left pre{
	background-color: #dedede;
	margin-left: 15px;
	float: left;
}
.chat_box_centent div.chat_c_right pre{
	background-color: #e2e2c7;
	margin-right: 15px;
	float: right;
	
}
.box_c:before,
.box_c:after,
.chat_box_centent .chat_c_left:before,
.chat_box_centent .chat_c_right:before,
.chat_box_centent .chat_c_left:after,
.chat_box_centent .chat_c_right:after{
	content: ' ';
	display: table;
}
.box_c:before,
.box_c:after,
.chat_box_centent .chat_c_left:after,
.chat_box_centent .chat_c_right:after,
.chat_box_centent .chat_c_left span:after,
.chat_box_centent .chat_c_right span:after{
	clear: both;
}
.chat_c_right,
.chat_c_left{
	zoom: 1;
}
.chat_c_input{
	margin: 15px;
	width: 90%;
	border-radius: 5px;
	height: 90px;
	max-width: 638px;
	width: 100%;
	padding: 5px;
}
.chat_c_right i{
	float: right;
}
.chat_c_right i,
.chat_c_left i{
    font-size: 12px;
    font-style: initial;
    line-height: 20px;
    padding-left: 20px;
    padding-right: 20px;
    color: #707070;
    display: block;
    clear: both;
}
.chat_c_btn{
	clear: both;
}
.chat_c_close{
	display: block;
    cursor: pointer;
    position: absolute!important;
    left: 20px!important;
    bottom: 0;
    float: none!important;   
    background: #CACACA!important;
    color: #fff!important;
    width: 160px;
    height: 46px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    margin: 10px 20px 25px 0!important;
    border-radius: 5px;
    overflow: hidden;
}
.chat_c_btn {
	 display: block;
	 cursor: pointer;
	 position: relative;
	 float: right;
	 background: #b0b046;
	 color: #fff;
	 width: 160px;
	 height: 46px;
	 line-height: 50px;
	 text-align: center;
	 text-decoration: none;
	 margin: 10px 20px 25px 0;
	 border-radius: 5px;
	 overflow: hidden;

}
.chat_c_btn:hover {
 	background: #b0b046;
}
.chat_c_btn:before {
	 content: ' ';
	 position: absolute;
	 background: #fff;
	 width: 25px;
	 height: 50px;
	 top: 0;
	 left: -45px;
	 opacity: 0.3;
	 -webkit-transition: all 0.5s ease-out;
	 transition: all 0.5s ease-out;
	 -webkit-transform: skewX(-25deg);
	         transform: skewX(-25deg);
	          clear: both;
	 display: table;
}
.chat_c_btn:after {
	content: ' ';
	display: table;
	clear: both;
}
.chat_c_btn:hover:before {
 width: 45px;
  content: ' ';
 left: 205px;
 clear: both;
 display: table;
}

.chat_user_bg_box:before,
.chat_mas_bg_box:before{
	background-color: rgba(0, 0, 0, 0.3);
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	display: block;
	z-index: 1005;
	content: ' ';
}

.chat_user_box,
.chat_mas_box{
	position: fixed;
	left: calc(50% - 350px);
	top: calc(50% - 350px);
	width: 700px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border:10px solid #8f979f;
	background: #fff;
	-webkit-box-shadow: 5px 5px 7px 0px rgba(64,64,64,0.5);
	-moz-box-shadow: 5px 5px 7px 0px rgba(64,64,64,0.5);
	box-shadow: 5px 5px 7px 0px rgba(64,64,64,0.5);
	border-radius: 5px;
	z-index: 1006;
}


.chat_user_box{
	position: none!important;
	left: 0;
	top: 0;
	border:10px solid #fff !important;
}
.chat_user_box h2{
	background: #dedede;
	padding-left: 20px!important;
}
/* chat_uesr */
.chat_mas_box{
	width: 520px!important;
left: calc(50% - 260px) !important;
top: calc(50% - 200px) !important;

}
.ms_box{
	margin:10px 20px;
}
.ms_box label.radio {
    cursor: pointer;
    padding: 0 50px 0 0;
		font-family:"微软雅黑";
}
.ms_box input[type='radio'].radio:checked + .radio {
	
    padding: 0 50px 0 0;
		font-family:"微软雅黑";
}
.ms_box input.radio  {
	-webkit-appearance: none;
    display: inline-block;
    margin: 10px;
    width: 16px;
    height: 16px;
    border-radius: 15px;
    cursor: pointer;
    border: 2px solid #b0b046;
    vertical-align: middle;
    background-image: -webkit-radial-gradient( hsl(0, 0%, 40%) 55%, hsla(0, 0%, 49%, 0) 70% );
    background-repeat: no-repeat;
    -webkit-transition: background-position .15s cubic-bezier(.8, 0, 1, 1), -webkit-transform .25s cubic-bezier(.8, 0, 1, 1);
}
.ms_box input.radio,
.ms_box input.radio:active {
  background-position: 28px 0;
}
.ms_box input.radio:checked {
  background-position: 0 0;
}
.ms_box input.radio:checked ~ input,
.ms_box input.radio:checked ~ input:active {
  background-position: -28px 0;
}

.ms_box .ms_name{
	float: left;
	width: 90px;
	line-height: 50px;
	text-align: right;
	margin-right: 10px;
}
.ms_box .ms_input{
	border:1px solid #707070;
	line-height: 36px;
	float: left;
	margin-top: 6px;
	padding: 0 5px;
	width: 198px;
}
.tochat{
    width: 120px!important;
    height: 38px!important;
    margin-top: 6px;
    display: block;
    float: left!important;
    clear: none;
    line-height: 38px;
    margin-left: 30px;
    margin-bottom: 6px !important;
}
.chat_mas_box h3{
	font-size: 14px;
	color: red;
	margin:0 30px;
	font-weight: normal;
}
.ms_bottom{
	margin: 10px 30px;
	font-size: 14px;
	line-height: 38px;
}
.noauseryet{

}
.go_login{
	color: #a0a046;
	text-decoration: underline;
	cursor: pointer;
}
.noauseryet{
	width: 120px!important;
    height: 38px!important;
    background-color: #cacaca!important;
    display: block;
    font-style: normal;
    float: right!important;
    clear: none;
    line-height: 38px;
    margin: 0px 10px!important;
    color: #fff!important;

}
h2{
	position: relative;
}
.chat_mas_box .ms_close_box{
    width: 22px;
    height: 22px;
    background: url(../images/close.png) no-repeat;
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}