/* =============================================================
Simple:Press
Private Messaging CSS (PM Display)
Loosely based on SP default theme
$LastChangedDate: 2016-09-03 10:09:28 -0700 (Sat, 03 Sep 2016) $
$Rev: 14533 $
============================================================= */

[id^="spColThread1"] { width: 10%; }
[id^="spColThread2"] { width: 74%; text-wrap: normal; word-wrap: break-word; max-width: 72%; }
[id^="spColThread3"] { width: 16%; }

[id^="spColMessage1"] { width: 10%; }
[id^="spColMessage2"] { width: 50%; }
[id^="spColMessage3"] { width: 40%; }

[id^="spColHeader1"] { width: 65%; text-wrap: normal; word-wrap: break-word; max-width: 63%; }
[id^="spColHeader2"] { width: 35%; }

#spMainContainer #spPmCount {
	padding-bottom: 3px;
}

#spMainContainer #spPmCount .spPmCountUnread {
    color: #ff0000;
}

#spMainContainer #spPmCount .spPmCountRead {
    color: inherit;
}


#spMainContainer .spPmThreadSection.spPmUnread,
#spMainContainer .spPmMessageSection.spPmUnread {
    background: #e0e0e0;
}

#spMainContainer #spPmContainer #spPmBody {
	overflow-y: auto;
    height: 100%;
}

#spMainContainer #spPmContainer .spHeaderName {
    font-size: 95%;
}

#spMainContainer #spPmContainer .spPmThreadHeader {
    background: none repeat scroll 0 0 #FEFEFE;
    border: 1px solid #DDDDDD;
    border-radius: 5px 5px 5px 5px;
    color: #333333;
    margin: -5px 0 10px;
    padding: 10px;
}

#spMainContainer .spPmThreadSection .spPmDeleteIcon {
    margin-top: -5px;
}

#spMainContainer #spPmQuickLinksThreads .dd .ddChild .spPostNew {
	color: #488ccc !important;
}

#spMainContainer #spPmContainer .spTopicPostSection .spPostSection,
#spMainContainer #spPmContainer .spTopicPostSection .spPostSection .spPostContent {
    border: 0;
}

#spMainContainer .spPmMessageSection {
	padding: 0 6px;
}

/* ===================================== */

#spMainContainer .spMessageActions {
	margin: 0 5px 15px 5px;
}

#spMainContainer .spMessageActions .spInline {
	display: inline;
}

/* ===================================== */

#spMainContainer #spPmQuickLinksThreads {
	display: none;
	height: 23px;
	width: 230px;
	border: 1px solid #dddddd;
	background: #FEFEFE;
	color: #333333;
	font-family: inherit;
    font-size: 80%;
	line-height: 1.6em;
	padding: 0 5px;
	margin: 0;
	-webkit-border-radius: 5px;
    border-radius: 5px;
    text-decoration: none;
	text-align:left;
    position: relative;
}

#spMainContainer #spPmQuickLinksThreads:hover {
	border: 1px solid #cccccc;
	background: #e8eef8;
}

#spMainContainer #spPmQuickLinksThreads .dd .ddTitle {
	padding:3px;
	text-indent:0;
	cursor:default;
	overflow:hidden;
}

#spMainContainer #spPmQuickLinksThreads .dd .ddTitle span.arrow {
	background: url("../images/dd_arrow.gif") no-repeat 0 0;
	float:right;
	display:inline-block;
	width:16px;
	height:16px;
	cursor:pointer;
    position: inherit;
}

#spMainContainer #spPmQuickLinksThreads .dd .ddChild {
	position:absolute;
	display:none;
	height: auto !important;
	width:	300px;
	overflow:auto;
	overflow-x:hidden !important;
	border: 1px solid #dddddd;
	background: #FEFEFE;
	color: #333333;
	padding: 10px;
	margin: 0 10px;
	z-index: 100 !important;
}

#spMainContainer #spPmQuickLinksThreads .dd .ddChild .opta {
	border-top: 1px solid #dddddd;
	padding-top: 4px;
	margin-top: 3px;
}

#spMainContainer #spPmQuickLinksThreads .dd .ddChild .opta a,
#spMainContainer #spPmQuickLinksThreads .dd .ddChild .opta a:visited {
	padding-left:10px
}

#spMainContainer #spPmQuickLinksThreads .dd .ddChild a {
	display:block;
	padding: 3px 0 3px 3px;
	text-decoration:none;
	color: #333333;
	overflow:hidden;
	white-space:nowrap;
	cursor:pointer;
}

#spMainContainer #spPmQuickLinksThreads .dd .ddChild a:hover {
	background: #dce7ee;
	color: #4C5D77;
}

#spMainContainer #spPmQuickLinksThreads .dd .ddChild a img {
	border:0;
	padding:0 2px 0 0;
	vertical-align:middle;
}

#spMainContainer #spPmQuickLinksThreads .dd .ddChild a.selected {
	background: #dce7ee;
	color: #4C5D77;
}

#spMainContainer #spPmQuickLinksThreads .dd .ddChild .ddTopTitle {
	color: #333333;
	background: #dce7ee;
	border: 1px solid #dddddd;
	margin-left: 0;
}

#spMainContainer #spPmContainer .spInRowLabel {
	margin: 3px 5px 2px 0;
	display: inline;
}

#spMainContainer #spPmContainer .spRowName {
	margin: 0px 5px 2px 0;
}

#spMainContainer #spPmContainer .spAvatar {
	margin: 1px 0 0 3px;
}

/** force integrated toolbar if themes dont have it set up */

#spMainContainer .spBodyContainer #spPostForm .spEditorSection {
    float: none;
	padding: 5px 5px;
	width: auto;
}


/* compose form */

/* core autocomplete styles
----------------------------------*/

.ui-menu {
	background: #ffffff;
	border: 1px solid #222 !important;
	color: black #666;
	font-size: 80%;
	font-weight: bold;
}

/* Columns */

#spMainContainer .spPm1Col {
	width: 43%;
/*	border: 1px solid red;*/
}

#spMainContainer .spPm2Col {
	width: 55%;
/*	border: 1px solid red;*/
}

#spMainContainer .spPm3Col {
	width: 33%;
	float: left;
	text-align: center;
}

#spMainContainer #spPostForm #spPmRecipients {
	padding: 0;
	margin: 0 0 10px 0;
	border: none;
}

#spMainContainer #spPostForm .spEditorTitle {
	font-size: 95%;
	font-weight: bold;
}

#spMainContainer #spPostForm .spLabelSmall {
	font-weight: normal;
	font-size: 85%;
	padding-left: 0;
}

#spMainContainer #spPostForm .spEditorTitle #pmusers {
	width: 48%;
}

#spMainContainer #spPostForm .spEditorTitle #pmtitle {
	width: 98%;
}

#spMainContainer #spPostForm .spPmCompose {
	width: auto;
}

#spMainContainer #spPostForm .spPmCompose fieldset {
	border: none;
}

#spMainContainer #spPostForm #spPmComposeNameList {
	height: auto;
	padding: 0px 0;
	margin: 0;
	text-align: center;
}

#spMainContainer #spPostForm #spPmComposeNameList input {
	max-width: 45%;
}

#spMainContainer #spPostForm .spPmUsers {
	width: 87%;
}

#spMainContainer #spPostForm .spPmAddToBuddies {
	text-align: center;
	padding: 10px 0 0;
}

#spMainContainer #spPostForm .spPmMaxRecipients {
	text-align: center;
}

#spMainContainer #spPostForm .spControl {
	font-weight: bold;
	font-size: 95%;
}

#spMainContainer #spPostForm .spControl[disabled] {
	color: #4C5D77;
    font-size: 1.1em;
}

/* Auto-complete control */

.sp-pm-ac.ui-autocomplete {
	position: absolute;
	cursor: default;
	background: #ffffff;
	border: 1px solid #DDE8EE;
	color: #4C5D77;
}

* html .sp-pm-ac.ui-autocomplete {
	width: 1px;
}

.sp-pm-ac.ui-menu {
	list-style: none;
	padding: 2px;
	margin: 0;
	display: block;
	float: left;
}

.sp-pm-ac.ui-menu .ui-menu {
	margin-top: -3px;
}

.sp-pm-ac.ui-menu .ui-menu-item {
	margin: 0;
	padding: 0;
	zoom: 1;
	float: left;
	clear: left;
	width: 100%;
}

.sp-pm-ac.ui-menu .ui-menu-item a {
	text-decoration: none;
	display: block;
	padding: .1em .4em;
	line-height: 1.0;
	zoom: 1;
	color: #4C5D77;
}

.sp-pm-ac.ui-menu .ui-menu-item a.ui-state-hover,
.sp-pm-ac.ui-menu .ui-menu-item a.ui-state-active {
	font-weight: bold;
	margin: -1px;
	background: #DCE7EE;
}

