#main_emoticon {
	padding:5px 0;
	border-radius:0 0 5px 5px;
}
#room_topic {
	padding: 5px 0 10px;
}
#show_chat ul {
	position:absolute;
	bottom:0;
	max-height:100%;
	overflow-y:auto;
}
#chat_error {
	position:absolute;
	bottom:0;
	margin-bottom:0;
}
/* Reverse message order */
.chat_messages, #messages, .messages_list {
    display: flex !important;
    flex-direction: column-reverse !important;
}

/* Message input area layout */
#input_area, .input_area {
    display: flex !important;
    align-items: center;
}
#message_input, .message_input {
    flex: 1;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #ccc;
}
#send_button, .send_button {
    padding: 10px 20px;
    border: none;
    background: #0cf;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}
#send_button:hover, .send_button:hover {
    opacity: 0.9;
}
