

/* @import url('../node_modules/font-awesome/css/font-awesome.min.css'); */
@import url('../node_modules/@apple/sf-symbols-web/dist/sf-symbols-all.css');

/* ************** All Control css ************** */
button {
  margin: auto;
}

fieldset {
  border-radius: 8px !important;
  margin-top: 10px !important;
}

.collapsible {
  background-color: #fff;
  color: black;
  cursor: pointer;
  padding: 12px;
  width: 100%;
  text-align: left;
  font-size: 15px;
  font-weight: bold;
  margin-top: 10px;
  border-radius: 8px;
  border-color: #53b4f5;
  border-width: 1px;
}

.active,
.collapsible:hover, .collapsible:focus {
  outline: none;
  border-color: #53b4f5;
}

.collapsible:after {
  content: '\002B';
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

#lPanelContent button:focus {
  outline:0;
} 

.active:after {
  content: "\2212";
}

.content {
  padding: 0 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #fff;
}

.oneLine{
  overflow: hidden; 
  box-sizing: border-box;
  display:flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center;
}

#voiceCallControl  {
  overflow: hidden; 
  box-sizing: border-box;
  display:flex; 
  flex-direction: row; 
  justify-content: center; 
  align-items: center;
}

.alignSelfFlexEnd {
  align-self: flex-end;
}

input[type=text] {
  width: 87%;
  padding: 10px 20px;
  margin: 4px 10px 4px 0px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 18px;
}

time {
  float: right;
}

#caller {
  font-weight: bold;
  display:block;
  padding-right: 10px;
}


.marginAdjust {
  margin: 0px -12px 0px -12px;
}
.btn-inline {
  display:flex; 
  flex-direction: row; 
  margin-top: 5px;
}

.btn-inline button {
  width: 100%;
  border: 1px solid gray; 
  color: gray; 
  padding: 10px 24px; /* Some padding */
  cursor: pointer; /* Pointer/hand icon */
  float: left; /* Float the buttons side by side */
  font-size: 15px;
}

.btn-inline button:not(:last-child) {
  border-right: none; /* Prevent double borders */
}

.btn-inline button:focus {
  outline:0;
}

.inlineBtnActive {
  background-color: #fff;
  color: #000 !important;
}

#callBtn {
  width: 100%;
  background-color: #5CDB74;
  border: none;
  padding: 10px 24px; /* Some padding */
  cursor: pointer; 
  color: white;
  font-size: 15px;
}

.callBtnStarted {
  background-color: #f00;
  content: 'End Call';
}
#callBtn:focus {
  outline:0;
}

#callBtn:active {
  background-color:  rgba(255, 0, 0, 0.5);
  transform: translateY(2px);
}

 /* ************** Dial pad css ************** */   
#phone {   
  background-size: contain;
  height:500px;
  text-align: center;
}

#wrapper {
  width:auto; 
  display: inline-block;
  margin:0 auto 0 auto;
  position:relative;
  top:10px;
  padding:12px 0 0px 0;
}
.key {
  border-radius: 40px;
  color:#000;
  background-color: #d6d6d6;
  width:80px;
  height:80px;
  text-align:center;
  font-size:35px;
  font-weight: bold;
  float:left;
  box-sizing:border-box;
  padding:12px 0 0 0;
  margin:0 10px 12px 10px;
  cursor:pointer;
}
.key span {
  display:block;
  color:#000;
  text-align:center;
  font-size:12px;
  text-transform:uppercase;
}
.key.special {
  line-height:60px;
}
.key.nb {
  border:none;
  background-color: transparent;
}
/*
.key.nb img{
  width: 50%;
  max-height: 80%;
  padding-top: 7px;
} */
.key.cb {
  background:#5CDB74;
  border:none;
  color:#FFF;
  line-height:60px;
  font-size:40px;
}

.key.callStarted {
  background:#f00;
  border:none;
  color:#FFF;
  line-height:60px;
  font-size:40px;
  transform: rotate(135deg);
}

.key:active {
  opacity: 0.5;  
}

.key.callStarted:active {
  opacity: 0.5;  
  transform: rotate(135deg);
}

.keypadHide {
  display: none;
}

.keypadShow {
  display: block;
}

.select-videoControl { 
  width: 100%;
  padding: 10px 20px 10px 10px;
  margin-right: 20px;
  border: none;
  background: #929292;
  color: #fff;
  font-size: 16px;
  text-align-last: center;
  text-align: center;
  -webkit-appearance: none;
}
 
.select-videoControl:focus {outline:0;}

.minimal-select {
  background-image:
    linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
}

.video_screen-size {
  height: "375px";
}

/* ************** Right Panel css ************** */
.heading-btn-inline {
  display:flex; 
  flex-direction: row; 
  /* margin-top: 5px; */
}

.heading-button {
  width: 100%;
  border: none; 
  background-color: #e4f3fe;
  padding: 9px 20px 10px; /* Some padding */
  cursor: pointer; /* Pointer/hand icon */
  float: left; /* Float the buttons side by side */
  font-size: 14px;
  border-bottom: 2px solid #53b4f5;
}

.heading-btn-inline button:first-child {
  border-right: 2px solid #53b4f5; 
}

.heading-btn-inline button:focus {
  outline:0;
} 

.heading-btn-inline button:active {
  font-weight: lighter;
  background-color: #53b4f5;
}

.active-heading {
  outline:0;
  font-weight: bold;
  background-color: #76abca !important;
  border-bottom: 0;
}

.rPanel-select {
  margin-left: 18px !important;  
  width: 95%; 
  float: right;
  height: 30px;
  border: 1px solid gray; 
  border-radius: 4px;
}

.rPanel-select-sm {
  margin-left: 10px !important; 
  width: 30% !important;
  float: none !important;
}

.rPanel-btn {
  padding: 3px 15px !important;
  font-size: 12px !important;
  line-height: 1.5;
  background-color: lightgray;
  border-radius: 4px;
  border: none;
}

.slider {
  transition: opacity .2s;
}

/* ************** common css ************** */

.disabled {
  pointer-events: none;
}

.tfDisabled {
  pointer-events: none;
  font-weight: bold;
  display:block;
  outline: none;
  border: none !important;
  text-align: right;
}

.bold {
  font-weight: bold;
}

.clear {
  clear:both;
}

.visuallyhidden { 
  visibility: hidden;
}


/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 12px;
  width: 12px;
  background-color: #fff;
  border: 1px solid gray;
  border-radius: 3px;
}

.deviceStatus input:checked ~ .checkmark {
  border: 0px solid red;
  height: 14px;
  width: 14px;
  border-radius: 3px;
  background-color:green;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.deviceStatus input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.deviceStatus .checkmark:after {
  left: 5px;
  top: 2px;
  width: 2px;
  height: 6px;
  border: solid white;
  border-width: 0px 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.deviceStatus {
  margin: 4px 0 0;
  position: relative;
  padding-left: 16px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.statusChange{
  background-color: royalblue

}

.MainContainer {position:relative;}
.remote-container{
    position:relative;
    text-align: center;
    border: 1px solid red;
    object-fit: contain;
}

.local-container{
    height: 100%;
    width:100%;
    position:absolute;
    bottom:0;
    right:0;
    border: 1px solid blue;
    transition: width 1s, height 1s;
    object-fit: contain;
}

.videocanvas-mirror{
  transform: rotateY(180deg);
  -webkit-transform:rotateY(180deg); /* Safari and Chrome */
  -moz-transform:rotateY(180deg); /*  Firefox */
}

.mirror {
  color: black;
  background-color:#dae3f4 ;
}

.unmirror {
  color:#dae3f4;
  background-color: grey;
}

#btn-canvas-mirror {
  position: absolute;
  font-size: 13px;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border: unset;
  border-radius: 50%;
}

#btn-pip {
  position: absolute;
  font-size: 13px;
  left: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border: unset;
  border-radius: 50%;
}

.btn-fab {
  font-size: 15px;
  width: 30px;
  height: 30px;
  border: unset;
  border-radius: 50%;
}


/****** Popup Styles *******/
#overlayPopup {
  background-color: rgba(0, 0, 0, 0.5);
  bottom: 0;
  display: none;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

#showPopup {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.popupWindow {
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  height: 100%;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.popupBlock {
  background-color: #fff;
  border-radius: 5px;
  width: 700px;
  z-index: 99;
}

.popupHeader {
  border-bottom: 1px solid #53b4f5;
  padding: 15px;
  position: relative;
}

.popupHeader h3 {
  margin: 0;
}

.closePopup {
  color: #000;
  top: 15px;
  position: absolute;
  right: 15px;
  z-index: 9;
}

.closePopup:hover, .closePopup:focus, .closePopup:active { 
  color: #000;
}

.popupBody {
  padding: 15px;
}

.popupBody table {
  border-collapse: collapse;
  width: 100%;
}

.popupBody table thead {
  border-bottom: 1px solid rgba(83, 180, 245, 1);
}

.popupBody table tbody tr:nth-child(odd) {
  background-color: rgba(211, 211, 211, 0.8);
}

.popupBody table tr td {
  padding: 8px;
  text-align: center;
}

.popupBody table tbody tr td:first-child {
  text-align: left;
}

.popupBody table tbody:hover tr {
  background-color: transparent;
}

.popupBody table tbody:hover tr:hover {
  background-color: rgba(83, 180, 245, 0.5);
}

/* ======================================================= 
// snackbar....
// ======================================================= */
#snackbar {
  visibility: hidden;
  min-width: 500px;
  margin-left: -250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 300px;
  font-size: 17px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 300px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 300px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 300px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 300px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

/* Modal for User webservice text feilds */
.modal {
  display: none;
  position: fixed;
  z-index: 8;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  margin: 50px auto;
  border: 1px solid #999;
  width: 60%;
  background: #e4f3fe;
}
h2,p {
  margin: 0 0 20px;
  font-weight: 400;
  color: #999;
}      
span {
  color: #666;
  display: block;
  padding: 0 0 5px;
}
form {
  padding: 25px;
  margin: 25px;
  box-shadow: 0 2px 5px #f5f5f5;
  background: #eee;
}
input.userDetails {
  width: 96%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #1c87c9;
  outline: none;
}
.contact-form button {
  width: 100%;
  padding: 10px;
  border: none;
  background: #1c87c9;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
button:hover {
  background: #2371a0;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding-right: 5px;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
button.button {
  background: none;
  border-top: none;
  outline: none;
  border-right: none;
  border-left: none;
  border-bottom: #02274a 1px solid;
  padding: 0 0 3px 0;
  font-size: 16px;
  cursor: pointer;
}
button.button:hover {
  border-bottom: #a99567 1px solid;
  color: #a99567;
}

/* Loader */
#loader {
  display: inline-block;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 100px;
  height: 100px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loaderContainer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
	width: 100%;
  height: 100vh;
  background: #e4f3fe;
  opacity: 0.5;
}

/* Editable Combo box */
#loadFromWebApiSelect  {
  position:relative;
  background-color:white;
  /* border:solid grey 1px; */
  /* width:120px; */
  /* height:25px; */
}
#loadFromWebApiSelect select {
  position:absolute;
  top:0px;
  left:0px;
  font-size:14px;
  border:none;
  width:95%;
  height: 100%;
  margin:0;
  z-index: 1;
  outline: none;
}

#loadFromWebApiSelect input {
  position:absolute;
  top:0px;
  left:0px;
  width:90%;
  z-index: 2;
  padding:1px;
  font-size:14px;
  border:none;
  outline: none;
  margin-left: 10px !important
}

/* Radio button Audio/video */
.remoteInfo {
  margin-left: 10px;
  float: right;
  margin-top: 10px;
  background-color: yellow;
}

/* ===========SIP INFO Message============= */
/* https://codepen.io/sajadhsm/pen/odaBdd */
:root {
  --body-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --msger-bg: #fff;
  --border: 2px solid #ddd;
  --left-msg-bg: #ececec;
  --right-msg-bg: #579ffb;
}

.msger {
  display: flex;
  /* flex-flow: column wrap; */
  justify-content: space-between;
  /* width: 100%; */
  /* max-width: 867px; */
  margin: 10px 5px;
  /* height: calc(100% - 50px); */
  border: var(--border);
  border-radius: 5px;
  background: var(--msger-bg);
  /* box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2); */
}

.msger-chat {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  word-break: break-word;
  height:150px;

  /* flex-grow: 1;   */
  /* overflow: auto;
  overflow-y: scroll; */
}

.msger-chat::-webkit-scrollbar {
  width: 5px;
}
.msger-chat::-webkit-scrollbar-track {
  background: #ddd;
}
.msger-chat::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}

.msg {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}
.msg:last-of-type {
  margin: 0;
}
.msg-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  background: #ddd;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}
.msg-bubble {
  max-width: 70%;
  padding: 10px;
  border-radius: 12px;
  background: var(--left-msg-bg);
}
.msg-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}
.msg-info-type {
  margin-right: 5px;
  font-size: 0.75em;
  margin-left: 10px;
  /* font-weight: bold; */
}
.msg-info-time {
  font-size: 0.75em;
  color: #929292;
}

.left-msg .msg-bubble {
  border-bottom-left-radius: 0;
}

.right-msg {
  flex-direction: row-reverse;
}
.right-msg .msg-bubble {
  /* background: var(--right-msg-bg);
  color: #fff; */
  border-bottom-right-radius: 0;
}
.right-msg .msg-img {
  margin: 0 0 0 10px;
}

#headersBtn {
  float: right;
  margin-top: 10px;
}

#headersKeyTB, #headersValueTB {
  width: 33%;
}

#statstbody {
  overflow-y: auto;
  height: 100px;
  display: block;
}

.popupStats {
  padding: 15px;
}

.popupStats table {
  border-collapse: collapse;
  width: 100%;
}

.popupStats table thead {
  border-bottom: 1px solid rgba(83, 180, 245, 1);
}

.popupStats table tbody tr:nth-child(odd) {
  background-color: rgba(211, 211, 211, 0.8);
}

.popupStats table tr td {
  padding: 8px;
  text-align: center;
  width: max-content;
}

.popupStats table tbody tr td:first-child {
  text-align: left;
}

.popupStats table tbody:hover tr {
  background-color: transparent;
}

.popupStats table tbody:hover tr:hover {
  background-color: rgba(83, 180, 245, 0.5);
}


.tableContainer{
  padding: 1rem;
  margin: 1rem;
}
.table-scroll{
  /*width:100%; */
  display: block;
  empty-cells: show;
  
  /* Decoration */
  /* border-spacing: 0;
  border: 1px solid; */
}

.table-scroll thead{
  background-color: #f1f1f1;  
  position:relative;
  display: block;
  width:100%;
  overflow-y: scroll;
}

.table-scroll thead tr{
  height: 40px;
} 

.table-scroll tbody{
  /* Position */
  display: block; 
  position:relative;
  width:100%; 
  overflow-y:scroll;
  /* Decoration */
  /* border-top: 1px solid rgba(0,0,0,0.2); */
}

.table-scroll tr{
  width: 100%;
  display:flex;
}

.table-scroll td,.table-scroll th{
  flex-basis:100%;
  flex-grow:2;
  display: block;
  padding: 1rem;
  text-align:center;
}

.table-scroll  td:first-child{
  text-align: left;
}

#kvpTable th, td {
  text-align: left;
  padding: 0px 8px;
}
/* Other options */

/* .table-scroll.small-first-col td:first-child,
.table-scroll.small-first-col th:first-child{
  flex-basis:90%;
  flex-grow:1;
} */

 #audioHeader, #videoHeader, #bandwidthHeader{
  background-color: rgba(130,130,170,0.1);
}

.body-half-screen{
  max-height: 45vh;
}

.small-col{flex-basis:10%;}

/* Set color for values */

#audioCodec, #videoCodec, #audioSendRTT, #videoSendRTT, #audioConnection, #videoConnection, #audioPacketReceived,
 #videoPacketReceived, #audioPacketSent, #videoPacketSent, #audioNetwork, #videoNetwork {
  color: #555252;
}

.MainContainer.fullscreen{
  z-index: 9999;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
 }

 .remote-container.fullscreen{
  width: 100%;
  height: 100%;
 }
 
 #btn-pip-dialog {
  position: absolute;
  font-size: 13px;
  left: 50px;
  top: 10px;
  width: 30px;
  height: 30px;
  border: unset;
  border-radius: 50%;
}

#btn-pip-move {
  position: absolute;
  font-size: 13px;
  left: 90px;
  top: 10px;
  width: 30px;
  height: 30px;
  border: unset;
  border-radius: 50%;
}