html, body {
width: 100%;
margin: 0;
padding: 0;
}
body{
font: normal 14px/22px Arial,"Microsoft YaHei";
color: #323232;
/*background-color: #e3e2e2;*/
margin: 0 auto;
min-height: 100%;
}
section, footer, nav, em, mark, p, span, ul, li, ol, h1, h2, h3, h4, input, textarea ,pre{
margin: 0;
padding: 0;
font-weight: normal;
list-style: none;
font-style: normal;
}
a{
color: #323232;
outline-style: none;
text-decoration: none;
}
.hide{
display: none;
}

.pageDiv{
display:none;
}

/*加载层*/
.motifyShade{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom:0;
	padding: 0;
	z-index: 998;
	width: 100%;
}
.motify {
display: none;
position: fixed;
top: 35%;
left: 50%;
width: 220px;
padding: 0;
margin: 0 0 0 -110px;
z-index: 9999;
background: rgba(0, 0, 0, 0.8);
color: #fff;
font-size: 14px;
line-height: 1.5em;
border-radius: 6px;
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}
.motify .motify-inner {
padding: 10px 10px;
text-align: center;
word-wrap: break-word;
}

/*聊天列表*/
.userlist{
background-color:white;
padding-bottom: 48px;
-webkit-user-select:none;
}
.userlist nav{
position: relative;
border-bottom: 1px solid #cecece;
-webkit-tap-highlight-color:transparent;
}
.userlist nav section{
display: block;
padding: 8px 7px;
font-size: 15px;
background-color:white;
-webkit-tap-highlight-color:transparent;
}
/*
.userlist nav.open section{
background-color:blue;
}
.userlist nav.focus section{
background-color:blue;
}*/
.userlist nav.open section{
background-color:rgba(0,0,255,0.9)!important;
}
.userlist nav.open section h2,.userlist nav.open section h2 span,.userlist nav.open section h2 span label,.userlist nav.open section p{
color:white;
}


.userlist nav img{
height: 50px;
width: 50px;
float: left;
border-radius: 5px;
margin-right: 10px;
}
.userlist nav em{
position: absolute;
background: #c60a1e;
width: 8px;
height: 8px;
left: 54px;
top: 4px;
border-radius: 6px;
border: #fff solid 2px;
}
.userlist nav h2{
font-size: 14px;
color:black;
position: relative;
padding-right: 70px;
height:28px;
line-height:24px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.userlist nav h2 span {
position: absolute;
top: 0;
right: 0;
color: #bbb;
font-size: 12px;
}
.userlist nav h2 span label{
color:#555;
margin-right:10px;
}
.userlist nav section p{
/*letter-spacing:0.5px;*/
color: #888;
height: 22px;
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
word-break: break-all;
padding-right: 17px;
}
.userlist nav section p img.sex{
width:14px;
height:14px;
margin-right:3px;
display: inline-block;
float: none;
top: 1px;
position: relative;
}
#locationList nav section p.sex_1{
background: url(./img/xingbie_boy.png) no-repeat 0 2px;
background-size: 14px 14px;
padding-left: 16px;
}
#locationList nav section p.sex_2{
background: url(./img/xingbie_girl.png) no-repeat 0 2px;
background-size: 14px 14px;
padding-left: 16px;
}
/*
.userlist nav section:active{
background-color:rgba(0,0,255,0.6)!important;
}
.userlist nav section:active h2,.userlist nav section:active h2 span,.userlist nav section:active h2 span label,.userlist nav section:active p{
color:white;
}
*/

.rowlist{
padding: 15px 0px;
padding-bottom:68px;
-webkit-user-select:none; 
background-color: #F0EFF5;
}
.rowlist nav{
border-top:1px solid #DADADC;
border-bottom:1px solid #DADADC;
margin-bottom:15px;
padding-left:15px;
background-color: white;
}
.rowlist nav section{
padding:10px 8px 10px 0px;
color: black;
border-bottom:1px solid #DADADC;
height: 24px;
position:relative;
}
.rowlist nav section:after{
content: '';
position: absolute;
width: 7px;
height: 7px;
border-top: 1px solid #828282;
border-right: 1px solid #828282;
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
top: 18px;
right: 18px;
}
.rowlist nav section:last-child{
border-bottom:none;
}
.rowlist nav section img{
width:26px;
height:26px;
float:left;
}
.rowlist nav section p{
display: inline-block;
padding-left:15px;
line-height:26px;
}
.rowlist nav section.myInfoSection{
height:60px;
padding: 10px 8px 10px 0px;
}
.rowlist nav section.myInfoSection:after{
top: 34px;
}
.rowlist nav section.myInfoSection img {
height: 60px;
width: 60px;
float: left;
border-radius: 5px;
margin-right: 10px;
}
.rowlist nav section.myInfoSection h2{
font-size: 18px;
color:black;
position: relative;
padding-right: 70px;
height:24px;
line-height:24px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-top:4px;
}
.rowlist nav section.myInfoSection p{
padding:0px;
color: black;
height: 22px;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
word-break: break-all;
}

/*底部*/
footer.common{
position: fixed;
bottom: 0px;
left: 0px;
right: 0px;
height: 48px;
box-shadow: 0 0 2px 1px #ccc;
border-radius:1px;
background-color: #FAFAFC;
-webkit-user-select:none;
-webkit-tap-highlight-color:transparent;
display:none;
}
footer.common div{
width:25%;
float: left;
display: block;
height: 48px;
text-align:center;
color: #777;
font-size:12px;
-webkit-tap-highlight-color:transparent;
}
footer.common div.hover{
color:#09B907;
}
footer.common div em{
margin:0 auto;
display:block;
height:22px;
width:22px;
margin-top:5px;
background:url(./img/footer.png) no-repeat;
background-size:91px 46px;
}
footer.common div em.dialog{
background-position:-46px 0;
}
footer.common div.hover em.dialog{
background-position:-46px -23px;
}
footer.common div em.location{
background-position:-69px 0px;
}
footer.common div.hover em.location{
background-position:-69px -23px;
}
footer.common div em.find{
background-position:-23px 0px;
}
footer.common div.hover em.find{
background-position:-23px -23px;
}
footer.common div em.my{
background-position:0px 0px;
}
footer.common div.hover em.my{
background-position:0px -23px;
}


/*聊天框*/
#chatBox{
background: #EBEBEB;
min-height: 100%;
}
#chatBox input,#chatBox textarea,#chatBox select {
border: none;
outline: none;
}
.fix {
position: fixed;
}
.wrap {
width: 100%;
}
#common_hd_wrap {
z-index: 2;
}
.c_txt {
text-align: center;
}
.rel {
position: relative;
}
.abs {
position: absolute;
}
.bold {
font-weight: bold;
}
.hd_tle {
font-size: 16px;
}
.over_hidden {
overflow: hidden;
}
.block {
display: block;
}
.ellipsis_common_hd {
padding-left: 94px;
padding-right: 94px;
}
#common_hd, #common_hd_none {
height: 44px;
line-height: 44px;
background-color: #f7f7f7;
}
#common_hd {
top: 0;
left: 0;
}
#hd_back, #hd_back_none, #quickbuyback {
width: 40px !important;
height: 44px !important;
text-indent: -9999px !important;
left: 0 !important;
top: 0 !important;
background: none;
}
#hd_back:before, #hd_back_none:before, #quickbuyback:before {
content: "";
width: 10px;
height: 10px;
position: absolute;
top: 16px;
left: 21px;
border-bottom: 1px solid #5d5d5d;
border-right: 1px solid #5d5d5d;
-webkit-transform: rotate(135deg);
-moz-transform: rotate(135deg);
-ms-transform: rotate(135deg);
-o-transform: rotate(135deg);
transform: rotate(135deg);
}
#common_hd_logo {
width: 44px;
height: 44px;
top: 0;
left: 25px;
}
#unread_count {
top: 14px;
right: 25px;
width: 18px;
height: 15px;
background: url(./img/head_msg_icon.png) 0 0 no-repeat;
background-size: 18px;
}
#unread_count_em {
width: 12px;
height: 12px;
line-height: 12px;
text-indent: 0;
text-align: center;
color: #fff;
background-color: #bc2021;
border-radius: 6px;
font-size: 10px;
top: -6px;
right: -6px;
}
.ellipsis_common_hd h1 {
overflow: hidden;
width: 100%;
white-space: nowrap;
text-overflow: ellipsis;
}
#index_back_tle, .msg_error {
background: url(./img/error.png) no-repeat center right;
background-size: 20px;
}
#index_back_tle {
background-position: 0 -200px;
}
#chatBox .loading {
background: url(./img/loading.gif) center bottom no-repeat;
background-size: 20px;
}
#im_loading {
padding-top: 20px;
}
#imc_div {
/* padding: 0 10px; */
padding-top: 10px;
padding-bottom: 48px; 
}
#scroll_loading_txt {
padding-top: 46px;
}
#imc_ul {
position: relative;
}
.imc_li, .imc_li_time {
padding-bottom: 16px;
}
.imc_li_time {
padding-top: 8px;
color: #fff;
}
#imc_li_no_login_p, .imc_li_time_span {
padding: 0 6px;
background-color: #cecece;
display: inline-block;
border-radius: 4px;
font-size: 12px;
}
.imc_li_send {
padding-left: 27%;
padding-right: 10px;
text-align: right;
}
.imc_li_send_span em {
width: 35px;
height: 35px;
display: block;
overflow: hidden;
position: absolute;
right: 5px;
border-radius: 18px;
}
.imc_li_send em img, .imc_li_receive em img {
width: 100%;
border-radius: 18px;
display: block;
}
.imc_li_content_div {
border-radius: 5px;
display: inline-block;
padding: 8px 13px;
word-break: break-all;
text-align: left;
color: #000;
position: relative;
}
.imc_li_send_span .imc_li_content_div {
background-color: #fff;
margin-right: 45px;
}
.imc_li_send_span .imc_li_content_div p img,.imc_li_receive_span .imc_li_content_div p img{
vertical-align: bottom;
}
.imc_li_receive{
    padding-left:10px;
    padding-right:27%;
}
.imc_li_send_span em{ width: 35px; height: 35px; display: block; overflow: hidden;position: absolute; right: 5px; border-radius: 18px;}
.imc_li_receive_span{ color: #fff; }
.imc_li_receive_span em{width: 35px; height: 35px; display: block; overflow: hidden;position: absolute; left: 5px; border-radius: 18px;}
.imc_li_receive_span em img{width: 35px; height: 35px;}
.imc_li_receive_span .imc_li_content_div{
    background-color:#539618;
    margin-left: 45px;
    color:#fff
}

.msg_loading, .msg_ok, .msg_error {
color: #000;
top: 2px;
left: -40px;
}
.msg_loading {
background: url(./img/loading.gif) no-repeat center right;
background-size: 20px;
}
.msg_ok {
background-image: none;
}
.msgStatusEm {
font-size: 10px;
color: #666;
top: 2px;
left: -50px;
line-height: 35px;
text-align: right;
border-radius: 0 !important;
}
.imc_li_receive_em, .imc_li_send_em {
width: 0;
height: 0;
border-style: solid;
border-width: 8px 5px 0;
top: 10px;
}
.imc_li_send_em {
right: 45px;
border-color: transparent transparent transparent #fff;
}
.imc_li_receive_em{
    left:45px;
    border-color:transparent #539618 transparent transparent;
}
.txtCover{
top: 0;
left: 0;
right: 0;
bottom: 0;
position: absolute;
}

#imc_ft {
bottom: 0;
left: 0;
width: 100%;
background-color:#F5F5F7;
box-shadow: 0 -1px 0 0 #d7d8d8;
-webkit-user-select:none;
}
#imc_ft_div {
padding:8px 56px 8px 46px
}
#expression {
top: 3px;
left:-40px;
width: 30px;
height: 30px;
border: 1px solid #dbdbdb;
border-radius: 15px;
background-color: #fff;
}
#expression em:before {
position: absolute;
right: 8px;
overflow: hidden;
content: '';
background: #7a7a7a;
width: 4px;
height: 4px;
border-radius: 2px;
top: 9px;
z-index: 2;
}
#expression em:after {
position: absolute;
right: 18px;
width: 4px;
height: 4px;
border-radius: 2px;
top: 9px;
overflow: hidden;
content: '';
background: #7a7a7a;
z-index: 2;
}
#expression i:before {
content: '';
position: absolute;
top: 8px;
right: 7px;
height: 16px;
width: 16px;
border-radius: 8px;
background: #7a7a7a;
}
#expression i:after {
content: '';
position: absolute;
top: 4px;
right: 7px;
height: 12px;
width: 16px;
background: #fff;
}
#imagesPhoto {
top: 3px;
right: -80px;
width: 30px;
height: 30px;
border: 1px solid #dbdbdb;
border-radius: 15px;
background-color: #fff;
}
#imagesPhoto em:before {
content: '';
width: 20px;
height: 2px;
top: 14px;
left: 5px;
background: #7a7a7a;
display: block;
position: absolute;
}
#imagesPhoto em:after {
content: '';
width: 2px;
height: 20px;
top: 5px;
left: 14px;
background: #7a7a7a;
display: block;
position: absolute;
}
#voicePhoto {
top: 3px;
left: -40px;
width: 30px;
height: 30px;
border: 1px solid #dbdbdb;
border-radius: 15px;
background-color: #fff;
}
#voicePhoto em:before {
content: '';
width: 20px;
height: 2px;
top: 14px;
left: 5px;
background: #7a7a7a;
display: block;
position: absolute;
}
#voicePhoto em:after {
content: '';
width: 2px;
height: 20px;
top: 5px;
left: 14px;
background: #7a7a7a;
display: block;
position: absolute;
}

#imc_form_input_wrap, #imc_form_submit {
border-radius: 4px;
}
#imc_form_input_wrap {
padding: 0 10px;
border: 1px solid #C5C5C7;
background-color: #fff;
}
#imc_form_input {
font-size: "microsoft YaHei";
padding: 7px 0;
line-height: 22px;
resize: none;
font-size: 14px;
border: none;
}
#imc_form_submit_input {
position: absolute;
bottom: 2px;
right: -50px;
width: 42px;
height: 34px;
line-height: 34px;
border-radius: 2px;
background-color: #5cb85c;
border-color: #4cae4c;
color:white;
-webkit-appearance: none;
font-weight: bold;
font-size: 13px;
}

#expressionList{ overflow: hidden; background: #F6F6F6; padding: 6px 0px 26px; border-top: #e3e3e3 solid 1px;position: relative;}
#expressionList li{float: left; padding: 4px 0;width: 14%;  text-align: center;}
#expressionList li img{ width: 37px; }

#expressionList .qq_emoticon_ul{background:#F6F6F6;overflow:hidden;width: 100%;}
#expressionList .qq_emoticon_ul li span{
width:24px;
height:24px;
display:block;
margin:0 auto;
background-image:url(./img/qq_emoticons_bg.gif?432423);
}

.swiper-pagination{
bottom:10px;
left: 0;
width: 100%;
}
.swiper-pagination-switch{
background-color:#999;
}
.swiper-pagination-switch.swiper-active-switch{
background-color:#333;
}
.imc_form_submit_input{
width: 42px;
height: 26px;
line-height: 24px;
border-radius: 2px;
border: 1px solid #e8e8e8!important;
color: #666;
-webkit-appearance: none;
font-weight: bold;
font-size: 13px;
background: none;
}
/*我*/
#bigAvatarDiv{
background: black;
position: absolute;
top: 0;
left:0;
width: 100%;
height: 100%;
overflow:hidden;
}
#bigAvatarDiv img{
max-width: 100%;
height: 80%;
vertical-align: middle;
margin: 10% 0px;
display: block;
}

.service_header{
background: #CF4343;
height: 40px;
line-height: 40px;
text-align: center;
color: white;
font-size: 16px;
}

#go_index_bg{
position: fixed;
top: 0;
left: 0;
width: 100%;
overflow: hidden;
height: 36px;
z-index: 1;
background: rgba(0,0,0,0.1);
}
#go_index{
position:absolute;
left:3px;
top:3px;
color:white;
padding:3px 5px;
font-size:12px;
z-index:1;
background-color:#337ab7;
border:1px solid #2e6da4;
border-radius:4px;
}
#go_index:before{
border-width: 8px 5px 0;
border-color: transparent #539618 transparent transparent;
}

.rowlist .open_im section:after{
	display:none;
}
.rowlist .open_im section p{
	padding-left:0px;
}
.rowlist .open_im .switch-container{
	position:absolute;
	    right: 10px;
    top:9px;
	width:62px;
	-webkit-transition: margin-left 0.5s;
    transition: margin-left 0.5s;
	overflow: hidden;
	    border-radius: 4px;
    border: 1px solid;
    border-color: #cccccc;
}
.switch{
	    width: 93px;
}


.switch-handle-on,.switch-handle-off,.switch-label {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block !important;
    height: 100%;
    padding: 1px 5px;
    font-size: 12px;
	width:31px;
}
.switch-handle-on,.switch-handle-off {
    text-align: center;
    z-index: 1;
}
.switch-handle-on {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}
.switch-handle-on.switch-primary,.switch-handle-off.switch-primary {
    color: #fff;
    background: #428bca;
}
.switch-label {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block !important;
    height: 100%;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
}
.switch-handle-off {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}
.switch-handle-on.switch-default,.switch-handle-off.switch-default {
    color: #000;
    background: #eeeeee;
}