#userChat {
	background: var(--background-color-darker);
	width: 20vw;
	height: 20vh;
	position: absolute;
	left: 2vh;
	bottom: 2vh;
	display: none;
	font-size: inherit;
	color: var(--text-color-sidePanel);
	border: 1px solid;
	resize: both;
	overflow: auto;
	border-radius: 10px;
	box-shadow: var(--text-color-sidePanel) 0px 0px 4px;
}

#userChatHeader {
	background: var(--second-color-lightest);
    height: 1.8em;
    position: absolute;
    cursor: grabbing;
    border-radius: 10px;
    right: 0.2em;
    left: 0.2em;
	top: 0.2em;
}

#userChatUsers {
	background: var(--second-color-lightest);
    width: 9.6em;
    top: 2.2em;
    left: 0.2em;
    bottom: 0.2em;
    position: absolute;
    border-radius: 10px;
}

#userChatMsg {
	background: var(--second-color-lightest);
    position: absolute;
    right: 0.2em;
    top: 2.2em;
    bottom: 2.4em;
    left: 10em;
    text-align: left;
    padding-left: 2px;
    overflow-y: auto;
    border-radius: 10px;
}

#userChatCloseButton {
	float: right;
	cursor: pointer;
	margin-top: 0.3em;
	margin-right: 0.3em;
}

#userChatUsersList {
	overflow: auto;
	height: 100%;
	cursor: pointer;
	text-align: left;
    margin-left: 1px;
}

#userChatMsgInput {
	width: 100%;
    background: var(--second-color-lightest);
    color: var(--text-color-sidePanel);
    padding-left: 2px;
    font-size: inherit;
    bottom: 1px;
    position: absolute;
    left: 1px;
    top: 1px;
    border: none;
    border-radius: 10px;
}

#userChatMsgInputDiv {
    position: absolute;
    right: 8em;
    height: 2em;
    bottom: 0.2em;
    left: 10em;
    border-radius: 10px;
}

#userChatMsgSend {
	background: var(--second-color);
    color: var(--header-textColor);
    border: none;
    font-size: inherit;
    cursor: pointer;
    width: 6em;
    border-radius: 20px;
    height: 2em;
    position: absolute;
    bottom: 0.2em;
    right: 1em;
}

.userChatUsersListSelf {
	opacity: 0.5;
}

.userChatMsgIn,
.userChatMsgOut {
	background: var(--second-color-light);
    margin-bottom: 4px;
    border-radius: 20px;
    padding-left: 0.5em;
	padding-right: 0.5em;
}

.userChatMsgIn {
	margin-right: 0.6em;
	margin-left: 0.2em;
}

.userChatMsgOut {
	margin-left: 0.6em;
	margin-right: 0.2em;
	opacity: 0.5;
}