*, *::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,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
50% {  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); }
to {   box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
}
@-moz-keyframes interm {
from { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
50% {  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); }
to {   box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.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: .8;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
}
.controls{
  margin-right: 10px;
  display: flex;
    align-items: center;
    gap: 10px;
}
.username{
  color: white;
  font-size: 20px;
  margin-left: 10px;
}
.off{
  background: #FFFFFF !important;
}
.on{
  background: black;
}
.controls-btn{
  margin: 0;
  border: 1px solid white;
  border-radius: 20%;
  cursor: pointer;
  background: black;
  color: white;
}
.end-btn{
  background: red;
    color: white;
}
#audio_off , #camera_off{
  display: none;
}


.chat-box {
  display: none;
  position: absolute;
  z-index: 99;
  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;
}
#invite-box{
  display: none;
  color: #F1F6F9;
  border: 1px solid white;
  border-radius: 5px;
  width: 400px;
  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{
  cursor: pointer;
  padding: 10px 30px;
    border-radius: 5px;
    border: 0;
    FONT-WEIGHT: 800;
}
.home{
  height: 100vh;
  overflow: hidden;
}
.header{
  height: 60px;
  background-color: #576CBC;
  display: flex;
  align-items: center;
}
.logo{
  height: 50px;
  cursor: pointer;
}
.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: 100%;
  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(90% - 60px);
  }
.user-video {
    max-height: 100%;
    margin: 4px;
    content: counter(video-call);
    color: white;
    border: 1px solid;
    border-radius: 6px;
    }
    .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: 99;
  }
  .text-msg{
    background: transparent;
    border: 1px solid white;
    padding: 10px;
    border-radius: 10px;
    color: white;
    margin-bottom: 10px;
  }
  .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%;
  }