/**
 * imgondar.com 
 * 2017-3-25
 */

html {
	width: 100%;
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	background: #f4f4f4;
}

body {
	margin: 0;
	background: #f4f4f4;
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
}

ul {
	padding: 0 0;
	margin: 0 0;
}

a:focus {
	outline: none !important;
	background: none;
}

#main-content {
	margin: 0 auto;
	width: 100%;
	max-width: 480px;
	height: 100%;
}

/* header navigation */
#header {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	position: fixed;
	top: 0px;
	background: url("/qunstatic/img/bg_nav.png");
	height: 44px;
	z-index: 9999;
}
#header .nav_left {
	align-self: flex-start;
	height: 44px;
	width: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#header .nav_left .img_back{
	margin: auto 0;
	margin-left: 10px;
	height: 22px;
	width: 14px;
	background-image: url('/qunstatic/img/btn_back.png');
	background-repeat: no-repeat;
	background-size: contain;
}
#header .nav_left .hidden{
	display: none;
}

#header .nav_title{
	display: block;
	color: white;
	text-align: center;
	font-size: 14pt;
}

#header .nav_right{
	display: flex;
	width: 24px;
}

/*tabbar*/
#tabbar {
	display: block;
	position: fixed;
	bottom: 0px;
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	height: 50px;
	text-align: center;
	background: url("/qunstatic/img/bg_tabbar.png");
	background-size: 100% 100%;
	background-position: top;
	z-index: 999;
}

#tabbar .bar {
	display: block;
	height: 100%;
	width: 24%;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	float: left;
}

#tabbar .bar img {
	display: block;
	margin: 0 auto;
	width: 19px;
	height: 19px;
	margin-top: 8px;
}

#tabbar .bar a {
	text-decoration: none;
}

#tabbar .bar span {
	display: block;
	margin-top: 5px;
	color: #aaa;
	font-size: 10pt;
}

#tabbar .bar span.active {
	color: #0A5BE6;
}


/*内容区域*/

.wrapper {
	position: relative;
	top: 44px;
	width: 100%;
	padding-bottom: 48px;
	background: #f4f4f4;
}

#js-load-more {
	text-align: center;
	padding: 10px;
}


/*字体颜色*/

.fblue {
	color: #0A5BE6;
}

.forange {
	color: #D37335;
}


/**
 * Arron helloarron.com 
 * 2017-3-4
 */

.border {
	border: 1px solid #ddd;
	background-color: #fff;
}

.border thead {
	background-color: #eee;
}

.bg-color-primary {
	background-color: #337ab7;
	color: #fff;
}

.bg-color-success {
	background-color: #5cb85c;
	color: #fff;
}

.bg-color-warning {
	background-color: #f0ad4e;
	color: #fff;
}

.pointer {
	cursor: pointer;
}

.inline-block {
	display: inline-block !important;
}

.btn-remark {
	cursor: pointer;
}

.top-back a:focus,
.top-back a:active,
.top-back a:hover,
.top-back a {
	color: #797979;
	text-decoration: none;
}

.not-found-wrapper {
	margin: 0;
	padding: 0;
	width: 100%;
	color: #B0BEC5;
	display: table;
	font-weight: 100;
}

.not-found-container {
	text-align: center;
	display: table-cell;
	vertical-align: middle;
}

.not-found-content {
	text-align: center;
	display: inline-block;
}

.not-found-title {
	font-size: 72px;
	margin-bottom: 40px;
}


/* text helpers */

.text-thin {
	font-weight: 100 !important;
}

.text-indent {
	text-indent: 2em;
}

.text-left {
	text-align: left !important;
}

.text-center {
	text-align: center !important;
}

.text-right {
	text-align: right !important;
}

.text-sm {
	font-size: 12px;
}

.text-md {
	font-size: 14px;
}

.text-lg {
	font-size: 16px;
}

.text-xl {
	font-size: 18px;
}

.text-xxl {
	font-size: 20px;
}

.text-align-middle {
	vertical-align: middle;
}

.text-align-top {
	vertical-align: top;
}

.text-align-bottom {
	vertical-align: bottom;
}

.text-bold {
	font-weight: bold;
}


/* Padding helpers */

.padding {
	padding: 1.6rem;
}

.padding-0 {
	padding: 0!important;
}

.padding-xs {
	padding: 0.5rem;
}

.padding-sm {
	padding: 1rem;
}

.padding-lg {
	padding: 2.4rem;
}

.padding-xl {
	padding: 3.2rem;
}

.padding-horizontal {
	padding-left: 1.6rem;
	padding-right: 1.6rem;
}

.padding-horizontal-0 {
	padding-left: 0!important;
	padding-right: 0!important;
}

.padding-horizontal-xs {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.padding-horizontal-sm {
	padding-left: 1rem;
	padding-right: 1rem;
}

.padding-horizontal-lg {
	padding-left: 2.4rem;
	padding-right: 2.4rem;
}

.padding-horizontal-xl {
	padding-left: 3.2rem;
	padding-right: 3.2rem;
}

.padding-vertical {
	padding-top: 1.6rem;
	padding-bottom: 1.6rem;
}

.padding-vertical-0 {
	padding-top: 0!important;
	padding-bottom: 0!important;
}

.padding-vertical-xs {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.padding-vertical-sm {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.padding-vertical-lg {
	padding-top: 2.4rem;
	padding-bottom: 2.4rem;
}

.padding-vertical-xl {
	padding-top: 3.2rem;
	padding-bottom: 3.2rem;
}

.padding-top {
	padding-top: 1.6rem;
}

.padding-top-0 {
	padding-top: 0!important;
}

.padding-top-xs {
	padding-top: 0.5rem;
}

.padding-top-sm {
	padding-top: 1rem;
}

.padding-top-lg {
	padding-top: 2.4rem;
}

.padding-top-xl {
	padding-top: 3.2rem;
}

.padding-bottom {
	padding-bottom: 1.6rem;
}

.padding-bottom-0 {
	padding-bottom: 0!important;
}

.padding-bottom-xs {
	padding-bottom: 0.5rem;
}

.padding-bottom-sm {
	padding-bottom: 1rem;
}

.padding-bottom-lg {
	padding-bottom: 2.4rem;
}

.padding-bottom-xl {
	padding-bottom: 3.2rem;
}

.padding-left {
	padding-left: 1.6rem;
}

.padding-left-0 {
	padding-left: 0!important;
}

.padding-left-xs {
	padding-left: 0.5rem;
}

.padding-left-sm {
	padding-left: 1rem;
}

.padding-left-lg {
	padding-left: 2.4rem;
}

.padding-left-xl {
	padding-left: 3.2rem;
}

.padding-right {
	padding-right: 1.6rem;
}

.padding-right-0 {
	padding-right: 0!important;
}

.padding-right-xs {
	padding-right: 0.5rem;
}

.padding-right-sm {
	padding-right: 1rem;
}

.padding-right-lg {
	padding-right: 2.4rem;
}

.padding-right-xl {
	padding-right: 3.2rem;
}


/* Margin helpers */

.margin {
	margin: 1.6rem;
}

.margin-0 {
	margin: 0!important;
}

.margin-xs {
	margin: 0.5rem;
}

.margin-sm {
	margin: 1rem;
}

.margin-lg {
	margin: 2.4rem;
}

.margin-xl {
	margin: 3.2rem;
}

.margin-horizontal {
	margin-left: 1.6rem;
	margin-right: 1.6rem;
}

.margin-horizontal-0 {
	margin-left: 0!important;
	margin-right: 0!important;
}

.margin-horizontal-xs {
	margin-left: 0.5rem;
	margin-right: 0.5rem;
}

.margin-horizontal-sm {
	margin-left: 1rem;
	margin-right: 1rem;
}

.margin-horizontal-lg {
	margin-left: 2.4rem;
	margin-right: 2.4rem;
}

.margin-horizontal-xl {
	margin-left: 3.2rem;
	margin-right: 3.2rem;
}

.margin-vertical {
	margin-top: 1.6rem;
	margin-bottom: 1.6rem;
}

.margin-vertical-0 {
	margin-top: 0!important;
	margin-bottom: 0!important;
}

.margin-vertical-xs {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.margin-vertical-sm {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.margin-vertical-lg {
	margin-top: 2.4rem;
	margin-bottom: 2.4rem;
}

.margin-vertical-xl {
	margin-top: 3.2rem;
	margin-bottom: 3.2rem;
}

.margin-top {
	margin-top: 1.6rem;
}

.margin-top-0 {
	margin-top: 0!important;
}

.margin-top-xs {
	margin-top: 0.5rem;
}

.margin-top-sm {
	margin-top: 1rem;
}

.margin-top-lg {
	margin-top: 2.4rem;
}

.margin-top-xl {
	margin-top: 3.2rem;
}

.margin-bottom {
	margin-bottom: 1.6rem;
}

.margin-bottom-0 {
	margin-bottom: 0!important;
}

.margin-bottom-xs {
	margin-bottom: 0.5rem;
}

.margin-bottom-sm {
	margin-bottom: 1rem;
}

.margin-bottom-lg {
	margin-bottom: 2.4rem;
}

.margin-bottom-xl {
	margin-bottom: 3.2rem;
}

.margin-left {
	margin-left: 1.6rem;
}

.margin-left-0 {
	margin-left: 0!important;
}

.margin-left-xs {
	margin-left: 0.5rem;
}

.margin-left-sm {
	margin-left: 1rem;
}

.margin-left-lg {
	margin-left: 2.4rem;
}

.margin-left-xl {
	margin-left: 3.2rem;
}

.margin-right {
	margin-right: 1.6rem;
}

.margin-right-0 {
	margin-right: 0!important;
}

.margin-right-xs {
	margin-right: 0.5rem;
}

.margin-right-sm {
	margin-right: 1rem;
}

.margin-right-lg {
	margin-right: 2.4rem;
}

.margin-right-xl {
	margin-right: 3.2rem;
}


/* 聊天列表 */

.msg-item {
	padding: 10px;
	position: relative;
	border-bottom: 1px dashed #eee;
}

.msg-item .msg-user,
.msg-item .msg-avatar,
.msg-item .msg-content {
	display: inline-block;
	vertical-align: text-top;
}

.msg-item .msg-content {
	width: 78%;
	padding-left: 10px;
	position: relative;
}

.msg-item .msg-content .triangle {
	position: absolute;
	top: 0%;
	margin-top: 6px;
	left: 4px;
	top: 15px;
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
	line-height: 0;
	font-size: 0;
	border-bottom: 6px solid #FFF;
	border-top: 6px solid #FFF;
	border-left: none;
	border-right: 6px solid #eee;
}

.msg-item .msg-content .msg-main {
	max-width: 100%;
	word-wrap: break-word;
	float: left;
	display: inline-block;
	*display: inline;
	zoom: 1;
}

.msg-main .msg-main-content {
	word-break: break-all;
	vertical-align: middle;
	display: inline-block;
	padding: 5px 10px;
	border: 1px solid #eee;
	background: #eee;
	border-radius: 5px;
	background-color: #eee;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#eee));
	background-image: -webkit-linear-gradient(top, #eee, #eee);
	background-image: -moz-linear-gradient(center top, #eee, #eee);
	background-image: linear-gradient(top, #eee, #eee);
}

.msg-item .msg-content.fr {
	padding-left: 0px;
	padding-right: 10px;
}

.msg-item .msg-content.fr .triangle {
	left: auto;
	right: 4px;
	border-bottom: 6px solid #FFF;
	border-top: 6px solid #FFF;
	border-right: none;
	border-left: 6px solid #eee;
}

.msg-item .msg-content.fr .msg-main {
	float: right;
	text-align: left;
	word-wrap: break-word;
	max-width: 100%;
}

.msg-main img {
	width: 150px;
}

li.msg-item{
	background: white;
	margin-top: 10px;
}
li.msg-item:hover {
	cursor: pointer;
	border: 1px dashed #e9e9e9;
	border-radius: 2px;
}

li.msg-item.active {
	cursor: pointer;
	border: 1px solid #e9e9e9;
	border-radius: 2px;
}

#article-create-form .form-group,
#action-container .form-group {
	margin-left: -10px;
	margin-right: -10px;
}

.app-voice {
	cursor: pointer;
}

.app-voice-pause,
.app-voice-play {
	width: 46px;
	height: 18px;
	background-repeat: no-repeat;
	background-image: url(../img/voice.png);
	background-size: 18px auto;
}

.app-voice-time {
	vertical-align: middle;
}

.app-voice .app-voice-pause {
	/*从未播放*/
	background-position: 0px 0;
}

.app-voice .app-voice-play {
	/*播放中（不需要过渡动画）*/
	background-position: 0px -9px;
	-webkit-animation: voiceplay 1s infinite step-start;
	-moz-animation: voiceplay 1s infinite step-start;
	-o-animation: voiceplay 1s infinite step-start;
	animation: voiceplay 1s infinite step-start;
}

@-webkit-keyframes voiceplay {
	0%,
	100% {
		background-position: 0px 0px;
	}
	33.333333% {
		background-position: 4px 0px;
	}
	66.666666% {
		background-position: 9px 0px;
	}
}

.msg-item .btn-delete {
	position: absolute;
	top: 4px;
	color: #C41121;
	display: block;
}

.msg-item .btn-delete.fl {
	left: 6px;
}

.msg-item .btn-delete.fr {
	right: 6px;
}

.sortable-ghost {
	border: 1px solid #5cb85c !important;
}

.sortable-chosen {
	border: 1px dashed #337ab7 !important;
}

.sortable-drag {
	border: 1px solid #d9534f !important;
}