html,
body {
	height: 100%;
	font-family: 'Open Sans', 'Lucida Grande', Arial, Helvetica, sans-serif;
	background-color: #fff;
	display:  block;
	width: 100%;
	margin: 0;
	padding: 0;
}

* {
  box-sizing: border-box;
}

.container {
	width: 100%;
	height: 100%;
	padding: 16px;
}

.infobox {
	/* display: none; */
	background-color: #efefef;
	padding: 16px;
	margin:  auto;
	border: none;
	border-radius: 12px;
	max-width: 320px;
	text-align: center;
}

.infobox p {
	padding: 0 8px;
	text-align: left;
	font-size: .9em;
	line-height: 1.4;
}

input {
    /* Remove First */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	border: 4px solid #FFF;
	background-color:  #FFF;
	border-radius: 8px;
	padding: 4px;
	font-size:  1.2em;
	width: 100%;
}

button {
	border: 4px solid #3b78e7;
	background-color:  #3b78e7;
	border-radius: 8px;
	padding: 4px 8px;
	margin: 8px;
	font-size:  1.1em;
	color:  #fff;
	text-transform: uppercase;
}

button:hover {
	filter: brightness(150%);
	-webkit-filter: brightness(150%);
}

.avatar {
	border-radius: 50%;
	width: 192px;
}

#users {
	display: none;
	margin:  auto;
	max-width: 320px;
}

#users h4 {
	padding: 8px 16px 0;
	line-height: 1.2;
}

.userlistbox {
	max-width: 320px;
	display: block;
	border: 4px solid #efefef;
	background-color:  #efefef;
	border-radius: 8px;
	padding: 8px;
	list-style: none;
	line-height: 1.1;
	overflow-y: auto;
	overflow-x: hidden;
}

.userlistbox li {
	cursor: pointer;
	padding: 8px;
	display: block;
	border: 4px solid #fff;
	background-color:  #fff;
	border-radius: 8px;
	margin: 8px 0 0 0;
}

.userlistbox li:first-child {
	margin: 0;
}

.userlistbox li:hover {
	border: 4px solid #3b78e7;
	background-color:  #3b78e7;
	color: #fff;
}

.userlistbox li.self, .userlistbox li.active {
	border: 4px solid #3b78e7;
	background-color:  #3b78e7;
	color: #fff;
}

#video {
	display: none;
	font-size: 0; /* to fix whitespace/scrollbars problem */
	height: 100%;
	pointer-events: none;
	position: absolute;
	transition: all 1s;
	width: 100%;
}

.camerabox {
/* 	width: 100%;
	height: auto;
	vertical-align: top;
	position: relative;
	overflow: none; */
}

#received_video {
	height: 100%;
	max-height: 100%;
	max-width: 100%;
	object-fit: cover;
	-moz-transform: scale(-1, 1);
	-ms-transform: scale(-1, 1);
	-o-transform: scale(-1, 1);
	-webkit-transform: scale(-1, 1);
	transform: scale(-1, 1);
	transition: opacity 1s;
	width: 100%;
}

#local_video {
	width: 120px;
	height: 90px;
	position: absolute;
	top: 1rem;
	left: 1rem;
	border: 1px solid rgba(255, 255, 255, 1.0);
	border-radius: 8px;
	/* box-shadow: 0 0 4px black; */
}

#hangup-button {
	display: none;
	border: none;
	width: 32px;
	height: 32px;
	background-image: url('hang-up.svg');
	background-color: transparent;
	position: absolute;
	cursor: pointer;
	bottom: 32px;
	left: calc(50% - 16px);
	z-index: 2147483647;
}

#hangup-button:hover {
	filter: brightness(150%);
	-webkit-filter: brightness(150%);
}

#hangup-button:disabled {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	cursor: default;
}
