html, body { height: 100%; width: 100%; margin: 0; }
#chat_container {
	width:100%;
	height:100%;
	position:relative;
}
#chat{
	position:absolute;
	background:#EEEEEE;
	width:100%;
	top:0;
	bottom:42px;
	-moz-box-shadow: inset 0px 0px 10px #999999;
	-webkit-box-shadow: inset 0px 0px 10px #999999;
	box-shadow: inset 0px 0px 10px #999999;
	overflow-y:auto;
	overflow-x:hidden;
}
.chatlines{
	margin:6px 6px;
	width:100%;
}
.chatlines li{
	list-style:none;
}
.chatlines li p{
	margin-bottom:5px;
}
.msg_info{
	color:#AAAAAA;
}
.msg_error{
	color:#F73030;
	font-weight:bold;
}
.msg_chat{
	color:black;
}
.msg_nick{
	font-weight:bold;
	text-shadow: 1px 1px 2px #DDDDDD;
}
#bottom {
	overflow:hidden;
	border-top: 1px solid #DDDDDD;
	height:42px;
	position:absolute;
	bottom:0;
	width:100%;
	background:#FDFDFD;
}
#bottom > div {
	display:table;
	width:100%;
}
form.formbottom{
	margin:0;
}
.cf.cf_input input{
	width:100%;
}
.cf.cf_input{
	width:100%;
	padding-left: 5px;
	padding-top: 6px;
	padding-right: 17px;
}
.cf.cf_button{
	padding-right: 3px;
}
.cf.cf_button button{
	height:30px;
}
.cf {
	display:table-cell;
}
.loading {
	height:60px;
	width:60px;
	margin:0 auto;
	margin-top:50px;;
	position:relative;
	-webkit-animation: rotation .6s infinite linear;
	-moz-animation: rotation .6s infinite linear;
	-o-animation: rotation .6s infinite linear;
	animation: rotation .6s infinite linear;
	border:6px solid rgba(174,174,174,.15);
	border-radius:100%;
}

.loading:before {
	content:"";
	display:block;
	position:absolute;
	left:-6px;
	top:-6px;
	height:100%;
	width:100%;
	border-top:6px solid rgba(174,174,174,.8);
	border-left:6px solid transparent;
	border-bottom:6px solid transparent;
	border-right:6px solid transparent;
	border-radius:100%;
}

@-webkit-keyframes rotation {
	from {-webkit-transform: rotate(0deg);}
	to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
	from {-moz-transform: rotate(0deg);}
	to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
	from {-o-transform: rotate(0deg);}
	to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
	from {transform: rotate(0deg);}
	to {transform: rotate(359deg);}
}
#nick_dialog{
	position:absolute;
	top:10px;
	padding:0 auto;
}
.form-horizontal.form-small .control-group{
	margin-bottom:10px;
}
.form-horizontal.form-small .controls {
    margin-left: 5px;
}
.modal-body {position:static;}