.toggleWidth {
	width: 0!important;
}
#container {
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	flex-basis: 0;
	flex-grow: 1;
	overflow: hidden;
}
#chatAndUserContainer{
	display: flex;
	width: 100%;
	height:100%;

}
.open #chatContainer, #chatContainer {
	width: 100%;
	padding: 0 5px !important;
	height:100%;
}
#usersContainer {
	width: 320px;
	display: flex;
	flex-direction: column;
	position: relative;
	flex-shrink: 0;
}
#header {
	width: 100%;
	height:70px;
}
.open #footer, #footer {
	width: 100%;
	height:60px;
}

div.message img.userItem {
	height: 40px;
	max-width: 100%;
	max-height: 100%;
	margin-right: 5px;
}
#slide_block {
	margin-left: -30px;
	left: 0;
}
#chatInputContainer {
	width: 100% !important;
	max-width: calc(100% - 100px);
}

@media (max-width:850px){
	#chatInputContainer {
		max-width: 100%
	}
	#usersContainer {
		width: 0;
	}
	.toggleWidth {
		width: 320px!important;
	}
}

@media (max-width:480px){
	#roomsContainer2 #tableRooms td, #roomsContainer2 #tableRooms th{
		font-size: 10px!important;
		line-height: 13px;
	}
	.emojionearea .emojionearea-editor:empty:before {
		font-size: 11px;
	}

	#usersContainer {
		width: 0;
	}
	.toggleWidth {
		width: calc(100% - 30px)!important;
	}
	#chatContainer.opacity0 {
		opacity: 0.1;
		transition-duration: 0.5s;
	}
	#chatContainer.opacity0 #tabs,     #chatContainer.opacity0 #footer {
		display: none!important;
	}
}