html,body  {
	overflow:hidden;
}

#chatContainer {
	position:absolute;
	top:0px;
	bottom: 0px;
	left:0px;
	right:0px;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	overflow:none;
}

#topContainer {
	position:absolute;
	top:10px;
	left:20px;
	right:230px;
	height:30px;
}

#addChannel img {
	vertical-align: middle;
	cursor:pointer;
}

#socketStatus {
	position:absolute;
	bottom:5px;
	right:65px;
	width:22px;
	height:22px;
	background-image: url('../img/loading-sprite.png');
}

.socketGreen {
	background-position:0px 0px;
}

.socketYellow {
	background-position:0px -22px;
}

.socketRed {
	background-position:0px -44px;
}

#chatLog {
	position:absolute;
	top:0px;
	left:0px;
	right:201px;
	bottom: 40px;
	z-index: 1;
}

#chatLog blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D";
}

#chatLog blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

#chatLog blockquote p {
  display: inline;
}

#chatLog pre {
  display:block;
  font:normal 12px/22px Monaco,Monospace !important;
  color:#CFDBEC;
  background-color:#2f2f2f;
  background-image:-webkit-repeating-linear-gradient(top, #444 0px, #444 22px, #2f2f2f 22px, #2f2f2f 44px);
  background-image:-moz-repeating-linear-gradient(top, #444 0px, #444 22px, #2f2f2f 22px, #2f2f2f 44px);
  background-image:-ms-repeating-linear-gradient(top, #444 0px, #444 22px, #2f2f2f 22px, #2f2f2f 44px);
  background-image:-o-repeating-linear-gradient(top, #444 0px, #444 22px, #2f2f2f 22px, #2f2f2f 44px);
  background-image:repeating-linear-gradient(top, #444 0px, #444 22px, #2f2f2f 22px, #2f2f2f 44px);
  padding:0em 1em;
  margin:0px;
  overflow:auto;
}

#userContainer {
	display:block;
	position:absolute;
	top:0px;
	right:0px;
	width:200px;
	bottom: 40px;
	overflow-x: hidden;
	z-index: 1;
}

label {
  display: inline-block;
  width: 160px;
  text-align: right;
}

#settings {
	float:left;
}

#chatInput  {
	position:absolute;
	right:200px;
	left:0px;
	bottom: 1px;
	height: 40px;
	z-index: 1;
}

#chatText {
	height: 100%;
    width: 100%;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing: border-box; 
}

#sendContainer {
	position:absolute;
	right:0px;
	width:200px;
	bottom: 0px;
}

#optionContainer {
	position:absolute;
	right:7px;
	bottom: 3px;
}

#countbox { float:left; }

#sendbtn { float:left; }

#loginForm {
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	z-index:100;
}

@media screen and (max-width: 600px) {
	#userContainer, #settingContainer, #helpContainer, #channelContainer { display:none; }
	#chatLog { left:0px; right:0px; bottom:40px; padding:7px;}
	#emojContainer { display:none; }
	#btnContainer { display:none; }
	#optionContainer { display:none; }
	#sendContainer { display:none; }
	#chatInput { bottom:0px; left:0px; right:0px;}
	#chatText {padding:7px;}
}

.userGone {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 12px;
	padding-left: 5px;
	text-decoration:none;
}

.userItem {
	cursor:pointer;
	height:17px;
}

#vslider {
    position: absolute;
    background: URL('../img/vgripper.png') center center no-repeat;
	top:50px;
	right: 222px;
	bottom: 150px;
    width: 10px;
	z-index: 2;
	cursor:w-resize;
    }
	
#hslider {
    position: absolute;
    background: URL('../img/hgripper.png') center center no-repeat;
	left: 20px;
	right: 20px;
	bottom: 140px;
    height: 10px;
	z-index: 2;
	cursor:n-resize;
    }


.message {
	clear:both;
	 display:table;
    position: relative;
    margin: 8px 3px 0px 3px;
    padding: 8px 20px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

.to {
	float:left;
	background-color: #696969;
	color: #FFFFFF;
}

.from {
	float:right;
	background-color: #000000;
	color: #FFFFFF;
}

.message .arrow-right {
  position:absolute;
  bottom: -10px;
  right: 10px;
  width: 0; 
  height: 0; 
  border-top: 5px solid #000000;
  border-bottom: 5px solid transparent; 
  border-left: 5px solid transparent; 
  border-right: 5px solid #000000; 
  float:right;
}

.message .arrow-left {
  position:absolute;
  bottom: -10px;
  left:10px;
  width: 0; 
  height: 0; 
  border-top: 10px solid #696969;
  border-bottom: 10px solid transparent; 
  border-left:10px solid #696969; 
  border-right: 10px solid transparent; 
  float:left;
}

.strikes {
	width:50px;
	height:16px;
	background:url('../img/strikes.png') 0 0 no-repeat;
	float:right;
	padding-right:6px;
}

.strike0 {
	background-position: 0px 0px;
}

.strike1 {
	background-position: 0px -17px;
}

.strike2 {
	background-position: 0px -34px;
}

.strike3 {
	background-position: 0px -51px;
}
.adminStrike {
	width:50px;
	height:16px;
	background:url('../img/adminStrike.png') 0 0 no-repeat;
	float:right;
	padding-right:6px;
}
