*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #0b2447;
}
.fill {
  height: 100%;
}
.licode_player {
  border-radius: 10px !important;
}

#chat {
  position: relative;
  height: 550px;
}

#video_grid {
  height: 550px;
  border: 1px solid #012c79;
  margin-left: 0px;
}

#username_txt {
  padding-left: 3px;
}

#connection_panel form {
  margin-bottom: 0;
}

#chat_switcher {
  background-color: #012c79;
  position: absolute;
  bottom: 424px;
  top: 100px;
  border: 1px solid #012c79;
  width: 100%;
  font-size: 14px;
  text-align: center;
  padding-top: 2px;
}

.switch_button {
  float: left;
  width: 50%;
  cursor: pointer;
  color: white;
  opacity: 0.8;
}

.switch_button.active {
  font-weight: bold;
  color: white;
  opacity: 1;
}

#chat_button {
}

#users_button {
}

#users_list_container {
  background-color: white;
  position: absolute;
  bottom: 0px;
  top: 125px;
  border: 1px solid #012c79;
  width: 100%;
  display: none;
}

#users_list {
  position: absolute;
  bottom: 10px;
  top: 10px;
  left: 10px;
  right: 10px;
  overflow-y: auto;
  font-size: 14px;
}

.icon-user {
  padding-right: 10px;
}

#chat_body_container {
  background-color: white;
  position: absolute;
  bottom: 41px;
  top: 125px;
  border: 1px solid #012c79;
  width: 100%;
}

#chat_body {
  position: absolute;
  bottom: 10px;
  top: 10px;
  left: 10px;
  right: 10px;
  padding-bottom: auto;
  font-size: 14px;
  overflow-y: auto;
}

#chat_body.plain {
  top: 0px;
}

#chat_message_container {
  position: absolute;
  bottom: 0px;
  top: 508px;
  border: 1px solid #012c79;
  width: 100%;
}

#chat_message {
  position: absolute;
  bottom: 0px;
  top: 0px;
  left: 10px;
  width: 90%;
  font-size: 14px;
  border: none;
}

#chat_message:focus {
  outline: 0;
}

#images_tablet {
  height: 90px;
}

#licode_logo_demo {
  position: absolute;
  height: 70px;
  margin-left: 100px;
}

#star_logo_demo {
  position: absolute;
  height: 70px;
  margin-left: 20px;
}

#back_icon {
  position: absolute;
  height: 20px;
  cursor: pointer;
  left: 10px;
  padding-top: 75px;
}

.grid_element_border {
  float: left;
  position: relative;
  background-color: #012c79;
}
.grid_element {
  position: absolute;
  bottom: 1px;
  top: 1px;
  right: 1px;
  left: 1px;
}

.chat_name {
  font-weight: bold;
  float: left;
  padding-right: 3px;
}

.chat_italic {
  font-style: italic;
}

#container_demo {
  padding-top: 75px;
}

@-webkit-keyframes interm {
  from {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 1px 5px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 68, 204, 0.5);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 1px 5px rgba(0, 0, 0, 0.25), 0 2px 25px rgba(0, 68, 204, 0.9);
  }
  to {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 1px 5px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 68, 204, 0.5);
  }
}
@-moz-keyframes interm {
  from {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 1px 5px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 68, 204, 0.5);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 1px 5px rgba(0, 0, 0, 0.25), 0 2px 25px rgba(0, 68, 204, 0.9);
  }
  to {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 1px 5px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 68, 204, 0.5);
  }
}

.intermittent {
  animation: interm 3s infinite;
  -moz-animation: interm 3s infinite;
  -webkit-animation: interm 3s infinite;
  -o-animation: interm 3s infinite;
  -ms-animation: interm 3s infinite;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.5);
  }
  to {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes zoom {
  from {
    -moz-transform: scale(1);
  }
  50% {
    -moz-transform: scale(1.5);
  }
  to {
    -moz-transform: scale(1);
  }
}

.autozoom {
  animation: zoom 3s infinite;
  -moz-animation: zoom 3s infinite;
  -webkit-animation: zoom 3s infinite;
  -o-animation: zoom 3s infinite;
  -ms-animation: zoom 3s infinite;
}

.modal {
  border-radius: 0;
  top: 65%;
}
#call {
  display: flex;
  align-items: center;
  gap: 20px;
}
#myVideo {
  position: relative;
}
.footer {
  visibility: hidden;
  position: absolute;
  bottom: 0;
  z-index: 12;
  width: 100%;
  background: black;
  opacity: 0.8;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  gap: 20px;
}
.controls {
  margin-right: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
#viewer-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.username {
  color: white;
  font-size: 20px;
  overflow: hidden;
}
.off {
  background: #ffffff !important;
}
.on {
  background: black;
}
.controls-btn {
  margin: 0;
  border: 1px solid white;
  border-radius: 20%;
  cursor: pointer;
  background: black;
  color: white;
  position: relative;
}
#messagecount {
  visibility: hidden;
  width: 25px;
  height: 25px;
  position: absolute;
  border-radius: 50%;
  background: white;
  color: red;
  top: -14px;
  right: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#usercount {
  width: 25px;
  height: 25px;
  position: absolute;
  border-radius: 50%;
  background: white;
  color: red;
  top: -14px;
  right: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.end-btn {
  background: red;
  color: white;
}
#audio_off,
#camera_off,
#noise_off,
#recording_on {
  display: none;
}

.chat-box {
  display: none;
  position: absolute;
  z-index: 999;
  bottom: 50px;
  right: 20px;
  width: 340px;
  height: 400px;
  border: 1px solid white;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  overflow-y: scroll;
  height: 100%;
  min-height: 200px;
  max-height: 400px;
  background-color: #0b2447;
}
.participants-box {
  display: none;
  position: absolute;
  z-index: 99;
  bottom: 50px;
  right: 20px;
  max-width: 300px;
  height: 70vh;
  border: 1px solid white;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  overflow-y: scroll;
  background-color: #0b2447;
  width: 300px;
  padding: 10px 30px;
  list-style: none;
  text-align: start;
}
#invite-box {
  display: none;
  color: #f1f6f9;
  border: 1px solid white;
  border-radius: 5px;
  width: 400px;
  padding: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0b2447;
  z-index: 99999;
}
#name-box {
  display: none;
  color: #f1f6f9;
  border: 1px solid white;
  border-radius: 5px;
  max-width: 400px;
  min-width: 300px;
  width: 100%;
  padding: 10px;
  position: absolute;
  top: 30%;
  left: 37%;
  background: #0b2447;
  z-index: 99999;
}

#mes-box {
  height: 85%;
  overflow-y: scroll;
  padding: 10px;
}

/* message box */
.new-message {
  animation: auto-scroll 0.5s ease-out;
}
@keyframes auto-scroll {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.chat-box::-webkit-scrollbar {
  width: 0.2em;
  background-color: #f5f5f5;
}

.chat-box::-webkit-scrollbar-thumb {
  background-color: #000000;
}

.chat-box::-webkit-scrollbar-thumb:hover {
  background-color: #555555;
}
.darker {
  border-color: #ccc;
  background-color: #ddd;
}
.usernameM {
  color: #aaa;
}
.time-right {
  float: right;
  color: #aaa;
  font-size: 10px;
}
.container::after {
  content: "";
  clear: both;
  display: table;
}

.time-left {
  float: left;
  color: #999;
}

.message-input {
  position: absolute;
  bottom: 20px;
  left: 10px;
}
.home_btns {
  cursor: pointer;
  padding: 10px 30px;
  border-radius: 5px;
  border: 0;
  background-color: #576cbc;
  color: #f1f6f9;
  font-weight: 800;
}
.input,
select {
  cursor: pointer;
  padding: 10px 30px;
  border-radius: 5px;
  border: 0;
  font-weight: 800;
}
select {
  width: 67.5%;
}
.home {
  height: 100vh;
  overflow: hidden;
}
.header {
  height: 90px;
  background-color: #e3f2fd;
  display: flex;
  align-items: center;
}
.logo {
  height: 70px;
  cursor: pointer;
  width: 120px;
  padding-left: 25px;
}
.home_main {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #f1f6f9;
}
.buttons {
  display: flex;
  gap: 20px;
}
.video-call {
  flex-direction: row;
  box-sizing: border-box;
  display: flex;
  position: relative;
  width: 99%;
  height: 100%;
  padding: 20px;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  counter-reset: video-call;
  overflow: hidden;
}
.call-layout {
  /* flex-direction: column; */
  box-sizing: border-box;
  /* display: flex; */
  flex: 1 1 auto;
  place-content: center;
  /* align-items: center; */
  height: calc(100vh - 135px);
}
.user-video {
  max-height: 99%;
  max-width: 98.5%;
  margin: 4px;
  content: counter(video-call);
  color: white;
  border: 1px solid;
  border-radius: 6px;
  overflow: hidden;
}
.call-body {
  height: 100vh;
}

.accept-call {
  background-image: url(../assets/accept_call.svg);
  background-position: center;
  background-size: cover;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-style: none;
  cursor: pointer;
  position: absolute;
  right: 50px;
  bottom: 5px;
  z-index: 99;
}
.reject-call {
  background-image: url(../assets/end_call.svg);
  background-position: center;
  background-size: cover;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-style: none;
  cursor: pointer;
  position: absolute;
  right: 10px;
  bottom: 5px;
  z-index: 999;
}
.text-msg {
  background: transparent;
  border: 1px solid white;
  padding: 10px;
  border-radius: 10px;
  color: white;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.send-wrapper {
  display: flex;
  gap: 10px;
  padding: 10px;
}
.msg_btn {
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 5px;
  border: 0;
  background-color: #576cbc;
  color: #f1f6f9;
  font-weight: 800;
}
.msg-input {
  cursor: pointer;
  padding: 10px 10px;
  border-radius: 5px;
  border: 0;
  font-weight: 800;
}
.invite-box-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.invite_btn {
  cursor: pointer;
  padding: 10px 30px;
  border-radius: 5px;
  border: 0;
  background-color: #576cbc;
  color: #f1f6f9;
  font-weight: 800;
  width: 68%;
}
.room-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.room-img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

/* Style for card container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Style for card */
.card {
  width: 150px;
  margin: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Style for avatar image */
.avatar {
  width: 50%;
  height: auto;
  border-radius: 50%;
}

/* Style for delete button */
.delete-button {
  margin-top: 10px;
  padding: 10px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
#play {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  cursor: pointer;
  background-image: url(../assets/mute-icon.png);
  background-repeat: no-repeat;
  background-position-x: 9px;
  background-position-y: 6px;
}

.user-name {
  text-transform: capitalize;
}
/* name overlay */
#video-overlay-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  background-color: black;
  border-radius: 8px;
  z-index: 1;
  flex-direction: column;
  gap: 10px;
}
#video-overlay {
  /* width: 90%;
  height: 90%;
  left: 45%; */
  /* border: 1px solid white; */
  /* border-radius: 50%; */
  /* background: cornflowerblue; */
  color: white;
  z-index: 99;
  /* display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; */
  white-space: nowrap;
  width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
#video-overlay-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #a1aeb6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: black;
}
.video-overlay-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #a1aeb6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: black;
}

.video-overlay-wrapper {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  background-color: black;
  border-radius: 8px;
  z-index: 999;
  flex-direction: column;
  gap: 10px;
}
.video-overlay {
  /* width: 90%;
  height: 90%; */
  /* left: 45%; */
  /* border: 1px solid white; */
  /* border-radius: 50%; */
  /* background: cornflowerblue; */
  color: white;
  z-index: 99;
  /* display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; */
  white-space: nowrap;
  width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.name-icon {
  width: 30px;
  height: 30px;
  left: 45%;
  border: 1px solid white;
  border-radius: 50%;
  background: cornflowerblue;
  color: white;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100%;
}
.name-list {
  display: flex;
  align-items: center;
  gap: 15px;
}
.viewer-icon {
  background-image: url(../assets/eye.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-style: none;
  cursor: pointer;
  position: absolute;
  right: 40px;
  z-index: 99;
}
.listener-icon {
  background-image: url(../assets/listener.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-style: none;
  cursor: pointer;
  z-index: 99;
  filter: invert(1);
  background-size: cover;
}
.listen-icon {
  background-image: url(../assets/listener.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-style: none;
  cursor: pointer;
  position: absolute;
  right: 40px;
  z-index: 99;
  filter: invert(1);
  background-size: cover;
}
.view-icon {
  background-image: url(../assets/eye.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-style: none;
  cursor: pointer;
  right: 40px;
  z-index: 99;
}
.conference-icon {
  background-image: url(../assets/videoCall.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-style: none;
  cursor: pointer;
  right: 40px;
  z-index: 99;
}
.broadcast-icon {
  background-image: url(../assets/broadcast-call.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-style: none;
  cursor: pointer;
  right: 40px;
  z-index: 99;
  filter: invert(1);
}
@media screen and (max-width: 786px) {
  #video-overlay {
    width: 30px;
    height: 30px;
  }
  .video-overlay {
    width: 30px;
    height: 30px;
  }
  #name-box {
    left: 0 !important;
    max-width: 100% !important;
  }
  .call-layout {
    height: calc(100vh - 179px) !important;
  }
}
.block {
  display: block !important;
}
.none {
  display: none;
}
.message-content {
  max-width: 85%;
}

/* // */
.arrow {
  color: white;
  height: 27px;
  width: 20px;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.audio-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid white;
  border-radius: 8px;
  position: relative;
}
.video-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid white;
  border-radius: 8px;
  position: relative;
}
#audioDeviceListContainer {
  display: none;
  position: absolute;
  bottom: 45px;
  background: #0b2447;
  border: 1px solid white;
  width: 250px;
}
#audioDeviceListContainerOutput {
  display: none;
  position: absolute;
  bottom: 45px;
  background: #0b2447;
  border: 1px solid white;
  width: 250px;
  right: 2px;
}
#videoDeviceListContainer {
  display: none;
  position: absolute;
  bottom: 60px;
  background: #0b2447;
  border: 1px solid white;
  color: white;
  width: 250px;
}
#audioDeviceList {
  list-style: none;
  cursor: pointer;
  color: white;
  padding: 5px;
}
#audioDeviceListOutput {
  list-style: none;
  cursor: pointer;
  color: white;
  padding: 5px;
}
#videoDeviceList {
  list-style: none;
  cursor: pointer;
  color: white;
  padding: 5px;
}
.hr {
  margin-bottom: 10px;
}
.layout-wraper {
  /* height: calc(100% - 60px); */
  display: flex;
}
#video-off {
  display: none;
  height: 80vh;
  margin: 4px;
  color: white;
  border: 1px solid;
  border-radius: 6px;
  width: 150px;
  overflow-y: scroll;
}
.flex {
  display: flex !important;
  align-items: center;
  flex-direction: column;
}
.video-off {
  width: 100px !important;
  height: 100px !important;
  position: relative !important;
  left: unset !important;
  top: unset !important;
  right: unset !important;
}
.noise {
  filter: invert(1);
}
.devices-label {
  user-select: none;
  -webkit-user-select: none; /* For iOS Safari */
  -moz-user-select: none; /* For older Firefox */
  -ms-user-select: none; /* For Internet Explorer */
}
.active-border {
  border: 2px solid red !important;
}
#screenId {
  position: absolute;
  bottom: 80px;
  left: 20px;
  max-width: 300px;
  max-height: 200px;
  min-width: 200px;
  min-height: 120px;
  width: 100%;
  height: 100%;
  border: 1px solid red;
  border-radius: 10px;
  z-index: 9999;
}
@media screen and (max-width: 520px) {
  .buttons {
    flex-direction: column !important;
  }
  .hide {
    display: none;
  }
  .call-layout {
    height: calc(100vh - 215px) !important;
  }
  .footer {
    flex-wrap: wrap !important;
  }
  .username {
    text-align: center;
    width: 100%;
  }
  .controls {
    justify-content: center !important;
  }
  .viewer-controls {
    justify-content: center !important;
    width: 100%;
  }
  #audioDeviceListContainer {
    width: 225px !important;
  }
  .participants-box {
    max-width: 250px !important;
  }
  #video-off {
    height: 67vh;
  }
}
.screen-share-full {
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  max-height: unset !important;
  left: 0 !important;
}
#screenId:hover .screen-share-black-strip {
  visibility: visible; /* or any other display property you want */
}
.screen-share-black-strip {
  visibility: hidden;
  position: absolute;
  bottom: 0;
  z-index: 12;
  width: 100%;
  background: black;
  opacity: 0.8;
  min-height: 40px;
  border-radius: 0px 0px 10px 10px;
  padding: 5px 20px;
  display: flex;
  justify-content: flex-end;
}
.filter-invert {
  filter: invert(1);
}

.remote-screen-share-full {
  left: 0px !important;
  top: 0px !important;
  height: 100vh !important;
  width: 100vw !important;
  position: fixed !important;
  z-index: 999999 !important;
  margin: 0 !important;
  max-width: unset !important;
  max-height: unset !important;
}

/* audio video toggle */
.toggles {
  display: flex;
  align-items: center;
  width: 80%;
  justify-content: space-around;
}
.toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 25px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
.no-toggles {
  display: none !important;
}
