/**
 * message.css
 * 消息中心样式
 * @module Global
 * @submodule Message
 * @type Layout
 * @version $Id$
 * @author Inaki
 */

.page-list .page-list-header__nav{
	margin-bottom: 10px;
	padding: 0 0 0 20px;
}
.message-page-list .nav-skid > li > a{
	padding: 15px 20px;
	font-size: 16px;
}

.message-page-list .nav-skid > li:hover, 
.message-page-list .nav-skid > .active {
	margin-bottom: 0;
	border-bottom: 0;
}
.page-list-header .nav-skid > li > a:hover {
	color: #3497db;
}

.page-list .page-list-header__title{
	margin-bottom: 10px;
	padding: 20px;
	border-bottom: 1px solid #ebeff6;
	min-height: auto;
}

.page-list .page-list-header__query{
	padding: 0 20px 10px;
	border-bottom: 0;
}
.module-query{
	margin-bottom: 10px;
	padding: 10px 0;
	border: 1px solid #ebeff6;
	background-color: #f9fbff;
	border-radius: 5px;
	-moz-border-radius: 5px;
}
.control-group .control-label{
	float: left;
	padding: 10px 20px 0 15px;
}
.control-group .controls{
	margin-left: 90px;
}

.module-query--list > li{
	display: inline-block;
	line-height: 40px;
}
.module-query--list > li > a{
	padding: 9px 10px;
	text-decoration: none;
	color: #829393;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
.module-query--list > li > a:hover,
.module-query--list > li > a:focus,
.module-query--list > li.active a{
	background-color: #3497db;
	color: #FFF;
}

.module-query--toggle{
	position: relative;
	float: right;
	margin-left: 15px;
	margin-right:  20px;
	line-height: 40px;
	text-decoration:none;
	cursor: pointer;
}
.module-query--toggle:hover {
	color: #82939e;
}
.module-query--toggle__down::after,
.module-query--toggle::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -13px;
	width: 8px;
	height: 8px;
	background: -webkit-gradient(linear, left top, right bottom, from(rgba(0,0,0,0)), color-stop(50%, rgba(0,0,0,0)), color-stop(50%, rgba(0, 0, 0, 0.47)), to(rgba(0, 0, 0, 0.47)));
	background: -webkit-linear-gradient(top left, rgba(0,0,0,0), rgba(0,0,0,0) 50%, rgba(0, 0, 0, 0.47) 50%, rgba(0, 0, 0, 0.47));
	background: -moz-linear-gradient(top left, rgba(0,0,0,0), rgba(0,0,0,0) 50%, rgba(0, 0, 0, 0.47) 50%, rgba(0, 0, 0, 0.47));
	background: linear-gradient(to bottom right, rgba(0,0,0,0), rgba(0,0,0,0) 50%, rgba(0, 0, 0, 0.47) 50%, rgba(0, 0, 0, 0.47));
}

.module-query--toggle.module-query--toggle__down::after {
	-webkit-transform: translateY(-70%) rotate(45deg);
	   -moz-transform: translateY(-70%) rotate(45deg);
	    -ms-transform: translateY(-70%) rotate(45deg);
	        transform: translateY(-70%) rotate(45deg);
}
.module-query--toggle::after {
	-webkit-transform: translateY(-30%) rotate(-135deg);
	   -moz-transform: translateY(-30%) rotate(-135deg);
	    -ms-transform: translateY(-30%) rotate(-135deg);
	        transform: translateY(-30%) rotate(-135deg);
}

.msg-pm-list{ padding-bottom: 20px; }
.msg-pm-list .main-list-item{
	padding: 10px 20px 0 20px;
	border-bottom: 0;
}
.msg-pm-list .main-list-item:hover{
	background-color: #FFF;
}
.msg-pm-list .main-list-item-body{
	width: 570px;
}
.msg-pm-list .main-list-item-body{
	margin-left: 20px;
}
.msg-pm-list .msg-box{
	padding: 10px;
	-webkit-box-shadow: none;
	   -moz-box-shadow: none;
	        box-shadow: none;
}
.msg-pm-list .msg-box:hover{ background-color: #FFFCF8; }
.msg-pm-list .clist li{
	padding: 5px 0 0;
	border-top: 0;
}
.msg-pm-list .checkbox{ padding-top: 18px; }
.msg-pm-list .o-trash{ margin-top: 14px; }

.remain-msg{
	padding-top: 10px;
}
.remain-msg--list li{
	display: inline-block;
	position: relative;
	margin-left: 20px;
	margin-bottom: 20px;
	padding: 20px;
	width: 316px;
	height: 70px;
	border: 1px solid #ebeff6;
	-moz-border-radius:  5px;
	     border-radius:  5px;
}
.remain-msg--list li:hover{
	border: 1px solid #3497db;
	cursor: pointer;
}
.remain-msg--list li .icon-module{
	display: inline-block;
	padding-top: 10px;
	width: 50px;
	height: 50px;
	vertical-align: middle;
}
.remain-msg--list li .remain-msg--detail{ margin-left: 20px; } 
.remain-msg--list li .remain-msg--title {
	display: inline-block;
	max-width: 180px;
}
.remain-msg--list li:hover .remain-msg--title{
	color: #3497db;
}
.remain-msg--list li .remain-msg--desc { max-width: 220px; }
.remain-msg--list li .o-msg-remainer{ vertical-align: text-bottom; }
.remain-msg--list li:hover .o-msg-remainer{ background-position: -96px -60px; }
.remain-msg--list li .remain-msg--toolbar{
	position: absolute;
	display: none;
	right: 20px;
	bottom: 20px;
}
.remain-msg--list li:hover .remain-msg--toolbar{ display: block; }

/* MSG */
.msg-list { background-color: #FDFDFD; }
.msg-list .main-list-item { border-bottom: 0 none; }
.msg-word-count {
	color: #B2C0D1;
	font-family: Constantia, Georgia;
	font-size: 16px;
	padding: 0 5px;
}
.msg-word-count.xcr { color: #E26F50; }

.msg-pm-list li .o-trash,
.msg-box-del{ visibility: hidden; }
.msg-pm-list li:hover .o-trash,
.msg-box:hover .msg-box-del{ visibility: visible; }


.msg-pm-input { width: 640px; }
.msg-pm-input textarea{ border: 0 none; height: 72px; }
.msg-pm-input-operate { display: none; }
.msg-pm-input-fullmode textarea{ height: 112px }
.msg-pm-input-fullmode .msg-pm-input-operate{ display: block; }
.msg-pm-input-fullmode .msg-box{ border-color: #3497DB; }
.msg-pm-input-fullmode .msg-box-inverse .msg-box-arrow{ border-left-color: #3497DB; }

.msg-pm-detail-header { -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .1); -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .1); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.msg-pm-detail-header .charcount{ color: #B2C0D1; padding: 0 5px; }
.msg-pm-detail-header .charcount strong{ font-size: 20px; font-family: Georgia; }
.msg-pm-detail-header .charcount.warning strong{ color: #E26F50; }

.msg-pm-detail-list .main-list-item { margin: 20px 0; padding-bottom: 0; padding-top: 0; }
.msg-pm-detail-list .main-list-item-body { margin-right: 100px; }

.msg-comment-list li .checkbox,
.msg-toolbar-multiple,
.msg-multiple .msg-toolbar,
.msg-multiple .msg-comment-list li .checkbox { display: inline-block; }

.msg-multiple .msg-toolbar-multiple { display: block; }

.o-msg-at,
.o-msg-comment,
.o-msg-praise,
.o-msg-private,
.o-msg-remind,
.o-msg-alarm,
.o-msg-received,
.o-msg-sent,
.o-msg-remembrancer,
.o-msg-remainer{
	background-image: url('../image/message.png');
	background-repeat: no-repeat;
}
.o-msg-at,
.o-msg-comment,
.o-msg-praise,
.o-msg-private,
.o-msg-alarm,
.o-msg-remind,
.o-msg-remembrancer,
.o-msg-remainer{
	display: inline-block;
	height: 20px;
	width: 20px;
	vertical-align: middle;
}

.o-msg-comment { background-position: -30px 0; }
.o-msg-praise { background-position: -60px 0; }
.o-msg-private { background-position: -90px 0; }
.o-msg-remind { background-position: -120px 0; }
.o-msg-alarm { background-position: -150px 0;  }
.active .o-msg-at { background-position: 0 -30px; }
.active .o-msg-comment { background-position: -30px -30px; }
.active .o-msg-praise { background-position: -60px -30px; }
.active .o-msg-private { background-position: -90px -30px; }
.active .o-msg-remind { background-position: -120px -30px; }
.active .o-msg-alarm{ background-position: -150px -30px; }
.o-msg-remainer{ background-position: -78px -60px; }
.o-msg-remembrancer{ background-position: -120px -60px;}

.o-msg-received { background-position: 0 -60px; }
.o-msg-sent { background-position: -40px -60px; }


.msg-remind-detail { padding-top: 50px; }

.praise-list li .o-chat{ visibility: hidden; }
.praise-list li:hover .o-chat{ visibility: visible; }

