  #webcam-container {
    padding: 0;
  }
  
  canvas {
    position: absolute;
    top: 0;
    left: 0;
  }

  #webcam {
    background: black;
    width: 100%   !important;
    height: auto  !important;
    margin: 0;
    border: 0px;
  }

  #cameraFlip {
    width: 32px;
    height: 32px;
    margin-left: 10px;
    position: absolute;
    cursor: pointer;
    background-color: transparent;
    background-position : center center;
    background-repeat:no-repeat;
    background-image : url(../images/camera_flip.png);
  }

  .loading{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300000;
    border: white 1px;
    color: white;
    padding: 75px 26px;
    font-size: 22px;
    margin: auto;
    width: 200px;
    height: 200px;
  }

  .spinner-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    color: white;
    z-index:300000;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;   
  }

  @media screen and (max-width: 575px) {
    .form-control {
      height: 40px;
      margin-bottom: 5px;
      padding: 15px 0px 15px 10px;
      border: 0px;
    }
  }
  @media screen and (min-width: 576px) {
    .form-control {
      padding-top: 15px;
      padding-bottom: 15px;
      height: 60px;
      margin-bottom: 5px; 
    }
  }

  .camerasList {
    width: 90%;
  }

  .form-switch {
    display: inline-block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .form-switch i {
    position: relative;
    display: inline-block;
    margin-right: .5rem;
    width: 46px;
    height: 26px;
    background-color: #e6e6e6;
    border-radius: 23px;
    vertical-align: middle;
    transition: all 0.3s linear;
  }
  
  .form-switch i::before {
    content: "";
    position: absolute;
    left: 0;
    width: 42px;
    height: 22px;
    background-color: #fff;
    border-radius: 11px;
    transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
    transition: all 0.25s linear;
  }
  
  .form-switch i::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    transform: translate3d(2px, 2px, 0);
    transition: all 0.2s ease-in-out;
  }
  
  .form-switch:active i::after {
    width: 28px;
    transform: translate3d(2px, 2px, 0);
  }
  
  .form-switch:active input:checked + i::after { transform: translate3d(16px, 2px, 0); }
  
  .form-switch input { display: none; }
  
  .form-switch input:checked + i { background-color: #4BD763; }
  
  .form-switch input:checked + i::before { transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); }
  
  .form-switch input:checked + i::after { transform: translate3d(22px, 2px, 0); }

  .form-switch input:disabled + i { background-color: #eeeeee; cursor: not-allowed; }

  .form-switch input:disabled + i::after {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.10);
  }

  .disabled {
      color: #aaa;
      cursor: not-allowed;
  }

  #errorMsg {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    z-index: 999999;
}
.d-none{
  display: none;
}
.pswitch{
  padding: 3px 5px;
}
.face-id-popup {
  width: 220px;
  height: 260px;
  background: #2f2f2f;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease-out;
}

.face-id-popup h2 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 25px;
}

.face-id-icon {
  width: 70px;
  height: 70px;
  border: 2px dashed #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.face-id-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.status-text {
  color: #00ffae;
  font-size: 18px;
  font-weight: 500;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 575.98px) {
  .text-center-xs {
    text-align: center !important;
    padding-bottom: 10px;
  }
  #webcam{
    max-height: 400px;
    min-height: 400px;
  }
}