body {
	background: var(--background); 
	color: var(--foreground);
	font-family: Sans;
	margin: 0;
	height: 100vh;
	overflow: hidden;
}

hr {
	border: 0px;
  border-top: 2px solid #bbb;
  margin:10px;
}

.Slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;  
  background: var(--slider-background);
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.Slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%; 
  background: var(--slider-handle);
  cursor: pointer;
  
  box-shadow: 0px 2px 4px var(--shadow-color);
}

.Slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--slider-handle);
  cursor: pointer;
}

.Control, .Button {
	padding: var(--control-padding);
	border-radius: var(--control-border-radius);
	border: 0px;
	margin: 3px;
	font-size: var(--control-font-size);
	background: var(--control-background);
	box-shadow: 0px 2px 4px var(--shadow-color);
}

.Control:hover, .Button:hover{
	background-color: var(--hover-color);
}

.Checkbox {
	border: 8px solid white;
  width: 1.0em;
  height: 1.0em;
  display: inline-block;
  padding: 0;
}

.Checkbox[checked]{
	background: blue;
}

.Button {
	cursor: pointer;
	display: inline-block;
	user-select: none; 
}

.Button:active{
	box-shadow: 0px 1px 2px var(--shadow-color);
	background: var(--active-color);
}

.PopupBack{
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--popup-back-bg-color);
  width: 100%;
  height: 100%;
  z-index: 11;
  padding: 4em 0;
  box-sizing: border-box;
}

.PopupFrame{
  margin: 0 auto;
  border-radius: var(--form-border-radius);
  border: var(--form-edge-width) solid var(--form-edge-color);
  background-color: var(--background);
  box-shadow: 0em 0.15em 0.4em #00000044;
  padding: var(--form-margin);  
  max-height: 100%;
  overflow: auto;
  color: var(--foreground);  
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.ContextBack {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  box-sizing: border-box;
}

.ContextMenu {
  background-color: white;
  border-radius: var(--form-border-radius);
  position: absolute;
  filter: drop-shadow(0px 3px 5px var(--faint-shadow-color));
  padding: 10px 0;
  border: var(--form-edge-width) solid var(--form-edge-color);
}

.ContextMenuItem{
  margin: 0.25em 0em;
  padding: 0.5em 2.0em;
  cursor: pointer;
  user-select: none;
  font-size: var(--normal-font-size);
}

.ContextMenuItem:hover {
  background-color: var(--hover-color);
  color: var(--foreground);
}


.ContentHolder {	
	overflow-y: hidden;
	display:flex;
	height:100%;
}

.Content {
	padding:  8px 8px var(--bottom-menu-height) 8px;
	width: 100%;
}

.Icon{
	height: 2.0em;
  vertical-align: middle;
  margin: 8px;

}

.ChatView{
	overflow: hidden;
  width: 100%;
  top: 0px;
  bottom: var(--bottom-menu-height);
  position: absolute;
}

.HomeView{
	/*overflow: hidden;
  padding: 0 0 6.2em 0;*/

  width: 100%;
  position: absolute;
  bottom: var(--bottom-menu-height);
  top: 0;
}

.RoomList {
	position: absolute;
	overflow-y: auto;
	top: var(--bottom-menu-height);
	bottom:  0 ;
	width: 100%;
}

.ControlContainer{
	position: absolute;
	bottom:0px;
}

.Header{
	position: absolute;
	top:0px;
}

.MessageList {
	position: absolute;
	overflow-y: auto;
	top: var(--bottom-menu-height);
	bottom: var(--bottom-menu-height);
	width: 100%;
}

.MessageBlock{
	position: relative;
	cursor: pointer;
	padding-left: 80px;
	margin-bottom: 8px;
  min-height: 30px;
}

.Avatar{
	position: absolute;
  left: 10px;
  top: 10px;
  width: 50px;
}

.MessageUserName{
	color: black;
  font-weight: bold;
  margin-right:30px;
}

.DateTime	{
  /*font-weight: 300;*/
	font-size: 12px;
	float: right;
}

.IconButton{
  opacity: 0.3;
  cursor: pointer;
	user-select: none; 
}

.Selected {
	opacity: 1.0;
}

.Menu {
  height: var(--bottom-menu-height);
  position: absolute;
  bottom: 0;
  width: 100%;
	text-align: center;
	background: var(--bottom-menu-background);
}

.SlideContainer{
	
}

.FadeIn {
  animation: fadeIn ease 0.2s;
}

.FadeOut {
  animation: fadeOut ease 0.2s;
}

.ZoomIn {
	animation: zoomIn ease 0.2s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes zoomIn {
  0% {
   	opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}


