#webrtc-container {
    background-color: 302F2F;
    font-family: Roboto, Helvetica Neue, sans-serif;
    font-size: 100%;
    overflow: hidden;
    position: relative;

    width: 100%;
    height: 100%;
}

#webrtc-container .call-view-container {
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    transition: width 250ms ease-in-out;
}

#webrtc-container .device-settings {
    background-color: #2d2c2c;
    width: 260px;
    min-width: 180px;
    position: absolute;
    bottom:-500%;
    transition: bottom 250ms ease-in-out;
    overflow: hidden;
    z-index: 1000;
    border-radius: 12px;
}

#webrtc-container .ui-btn {
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #5e5a5a;
    border: 1px solid transparent;
    border-radius: 50%;
    margin-right: 5px;
    padding: .375rem .75rem;
    line-height: 1.5;
    cursor: pointer;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#webrtc-container .btn-leave-call {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
    margin-left: 4px;
    height: 40px;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

#webrtc-container .btn-start-rec {
    color: #fff;
    background-color: #36A693;
    border-color: #36A693;
    display: flex;
    width: fit-content;
    margin: 4px auto;
    border-radius: 47px;
}

#webrtc-container .btn-start-rec:disabled {
    background-color: #616469;
    border-color: #616469;
}

#webrtc-container .btn-stop-rec {
    color: #fff;
    background-color: #36A693;
    border-color: #36A693;
    display: none;
    width: fit-content;
    margin: 4px auto;
    border-radius: 47px;
}

#webrtc-container .btn-dismiss-message {
    color: #fff;
    border-color: #0eb9b9;
    width: fit-content;
    cursor: pointer;
}

#webrtc-container .btn-stop-rec:disabled {
    background-color: #616469;
    border-color: #616469;
}

#webrtc-container .overlay-container {
    height: 100%;
    width: 100%;
    display: none;


    position: absolute;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.87);
}

/* body {
    font-size: 10px;
} */

.remove-user-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

 .topbar-container {
    position: absolute;
    z-index: 100;
    /* left: 0; */
    /* right: 0; */
    /* top: 0; */
    width: 100%;
    bottom: 0;
    /* background: #353A48; */
    color: #ffffff;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    justify-content: space-between;
    transition: transform .25s;
    /* background-color: rgb(52, 50, 50); */
    opacity: 0.5;
}

#webrtc-container .info-parent-container {
    display: none;
    align-items: center;
    justify-content: center;
    background: #494d5a;
    height: 40px;
    z-index: 100;
    position: absolute;
    left: 0;
    right: 0;
    /* transform: translateY(50px); */
    transition: transform .25s;
}

.ui-buttons-top {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding-right: 16px;
    transition: transform .25s;
}

#call-view-container .ui-buttons-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #353A48;
    height: 50px;
    position: absolute;

    left: 0;
    right: 0;
    bottom: 60px;
    transition: transform .25s;
}

/* #webrtc-container .info-message-container {
    background: rgb(39, 90, 64);
    z-index: 1;
    color: rgb(228 228 234);
    position: absolute;
    top: 120px;
    right: 8px;
    display: none;
    align-items: center;
    padding: 16px;
} */

.divider {
    height: inherit;
    width: 1px;
    background-color: gray;
    margin: 0 8px;
}




.ui-label {
    position: relative;
    display: inline-block;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    
    margin: auto 0;
    margin-right: 5px;
    cursor: pointer;
    background-color: #000000;
    padding: .375rem .75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color:white;
    opacity: 1;
}

.ui-label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ui-label-icon:before {
    height: 24px;
    width: 24px;
    line-height: 34px;
}

.ui-icon-cam:before {
    content: "videocam_off";
    /* color: #9a9a9a; */
}

.ui-label>input:checked+.ui-icon-cam:before {
    content: "videocam";
    /* color: #ffffff; */
}

.ui-label>input:checked+.disabled:before {
    color: #6a6a6a;
}

.ui-icon-mic:before {
    content: "mic_off";
    /* color: #9a9a9a; */
}

.ui-label>input:checked+.ui-icon-mic:before {
    content: "mic";
    /* color: #ffffff; */
}

.ui-icon-screen:before {
    content: "screen_share";
    /* color: #ffffff; */
}

.ui-label>input:checked+.ui-icon-screen:before {
    content: "stop_screen_share";
    /* color: #9a9a9a; */
}


.text-light {
    color: #ffffff;
}

/* NEW */

.grid-container {
    position: absolute;
    background-color: #302F2F;

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.call-grid-item {
    position: absolute;
    background-color: rgb(52, 50, 50);
    border: 1px solid rgba(42, 40, 0, 80);
    border-bottom: 0;
    overflow: hidden;
    transition: height 400ms ease-in-out, width 400ms ease-in-out;
    border-radius: 12px;
    aspect-ratio: 4/3;
}

.part-grid-view-bar {
    z-index: 10;
    position: absolute;
    top: 0;
    right: 0;
    background: #444242;
    color: #fff;
    width: 18%;
    height: 25px;

    display: none;
    justify-content: flex-end;
    transition: width 400ms ease-in-out;
    border-radius: 12px;
}

.part-grid-view-bar i {
    cursor: pointer;
}

.call-grid-item:hover {
    background-color: rgb(50, 49, 49);
}

.user-image-fullscreen {
    width: 4em;
    height: 4em;
    top: calc(50% - 2em);
}

.user-info-fullscreen {
    position: absolute;
    left: 0;
    bottom: 0;
    display: none;
    background: black;
    color: #fff;
    font-size: .7em;
    align-items: center;
    padding: 0 4px;
}

.user-image-normal-screen {
    width: 8em;
    height: 8em;
    top: calc(50% - 4em);
}

.user-image-container {
    background-color: #BED4E8;
    color: #16458D;

    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* .user-image-animation {
    animation: play 2s ease infinite;
}
 */


.below-user-image-animation {
    animation: below-5 2s ease infinite;
}

.above-user-image-animation {
    animation: above-5 2s ease infinite;
}
.user-image {
    height: 100%;
    width: 100%;

    object-position: center;
    object-fit: cover;
}

.user-video-element {
    position: absolute;
    top: 0;
    left: 0;

    object-fit: cover;
    width: 100%;
    height: 100%;

    /* display: none; */
}

.user-label {
    color: #fafafa;
    /* border: 1px solid #181717; */
    /* background-color: rgba(0, 0, 0, 70); */
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    height: 30px;

    position: absolute;
    bottom: 16px;
    left: 50px;
    z-index: 1;

    display: flex;
    align-items: center;
}

.part-pin {
    color: #fafafa;
    position: absolute;
    bottom: 19px;
    left: 16px;
    z-index: 1;
    display: none;
    cursor: pointer;
}

.user-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);

    display: none;
}

.mt-16 {
    margin-top: 16px;
}

.ml-16 {
    margin-left: 16px;
}

/* Overlay Loading Animation */

.dot-pulse {
    position: relative;
    left: -9999px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #9880ff;
    color: #9880ff;
    box-shadow: 9999px 0 0 -5px #9880ff;
    animation: dotPulse 1.5s infinite linear;
    animation-delay: .25s;
}

.dot-pulse::before,
.dot-pulse::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #9880ff;
    color: #9880ff;
}

.dot-pulse::before {
    box-shadow: 9984px 0 0 -5px #9880ff;
    animation: dotPulseBefore 1.5s infinite linear;
    animation-delay: 0s;
}

.dot-pulse::after {
    box-shadow: 10014px 0 0 -5px #9880ff;
    animation: dotPulseAfter 1.5s infinite linear;
    animation-delay: .5s;
}

/* Selections (Mic, Camera, Speaker) */
.selection select {
    -webkit-appearance: none;
    border: 0;
    background: #201f1f;
    padding: 0 .5em;
    color: #fff;
    cursor: pointer;
    line-height: 3;
    border-radius: 12px;
}

.recorder-circle {
    background: #b53e3e;
    border: 2px solid #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 12px;

    display: none;
}

.flicker-container {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background-color:rgba(26,115,232,0.902);
    display:flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 55px;
    right: 20px;
    display: none;
}

.flickering-element {
    width: 2px;
    background-color:white; 
    height: 4px; 
    border: 1px solid white; 
    border-radius: 50%;
    margin: 1px;
    max-height: 25px;
}

.blink {
    text-decoration: blink;

    animation-name: blinker;
    animation-duration: 1200ms;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

#btn-hide-stats-panel:hover {
    color: #f5063d;
}

.dragging {
    cursor: move;
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.gvi-actions {
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;
}

.gvi-action-button-mob {
    height: 22px !important;
    width: 22px !important;
}

.gvi-action-button-mob i {
    font-size: 13px !important;
}

.gvi-action-btn {
    height: 32px;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;

    color: #ffffff;
    background-color: #5f6368;
    border-radius: 50%;
    margin: 0 12px;
    cursor: pointer;
}

.gvi-action-btn i {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gvi-action-btn:hover {
    background-color: #3c4043;
}

.minimized-gvi {
    align-items: center;
    justify-content: space-between;
    background-color: #4a4e51;
    border-radius: 8px;
    color: #fff;
    cursor: move;
    display: none;
    height: 36px;
    padding-left: 15px;
}

.alert-box {
    width: 200px;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    display: none;
    color: #fff;

    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
}

.remaining-min-box {
    margin-bottom: 10px;
    top: 20px;
    animation: moveRemainingMinBox 1s ease-in-out;
    opacity: 0.8;
}

.countdown-timer {
    background-color: #343232;
    font-size: 20px;
    top: 20px;
    animation: moveCountdownBox 1s ease-in-out;
    opacity: 0.8;
}

.alert-signal-shadow {
    background: transparent;
    position: absolute; 
    top: 0; 
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    display: none;
    pointer-events: none;
}

.waiting-room {
    background-color: #343232;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}

@keyframes dotPulseBefore {
    0% {
        box-shadow: 9984px 0 0 -5px #9880ff;
    }

    30% {
        box-shadow: 9984px 0 0 2px #9880ff;
    }

    60%,
    100% {
        box-shadow: 9984px 0 0 -5px #9880ff;
    }
}

@keyframes dotPulse {
    0% {
        box-shadow: 9999px 0 0 -5px #9880ff;
    }

    30% {
        box-shadow: 9999px 0 0 2px #9880ff;
    }

    60%,
    100% {
        box-shadow: 9999px 0 0 -5px #9880ff;
    }
}

@keyframes dotPulseAfter {
    0% {
        box-shadow: 10014px 0 0 -5px #9880ff;
    }

    30% {
        box-shadow: 10014px 0 0 2px #9880ff;
    }

    60%,
    100% {
        box-shadow: 10014px 0 0 -5px #9880ff;
    }
}

@keyframes blinker {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

@keyframes below-5 {

    0% {
        transform: scale(1);
    }

    15% {
        box-shadow: 0 0 0 5px rgba(41, 98, 255, 0.3);
    }

    25% {
        box-shadow: 0 0 0 10px rgba(41, 98, 255, 0.3), 0 0 0 20px rgba(41, 98, 255, 0.15);
    }

    25% {
        box-shadow: 0 0 0 15px rgba(41, 98, 255, 0.3), 0 0 0 30px rgba(41, 98, 255, 0.15);
    }
}

@keyframes above-5 {

    0% {
        transform: scale(1);
    }

    15% {
        box-shadow: 0 0 0 15px rgba(41, 98, 255, 0.3);
    }

    25% {
        box-shadow: 0 0 0 20px rgba(41, 98, 255, 0.3), 0 0 0 20px rgba(41, 98, 255, 0.15);
    }

    25% {
        box-shadow: 0 0 0 25px rgba(41, 98, 255, 0.3), 0 0 0 30px rgba(41, 98, 255, 0.15);
    }
}

@keyframes animatingBoxshadowRedAlert {
    0%, 100% {
      box-shadow: inset 0px 0px 70px #E81A2E; 
    }
  
    50% {
      box-shadow: inset 0px 0px 0px rgba(221, 11, 11, 0); 
    } 
}

@keyframes animatingBoxshadowYellowAlert {
    0%, 100% {
      box-shadow: inset 0px 0px 70px #C48A01;
    }
  
    50% {
      box-shadow: inset 0px 0px 0px rgba(221, 11, 11, 0); 
    } 
}

@keyframes moveRemainingMinBox {
    0% {
        top: -40px;
    }

    100% {
        top: 20px;
    }
}


@keyframes moveCountdownBox {
    0% {
        top: -40px;
    }

    100% {
        top: 20px;
    }
}

@keyframes moveBottomTop {
    0% {
        top: 80px;
    }

    100% {
        top: 20px;
    }
}

@keyframes moveTopBottom {
    0% {
        top: 20px;
    }

    100% {
        top: 80px;
    }
}
