.chatbox {
	background-color: #fff;
	box-shadow: 0px 0px 2px 0px #4E616D;
	position: fixed;
	position:expression("absolute");
	width: 250px;
	display: none;
	right: 0;
	bottom: 0;
	z-index: 9999;
}
.chatboxhead {
	background-color: #13A89E;
	padding: 7px;
	color: #ffffff;
	border-right: 1px solid #13A89E;
	border-left: 1px solid #13A89E;
	cursor: pointer;
}
.chatboxblink {
	background-color: #176689;
	border-right:1px solid #176689;
	border-left:1px solid #176689;
}
.chatboxcontent {
	background-color: #EDEEF1;
	font-family: arial,sans-serif;
	font-size: 13px;
	color: #333333;
	height:200px;
	overflow-y:auto;
	overflow-x:auto;
	padding:7px;
	line-height: 1.3em;
	width: 100%;
}

.chatboxinput {
	padding: 0;
	background-color: #ffffff;
	border: none;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
.chatboxtextarea {
	width: 100%;
	height: 44px;
	padding: 5px;
	border-top: 1px solid rgba(0, 0, 0, .15);
	border-right: none;
	border-bottom: none;
	border-left: none;
	margin: 0;
	max-width: 100%;
	overflow: hidden;
}
.chatboxtextarea:focus{
	outline: none;
}
.chatboxtextareaselected {
	border: 1px solid #13A89E;
	margin:0;
}

.chatboxmessage {
	margin-left:1em;
}

.chatboxinfo {
	margin-left:-1em;
	color:#666666;

}

.chatboxmessagefrom {
	margin-left:-1em;
	font-weight: bold;
}

.chatboxmessagecontent {
}
.chatboxoptions {
	float: right;
}
.chatboxoptions a {
	text-decoration: none;
	color: white;
	font-weight: bold;
	padding: 3px 6px;
	margin: 0 1px;;
}
.chatboxoptions a:hover{
	background-color:#3DBFB7;
}
.chatboxtitle {
	float: left;
}
.newmessage {
	cursor: pointer;
	position: absolute;
	left: 5px;
	top: -20px;
}
.newmessage .fa{
	color: #FFB240;
	font-size: 28px;
}
.newmessage .chat-count{
	font-size: 12px;
	position: absolute;
	left: 10px;
	top: 5px;
	color: white;
	font-weight: bold;
}
.chatboxcontent .chatboxmessage.rec:last-child{
	margin-bottom: 20px;
}
.chatboxcontent .chatboxmessage.me:last-child{
	margin-bottom: 20px;
}
.chatboxmessage.me .chatboxmessagecontent{
	text-align: left;
	background-color: #E0EDFF;
	padding: 2px 8px 2px 4px;
	border: 1px solid #ccc;
	border-radius: 5px 5px 0px 5px;
	width: auto;
	float: right;
	margin-left: 0;
	margin-bottom: 2px;
}
.chatboxmessage.me .chatboxmessagefrom{

}
.chatboxmessage.rec{
	position: relative;
	float: left;
	margin: 0 0 5px 0 ;
}
.chatboxmessage.me{
	position: relative;
	margin: 0 0 5px 1em;
}
.chatboxcontent hr {
	float: left;
	width: 100%;
	margin: 0;
}
.chatboxmessage.rec .chatboxmessagefrom {
	margin: 0;
	float: left;
	border-radius: 4px 0px 0px 4px;
	border: 1px solid #ddd;
	overflow: hidden;
	display: inline-block;
}
.rec .chatboxmessagecontent {
	text-align: left;
	background-color: #fff;
	padding: 2px 5px 2px 5px;
	border: 1px solid #ddd;
	border-radius: 0 5px 5px 5px;
	width: auto;
	float: left;
	margin: 0 0 4px 4px;
	max-width: 75%;
}




.chat-sidebar
{
	width: 200px;
	position: fixed;
	height: 100%;
	right: 0px;
	top: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
	border: 1px solid rgba(29, 49, 91, .3);
    z-index: 999999;
}

.chat-sidebar .sidebar-name
{
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 4px;
	font-size: 12px;
}

.chat-sidebar .sidebar-name span
{
	padding-left: 5px;
}

.chat-sidebar .sidebar-name a
{
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.chat-sidebar .sidebar-name:hover
{
	background-color:#e1e2e5;
}

.chat-sidebar .sidebar-name img
{
	width: 32px;
	height: 32px;
	vertical-align:middle;
}

/*sam 24 5 16*/
div[id^='collapseOnlineUsers'].s-onlineuser {
	background-color: #f5f5f5;
}
.chatbox .chatboxtitle i.fa {
	margin-right: 7px;
}
div[id^='collapseOnlineUsers'].s-onlineuser span.badge {
	font-size: 10px;
	padding: 1px;
	font-weight: 400;
	text-align: center;
	margin-top: 0;
	background-color: transparent;
	line-height: 1.65em;
	float: left;
	line-height: 20px;
	color: #4E616D;
}
div[id^='collapseOnlineUsers'].s-onlineuser span.on-chat {
	width: 85%;
	display: inline-block;
	padding-right: 0;
}
.s-onlineuser span.on-chat img {
	display: inline-block;
	vertical-align: middle;
}
.s-onlineuser span.on-chat span {
	margin-left: 10px;
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
	max-width: 80%;
	vertical-align: middle;
	padding-right: 0 !important;
}
div#updates {
	float: left;
	margin: 0 0 5px 0;
}
div#updates img{
	float: left;
}
div#updates span.text-muted {
	background-color: #fff;
	float: left;
	padding: 6px 10px 4px 10px;
	border-radius: 0 3px 3px 0;
	margin-top: -1px;
}
div#updates span.text-muted i.fa {
	font-size: 14px;
	color: #13A89E;
}
#onlineUsers tbody a {
	position: relative;
}
#onlineUsers span.status{
	width: 8px;
	height: 8px;
	border-radius: 50%;
	float: left;
	padding: 0;
	margin-left: 3px;
	margin-top: 8px;
	margin-right: 0px;
}
#onlineUsers span.status.offline{
	background-color: #C9C9C9;
}
#onlineUsers span.status.online{
	background-color: #99b625;
}
.s-onlineuser .panel-body{
	padding: 0;
	max-height: 265px;
	overflow: auto;
}
#onlineUsers tbody a span{
	padding:0;
}

.login-page, .register-page {
    background: rgba(108, 108, 108, 0.74)  !important;
}
.login-logo a, .register-logo a {
    color: white  !important;
}
.login-box-body, .register-box-body {
    background: #635e9b !important;
    padding: 20px !important;
    border-top: 0 !important;
    color: white !important;
}
button.btn.btn-primary.btn-block.btn-flat {
    background: white !important;
    color: #333 !important;
}
.login-box-body a {
    color: white !important;
}
.login-logo, .register-logo {
    font-size: 35px;
    border-bottom: 4px solid white;
    background: #635e9b;
    margin: 0 !important;
}
button.btn.btn-primary.btn-block.btn-flat:hover {
    background: #929292 !important;
    border: none;
    color: white !important;
}
.login-box-body a:hover {
    text-decoration: underline;
}