@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");

:root {
  --dark-color-a: #a4b68c;
  --dark-color-b: #256412;
  --light-color: #ffffff;
  --success-color: #5cb85c;
  --error-color: #d9534f;

  --chat-video-container-width: 183px;
  --chat-video-width: 180px;
  --chat-video-height: 135px;
}
/*
body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  background: var(--light-color);
  margin: 20px;
}
*/

body,
html {
  height: 100%;
  margin: 1px;
}

.bg-home {
  background-image: url("/images/lake.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

input[type="text"]:focus,
input[type="password"]:focus {
  background: yellow;
  color: blue;
}

.center {
  margin: 0 auto;
}

.vertical-line {
  display: inline-block;
  border-left: 1px solid #ccc;
  margin: 0 10px;
  height: 15px;
  vertical-align: baseline;
}

.login-container {
  width: 400px;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/***** chat messages ****/
.chat-messages {
  padding: 5px;
  height: 250px;
  max-height: 250px;
  overflow-y: scroll;
}

.message-box-holder {
  width: 100%;
  margin: 0 0 15px;
  display: flex;
  flex-flow: column;
  align-items: flex-end;
}

.message-sender {
  font-size: 12px;
  margin: 0 0 15px;
  color: #30649c;
  align-self: flex-start;
}

.message-self {
  font-size: 12px;
  margin: 15px 0 0;
  color: #30649c;
  align-self: flex-end;
}

.message-sender a,
.message-sender a:link,
.message-sender a:visited,
.chat-partner-name a,
.chat-partner-name a:link,
.chat-partner-name a:visited {
  color: #30649c;
  text-decoration: none;
}

.message-box {
  padding: 6px 10px;
  border-radius: 6px 0 6px 0;
  position: relative;
  background: rgba(100, 170, 0, 0.1);
  border: 2px solid rgba(100, 170, 0, 0.1);
  color: #6c6c6c;
  font-size: 12px;
}

.message-time {
  color: #30649c;
  font-weight: bold;
}

.message-box:after {
  content: "";
  position: absolute;
  border: 10px solid transparent;
  border-top: 10px solid rgba(100, 170, 0, 0.2);
  border-right: none;
  bottom: -22px;
  right: 10px;
}

.message-partner {
  background: rgba(0, 114, 135, 0.1);
  border: 2px solid rgba(0, 114, 135, 0.1);
  align-self: flex-start;
}

.message-partner:after {
  right: auto;
  bottom: auto;
  top: -22px;
  left: 9px;
  border: 10px solid transparent;
  border-bottom: 10px solid rgba(0, 114, 135, 0.2);
  border-left: none;
}

/***** user list *****/
#users {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  background: rgba(100, 170, 0, 0.1);
  border: 2px solid rgba(100, 170, 0, 0.1);
  color: #6c6c6c;
  max-height: 250px;
  overflow: auto;
}

#users li a {
  display: block;
  color: rgb(0, 0, 0);
  padding: 8px 14px;
  text-decoration: none;
}

#users li {
  text-transform: capitalize;
  text-align: left;
  border-bottom: 1px solid rgb(9, 44, 58);
  padding: 5px 0;
  font-size: 10px;
  font-weight: bold;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

#users li:before {
  /* content: "\00a0>>\00a0";	*/
  display: inline-block;
}

#users li:hover {
  color: rgb(80, 3, 35);
  border-bottom: 2px solid rgb(80, 3, 35);
  cursor: pointer;
}

#users li:last-child {
  border-bottom: none;
}

#users li:first-child {
  text-transform: capitalize;
  background-color: #337ab7;
  border-color: #2e6da4;
  color: #fff;
  font-weight: bolder;
  font-size: 14px;
  cursor: not-allowed !important;
}

#users li a.active {
  background-color: #04aa6d;
  color: white;
}

#users li a:hover:not(.active) {
  background-color: #555;
  color: white;
}

/* Media capture, recording, share and download  */

.media-container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  font-size: 10px;
}

.media-container .info {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  font-size: 10px;
  padding: 5px;
  background-color: cadetblue;
  color: white;
}

.media-container video,
canvas,
img {
  width: 240px;
  height: 180px;
  margin: 2px auto;
}

.media-container button {
  margin-bottom: 5px;
}

.media-container video:first-child {
  border: 1px solid #243f1e;
}

.media-container canvas {
  border: 1px solid #30649c;
  background-color: cadetblue;
}

.media-container img {
  border: 1px solid #30649c;
}
