html,body{
	height:100%;
	overflow:hidden;
}
html{
	font-size:14px;
}
html.mode-internal{
	font-size:24px;
}
*{
	margin:0;
	padding:0;
	outline:none;
	box-sizing:border-box;
	font-family:'Lato' !important;
}
::-webkit-scrollbar{
	width:10px;
}
::-webkit-scrollbar-thumb{
	background:#ccc;
	border:2px solid #fff;
	border-radius:20px;
}
::-webkit-scrollbar-track{
	background:none;
	border-radius:20px;
}
ul{
	list-style:none;
}

#root{
	display:flex;
	flex-direction:column;
	height:100%;
}

#problems{
	display:flex;
	align-items:center;
	justify-content:center;
}
#problems button{
	background:#bc2323;
	color:#fff;
	border:none;
	padding:5px 20px;
	margin-top:5px;
	text-transform:uppercase;
	font-size:0.7rem;
	border-radius:10px;
}

#header{
	height:50px;
	display:flex;
	align-items:center;
	padding:0px 20px;
	border-bottom:1px solid #d0d0d0;
}
#header h1{
	font-size:1rem;
}
#header #chat-moderated{
	flex:1;
	display:flex;
	justify-content:flex-end;
	align-items:center;
	font-weight:700;
}
#header #chat-moderated span{
	font-size:0.75rem;
}
#header #chat-moderated svg{
	margin-left:5px;
}

#content{
	display:flex;
	flex:1;
}
#content .box{
	
}
#content #users-box{
	width:200px;
	border-right:1px solid #d0d0d0;
	display:none;
}
#content #messages-box{
	flex:1;
}

#users{
    flex:1;
}
#users li{
    display:flex;
    border-bottom:1px solid rgba(0,0,0,0.3);
    padding:5px 10px;
}
#users li.offline{
	color:#ddd;
}
#users li.blocked{
	background:#ecaaaa;
}
#users li.talking{
	border-left:5px solid #090;
}
#users li button{
	background:none;
	border:none;
	font-size:18px;
}

#users .info{
    flex:1;
}
#users .buttons{
    display:flex;
	align-items:center;
}
#users .name{
    font-size:0.75rem;
    font-weight:700;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	
}
#users .city{
    font-size:0.75rem;
    color:#bbb;
    font-style:italic;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

#messages-box{
	display:flex;
	flex-direction:column;
}
.scroll-container{
	flex:1;
	display:flex;
	overflow-y:scroll;
	overflow-x:hidden;
	min-height:0;
	flex-basis:0;
	scrollbar-width:thin;
	scrollbar-color:#ccc #fff;
}
.messages{
	display:block;
	width:100%;
}
.messages li{
	width:100%;
	padding:10px 10px 25px 10px;
	min-height:0;
}
.messages li.direct{
	background:#f0f0f0;
}
.messages li .name{
	font-weight:700;
	font-size:0.9rem;
}
.messages li .name span{
	font-weight:400;
	font-size:0.7rem;
	padding-right:5px;
}
.messages li .name a{
	text-decoration:none;
	color:inherit;
}
.messages li .name span.location{
	display:block;
	margin-top:3px;
	float:right;
}
.messages li .room{
	font-weight:400;
	font-style:italic;
	padding:3px 0;
	font-size:0.65rem;
}
.messages li .date{
	font-size:0.8rem;
    color:#666;
    font-style:italic;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.messages li .message{
	font-size:0.9rem;
	padding:0px 10px;
}
.messages li .message.edit{
	background:#f0f;
}
.message-box{
	padding:5px 5px 10px 5px;
}
.message-box #message-area{
	display:flex;
}
.message-box textarea{
	border:1px solid rgba(0,0,0,0.3);
	padding:10px;
	border-radius:10px;
	height:70px;
	width:100%;
	resize:none;
}
.message-box button{
	border:1px solid rgba(0,0,0,0.3);
	padding:10px;
	border-radius:10px;
	resize:none;
	background:#bc2323;
	color:#fff;
	text-transform:uppercase;
	font-size:10px;
	border:none;
	margin-left:5px;
}
.message-box-subtitle{
	font-size:0.8rem;
	font-style:italic;
	line-height:25px;
	padding:0 15px;
	margin:5px 0;
	font-weight:bold;
	background:#666;
	color:#ddd;
	border-radius:20px;
	white-space:nowrap;
	text-overflow:ellipsis;
	overflow:hidden;
}


#toolbar{
	padding:10px 10px;
}
.user-locked #toolbar{
	display:none;
}
#my-name{
	font-size:0.75rem;
	font-weight:700;
	cursor:pointer;
}
#my-name:hover{
	text-decoration:underline;
}


#data{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(255,255,255,0.9);
	display:none;
	flex-direction:column;
	align-items:center;
	justify-content:center;
}
#data.show{
	display:flex;
}
#data .form{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
}
#data .form li{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
}
#data .form label{
	font-size:0.75rem;
	padding-bottom:5px;
}
#data .form input{
	border:1px solid rgba(0,0,0,0.3);
	padding:5px 10px;
	border-radius:10px;
	width:100%;
	resize:none;
}
#data .form button{
	margin-top:15px;
	display:flex;
	align-items:center;
	justify-content:center;
	background:#ff4136;
	border:none;
	padding:10px 15px;
	border-radius:5px;
	text-transform:uppercase;
	color:#fff;
	font-size:0.6rem;
	font-weight:700;
}
#data #close{
	display:none;
	border:none;
	background:none;
	font-size:30px;
	color:#555;
	cursor:pointer;
}
#data #close.show{
	display:block;
}

.scroll-container{
	scroll-behavior:smooth;
}

#overlay{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0);
	z-index:100;
}
.float-popup{
	position:fixed;
	z-index:101;
	background:#fff;
	padding:10px 10px 10px 10px;
	font-size:0.7rem;
	box-shadow:4px 4px 10px rgba(0,0,0,0.4);
}
.float-popup #close-popup{
	position:absolute;
	right:3px;
	top:2px;
	font-size:1.5rem;
	color:#e36c6c;
}
#send-direct{
	min-width:200px;
	width:100%;
	max-width:320px;
	left:0 !important;
}
#send-problems{
	max-width:275px;
	width:100%;
	left:50%;
	margin-left:-137px;
}
#send-direct .container,#send-problems .container{
	display:flex;
	flex-direction:column;
}
#send-direct label,#send-problems label{
	display:block;
	margin-bottom:3px;
}
#send-problems label{
	font-size:0.9rem;
	margin-bottom:5px;
}
#send-direct textarea,#send-problems textarea{
	width:100%;
	resize:none;
	border:1px solid rgba(0,0,0,0.3);
	padding:10px;
	border-radius:10px;
	height:70px;
}
#send-problems textarea{
	height:100px;
}
#send-direct button,#send-problems button{
	display:block;
	color:#fff;
	background:#e36c6c;
	border:none;
	border-radius:30px;
	text-decoration:none;
	cursor:pointer;
	padding:5px 10px;
	align-self:flex-end;
	margin-top:5px;
	text-transform:uppercase;
	font-size:0.6rem;
}


.mode-internal .messages li .name span.location{
	display:block !important;
	padding-left:35px !important;
	float:none !important;

}