/*
 * Messaging
 * Copyright 2010 Palm Inc.
 */

/* First Launch */

.palm-button.accountType {
		text-align: left;
}

.first-launch-account-list .palm-divider.labeled {
		margin-bottom: -5px;
		height: auto;
}

.first-launch-account-list .palm-divider.labeled td {
		height: auto;
}

.first-launch-account-list .palm-divider.labeled td.right {
		background: url(../images/gray-separator-right-side.png) left no-repeat;
		width: 448px;
}

.first-launch-account-list .palm-divider.labeled td.left {
		background: url(../images/gray-separator-left-side.png) right no-repeat;
		width: 5px;
}

.first-launch-account-list .palm-divider.labeled td.label {
		font-size: 14px;
		color: #828282;
		padding: 0 5px 0 5px;
		margin: 0;
		width: 20px;
		text-align: left;
}

.first-launch-account-list .palm-divider.labeled.show {
		display: block;
}

/* Add an account */

#preferencesHeader {
		padding-bottom: 0px;
}

.button-icon {
		height: 40px;
		margin: 6px 8px 0px 0px;
		float: left;
}

/* Buddy List specifics */

.buddyListRow .hideUnreadCount .buddy-list-unread {
		display: none;
}

.buddyListRow .hideUnreadCount .title .truncating-text {
		max-width: 225px;
}

.buddyListRow .buddy-list-unread {
		position: static;
		height: auto;
		width: auto;
		padding: 4px -4px 0px -4px;
		/* margin: -12px 2px; */	
		display: inline-block;
}

.buddyListRow .buddy-list-unread-wrapper {
		display: inline-block;
		/*	margin-top:-10px;*/
}

.buddyListRow .buddy-list-unread .pill-margin {
		margin: 0px -4px;
}

.palm-list.buddy-list .buddyListRow.hideListEntry {
		visibility: hidden;
}

img.avatar-location {
		right: 0px;
		position: absolute;
		margin: 13px 12px 0px 0px;
}

img.avatar-overlay {
		right: 8px;
		margin-top: 10px;
		position: absolute;
}

.chatRow img.avatar-location {
		margin-top: -18px;
}

.chatRow img.avatar-overlay {
		margin-top: -21px;
}

.chatRow .avatar-container {
		vertical-align: middle;
		display: inline-block;
}

.login-animation-available,
.login-animation-busy {
		width: 26px;
		height: 26px;
		background: url(../images/login-animation-available.png) no-repeat;
		position: absolute;
		left: 0px;
		margin: -39px 0px 0px 17px;
}

.login-animation-busy {
		background: url(../images/login-animation-busy.png) no-repeat;
}

.buddy-list .palm-row {
		height: 60px;
}

.buddy-list .title {
		padding-top: 4px !important;
		padding-right: 55px !important;
}

.history-list .title {
		padding-top: 7px !important;
}

.buddy-list .title.hide-custom-message {
		padding-top: 14px !important;
}

/* TODO: needs to be reimplemented so as to not use a max-width */

.buddy-list .title:not(.hide-unread-count) .im-name-info {
		max-width: 175px;
		display: inline-block;
		font-weight: bold;
}

.buddy-list .custom-message {
		font-size: 16px;
		padding-bottom: 2px;
}

.buddy-list .status-icon {
		height: 59px;
}

.buddy-list .hide-unread-count .unread-count-container {
		display: none;
}

.buddy-list .unread-count-container {
		height: 23px;
		border-width: 0px 11px;
		-webkit-border-image: url(../images/unread-count-3tile.png) 0 11 0 11 repeat repeat;
		-webkit-box-sizing: border-box;
		display: inline-block;
		color: #FFF;
		font-size: 16px;
}

.buddy-list .unread-count-wrapper {
		margin: 1px -4px 0px -4px;
}

/* background: url(../images/simple-splitter.png) bottom left repeat-x;*/

#groups-list .showGroup {
		display: block;
}

#groups-list .hideGroup {
		display: none;
}

/* Used in the chat history list */

.first-launch-icon {
		margin: 10px auto 15px auto;
		width: 120px;
		height: 120px;
		background: url(../images/first-launch-messaging.png) center center no-repeat;
}

/* Availability Icons */

#palm-popup-container .palm-list {
		-webkit-border-radius: 20px;
		min-width: 260px;
		/* DS: for auto, must rework support for 3 images*/
}

.status-nopresence {
		display: block;
		width: 32px;
		height: 32px;
}

/* Transport picker no-status */

.palm-popup-icon.status-nopresence {
		width: 12px;
		height: 48px;
}

.status-invisible {
		width: 32px;
		height: 32px;
		background: url(../images/status-invisible.png) center center no-repeat;
}

.palm-popup-icon.status-invisible {
		width: 12px;
		height: 48px;
		background-image: url(../images/status-invisible.png);
}

.chatview-header-status.status-nopresence {
		display: none;
}

/* Status-picker icons */

.popup-transport .palm-row-wrapper {
		overflow: auto;
}

.palm-popup-icon.status-none {

/*	width:30px; 
	height:40px; */
	margin-top: -8px;
}

.transport-picker-dial-icon {
		display: none;
		float: left;
		margin-right: -14px;
		width: 60px;
		height: 58px;
		background: url(../images/dial-icon.png) top center no-repeat;
		z-index: 5;
}

.transport-picker-dial-icon.selected {
		background-position: center bottom;
}

.popup-transport .title.primary-label {
		padding: 7px 14px 1px;
		margin-top: 0;
}

.popup-transport .secondary-label {
		padding-left: 60px;
		color: #777;
		font-size: 14px;
		text-transform: uppercase;
}

.palm-row.selected .secondary-label {
		color: #fff;
}

.transport-picker-dial-icon.show-icon {
		display: inherit;
}

/* Transport Picker icons */

.palm-popup-icon.gmail {
		width: 40px;
		height: 40px;
		background: url(../images/transports/gtalk-logo.png) center center no-repeat;
}

.palm-popup-icon.yahoo {
		width: 40px;
		height: 40px;
		background: url(../images/transports/yahoo-logo.png) center center no-repeat;
}

.palm-popup-icon.aol {
		width: 40px;
		height: 40px;
		background: url(../images/transports/aim-logo.png) center center no-repeat;
}

.palm-popup-icon.icq {
		width: 40px;
		height: 40px;
		background: url(../images/transports/icq-logo.png) center center no-repeat;
}

.palm-popup-icon.sms {
		width: 40px;
		height: 40px;
		background: url(../images/transports/sms-logo.png) center center no-repeat;
}

.icon.presence-icon-button {
		background: url(../images/status-button-up.png) center center no-repeat;
}

.icon.presence-icon-button.selected {
		background: url(../images/status-button-down.png) center center no-repeat;
}

.presence-spinner {
		margin: 10px 0px 0px 3px;
}

.presence-spinner-animation {
		width: 32px;
		height: 32px;
		background: url(../images/spin_light_32x32.png) no-repeat;
}

/* hint-text adjustments to the widget styles */

#customMessageContainer .hint-text {
		left: 50px;
		color: #000;
}

#customMessageContainer .focused .hint-text {
		color: #777;
}

.buddyListHeader .palm-list .icon.right {
		height: 50px;
		width: 50px;
}

.icon.right .commit-message {
		margin-top: 1px;
		height: 50px;
		width: 50px;
		background: url(../images/commit-title-press.png) center center no-repeat;
		background: url(../images/commit-title.png) center center no-repeat;
}

.icon.right .commit-message.selected {
		background: url(../images/commit-title-press.png) center center no-repeat;
}

/* Added Styles */

/* Move the filter field down below the toggle*/

#filterField .text-entry-filter {
		top: 45px;
}

.buddy-list-unread {
		/* background: rgba(80,75,61,0.7); */
    	color: white;
		position: absolute;
		right: 65px;
		font-size: 16px;
		font-weight: normal;
		margin: -10px 0 0 0;
		height: 16px;
		line-height: 16px;
		padding: 4px -8px 0px -4px;
		vertical-align: baseline;
		-webkit-border-image: url(../images/unread-badge.png) 0 10 0 10 stretch stretch;
		border-width: 10px;
}

.palm-menu-icon.chatbuddylist {
		background-image: url(../images/menu-icon-chatbuddylist.png);
}

.palm-menu-icon.chathistory {
		background-image: url(../images/menu-icon-chathistory.png);
}

.palm-menu-icon.newchat {
		background-image: url(../images/menu-icon-newchat.png);
}

.status-and-direction.icon {
		padding-top: 5px;
		width: 31px;
}

.message-direction {
		float: left;
		width: 18px;
		height: 18px;
		margin: 0px 6px 0px 7px;
}

.title.unreadCountChatAddress {
		font-weight: bold;
}

.buddyAvatar > img {
		height: 48px;
		width: 48px;
		border: 0;
}

#myAvatar {
		height: 34px;
		width: 34px;
		border: 0;
		margin-top: 5px;
		margin-right: 3px;
		background-color: #999999;
		border: 1px solid #000000;
}

#listviewToggle {
		position: fixed;
		padding-left: 6px;
		left: 0px;
		top: 0px;
		width: 100%;
		background-color: #CCCCCC;
}

#listViewPadding {
		padding-top: 50px;
}

#AvailabilityChoices {
		position: absolute;
		background: white;
		top: 100%;
		left: 0px;
		padding-left: 3px;
		width: 100%;
}

.availOpt {
		width: 100%;
		height: 50px;
		vertical-align: middle;
}

.presenceText {
		padding-left: 10px;
		color: #000000;
}

.availStatus {
		padding-top: 13px;
}

/* Chat View specifics */

.chatview-header-status {
		float: left;
		margin: 9px -2px 0px -17px;
}

#headerChatView.palm-header #chatViewHeaderClickTarget {
		position: fixed;
		top: 5px;
		left: 5px;
		text-transform: none;
		width: 200px;
		height: 45px;
		z-index: 5000;
}

.chat-view-recipient-name {
		text-transform: none;
		padding-right: 5px;
}

.transport-picker {
		-webkit-border-image: url(../images/messaging-selector-header-gray-press.png);
		-webkit-border-image: url(../images/messaging-selector-header-gray.png) 0 16 0 16 stretch stretch;
		-webkit-box-sizing: border-box;
		border-width: 0px 16px 0px 16px;
		font-size: 14px;
		font-weight: bold;
		height: 35px;
		line-height: 35px;
		text-transform: uppercase;
		display: inline-block;
		float: right;
		margin: 8px -17px 0px 0px;
		/*margin: 33px -17px 0px 0px;*/
}

.transport-picker.selected {
		-webkit-border-image: url(../images/messaging-selector-header-gray-press.png) 0 16 0 16 stretch stretch;
}

.transport-picker-wrapper {
		margin: 0px -5px 0px -5px;
}

.transport-picker .transport-name {
		background: transparent;
		display: inline-block;
		position: relative;
		top: -1px;
		max-width: 64px;
		min-width: 12px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
}

.transport-picker .transport-name.disabled {
		color: #999999;
}

.transport-picker .down-arrow {
		background: url(../images/header-arrow-down.png) center right no-repeat;
		display: inline-block;
		float: right;
		height: 33px;
		width: 15px;
		margin-top: -1px;
		margin-left: 1px;
}

#chatlist {
		padding-bottom: 58px;
}

.chatRow .message .delayedMessage {
		font-style: italic;
		font-size: 12px;
}

/* grouped buttons */

.palm-menu-group .palm-menu-text {
		top: 0px;
		-webkit-border-image: url(../images/palm-menu-segment-middle.png) 0 25 200 25 repeat repeat;
}

.palm-menu-group .palm-menu-text:first-child {
		-webkit-border-image: url(../images/palm-menu-segment-first.png) 0 25 200 25 repeat repeat;
		padding-left: 5px;
}

.palm-menu-group .palm-menu-text:last-child {
		-webkit-border-image: url(../images/palm-menu-segment-last.png) 0 25 200 25 repeat repeat;
		padding-right: 5px;
}

.palm-menu-group .palm-menu-text:active {
		top: 0px;
		-webkit-border-image: url(../images/palm-menu-segment-middle.png) 50 25 150 25 repeat repeat;
}

.palm-menu-group .palm-menu-text:first-child:active {
		-webkit-border-image: url(../images/palm-menu-segment-first.png) 50 25 150 25 repeat repeat;
}

.palm-menu-group .palm-menu-text:last-child:active {
		-webkit-border-image: url(../images/palm-menu-segment-last.png) 50 25 150 25 repeat repeat;
}

/* selected toggle buttons */

.palm-menu-group .palm-menu-text.palm-depressed {
		-webkit-border-image: url(../images/palm-menu-segment-middle.png) 100 25 100 25 repeat repeat;
}

.palm-menu-group .palm-menu-text.palm-depressed:first-child {
		-webkit-border-image: url(../images/palm-menu-segment-first.png) 100 25 100 25 repeat repeat;
}

.palm-menu-group .palm-menu-text.palm-depressed:last-child {
		-webkit-border-image: url(../images/palm-menu-segment-last.png) 100 25 100 25 repeat repeat;
}

/* selected active toggle buttons */

.palm-menu-group .palm-menu-text.palm-depressed:active {
		-webkit-border-image: url(../images/palm-menu-segment-middle.png) 150 25 50 25 repeat repeat;
}

.palm-menu-group .palm-menu-text.palm-depressed:first-child:active {
		-webkit-border-image: url(../images/palm-menu-segment-first.png) 150 25 50 25 repeat repeat;
}

.palm-menu-group .palm-menu-text.palm-depressed:last-child:active {
		-webkit-border-image: url(../images/palm-menu-segment-last.png) 150 25 50 25 repeat repeat;
}

.chat-entry {
		min-height: auto;
		background: none;
}

.chat-entry.historyRow {
		min-height: 80px;
}

.chat-entry .palm-row-wrapper {
		padding: 5px 10px;
}

.chat-entry .chat-balloon,
.chat-entry.their-chat .chat-balloon {
		border-width: 10px;
		-webkit-border-image: url(../images/chatview/chat-balloon-left-selected.png) 10 10 10 10 stretch stretch;
		-webkit-border-image: url(../images/chatview/chat-balloon-left.png) 10 10 10 10 stretch stretch;
}

.chat-entry.selected .chat-balloon {
		-webkit-border-image: url(../images/chatview/empty.png) 10 10 10 10 stretch stretch;
}

.chat-entry.their-chat.error .chat-balloon {
		-webkit-border-image: url(../images/chatview/chat-balloon-left-error.png) 10 10 10 10 stretch stretch;
}

.chat-entry.my-chat .chat-balloon {
		-webkit-border-image: url(../images/chatview/chat-balloon-right.png) 10 10 10 10 stretch stretch;
}

.chat-entry.my-chat.error .chat-balloon {
		-webkit-border-image: url(../images/chatview/chat-balloon-right-error.png) 10 10 10 10 stretch stretch;
}

.chat-entry.my-chat.status-message .chat-balloon {
		-webkit-border-image: url(../images/chatview/chat-balloon-right-error.png) 10 10 10 10 stretch stretch;
}

.palm-row.chat-entry.historyRow .chat-balloon.selected {
		border-width: 10px;
		-webkit-border-image: url(../images/chatview/chat-balloon-left-selected.png) 10 10 10 10 stretch stretch;
}

.palm-row.chat-entry.historyRow .chat-balloon.selected .im-name-info,
.palm-row.chat-entry.historyRow .chat-balloon.selected .unread-count-wrapper,
.palm-row.chat-entry.historyRow .chat-balloon.selected .custom-message {
		color: #FFF;
}

.chat-entry .chat-balloon .chat-balloon-wrapper {
		margin: -10px -10px -14px -10px;
}

.chat-entry.chatRow .chat-balloon-wrapper {
		margin: 0px;
}

.chat-entry .hideUnreadCount .buddy-list-unread {
		display: none;
}

.chat-entry .title.truncating-text {
		padding: 0px;
		max-width: 170px;
		display: inline-block;
}

.chat-entry .hideUnreadCount .title.truncating-text {
		max-width: 220px;
}

.chat-entry .buddy-list-unread {
		position: static;
		height: auto;
		width: auto;
		padding: 4px -4px 0px -4px;
		margin: -10px 2px;
		display: inline-block;
}

.chat-entry .buddy-list-unread .pill-margin {
		margin: 0px -4px;
}

.chat-entry .avatar {
		margin: 2px 0 0 0;
		display: inline-block;
		float: none;
		vertical-align: middle;
}

.chat-entry .message-container {
		display: inline-block;
		width: 220px;
		vertical-align: middle;
}

.their-chat .message-container {
		width: 255px;
}

.my-chat .message-container {
		width: 280px;
}

.chat-entry .chat-balloon {
		min-height: 26px;
}

.chat-entry.my-chat.status-message {
		font-style: italic;
}

.chat-entry.my-chat.status-message .messageText {
		position: relative;
		top: 5px;
		font-size: 14px;
}

.my-chat .chat-balloon-wrapper, 
.their-chat .chat-balloon-wrapper {
		padding: 1px 0;
		font-size: 18px;
		word-wrap: break-word !important;
}

.their-chat .chat-balloon-wrapper {
		padding-right: 8px;
}

.their-chat .avatar {
		width: 40px;
		height: 40px;
}

/* Hide user avatar */

.my-chat .avatar-location,
.my-chat .avatar-overlay,
.my-chat .avatar-container {
		display: none;
		width: 40px;
		height: 40px;
}

.message.status-success {
		color: #000000;
}

.message.status-pending,
.message.status-failed,
.status-undeliverable {
		color: #999999;
}

.message.priority {
		color: #FF0000;
}

.messageSummary {
		font-weight: bold;
}

.messageError .hide,
.MMS .messageSummary {
		display: none;
}

.download-button {
		display: none;
}

.status-not-yet-delivered .download-button,
.status-retrieving .download-button {
		display: inherit;
}

.status-not-yet-delivered .download-button .palm-button,
.status-retrieving .download-button .palm-button {
		clear: both;
		background: none;
		text-transform: none;
		color: #000;
		font-size: 16px;
		margin: -5px 6px -5px -10px;
		height: 48px;
		line-height: 48px;
		border-width: 0 10px;
		-webkit-box-sizing: border-box;
}

.status-not-yet-delivered .download-button .palm-button {
		-webkit-border-image: url(../images/mms-generic-background.png) 0 10 99 10 stretch stretch;
}

.status-not-yet-delivered .download-button .palm-button.selected,
.status-retrieving .download-button .palm-button.selected {
		-webkit-border-image: url(../images/mms-generic-background.png) 49 10 50 10 stretch stretch;
}

.download-button .active .palm-button {
		-webkit-border-image: url(../images/mms-generic-background.png) 98 10 1 10 stretch stretch;
}

.status-not-yet-delivered .download-button .palm-button .palm-button-wrapper > div:not(.activity-spinner) {
		background: url(../images/mms-icon-generic.png) 2px 5px no-repeat;
		padding: 0 0 0 47px;
		text-align: left;
}

/* hide the icon if a spinner is activated */

.download-button .palm-button .palm-button-wrapper > .activity-spinner:not([style*=none]) ~ div {
		background: none;
		padding-left: 0;
}

.download-button .palm-button .palm-button-wrapper > .palm-activity-indicator-small {
		float: left;
		margin-left: 7px;
		margin-right: 8px;
}

.message .callbackNumber {
		font-style: italic;
}

.MMSImageObject {
/*
		max-width:240px; 
		max-height: 300px;
*/
		display: block;
		padding-top: 4px;
}

.mms-attachment {
		background-color: #CCCCCC;
		border: 1px solid #999999;
		height: 50px;
		width: 100%;
}

.mms-attachment .mms-icon {
		float: left;
		height: 48px;
		width: 48px;
}

.mms-attachment .mms-display-name {
		float: left;
		padding-top: 10px;
		max-width: 165px;
}

.mms-attachment .mms-size {
		float: right;
		padding-right: 5px;
		padding-top: 17px;
		font-size: 12px;
}

.mms-attachment.mms-video .mms-icon {
		background: url(../images/mms-icon-video-new.png) center center no-repeat;
}

.mms-attachment.mms-vcard .mms-icon {
		background: url(../images/mms-icon-vcard-new.png) center center no-repeat;
}

.mms-attachment.mms-vcal .mms-icon {
		background: url(../images/mms-icon-vcal-new.png) center center no-repeat;
}

.mms-video.inline-progress-bar.selected .stream-background.inactive {
		-webkit-border-image: url(../images/mini-player-bg-inactive-down.png) 8 7 6 7 repeat repeat;
}

.mms-generic.inline-progress-bar > .stream-background {
		border-width: 0 10px;
		-webkit-border-image: url(../images/mms-generic-background.png) 0 10 98 10 repeat repeat;
}

.mms-generic.inline-progress-bar.selected > .stream-background {
		-webkit-border-image: url(../images/mms-generic-background.png) 49 10 49 10 repeat repeat;
}

.mms-generic.inline-progress-bar > .stream-background.active {
		-webkit-border-image: url(../images/mms-generic-background.png) 98 10 0 10 repeat repeat;
}

.mms-generic .filetype-icon-image {
		background: url(../images/mms-icon-generic.png) center center no-repeat;
}

.filetype-icon-image.video {
		background: url(../images/mms-icon-video-new.png) center center no-repeat;
}

.mms-image-container {
		padding-top: 4px;
		padding-bottom: 4px;
}

.mms-forward-placeholder {
		margin-left: 7px;
}

.mms-forward-scrim {
		position: absolute;
		bottom: 0;
		left: 7px;
		height: 100%;
		width: 100%;
		background-color: rgba(228,228,226,.6);
}

.mms-forward-bottom-fade {
		height: 54px;
		width: 100%;
		background: url(../images/scroll-fade-bottom.png) repeat-x;
		position: fixed;
		bottom: 0px;
		left: 0px;
		-webkit-palm-mouse-target: ignore;
}

#palm-dialog-box-message #onlineTransportDialogText.show {
		display: inline;
}

#palm-dialog-box-message #onlineTransportDialogText.hide {
		display: none;
}

.popupTransportRow .status {
		float: left;
}

.popupTransportRow .transportIcon {
		float: right;
		border: 1px solid red;
		height: 40px;
		width: 40px;
}

.progress-widget-width {
		width: 240px;
}

.mms-audio-container {
		height: 49px;
}

/* Chat view invitations */

.msg-invitation {
		width: 100%;
		height: 193px;
		position: fixed;
		bottom: 0px;
		background-color: #e4e4e2;
}

.msg-invitation .thick-border {
		width: 100%;
		height: 10px;
		background: url(../images/thick-invitation-border.png) repeat-x;
}

.msg-invitation .invitation-text {
		text-align: center;
		padding: 10px 0px 4px 0px;
		color: #616161;
}

.msg-invitation .palm-button,
 .msg-invitation .palm-button:active {
		margin-bottom: 0px;
}

.msg-invitation .invitation-text .from-text {
		font-size: 14px;
}

/* Chat view text box */

#messageContainer {
		position: fixed;
		bottom: 0px;
		left: 0px;
		width: 320px;
}

/* Force addressing widget to sit on top of
   message body in MMS forward scene */

.mmsforward-scene .addressing-widget {
		position: relative;
		z-index: 1;
}

#messageContainer #messageTextWidget {
		margin-top: 5px;
}

#messageContainer textarea {
		height: 24px;
}

#messageContainer.palm-row .icon.right {
		height: 61px;
}

#messageContainer #attachmentContainer {
		position: relative;
		margin-top: 10px;
}

#messageContainer #attachmentContainer #attachmentImage {
		max-width: 200px;
		max-height: 100px;
}

#messageContainer #attachmentContainer #cancelAttachment {
		width: 48px;
		height: 48px;
		background: url(../images/chatview/delete_picture.png) center center no-repeat;
		position: absolute;
		top: -4px;
		left: -4px;
		padding: 3px;
}

#messageContainer #attachmentContainer #cancelAttachment.selected {
		background: url(../images/chatview/delete_picture_press.png) center center no-repeat;
}

#ActionButton #AttachButton {
		


}

#SendButton {
		


}

.stuck.sendButton {
		background: url(../images/chatview/msg-send-airplane-press.png) top left no-repeat;
		background: url(../images/chatview/msg-send-airplane.png) top left no-repeat;
		width: 48px;
		padding: 0;
		margin: 0px;
		height: 48px;
		position: absolute;
		bottom: 6px;
		right: 6px;
}

.stuck.sendButton.selected {
		background: url(../images/chatview/msg-send-airplane-press.png) top left no-repeat;
}

.stuck.attachButton {
		background: url(../images/chatview/msg-attachment-paperclip-press.png) top left no-repeat;
		background: url(../images/chatview/msg-attachment-paperclip.png) top left no-repeat;
		width: 48px;
		padding: 0;
		margin: 0px;
		height: 48px;
		position: absolute;
		bottom: 6px;
		right: 6px;
}

.stuck.attachButton.selected {
		background: url(../images/chatview/msg-attachment-paperclip-press.png) top left no-repeat;
}

#ActionButton > div {
		display: none;
}

#ActionButton.empty > #AttachButton {
		display: block;
}

#ActionButton.textentry > #SendButton {
		display: block;
}

#ActionButton.invisible {
		visibility: hidden;
}

#ActionButton #SendButton #segmentCounterContainer {
		line-height: 20px;
		display: block;
		height: 20px;
		border-width: 0px 10px 0px 9px;
		-webkit-border-image: url(../images/message-segment-badge.png) 0 10 0 9 stretch stretch;
		position: absolute;
		z-index: 3;
		bottom: 0;
		right: -2px;
}

#ActionButton #SendButton #segmentCounterContainer #segmentCounter {
		font-size: 12px;
		font-weight: bold;
		color: #679BC2;
		margin: 0px -4px 3px -3px;
		/*	padding-left: 2px; */
		/*	padding-top: 3px;*/
}

#ActionButton #SendButton #segmentCounterContainer #segmentCounter.overLimit {
		color: #FF0000;
}

.messageTextWidget {
		overflow: hidden;
		max-height: 220px;
		/* We need a different way to limit the max height so that this is compatible across devices with different screen sizes*/
}

/* List Section Labels, date stamp-style */

.date-stamp-label {
		margin: 0;
		padding: 0 10px;
		height: 32px;
		border-collapse: collapse;
		width: 100%;
		-webkit-box-sizing: border-box;
		display: -webkit-box;
		background: url(../images/chatview/date-stamp-line-short.png) -2px 12px no-repeat, url(../images/chatview/date-stamp-line-right.png) right 12px no-repeat;
}

.date-stamp-label.history-list {
		background: url(../images/chatview/date-stamp-line-short.png) -2px 12px no-repeat;
		padding-right: 0;
}

.date-stamp-label .label {
		color: #ababaa;
		text-shadow: #fff 0px 1px 0px;
		line-height: 32px;
		white-space: nowrap;
		font-weight: bold;
		font-size: 16px;
		text-transform: uppercase;
		padding: 0 3px;
}

.date-stamp-label .label.username, .date-stamp-label .label.date {
		letter-spacing: -1px;
}

.date-stamp-label .label.username {
		-webkit-box-flex: 1;
}

.date-stamp-label .label.date {
		
}

.date-stamp-label .label.sms {
		padding-left: 36px;
		background: url(../images/transports/transport-sms-32x32.png) 2px no-repeat;
}

.date-stamp-label .label.aol {
		padding-left: 36px;
		background: url(../images/transports/transport-aol-32x32.png) 2px no-repeat;
}

.date-stamp-label .label.icq {
		padding-left: 36px;
		background: url(../images/transports/transport-icq-32x32.png) 2px no-repeat;
}

.date-stamp-label .label.gmail {
		padding-left: 36px;
		background: url(../images/transports/transport-gmail-32x32.png) 2px no-repeat;
}

.date-stamp-label .label.yahoo {
		padding-left: 36px;
		background: url(../images/transports/transport-yahoo-32x32.png) 2px no-repeat;
}

.date-stamp-label .center, .date-stamp-label .right {
		min-width: 10px;
		height: 32px;
		vertical-align: middle;
		display: -webkit-box;
		-webkit-box-flex: 100;
		-webkit-box-orient: vertical;
		-webkit-box-pack: center;
}

.date-stamp-label .center div, .date-stamp-label .right div {
		border-width: 0 4px;
		height: 8px;
		-webkit-border-image: url(../images/chatview/date-stamp-line-short.png) 0 4 0 3 stretch stretch;
}

.date-stamp-label .right div {
		border-width: 0 0 0 4px;
}

/* Preferences */

.text-group {


}

.text-group .title {
		line-height: auto !important;
		padding: 0 !important;
		margin-right: -4px;
}

.prefs-account-name-disabled {
		color: #EEE;
}

.icon.messaging-app {
		background-image: url(../images/header-icon-messaging.png) !important;
}

.icon.account-image {
		background: none !important;
		padding-top: 6px;
		padding-left: 8px;
}

.domain-text {
		font-size: 18px;
		padding-top: 5px;
}

.number-text {
		font-size: 18px;
		padding-top: 13px;
}

.login-text {
		font-size: 14px;
		color: #999;
}

.selected .domain-text,
.selected .login-text {
		color: #fff;
}

/* Prefs Extra Content for AIM */

.extra-content .title {
		float: left;
		padding: 0px 0px 0px 15px;
}

.extra-content .link-globe {
		background: url(../images/link-globe.png) center center no-repeat;
		height: 40px;
		width: 29px;
}

.list-selector-container {
		height: 42px;
		float: right;
		border-width: 0px 11px;
		-webkit-box-sizing: border-box;
		-webkit-border-image: url(../images/list-selector-border-image-downstate.png) 0 11 0 11;
		-webkit-border-image: url(../images/list-selector-border-image.png) 0 11 0 11;
		margin-top: 5px;
		margin-right: 5px;
}

.list-selector-container.selected {
		-webkit-border-image: url(../images/list-selector-border-image-downstate.png) 0 11 0 11;
}

.list-selector-wrapper {
		margin: 0px -5px;
}

/* Notifications & Dashboard */

.image-mask img {
		width: 34px;
		height: 34px;
}

.image-mask {
		width: 34px;
		height: 34px;
		overflow: hidden;
		position: absolute;
		right: 7px;
		margin-top: 7px;
}

.image-overlay {
		width: 47px;
		height: 50px;
		background: url(../images/image-overlay-border-dash.png) center center no-repeat;
		position: absolute;
		right: 0px;
		margin-top: 0px;
}

.image-overlay-attachment {
		width: 47px;
		height: 50px;
		background: url(../images/messaging-attachment-clip.png) center center no-repeat;
		position: absolute;
		right: 0px;
		margin-top: 0px;
}

.dashboard-newitem span,
.palm-dashboard-text-container {
		font-size: 16px;
}

.dashboardIcon {
		width: 50px;
		height: 50px;
		float: left;
}

.dashboardMMSImage {
		width: 42px;
		height: 42px;
		margin-top: 3px;
		margin-bottom: 3px;
		margin-right: 2px;
		float: right;
		overflow: hidden;
		background-position: center center;
		background-repeat: no-repeat;
		-webkit-background-size: 42px auto;
}

.dashboardMMSImage.hidden {
		display: none;
}

.dashboardContentContainer .dashboardTopLine {
		font-weight: bold;
		padding-top: 4px;
}

.dashboardContentContainer .dashboardBottomLine {
		
}

.dashboardContentContainer {
		padding-left: 2px;
}

.palm-dashboard-text-container .palm-dashboard-text {
		max-width: 200px;
		overflow: hidden;
		text-overflow: ellipsis;
}

.notification-message {
		position: relative;
		margin: 10px;
}

.notification-message .notification-text {
		font-size: 16px;
		color: #fff;
}

.notification-message .notification-text .title {
		font-size: 18px;
		font-weight: bold;
		color: #fff;
}

/* Statuses in dashboard */

.dashboard-title {
		height: 20px;
		max-width: 200px;
}

.dashboard-title .topLine {
		float: left;
		max-width: 176px;
		overflow: hidden;
		text-overflow: ellipsis;
}

.dashboard-title .presence {
		float: left;
		width: 24px;
		height: 24px;
}

.hinted {
		color: gray;
}

/* Full Screen Image View */

#imageViewMain #imageViewSave {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
}

/* Dashboard Icon Style */

.palm-dashboard-icon.messaging.single {
		background: url(../images/notification-large-messaging.png) center left no-repeat;
}

.palm-dashboard-icon.messaging.multi {
		background: url(../images/notification-large-messaging-mult.png) center left no-repeat;
}

.has-im-account .filter-field-container {
		z-index: 11000;
}

.has-im-account .filter-field-container.filter-field-container-height {
		height: 94px;
}

#buddyListContainer .palm-page-header {
		position: absolute;
		top: 0px;
		width: 100%;
}

#buddyListContainer .palm-page-header .spacer {
		height: 50px;
		width: 100%;
}

.listview-presence-section {
		background-color: #C5C5C5;
		width: 100%;
}

.has-im-account .palm-menu-spacer {
		height: 50px !important;
}

.has-im-account .palm-menu.view-menu.palm-default {
		top: 0px !important;
}

.palm-dashboard-icon.personal-reminder {
		background: url(../images/personal-reminder-notification.png) center center no-repeat;
}

.personal-reminder-icon-small {
		background: url(../images/personal-reminder-icon-small.png) center center no-repeat;
}

#im-links .palm-row .title {
		padding: 9px 14px;
}

.list-view,
.history-list {
		height: 100%;
}