*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #232222;
}

.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;
  /* top: 9%; */
}

#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;
  bottom: 5% !important;
}

@media (max-width:768px) {
  .footer {
    position: fixed;
    bottom: 0 !important;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    display: flex;
    justify-content: center;
    /* opacity: 0 !important;
    transition: opacity 0.5s ease-in-out !important; */
    pointer-events: auto;
  }

  .footer.visible {
    opacity: 1 !important;
    pointer-events: auto;
  }
}

.controls {
  margin-right: 10px;
  display: flex;
  /* align-items: center; */
  gap: 10px;
  flex-wrap: wrap;
  /* margin-bottom: 2%; */
}

.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: 50%;
  cursor: pointer;
  background: #00000000;
  color: white;
  position: relative;
  height: 40px;
}

#camera_off {
  background: #00000000 !important;
}

#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 {
  background-color: #1c264d;
  width: 330px;
  margin: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Style for avatar image */
.avatar {
  width: 50%;
  height: auto;
  border-radius: 50%;
  min-width: 70px;
  min-height: 70px;
  border: 1px solid white;
}

/* 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 {
  border-radius: 50%;
  background: #a1aeb6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: black;
  width: 60px;
  height: 60px;
}

/* #video-overlay-initials {
  width: 40px;
  height: 40px;
} */

.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;
}

.client-end-btn {
  background-color: #FF0000;
  width: 110px;
  height: 50px;
  color: white;
  border-radius: 5px;
  font-size: 22px;
  cursor: pointer;
}

.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: 60px;
    height: 30px;
  }

  #video-overlay-initials {
    border-radius: 50%;
    background: #a1aeb6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: black;
    width: 30px;
    height: 30px;
  }

  .video-overlay {
    width: 60px;
    height: 30px;
  }

  #name-box {
    left: 0 !important;
    max-width: 100% !important;
  }

  .call-layout {
    height: calc(100vh - 179px) !important;
  }

  .client-end-btn {
    background-color: #FF0000;
    width: 80px;
    height: 40px;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
}

.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;
  padding: 3px 3px 0px 0px;
}

.audio-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid white;
  border-radius: 25px;
  position: relative;
}

.video-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid white;
  border-radius: 25px;
  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-top: 5%;
  color: #ffffff00;
  border: 1px solid;
  border-radius: 6px;
  /* width: 150px; */
  /* overflow-y: scroll; */
  top: 16%;
  margin-right: 2%;
}

.flex {
  display: flex !important;
  align-items: center;
  flex-direction: column;
}

.video-off {
  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;
}

/* @media (max-width: 1024px) {
  .user-video.ot-layout {
    width: 100vw !important;
    height: 100vh !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    border: 0 !important;
    top: 0 !important;
  }

  #myVideo {
    width: 26% !important;
    height: 30% !important;
    z-index: 999 !important;
    position: fixed !important;
    overflow: hidden !important;
    top: 64% !important;
    left: 72% !important;
  }

  #remoteVideoContainer {
    width: 100vw !important;
    height: 50vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
  }

  #localVideoContainer {
    width: 150px !important;
    height: 150px !important;
    position: fixed !important;
    bottom: 10px !important;
    right: 10px !important;
    border-radius: 8px !important;
    z-index: 10000 !important;
    border: 2px solid white !important;
  }
}

@media (max-width: 768px) {
  .user-video.ot-layout {
    width: 100vw !important;
    height: 100vh !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    border: 0 !important;
    top: 0 !important;
  }

  #myVideo {
    width: 22% !important;
    height: 20% !important;
    z-index: 999 !important;
    position: fixed !important;
    overflow: hidden !important;
    top: 70% !important;
    left: 75% !important;
  }

  #remoteVideoContainer {
    width: 100vw !important;
    height: 50vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
  }

  #localVideoContainer {
    width: 150px !important;
    height: 150px !important;
    position: fixed !important;
    bottom: 10px !important;
    right: 10px !important;
    border-radius: 8px !important;
    z-index: 10000 !important;
    border: 2px solid white !important;
  }
} */

.footer {
  position: absolute;
  bottom: 0;
  z-index: -1;
  width: 100%;
  background: #4680ff !important;
  opacity: 0.8;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  gap: 20px;
  background: #4680ff00 !important;
}

#footer {
  z-index: 999;
}

.footer .username {
  visibility: hidden !important;
}

.controls {
  gap: 20px;
}

.remote-video {
  max-height: 100%;
  max-width: 100%;
  margin: 4px;
  content: counter(video-call);
  /* color: rgb(252, 56, 56);
  border: 5px solid rgb(252, 56, 56); */
  border-radius: 6px;
  overflow: hidden;
}

#ring-call-btn {
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 50%;
  background: #00000000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  display: none;
  visibility: visible !important;
  background-color: green !important;
}

#ring-call-btn img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

#myVideo {
  position: relative;
  /* Ensures volume control is positioned relative to the video container */
}

#brightness-control {
  width: 40px;
  height: 40px;
  border: 1px solid white;
  border-radius: 50%;
  background: #00000000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#brightness-control img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.brightness-control,
.volume-control {
  position: relative;
  display: inline-block;
}

.brightness-slider {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.volume-slider {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.hidden {
  display: none;
}

#volume-control img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
  display: flex;
  justify-content: center;
  align-items: center;
}


.brightness-control {
  position: relative;
  display: inline-block;
}

.brightness-slider {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.hidden {
  display: none;
}

@media screen and (max-width: 768px) {
  .volume-slider {
    width: 120px;
    height: 4px;
    top: -30%;
    left: -90% !important;
  }

  .brightness-slider {
    height: 4px;
    top: -30%;
    left: 0;
  }

  .brightness-slider,
  .volume-slider {
    width: 90px;
    height: 2px;

  }
}

/* @media screen and (max-width: 768px) {

  .brightness-slider,
  .volume-slider {
    width: 90px;
    height: 2px;

  }
} */

.material-icons {
  font-size: 26px !important;
}

#brightness-button {
  border: 0px solid white !important;
}

.box-btn {
  background-color: red;
  border-radius: 5px;
  padding: 0px 10px;
  right: 40%;
}

.box-btn .green {
  background-color: green !important;
}

.controls-btn[data-tooltip] {
  position: relative;
}

.controls-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 1000;
}

.controls-btn[data-tooltip]::before {
  content: '';
  position: absolute;
  bottom: 90%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 1000;
}

.controls-btn[data-tooltip]:hover::after,
.controls-btn[data-tooltip]:hover::before {
  opacity: 1;
}

@media (max-width: 768px) {
  .brightness-slider .volume-slider {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 120px;
    -webkit-appearance: slider-vertical;
    writing-mode: bt-lr;
    display: none;
    z-index: 10;
  }
}

/* @media (max-width: 768px) {

  .brightness-control,
  .volume-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-direction: column;
  }

  .brightness-slider,
  .volume-slider {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 90px;
    display: none;
    -webkit-appearance: slider-vertical;
    writing-mode: bt-lr;
    background: #ccc;
    border-radius: 5px;
    outline: none;
    z-index: 10;
        top: -100px !important;
  }

  .brightness-slider::-webkit-slider-thumb,
  .volume-slider::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    background: #007bff;
    cursor: pointer;
  }
} */

#leave-call-btn {
  background-color: green !important;
  border-radius: 8px;
  font-size: 16px;
  justify-content: center;
  align-items: center;
}

#end-call-btn {
  background-color: red !important;
  border-radius: 8px;
  font-size: 16px;
  color: white;
  justify-content: center;
  align-items: center;
}

#leave-call-btn:hover {
  background-color: #184d00;
}

#end-call-btn:hover {
  background-color: #cc0000;
}

#leaveCall {
  display: none;
  gap: 20px;
}


@media (max-width: 768px) {
  .viewer-layout #call {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-around !important;
    align-items: center !important;
    gap: 0px !important;
    width: 100% !important;
    padding: 1% !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .viewer-layout #myVideo,
  .viewer-layout .remote-video {
    /* width: 90vw !important; */
    max-width: 100% !important;
    margin-bottom: 10px !important;
    flex: 1 1 45% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 50vh !important;
    position: relative !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {

  #leave-call-btn,
  #end-call-btn,
  .red-line-indicator {
    display: inline-block !important;
    visibility: visible !important;
  }

  .footer {
    display: flex !important;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    background-color: black;
  }
}

.thumnail-card {
  position: relative !important;
  min-height: 350px;
}

.thumbail-avatar {
  position: absolute;
  width: 100%;
  height: 185px;
  top: 0;
  border-radius: unset !important;
}

.thumbail-play {
  position: absolute;
  z-index: 99;
  top: 25%;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  opacity: 0.7;
  width: 40px;
}

.thumbail-play:hover {
  transform: scale(0.8);
}

.card-data {
  position: absolute;
  bottom: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  letter-spacing: 1px;
  font-weight: 300;
  font-size: 14px
}

@media (max-width: 325px) {

  #leave-call-btn,
  #end-call-btn {
    font-size: 12px;
  }
}