body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
    'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

html {
  height: 100%;
}

body {
  height: 100%;
}

div.container-fluid {
  height: 100%;
}

div#participants {
  overflow-y: auto;
}

div.participant {
  background: center no-repeat
    url("data:image/svg+xml;utf8,<svg class='bi bi-person-fill' width='80' height='45' viewBox='0 0 16 16' fill='currentColor' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 100-6 3 3 0 000 6z' clip-rule='evenodd'/></svg>");
  border: 1px solid gray;
  display: inline-flex;
  height: 90px;
  margin: 10px 5px;
  max-width: 160px;
  overflow: hidden;
}

.devices-select-header {
  font-size: 13px;
}

.menu {
  display: block;
  cursor: 'pointer';
}

.devices-menu-item-container {
  display: block;
  line-height: 1.2;
  margin-bottom: 10px;
}

.devices-menu-item-chkmrk {
  float: left;
  margin-left: -2px;
  margin-right: 4px;
}

.menu-item {
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 11px;
  display: block;
  margin-bottom: 8px;
}

.menu-item:hover {
  background-color: lightgray;
}

div.participant.main.fullscreen {
  border: none !important;
}

div.participant > video {
  width: 100%;
}

div.participant.main {
  height: inherit;
  margin: 10px 0;
  max-width: 100%;
  width: 100%;
}

div.participant.main > video {
  height: 720px;
}

div.participant.active {
  border: 1px solid #2f7fe2;
  box-shadow: 0 0 5px #2f7fe2;
}

div.participant.active.pinned {
  border: 1px solid limegreen;
  box-shadow: 0 0 5px limegreen;
}

div.participant:hover {
  cursor: pointer;
}

div.participant::before {
  background-color: black;
  color: white !important;
  content: attr(data-identity);
  font-size: 10px;
  padding: 0 5px;
  position: absolute;
  z-index: 1000;
}

label[for='mic-select'],
label[for='speaker-select'],
label[for='cam-select'] {
  margin-bottom: -5px;
}

#mic-select,
#speaker-select,
#cam-select {
  border-radius: 4px;
  font-size: 13px;
  width: 100%;
  height: 28px;
  margin-bottom: 15px;
  margin-left: 5px;
}

#speaker-select {
  margin-bottom: 0 !important;
}

div.modal-title {
  font-size: 1rem !important;
  line-height: 0.5 !important;
  font-weight: bold !important;
}

div.participant.main::before {
  font-size: 14px;
  padding: 0 10px;
}

#btn-mic-on-off,
#btn-camera-on-off,
#btn-screenshare-on-off,
#btn-leave-room,
#btn-fullScreen-on-off {
  border: none;
}

#btn-audio-device-list,
#btn-video-device-list {
  border: none;
  background: none;
}

#btn-video-device-list > img.ico-arrow-popup,
#btn-audio-device-list > img.ico-arrow-popup {
  background-image: url('arrow-menu-active.png');
  background-repeat: no-repeat;
  background-size: contain;
  height: 16px;
  width: 16px;
  vertical-align: top;
}

.hide {
  display: none;
}

.bg-light {
  background-color: #f4faff !important;
}

input + label {
  margin-top: 5px !important;
}

.modal-title {
  font-size: 1.3rem !important;
}

@media (max-width: 576px) {
  div#participants {
    overflow-x: auto;
    white-space: nowrap;
  }

  div.participant.main > video {
    height: 180px;
  }
}

@media (max-width: 768px) {
  div.participant.main > video {
    height: 270px;
  }
}

#btn-go:focus,
#btn-leave-room:focus {
  outline: none;
  box-shadow: none;
}

#tgl-mute-mic-container,
#tgl-mute-video-container {
  display: inline-flex;
  margin-left: 14px;
  width: 100%;
  align-items: flex-start;
}

#label-tgl-mute-mic,
#label-tgl-turn-cam-off {
  vertical-align: bottom;
  margin-left: 10px;
  font-size: 14px;
}

#speaker-select-container {
  display: inline-block;
}

#mic-preview-container {
  margin-bottom: 10px;
}

.logoBtn {
  border: none;
  background: none;
}

img.ico-arrow-popup.arrow-dwn {
  transform: rotateX(180deg);
}
