#chatContainer{
	font-size:12px;
}


/* Top Bar */


#chatTopBar{
	height:41px;
	background-color:#fff;
	position:relative;
	color:#777;
	border-bottom: 1px solid #d5d7de;
}

#chatTopBar .name{
	position:absolute;
	top:8px;
	left:50px;
}

#chatTopBar img{
	left:10px;
	position:absolute;
	top:5px;
}


/* Chats */


#chatLineHolder{
	height:259px;
	background-color: #ffffff;
	width:100%!important;
	/*margin-bottom:20px;*/
	overflow: hidden;
}
.jspContainer {
    width: 100% !important;
}
.jspPane {
    width: 100% !important;
}
.chat{
	background:#ffffff;
	border: 1px solid #d5d7de;
	width: 80%;
	float: left;
	/*padding:8px 10px 8px 10px;*/
	position:relative;
	margin:0;
	bottom: unset;
	left: unset;
	display: block;
	margin-left:15px;
	margin-bottom:10px;
	border-radius: 5px;
}
.chat:first-child{
	margin-top:10px;
}
.chat.current{
	float:right;
	margin-left:0px;
	margin-right:15px;
}
.chat:last-child{
	/*margin-bottom:0;*/
}

.chat span{
	color:#777777;
	text-shadow:1px 1px 0 #FFFFFF;
	font-size:12px;
}

.chat .text{
	color:#444444;
	display:inline-block;
	font-size:12px;
	overflow:hidden;
	vertical-align:top;
	width: 65%;
	padding: 8px 10px;
	float:left;
	
	width: 75%;
	padding: 16px 10px;
}

.chat .gravatar{
	background:url('http://www.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?size=23') no-repeat;
	left:7px;
	position:absolute;
	top:7px;
}

.chat img{
	display:block;
	visibility:visiable;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	margin: 0 auto;
	border: 1px solid #ccc;
}

.chat img.attch_img
{
	visibility:visible;
	display: inline;
}

.chat .time{
	/*position:absolute;
	right:10px;
	top:12px;*/
	float: left;
    font-size: 12px;
    padding: 8px 10px;
	
	padding: 16px 10px;
	float: right !important;

}
.chat.current .time{
	float:left !important;
}
.chat .author{
	/*background-color: #f7f8fa;*/
	font-weight: bold;
    color: #777777;
    float: left;
    font-size: 12px;
    padding: 8px 10px;
    width: 10%;
	text-align: center;
}
.chat .author.current{
	background: none;
	font-weight: normal;
}
.chat.current .author,.chat.current .text, .chat.current .time{
	float:right;
}
.chat.current .text{
	text-align:right;
}
/*file upload*/
.attch_file{
    display: none;
}
.file-upload-block {
    border: 1px solid #e2e2e4;
    border-radius: 3px 0 0 3px;
    cursor: pointer;
    display: inline-block;
    height: 29px;
    margin-bottom: 0;
    padding: 3px 8px;
    vertical-align: middle;
    width: 5%;
	background-color: #f7f8f9;
	/*margin-right: 5px;*/
}
/*
#chatBottomBar > form#submitForm {
    display: inline !important;
}*/
/* Chat User Area */


#chatUsers{
	background-color:#E5E8EF;
	right:0;
	top:56px;
	width:100%;
	overflow-y:scroll;
	height: 100%;
}

#chatUserStatus a {
	display: block;
    padding: 5px 14px;
}

#chatUsers .user{
	/*background:url('http://www.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?size=30') no-repeat 1px 1px #444444;
	border:1px solid #111111;*/
	/*float:left;
	height:32px;
	margin:10px 0 0 10px;
	width:32px;*/
	padding:8px;
	display:block;
	color:#32383b;
	border-bottom: 1px solid #e5e8ef;
}
#chatUsers .user:hover{
	background-color:#F2F4F7;
}
#chatUsers .user.active{
	background-color:#F2F4F7;
}
#chatUsers .user img{
	/*border:1px solid #444444;*/
	/*display:block;*/
	/*visibility:hidden;*/
}
#chatUserStatus {
    background-color: #d5d7de;
    min-height: 41px;
	position: relative;
	color: #96979a;
	padding: 5px 14px;
}
#chatUserStatus > ul {
    list-style-type: none;
    position: absolute;
    width: 100%;
	background-color: #d5d7de;
	z-index: 99999;
}
#chatUserStatus > ul.hide_ul {
	display:none;
}
#chatUserStatus > ul.show_ul {
	display:block;
}
.status_block {

    font-size: 12px;
    display: inline-block;

}
/*
#chatUsers::-webkit-scrollbar{
	width:8px;
	background-color:#eeeeee;
}
#chatUsers::-ms-scrollbar{
	width:8px;
	background-color:#eeeeee;
}
#chatUsers::-moz-scrollbar{
	width:8px;
	background-color:#eeeeee;
}
#chatUsers::scrollbar{
	width:8px;
	background-color:#eeeeee;
}
#chatUsers::-webkit-scrollbar-thumb{
	background-color:#F7F7F7;
	
}
#chatUsers::-webkit-scrollbar-thumb:hover{
	background-color:#BF4649;
	border:1px solid #333333;
}
#chatUsers::-webkit-scrollbar-thumb:active{
	background-color:#A6393D;
	border:1px solid #333333;
} 
#chatUsers::-webkit-scrollbar-track{
border:1px #eeeeee solid;
border-radius:0px;
-webkit-box-shadow:0 0 6px #eeeeee inset;
} 
*/



.down_arrow_box {
    background-color: #96979a;
    border-radius: 2px;
    color: #ffffff;
    float: right;
    padding: 0 4px;
	margin: 6px 0;
}
#chatUserStatus img {
    border: 2px solid #ffffff;
    padding: 1px;
	display:inline-block;
	margin-right:5px;
}
#chatUserStatus > a
{
	color: #96979a;
}
#chatUserStatus ul li {
    border-top: 1px solid #cccccc;
    padding: 8px 14px;
	cursor: pointer;
}
#chatUserStatus ul li:hover {
    background-color:#f2f4f7;
}
/* Bottom Bar */


#chatBottomBar{
	position:relative;
	padding:10px;
	background-color:#f6f6f6;
	min-height: 48px;
	border-top:1px solid #d5d7de;
}

#chatBottomBar .tip{
	position:absolute;
	width:0;
	height:0;
	border:10px solid transparent;
	border-bottom-color:#eeeeee;
	top:-20px;
	left:20px;
}

#chatContainer input{
	background-color:#fff;
	border:1px solid #E2E2E4;
	height:29px;
	font:13px/26px Calibri,Arial,sans-serif;
	color:#777;
	text-shadow:1px 1px 0 #E4E4E4;
	padding:0 5px;
	margin-right:1%;
	width:185px;
	outline:none;
	margin-right: 5px;
}


#loginForm{
	display:none;
}

input#chatText{
	width: 94%;
	border: 1px solid #ddd;
	display: inline-block;
	margin-left: 10px;
}


/* Overloading the default styles of jScrollPane */


.jspVerticalBar{
	background:none;
	width:20px;
}

.jspTrack{
	background-color:#202020;
	border:1px solid #111111;
	width:3px;
	right:-10px;
}

.jspDrag {
	background:url('../img/slider.png') no-repeat;
	width:20px;
	left:-9px;
	height:20px !important;
	margin-top:-5px;
}

.jspDrag:hover{
	background-position:left bottom;
}


/* Additional styles */


a.logoutButton{
	background-color:#bbb;
	border:1px solid #eee !important;
	color:#FFFFFF !important;
	font-size:12px;
	padding:5px 9px;
	position:absolute;
	right:10px;
	text-shadow:1px 1px 0 #888;
	top:7px;
	
	-moz-box-shadow:0 0 7px #888 inset;
	-webkit-box-shadow:0 0 7px #888 inset;
	box-shadow:0 0 7px #888 inset;
}

a.logoutButton:hover{
	text-shadow:1px 1px 0 #888;
	
	-moz-box-shadow:0 0 7px #666 inset;
	-webkit-box-shadow:0 0 7px #666 inset;
	box-shadow:0 0 7px #666 inset;
}

#chatContainer .blueButton{
	background-color: #ff6c60;
    border: medium none !important;
    border-radius: 5px;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    height: 29px;
    margin: 0;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
    width: 15%;
}

#chatContainer .blueButton:hover{
	background-position:left bottom;
}


#chatUsers .count{
	clear:both;
	font-size:12px;
	padding:8px 10px;
	border-bottom: 1px solid #d5d7de;
	margin-bottom:0px;
	/*text-align:center;*/
	/*text-shadow:1px 1px 0 #111111;*/
}
form {margin-bottom:0px;}
p.noChats{
	clear:both;
	font-size:12px;
	padding:10px;
	text-align:center;
	/*text-align:center;*/
	/*text-shadow:1px 1px 0 #111111;*/
}
#chatUsers .count{
	font-size:12px;
}
i.Available
{
	color:#A9D86E;
}
i.Offline{
	color:#A1A1A1;
}
i.Busy
{
	color:#FF6C60;
}
i.Away
{
	color:#FCB322;
}

/*
.rounded{
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
}*/

#chatErrorMessage{
	width:100%;
	top:40px;
	left:0;
	position:absolute;
	background-color:#ed4e4e;
	border-bottom:1px solid #d32a2a;
	font-size:18px;
	padding:8px 16px;
	text-align:center;
	color:#fff;
	z-index: 9999;
	text-shadow:1px 1px 0 #940f0f;
}
#chatSuccessMessage{
	width:100%;
	top:40px;
	left:0;
	position:absolute;
	background-color:#A9D86E;
	border-bottom:1px solid #A9D86E;
	font-size:18px;
	padding:8px 16px;
	text-align:center;
	color:#fff;
	z-index: 9999;
}
.left_side_bar {
    /*border: 1px solid #ff9f00;*/
	height:472px;
}
.right_side_bar{
	border: 1px solid #ff9f00;
}


/********** responsive style ***********/
@media (min-width: 768px) and (max-width: 979px) {
	.chat .time {
		width: 16% !important;
	}
	.chat {
		width: 98%;
	}
	.file-upload-block {
		width:6%;
	}
	input#chatText {
    	width: 76%;
	}
}
@media (max-width: 767px) {
	.chat .time {
		width: 16% !important;
	}
}
@media (max-width: 480px) {
	.chat .author {
		display: none;
	}
	.chat .time {
		width: 22% !important;
	}
	.chat {
		width: 99%;
	}
	.chat .text {
		width: 78% !important;
	}
	.file-upload-block {
		width:9%;
	}
	input#chatText {
		width: 72%;
	}
	.chat.current .text {
		text-align: right;
	}
}
@media (max-width: 360px) {
	.file-upload-block {
		width:10%;
	}
	input#chatText {
		margin-right: 0 !important;
		width: 90% !important;
	}
	#chatContainer .blueButton {
		margin-top:5px;
	}
	.chat {
		width: 100%;
	}
}
@media (max-width: 320px) {
	.file-upload-block {
		width:12%;
	}
	input#chatText {
		width: 88% !important;
	}
}