@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  background-color: #f9f9f9;
  transition: background-color 1s;
  font-family: 'Source Sans 3', sans-serif;
}

a {
  color: #006CB8;
}

h2 {
  font-weight: 600;
}

body.admin {
  background-color: black;
  color: white;
}

label {
  margin: 0;
}

.btn-primary.disabled {
  box-shadow: none;
}

.popover {
  font-size: 1rem;
}

.speakPopover {
  border: 3px solid #007bff;
}

.speakPopover>.arrow::after {
  top: -1px;
  border-top-color: white;
}

.speakPopover>.arrow::before {
  bottom: -1.5px;
  border-top-color: #007bff;
}

a.disabled {
  opacity: 0.65;
  pointer-events: none;
}

header {
  padding-top: 14px;
}

.chat-screen-nav {
  background-color: #343a40;
  color: #fff;
  box-shadow: 0 0 2px #343a40;
}

header .dropdown-toggle, header .helpLink a {
  color: #fff;
}

.title {
  font-size: 1.75rem;
  color: #fff;
}

footer {
  text-align: center;
  color: #666;
  font-size: .9rem;
  margin-top: 100px;
}
footer a {
  color: inherit;
  margin-left: 20px;
}

.admin .card {
  background-color: black;
  border: 1px solid rgba(255, 255, 255, .2);
}
.admin .list-group-item {
  background-color: black;
  border: 1px solid rgba(255, 255, 255, .2);
}
.admin .list-group-item-danger {
  background-color: #f5c6cb;
}
.admin .modal-content {
  background-color: #333;
}

.logo {
  vertical-align: bottom;
  margin-right: 10px;
}

.messageList {
  height: 220px;
  overflow-y: scroll;
}
.message-from {
  font-weight: bold;
}

.animatedProgressBar-wrapper {
  height: 4px;
}
.animatedProgressBar {
  height: 4px;
  animation-name: expand;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes expand {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
@media (min-width: 768px) {
  iframe#webWidget {
    max-height: 470px !important;
  }
}

.report {
  text-align: right;
}
.report a {
  text-decoration: none;
}
.report .dropdown-toggle::after {
  display: none;
}
.report a.dropdown-toggle {
  transition: opacity 1s, background-color 1s;
}

.toggleNotes {
  text-align: right;
}
.toggleNotes a {
  text-decoration: none;
}
.notes-title {
  font-weight: bold;
}

@media (max-width: 576px) {
  .report, .toggleNotes {
    text-align: left;
  }
}

.notificationList {
  height: 300px;
  overflow-y: scroll;
  margin-top: 1rem;
}
.notificationList .list-group-item {
  padding: .5rem 1rem;
}

.controlPanel, .controlPanelWaiting {
  float: right;
}
@media (max-width: 576px) {
  .controlPanel {
    float: left;
  }
}

.videoCamera {
  font-size: 20px;
  display: inline-block;
  width: 30px;
  cursor: pointer;
  color: #666;
}
.videoCamera-on {
  color: white;
}

.volumeSlider {
  vertical-align: -2px;
  margin-right: 10px;
}
.volumeSlider-speaker {
  font-size: 20px;
  display: inline-block;
  width: 26px;
  color: #666;
}
.volumeSlider-speaker-on {
  color: white;
}
.volumeSlider-slider {
  display: inline-block;
  width: 46px;
  vertical-align: -1px;
}

.settings {
  font-size: 20px;
}
.settings .dropdown-toggle::after {
  display: none;
}
.settings a.dropdown-toggle {
  transition: opacity 1s, background-color 1s;
}

.technicalissues {
  border: 3px red solid;
}

.videoPanel {
  height: 360px;
  overflow: hidden;
}
.admin .videoPanel {
  border: 1px solid rgba(255, 255, 255, .2);
}
.videoPanel-body {
  position: relative;
  background-color: black;
}

.noOneSpeaking {
  text-align: center;
  margin-top: 100px;
  color: #999;
}

.videoText {
  text-align: center;
  margin: 100px auto 0;
  color: white;
  font-size: 18px;
  max-width: 900px;
}
.videoText-muted {
  color: #999;
}
.videoText-highlighted {
  color: #fff;
}

.videoContainer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  white-space: nowrap;
  overflow-x: auto;
  padding: 12px;
  margin: 0;
  list-style-type: none;
}
.videoContainer::-webkit-scrollbar {
  -webkit-appearance: none;
  height: 10px;
  background-color: #333;
}
.videoContainer::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #ccc;
}

.youtubeVideo {
  text-align: center;
}

.youtubeVideo iframe {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.videoWrapper {
  position: absolute;
  bottom: 12px;
  width: 100px;
  height: 75px;
}
.videoWrapper-inner {
  display: inline-block;
  position: relative;
}
.videoWrapper video, .videoWrapper .avatar {
  width: 100px;
  height: 75px;
  border: 1px #ddd solid;
  background-color: #666;
}
.videoWrapper-name {
  color: white;
  position: absolute;
  bottom: 6px;
  width: 100%;
  text-align: center;
  font-size: 18px;
}

.videoWrapper-speaking {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 274px;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.videoWrapper-speaking video, .videoWrapper-speaking .avatar {
  width: auto;
  height: 250px;
  max-width: 100%;
  /* max-height: 250px; /* 274 - 12*2 */
}
.videoWrapper-speaking .videoWrapper-name {
  display: none;
}


.videoWrapper-mic {
  display: none;
}
.videoWrapper-muted .videoWrapper-mic {
  color: white;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 5px;
}
.videoWrapper-speaking.videoWrapper-muted .videoWrapper-mic {
  font-size: 80px;
}


.videoWrapper-speaking.videoWrapper-interrupted {
  top: 0;
  left: 0;
  width: 60%;
  /*justify-content: flex-end;*/
  padding: 12px 4px 12px 12px; /* t r b l */
}
.videoWrapper-speaking.videoWrapper-interrupting {
  top: 0;
  left: 60%;
  width: 40%;
  /*justify-content: flex-start;*/
  padding: 12px 12px 12px 4px; /* t r b l */
}
.videoWrapper-speaking.videoWrapper-interrupting video, .videoWrapper-speaking.videoWrapper-interrupting .avatar {
  max-height: 180px;
}

.videoWrapper-hide {
  display: none;
}

.mirrored {
  transform: scale(-1, 1);
}

.ignoreError {
  bottom: 15px;
  left: 5px;
  position: fixed;
  opacity: 0.5;
  padding-right: 150px;
}

.checkMicrophone {
  position: relative;
  display: inline-block;
}
.checkMicrophone > .spinner-border {
  width: 80px;
  height: 80px;
}
.checkMicrophone > .fa {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 40px;
  line-height: 80px;
}

.timerIcon {
  width: 20px;
  height: 20px;
  margin: 0 8px;
  vertical-align: -4px;
}
.timerIcon path {
  fill: white;
  stroke: none;
}
.timerIcon circle {
  fill: none;
  stroke: white;
  stroke-width: 0.1;
}


.questionDemo {
  pointer-events: none;
}

.question-title {
  text-align: center;
}
.question .list-group-item {
  padding: .5rem 1rem;
}
.question-author {
  font-style: italic;
}
.question-characterLimit {
  text-align: right;
}
.questionRank-list li {
  cursor: move;
}
.questionRank-list li:hover {
  background-color: #eee;
}
.questionRank-list a {
  text-decoration: none;
}
.questionRank-list .fa {
  float: right;
  cursor: pointer;
  transform: translate(0, 25%);
  margin-left: 5px;
}

.questionRank-list .disabled {
  opacity: 0.2;
  pointer-events: none;
}

.question-current {
  font-weight: bold;
}
.question-notCurrent {
  opacity: 0.47;
}

.question .timerIcon path {
  fill: black;
  stroke: none;
}
.question .timerIcon circle {
  fill: none;
  stroke: black;
  stroke-width: 0.1;
}
.highlight .question .card { /* FIXME: Hacky */
  border-color: rgba(0, 0, 0, 0.125);
}


.agenda {
  transition: opacity 1s, background-color 1s;
  flex: 1;
  background-color: white;
  overflow: scroll;
  border-bottom: 1px rgba(0, 0, 0, 0.125) solid;
}
.agenda-details {
  transition: opacity 1s, background-color 1s;
}
.agenda-title {
  font-size: 1.25rem;
}
a.agenda-name {
  color: inherit;
}
.agenda ul {
  padding-left: 16px;
  margin-bottom: 0;
}
.agenda-current .agenda-name {
  font-weight: bold;
}
.agenda-past {
  /*color: #999;*/
  opacity: 0.47;
  text-decoration: line-through;
}
.agenda-future {
  /*color: #999;*/
  opacity: 0.47;
}
.agenda .timerIcon {
}
.agenda .timerIcon path {
  fill: #6c757d;
}
.agenda .timerIcon circle {
  stroke: #6c757d;
}
.agenda-content, .agenda-procon {
  font-size: 95%;
}
.agenda-timeline {
  border: 1px #999 solid;
  height: 18px;
  white-space: nowrap;
  overflow: hidden;
  margin: 6px 0 0;
}
.agenda-timeline-item:first-child {
  border: none;
}
.agenda-timeline-item {
  border-left: 1px #999 solid;
  height: 18px;
  display: inline-block;
}
.agenda-timeline-item-past {
  background-color: #ddd;
}
.agenda-timeline-item-current {
  height: 18px;
  background-color: #ddd;
}
.agenda-timeline-item-current.timeRunningOut {
  background-color: #f5c6cb;
}
/*
.agenda-timeline-item:hover {
  border-top: 1px black solid;
}
*/
.agenda-endtime {
  text-align: center;
  color: #666;
}

.queue {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 4px;
  text-align: right;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}
.queue-group {
  margin-bottom: 8px;
}
.queue-group > div:first-child {
  font-weight: bold;
}

.advanceAgendaButton {
  float: right;
}

.subtitles {
  position: absolute;
  text-align: center;
  left: 10px;
  bottom: 106px;
  right: 10px;
  line-height: 1.2;
}
.subtitles span {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.screenshot {
  border: 1px black solid;
  max-width: 100%;
  height: auto;
}

.contactInfo {
  transition: opacity 1s, background-color 1s;
}

.timeRunningOut .timerIcon path {
  fill: red;
}
.timeRunningOut .timerIcon circle {
  stroke: red;
}


.blink .timerIcon path {
  animation: blinkerFill 1s linear infinite;
}
.blink .timerIcon circle {
  animation: blinkerStroke 1s linear infinite;
}

.blink.mainVideo {
  animation: blinkerBorder 1s linear infinite;
}

.blink video {
  animation: blinkerBorder 1s linear infinite;
}

.blink .question {
  animation: blinkerBorder 1s linear infinite;
}
.blink .question-title {
  animation: blinkerText 1s linear infinite;
}
.blink.queue-speaker {
  animation: blinkerText 1s linear infinite;
}

@keyframes blinkerText {
  50% {
    color: red;
  }
}

@keyframes blinkerBorder {
  50% {
    border-color: red;
  }
}

@keyframes blinkerFill {
  50% {
    fill: red;
  }
}

@keyframes blinkerStroke {
  50% {
    stroke: red;
  }
}


.logList {
  height: 500px;
  overflow-y: scroll;
}
.logList .list-group-item {
  padding: 2px 2px;
}


body.highlight {
  background-color: #333;
}
.highlight .title, .highlight .controlPanel > *, .highlight .agenda, .highlight .report, .highlight .requestToSpeakButton, .highlight .interruptButton, .highlight .muteButton, .highlight .unmuteButton, .highlight .advanceAgendaButton, .highlight .contactInfo, .highlight .notificationList, .highlight .toggleNotes, .highlight .notes {
  opacity: 0.25;
  pointer-events: none;
}
.highlight .interactionPanel {
  display: none;
}
.highlight .card {
  border-color: #444;
}
.highlight .agenda, .highlight .contactInfo, .highlight .notificationList {
  background-color: #555;
}
.highlight .notes {
  opacity: 0.04;
}

.highlight-requestToSpeak .requestToSpeakButton,
.highlight-finishSpeaking .finishSpeakingButton,
.highlight-interrupt .interruptButton,
.highlight-mute .muteButton,
.highlight-unmute .unmuteButton,
.highlight-moveOn .advanceAgendaButton {
  opacity: 1;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}
.highlight-help .helpLink {
  opacity: 1;
}
.highlight-help .helpLink a {
  background: white;
  color: black;
  border-radius: 6px;
  padding: 10px;
  margin: -10px;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}
.highlight-settings .settings {
  opacity: 1;
}
.highlight-settings .fa-cog {
  background: white;
  color: black;
  border-radius: 6px;
  padding: 10px;
  margin: -10px;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}
.highlight-report .report {
  opacity: 1;
}
.highlight-report .report a {
  background: white;
  border-radius: 6px;
  padding: 10px;
  margin: -10px;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}
.highlight-agenda .agenda, .highlight-agendaProCon .agenda {
  opacity: 1;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}
.highlight-agendaViewDetails .agenda {
  opacity: 1;
  background-color: #aaa;
}
.highlight-agendaViewDetails .agenda-details {
  background: white;
  border-radius: 6px;
  padding: 10px;
  margin: -10px;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}
.questionDemo {
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}

.roomTable {
  background-color: white;
}

.userCSVExample {
  margin-left: auto;
  margin-right: auto;
}
.userCSVExample td {
  padding: 0 7px;
  border: 1px solid #dee2e6;
}

.createUser {
  border: 0;
  width: 100%;
}

.agendaEditor-table {
  width: 100%;
}

.newRoom-table td:first-child, .agendaEditor-table > tbody > tr > td:first-child {
  text-align: right;
  padding-right: 20px;
  font-weight: bold;
  vertical-align: top;
}

.roomEditor-table td:first-child {
  text-align: right;
  padding-right: 20px;
  font-weight: bold;
  vertical-align: top;
  width: 200px;
}
.roomEditor-table ul {
  padding-left: 20px;
}

.roomEditor-table .form-control, .roomEditor-table div {
  margin-bottom: 0.5rem;
}

.roomEditor-speakingNudge td:first-child {
  width: 800px;
}

.roomEditor-surveyQuestions td:first-child {
  width: 800px;
}

.roomEditor-customQuestion {
  width: 800px;
}

.agendaEditor-items, .agendaEditor-items table {
  width: 100%;
}
.agendaEditor-items td {
  vertical-align: top;
}
.agendaEditor-items > tbody > tr > td:first-child {
  width: 100%;
}

.agendaEditor-procon td:first-child {
  width: 5%;
}
.agendaEditor-procon td:nth-child(2) {
  width: 100%;
}

.agendaEditor-control {
  white-space: nowrap;
}
.agendaEditor-control a {
  text-decoration: none;
  margin-left: 10px;
  font-size: 18px;
}
a.agendaEditor-name {
  color: inherit;
}
.agendaEditor-caret {
  width: 14px;
  font-size: 18px;
}
.agendaEditor-item {
  border: 1px #ccc solid;
  border-radius: 4px;
  padding: 6px;
  background-color: #fff;
}
.agendaEditor-item > table > tbody > tr > td:first-child {
  padding-right: 10px;
  text-align: right;
}
.agendaEditor-item label {
  margin-top: 5px;
  font-weight: bold;
}
.agendaEditor-item img {
  border: 1px #ccc solid;
  max-width: 100%;
  max-height: 400px;
  margin-bottom: 10px;
}
.agendaEditor-item-separator > td {
  border-top: 1px #ddd dashed;
  padding-top: 4px;
}

.pseudo-link {
  color: #007bff;
  cursor: pointer;
}
.pseudo-link:hover {
  text-decoration: underline;
}

.center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  align-items: center;
}

.toxicityIndicator {
  background-color: red;
  width: 12px;
  height: 12px;
  display: inline-block;
}

.confidenceIndicator {
  background-color: blue;
  width: 12px;
  height: 12px;
  display: inline-block;
}

.table.table-unruled > thead > tr > td,
.table.table-unruled > thead > tr > th,
.table.table-unruled > tbody > tr > td,
.table.table-unruled > tbody > tr > th {
  border-top: 0 none transparent;
  border-bottom: 0 none transparent;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  border-collapse: separate;
  border-spacing: 1px;
  margin-top: 26px;
  margin-bottom: 60px;
}

.tableContainer {
  clear: both;
  height: 100%;
  overflow: auto;
  width: 100%;
}

div.tableContainer {
  overflow: hidden;
  width: 100%;
}

.table-header-tooltip {
  margin-left: 5px;
}

tbody.scrollContent {
  display: block;
  height: 262px;
  overflow: auto;
  width: 100%;
}

thead.fixedHeader {
  font-weight: bold;
  text-align: left;
  display: table;
  overflow: auto;
  width: 100%;
}

.vertical-center {
  margin-top: 10vh;
}

.login .form-control {
  background-color: #F3F4F5;
  border: 1px solid #fff;
  font-size: 0.9rem;
  height: calc(1.5em + .75rem + 10px);
}

.login .form-control:focus {
  background-color: #F3F4F5;
}

.welcome {
  padding-bottom: 15px;
}

.guidelineText {
  font-weight: normal;
  text-align: left;
  color: #6c757d;
}

.spinner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center; /* Center text horizontally */
}

.spinner-container p {
  margin-top: 10px; /* Add spacing between the loader and text */
}

.micButton > i {
  margin: 0 30px 0 30px;
}
