/* messaging styles will go in here */
#sidePanel.messaging
{
	background-color:#e5e5e8;
	z-index: 9;
}

.messagingPanelContents .classSection
{	
	font-family:"helvetica neue",sans-serif;
	font-size: 23px;
	font-style: normal;
	color: black;
	border: 1px solid #ccc;
	border-left: 10px solid #9482b3;
	margin-top:16px;
	margin-bottom: 28px;
	background-color: #fff;
	-moz-box-shadow: 3px 3px 4px #ccc;
	-webkit-box-shadow: 3px 3px 4px #ccc;
	box-shadow: 3px 3px 4px #ccc;
	width:auto;
	line-height: normal;
	position: relative;
	min-height: 45px;
}

#messagingChatBox tr td {
    padding: 0;
    vertical-align: middle;
}

.messagingPanelContents .classSection .classSectionHeader
{
	cursor:pointer;
	padding-left:10px;
	padding-right: 46px;
	min-height: 50px;
	display:table;
	width:190px;
}

.messagingPanelContents .classSection.archivedClass
{
	display:none;
}

.messagingPanelContents .classSectionHeader .classSectionHeaderInner
{
	display:table-cell;
	vertical-align: middle;
	height: 50px;
}


.messagingPanelContents .classSectionHeader.closed
{
	background: url("/ebook/resources/images/messaging-closed-arrow.png") white;
	background-repeat: no-repeat;
	background-position: right 5px center;
}
/*
	background-position: right 5px top 5px;
	padding-top:5px;
*/

.messagingPanelContents .classSectionHeader.open
{
	background: url("/ebook/resources/images/messaging-open-arrow.png");
	background-repeat: no-repeat;
	background-position: right 5px center;
}

.messagingPanelContents .classSection .classContents
{
	display:none;
}

.messagingPanelContents .classSection .classContents .userSectionHeader
{
	cursor:pointer;
	border-bottom:1px solid silver;
	padding-left:10px;
	padding-right: 46px;
	font-family: "helvetica neue",sans-serif;
	font-weight: 700;
	font-size:18px;
	min-height:39px;
	line-height:  39px;
	position:relative;
}

.messagingPanelContents .classSection .classContents .userSectionHeader.closed
{
	background: url("/ebook/resources/images/message-menu-closed.png");
	background-repeat: no-repeat;
	background-position: 220px 15px;
}


.messagingPanelContents .classSection .classContents .userSectionHeader.open
{
	background: url("/ebook/resources/images/message-menu-open.png");
	background-repeat: no-repeat;
	background-position: 220px 15px;
}

.messagingPanelContents .classSection .classContents .userSectionHeader.user,
.messagingPanelContents .classSection .classContents .userSectionHeader.group
{
	padding-left:32px;
	padding-right:0px;
}

.messagingPanelContents .classSection .classContents .userSectionHeader.createNewGroup
{
	display:none;
}

.messagingPanelContents .classSection .classContents .userSectionHeader .messagePanelHeaderIcon
{
	margin-right:15px;
	vertical-align:  center;
}

.messagingPanelContents .classSection .classContents .userSectionHeader.user .messagePanelHeaderIcon
{
	height:25px;
	width:25px;
}

.messagingPanelContents .classSection .classContents .studentListing,
.messagingPanelContents .classSection .classContents .groupListing,
.messagingPanelContents .classSection .classContents .closedGroupListing,
.messagingPanelContents .classSection .classContents .inactiveStudentListing
{
	display:none;
}

.messagingPanelContents .classSection.sbSection
{
	padding-right:0px;	
	cursor: pointer;
}

.messagingPanelContents .classSection.sbSection img
{
	display: inline;
	margin-right: 10px;
}


/*.messagingPanelContents .classSection .arrowIndicator{
	height:33px;
	width:33px;
	position:absolute;
	top: 10px;
	left: 210px;
}
*/
#messagingChatBox
{
	width: 456px;
	position:fixed;
	z-index: 1050;
	background-color: #F2F2F2;
	border: 1px solid black;
	-moz-box-shadow: 3px 3px 4px #ccc;
	-webkit-box-shadow: 3px 3px 4px #ccc;
	box-shadow: 3px 3px 4px #ccc;
	bottom:0px;
	right:20px;
}

#messagingChatBox.fullscreenChat
{
	width: auto;
	position: static;
	height:95%;
}


#messagingChatBox .headerBar
{
	min-height:23px;
	color:white;
	font-family: "helvetica neue", sans-serif;
	font-size: 16px;
	background-color:#30353a;
	text-align:center;
	position:relative;
	padding-left:50px;
	padding-right:25px;

}

#messagingChatBox .headerBar.closed
{
	cursor: pointer;
}

#messagingChatBox .headerBar img {
	vertical-align: baseline;
}

#messagingChatBox .headerBar .messageCloseIcon
{
	position:absolute;
	top: 2px;
	left: 5px;
	height: 16px;
	width: 16px;
	cursor:pointer;
}

#messagingChatBox .headerBar .messageMinimizeIcon
{
	position:absolute;
	top: 2px;
	left: 30px;
	height: 18px;
	width: 18px;
	cursor:pointer;
}

#messagingChatBox .headerBar h3.messageTitle {
	color: inherit;
	font-size: inherit;
	font-family: inherit;
	font-weight: normal;
	margin: 0;
	line-height: 23px;
}

#messagingChatBox .headerBar .groupLockIcon
{	
	position:absolute;
	top: 2px;
	right:8px;
	width:18px;
	height:20px;
}

#messagingChatBox.fullscreenChat .headerBar .groupEditIcon
{
	position:absolute;
	top: 8px;
	right: 53px;
	width:34px;
	height:26px;
	cursor:pointer;
}

#messagingChatBox.fullscreenChat .headerBar .groupLockIcon
{
	position:absolute;
	top: 8px;
	right:10px;
	width:33px;
	height:25px;
}

#messagingChatBox.fullscreenChat .headerBar .groupLockIcon.clickable
{
	cursor: pointer;
}

#messagingChatBox .headerBar .groupEditIcon, #messagingChatBox.fullscreenChat .headerBar .groupLockIcon
{
	display:none;
}

#messagingChatBox.fullscreenChat .headerBar .groupEditIcon, #messagingChatBox.fullscreenChat .headerBar .groupLockIcon
{
	display:block;
	margin-top: -5px;
}

#messagingChatBox.fullscreenChat .headerBar .messageCloseIcon, #messagingChatBox.fullscreenChat .headerBar .messageMinimizeIcon
{
	display:none;
}

#messagingChatBox.fullscreenChat .headerBar
{
		background-color: #b5aece;
		font-size:28px;
		line-height:40px;
		height:40px;
		color:#404040;
		text-align:left;
		font-family: "helvetica neue", sans-serif;
		font-weight: 400;
		padding-left:15px;

}

#messagingChatBox .groupNameHeader
{
	font-family: "helvetica neue", sans-serif;
	border-bottom:1px solid #eee;
	-moz-box-shadow: 0px 3px 4px #ccc;
	-webkit-box-shadow: 0px 3px 4px #ccc;
	box-shadow: 0px 3px 4px #ccc;
	padding-left:9px;
}

#messagingChatBox .addStudentHeader
{
	min-height:50px;
	font-family: "helvetica neue", sans-serif;
	border-bottom:1px solid #eee;
	-moz-box-shadow: 0px 3px 4px #ccc;
	-webkit-box-shadow: 0px 3px 4px #ccc;
	box-shadow: 0px 3px 4px #ccc;
	position:relative;
	font-size: 20px;
	color:black;
	line-height:50px;
	padding-left:15px;
}

#messagingChatBox .addStudentHeader textarea.messageRecipients, 
#messagingChatBox .groupNameHeader textarea.newGroupName,
#messagingChatBox .groupNameHeader textarea.editGroupName
{
	border:none;
	background: none;
	height:25px;
	resize:none;
	font-family: "helvetica neue", sans-serif;
	font-size: 20px;
	color:black;
}

#messagingChatBox .addStudentHeader textarea.messageRecipients
{
	margin-top:12px;
	margin-left:12px;
}


#messagingChatBox .groupNameHeader textarea.newGroupName::-webkit-input-placeholder
{
	color: black;
}

#messagingChatBox .groupNameHeader textarea.newGroupName::-moz-input-placeholder
{
	color: black;
}

#messagingChatBox .recipientHeader
{
	color:black;
	font-family: "helvetica neue", sans-serif;
	font-size: 20px;
	line-height: 33px;
}

#messagingChatBox .chatRecipient
{
	margin-top:10px;
	background-color:#d8d8e7;
	color:#404040;
	font-family: "helvetica neue", sans-serif;
	font-size: 20px;
	border-radius: 12px;
	border:none;
	height:33px;
	display:inline-block;
	line-height: 33px;
	padding-left:3px;
	padding-right:3px;
	margin-left: 10px;
}

#messagingChatBox .chatRecipient .accountIcon
{
	height:20px;
	width:20px;
	margin:3px;
}

#messagingChatBox .chatRecipient .removeUser
{
	cursor:pointer;
	margin:3px;
	display:inline-block;
	margin-top:0px;
}

#messagingChatBox .chatArea
{
	height:230px;
	overflow-y:auto;
	font-family: "helvetica neue";
	background-color:white;
	position:relative;
}

#messagingChatBox.fullscreenChat .chatArea
{
	height: 400px;
}

#messagingChatBox .chatMessageContainer
{
	clear:both;
	margin-top:7px;
	margin-bottom:7px;
}

#messagingChatBox .messageBubble .messageContent
{
	width: auto;
	margin-left:2%;
	margin-right:2%;
	background-color: #e8e8e8;
	padding: 5px;
	border-radius:10px;
}

#messagingChatBox .chatMessageContainer.teacherMessageClass
{
	text-align:right;
}

#messagingChatBox .messageBubble .messageArrow
{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 15px 0 0;
	border-color: #e8e8e8 transparent transparent transparent;
	margin-left:5%;
	clear:both;
}

#messagingChatBox .chatMessageContainer.teacherMessageClass .messageBubble .messageArrow
{
	margin-left:90%;
	border-style: solid;
	border-width: 0px 15px 15px 0;
	border-color: transparent  #e8e8e8 transparent transparent;
}

#messagingChatBox .messageSignature
{
	clear:both;
	margin-left:2%;
	margin-right:2%;
}


#messagingChatBox .messageSignature img
{
	width: 25px;
	height:25px;
	float:left;
	margin-right:7px;
	margin-left:0px;
}

#messagingChatBox .chatMessageContainer.teacherMessageClass .messageSignature img
{
	float:right;
	margin-right:0px;
	margin-left:7px;
}


#messagingChatBox .submissionArea
{
	height:60px;
	padding-top:5px;
	vertical-align: center;
}

#messagingChatBox.fullscreenChat .submissionArea 
{
	padding-bottom:5px;
	height:70px;	
}

#messagingChatBox .submissionArea textarea
{
	margin-right:10px;
	margin-left:10px;
	height:55px;
	width:341px;
	border-radius: 15px;
	font-family: "helvetica neue";
	font-size:14px;
	color: #000000;
	resize: none;
    -webkit-box-sizing: border-box; /* <=iOS4, <= Android  2.3 */
       -moz-box-sizing: border-box; /* FF1+ */
            box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
}


#messagingChatBox.fullscreenChat .submissionArea textarea
{
	width:90%;
}

#messagingChatBox .submissionArea table
{
	width:100%;
	border:none;
	border-spacing:none;
}

#messagingChatBox.fullscreenChat .submissionArea .sendTextCell
{
padding:2px;
}


#messagingChatBox.fullscreenChat .submissionArea .sendButtonCell
{
	padding:0px;
	padding-left:10px;
	padding-right:10px;
	width:55px;
	text-align:center;
}


#messagingChatBox .submissionArea .sendButtonDiv
{
	border-radius: 15px;
	border:1px solid #939292;
	color: #000000;
	height:54px;
	width:54px;
	font-family: "helvetica neue";
	box-shadow:none;
	background-color:white;
	cursor:pointer;
	text-align:center;
	line-height: 54px;
	margin-left:10px;
	margin-right:10px;
	margin-top:-6px;
	float:right;
}


#messagingChatBox.fullscreenChat .submissionArea .sendButtonDiv
{
}


#messagingChatBox #groupClassSelect, 
#messagingChatBox #groupStudentSelect
{
	width:300px;
	position:absolute;
	top: 10px;
}

#messagingChatBox #groupClassSelect
{
	left: 10px;
}

#messagingChatBox #groupStudentSelect
{
	left: 320px;
}

.messageNotification 
{
	z-index:12;
}

#messagingToolButton img.messageNotification
{
	position:absolute;
	top:115px;
	right:0px;
	height:25px;
	width:25px;
}

.messagingPanelContents .classSection .classSectionHeader img.messageNotification
{
	position:absolute;
	top:4px;
	left:173px;

	height:38px;
	width:38px;
}

.messagingPanelContents .classSection .announceToClass img.messageNotification, 
.messagingPanelContents .classSection .user img.messageNotification
{
	position:absolute;
	top:0px;
	right:10px;
	height:38px;
	width:38px;
}

#messageAlertContainer
{
	display:none;
	position:absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	width:452px;
	height:auto; 
	text-align:center;
	border:1px solid #272727;
	color: #6e6d6c;
	border-radius:15px;
	-moz-box-shadow: 3px 3px 4px #ccc;
	-webkit-box-shadow: 3px 3px 4px #ccc;
	box-shadow: 3px 3px 4px #ccc;
}

#messageAlertContainer .messageAlertTitle
{
	font-size: 21pt;
	font-family: "helvetica neue";
	line-height: normal;
}

#messageAlertContainer .messageAlertBody
{
	font-size: 13pt;
	font-family: "helvetica neue";
	line-height: normal;
	color: #272727;
}

#messageAlertContainer .messageAlertOptions
{
	font-size:14pt;
}

#messageAlertContainer .messageAlertOptions .buttonDiv
{
	border:1px solid #272727;
	border-radius: 15px;
	margin-left:10px;
	margin-right:10px;
	margin-top:10px;
	margin-bottom:10px;
	padding-left:20px;
	padding-right:20px;
	cursor:pointer;
	display: inline-block;
	line-height: normal;
}

.ui-autocomplete
{
	height:500px;
	overflow:auto;
}
