@media only screen and (max-width : 540px) {

	.chat-sidebar {
		display: none !important;
	}
               
	.chat-popup {
		display: none !important;
	}
}
           
body {
	background-color: #e9eaed;
}
           
.chat-sidebar {
	width: 200px;
    position: fixed;
    height: 400px;
    right: 0px;
    padding-top: 0px;
    padding-bottom: 10px;
    border: 1px solid rgba(29, 49, 91, .3);
	position:fixed;
	bottom:0px;
	right:0px;	
}

.chat-sidebar-min {
	width: 200px;
    position: fixed;
    height: 15px;
    right: 0px;
    padding-top: 0px;
    padding-bottom: 10px;
    border: 1px solid rgba(29, 49, 91, .3);
	position:fixed;
	bottom:0px;
	right:0px;
}

.chat-sidebar .popup-head, .chat-sidebar-min .popup-head {
	background: url ('../img/barbg.png') repeat-x;
	padding: 5px;
	color: white;
	font-weight: bold;
	font-size: 14px;
	clear: both;
	cursor:pointer;
}

.chat-sidebar .popup-head .popup-head-left, .chat-sidebar-min .popup-head .popup-head-left {
	float: left;
}
           
.chat-sidebar .popup-head .popup-head-right, .chat-sidebar-min .popup-head .popup-head-right {
	float: right;
	opacity: 0.5;
}
           
.chat-sidebar .popup-head .popup-head-right a, .chat-sidebar-min .popup-head .popup-head-right a {
	text-decoration: none;
	color: inherit;
}
           
.sidebar-name {
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 4px;
	font-size: 12px;
}
           
.sidebar-name span {
	padding-left: 5px;
}
           
.sidebar-name a {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}
           
.sidebar-name:hover {
	background-color:#e1e2e5;
}
           
.sidebar-name img {
	width: 32px;
	height: 32px;
	vertical-align:middle;
}
           
.popup-box {
	display: none;
	position: fixed;
	bottom: 0px;
	right: 220px;
	height: 285px;
	background-color: #FFFFFF; /*rgb(237, 239, 244);*/
	width: 300px;
	border: 1px solid rgba(29, 49, 91, .3);
	z-index:3;
}

.popup-box-min {
	display: none;
	position: fixed;
	bottom: 0px;
	right: 220px;
	height: 30px;
	background-color: rgb(237, 239, 244);
	width: 300px;
	border: 1px solid rgba(29, 49, 91, .3);
	z-index:3;
}
           
.popup-box .popup-head, .popup-box-min .popup-head {
	background: url('../img/barbg.png') repeat-x;
	padding: 5px;
	color: white;
	font-weight: bold;
	font-size: 14px;
	clear: both;
	cursor:pointer;
}
           
.popup-box .popup-head .popup-head-left, .popup-box-min .popup-head .popup-head-left {
	float: left;
}
           
.popup-box .popup-head .popup-head-right, .popup-box-min .popup-head .popup-head-right {
	float: right;
	opacity: 0.5;
}
           
.popup-box .popup-head .popup-head-right a, .popup-box-min .popup-head .popup-head-right a {
	text-decoration: none;
	color: inherit;
}
           
.popup-box .popup-messages, .popup-box-min .popup-messages {
	position:relative;
	top:0px;
	left: 0px;
	right:0px;
	bottom:40px;
	height: 220px;
	overflow-y: scroll;
}

.popup-box .popup-input, .popup-box-min .popup-input {
	position:relative;
	bottom:0px;
	left: 0px;
	right:0px;
	height: 40px;
/*	height: 100%;	*/
	overflow-y: scroll;
	overflow-x: hidden;
}

.popup-box .popup-input textarea, .popup-box-min .popup-input textarea{
	border: 0px;
	background-color: #E3E3E3;
	padding: none;
	margin: none;
	width: 100%;
	height: 40px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #000;
	overflow-x: hidden;
}



