﻿body, html {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
    resize: none;
    
}
body {
    font-family: 'Segoe UI', Helvetica, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
}
.top {
    height: 130px;
    width: 100%;
    background-color: #044ae2;
    position: fixed;
    z-index: -1;
}
.indicator {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 9999px;
    margin-right: 5px;
}
.label-success {
    background-color: #8ad919;
}
.label-danger{
    background-color:#DC143C	
}

.chatbox {
    margin-top: 20px;
    padding: 0;
}

.profile-pic {
    height: 40px;
    width: 40px;
}

.form-rounded {
    border-radius: 1rem;
}

.friend-pic {
    height: 50px;
    width: 50px;
    margin-left: -10px;
}

.friend-pic-new {
height: 75px;
margin-top: -19px;
margin-bottom: -12px;
margin-left: -11px;
width: 120px;
}

.name {
    font-weight: 400;
    color: #000;
}

.under-name {
    font-size: 12px;
    line-height: 15px;
    max-height: 15px;
}

.icon {
    font-size: 20px;
    color: #93dbf7;
    cursor: pointer;
}

.chat-pic {
    height: 30px;
    width: 30px;
}

.receive {
    background-color: rgb(31, 105, 241);
    border-radius: 1rem;
    padding: 10px 15px;
    display: inline-block;
}

.sent {
    background-color: whitesmoke;
    border-radius: 1rem;
    padding: 10px 15px;
    display: inline-block;
}

.time {
    font-size: 10px;
    color: #83d9fc;
    margin-top: 3%;
    margin-left: 1%;
}

.card {
    height: 100vh;
    min-width: 250px;
}

#messages {
    overflow-y: scroll;
    overflow-x: hidden;
}

#lstChat {
    overflow-y: scroll;
    overflow-x: hidden;
}

.dropdown-toggle::before {
    display: none !important;
}

.dropdown-toggle::after {
    display: none !important;
}

#emoji {
    position: absolute;
    top: -15vh;
    background-color: rgb(181, 192, 255);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0,0,0,0.23) 0px 3px 6px;
}

    #emoji #myTabContent {
        height: 20vh;
    }

#myTabContent a {
    text-decoration: none;
}

#notification {
    background-color: red;
    border: 1px solid red;
    border-radius: 50%;
    position: absolute;
    margin-top: -10%;
    font-size: 12px;
    width: 30%;
    text-align: center;
    color: white;
    font-weight: bold;
    margin-left: -12%;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
  }
  .btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
  }
  .btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    font-size: 24px;
    line-height: 1.33;
    border-radius: 35px;
  }

  .vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none;
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
 max-width:inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events:all;
}
.modal-title{
    text-align: center;
}
.content-center {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    margin-top: 20px;
}
.incom_call_name{
    align-content: center;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}
.page {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    margin: 0 auto;
    margin-top: 180px;
}
.incoming-button-calls
{
  display: flex;
  justify-content: center;
  margin:0 15px;
}

#lstNotification {
    height: 250px;
}

.loading {
    left: 55%;
    top: 60%;
    /*font-size: 36px;*/
    /*font-family: serif;*/
    font-weight: bold;
    letter-spacing: 4.4px;
    position: absolute;
    overflow: hidden;
    /*transform: translate(-50%, -60%);*/
    transform: translate(-60%, 10%);
    width: 490px;
}
        
    .loading::after {
        content: attr(data-loading-text);
        animation: loading 5s infinite;
    }
    
    @keyframes loading {
      0% { 
        width: 0; 
      }
      100% {
        width: 150%; 
      }
    }
    .popup.text-center
    {
        margin-bottom: 22px;
    }

    .login-dark {
        height:1000px;
        background-size:cover;
        position:relative;
      }
      
      .login-dark form {
        max-width:320px;
        width:90%;
        background-color:#1e2833;
        padding:40px;
        border-radius:4px;
        transform:translate(-50%, -50%);
        position:absolute;
        top:50%;
        left:50%;
        color:#fff;
        box-shadow:3px 3px 4px rgba(0,0,0,0.2);
      }
      
      .login-dark .illustration {
        text-align:center;
        padding:15px 0 20px;
        font-size:100px;
        color:#2980ef;
      }
      
      .login-dark form .form-control {
        background:none;
        border:none;
        border-bottom:1px solid #434a52;
        border-radius:0;
        box-shadow:none;
        outline:none;
        color:inherit;
      }
      
      .login-dark form .btn-primary {
        background:#214a80;
        border:none;
        border-radius:4px;
        padding:11px;
        box-shadow:none;
        margin-top:26px;
        text-shadow:none;
        outline:none;
      }
      
      .login-dark form .btn-primary:hover, .login-dark form .btn-primary:active {
        background:#214a80;
        outline:none;
      }
      
      .login-dark form .forgot {
        display:block;
        text-align:center;
        font-size:12px;
        color:#6f7a85;
        opacity:0.9;
        text-decoration:none;
      }
      
      .login-dark form .forgot:hover, .login-dark form .forgot:active {
        opacity:1;
        text-decoration:none;
      }
      
      .login-dark form .btn-primary:active {
        transform:translateY(1px);
      }
      .material-icons.md-148 { 
        font-size: 148px; 
      }
      .pinkBg {
        background-color: #ed184f!important;
        background-image: linear-gradient(90deg, #fd5581, #fd8b55);
    }
    .intro-banner-vdo-play-btn{
        height:60px;
        width:60px;
        position:absolute;
        top: 30%;
        left: 50%;
        text-align:center;
        margin:-30px 0 0 -30px;
        border-radius:100px;
        z-index:1
    }
    .intro-banner-vdo-play-btn i{
        line-height:56px;
        font-size:30px
    }
    .intro-banner-vdo-play-btn .ripple{
        position:absolute;
        width:160px;
        height:160px;
        z-index:-1;
        left:50%;
        top:50%;
        opacity:0;
        margin:-80px 0 0 -80px;
        border-radius:100px;
        -webkit-animation:ripple 1.8s infinite;
        animation:ripple 1.8s infinite
    }
    
    @-webkit-keyframes ripple{
        0%{
            opacity:1;
            -webkit-transform:scale(0);
            transform:scale(0)
        }
        100%{
            opacity:0;
            -webkit-transform:scale(1);
            transform:scale(1)
        }
    }
    @keyframes ripple{
        0%{
            opacity:1;
            -webkit-transform:scale(0);
            transform:scale(0)
        }
        100%{
            opacity:0;
            -webkit-transform:scale(1);
            transform:scale(1)
        }
    }
    .intro-banner-vdo-play-btn .ripple:nth-child(2){
        -webkit-animation-delay:.3s;
        animation-delay:.3ss
    }
    .intro-banner-vdo-play-btn .ripple:nth-child(3){
        -webkit-animation-delay:.6s;
        animation-delay:.6ss
    }
    

    .word {
        display: flex;
        height: 100%;
        /*background-color: #333;*/
        display: flex;
        height: 100%;
        margin: auto;
        color: rgb(8, 8, 8);
        font: 700 normal 2.5em;
        /*text-shadow: 5px 2px #222324, 2px 4px #222324, 3px 5px #222324;*/
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
      }

      .main-pic {
        height: 540px;
    }
    .mainimgpic2 {
        height: 540px;
        float: left;
        padding: 111px;
        margin-left: -165px;
    }
    .column {
        float: left;
        width: 33.33%;
        padding: 5px;
        margin-top: 90px;
      }
      /* Clearfix (clear floats) */
      .row::after {
        content: "";
        clear: both;
        
      }

    /*video call start*/
    
    /*webrtc start here*/
    .page2 {
        width: 100%;
        height: 100%;
        position: relative;
        display: block;
        margin: 0 auto;
    }
    /* #client_video_frame {
        height: 150px;
        position: absolute;
        top: 35px;
        /*right: 15px;*/
        /*right: 75px;
        border: 1px solid #0f0e0e;
    } */
    
    #peer_video_frame {
      width: 465px;
      height: 100%;
      border-radius: 2%;
    }
    #client_video_frame {
        width: 480px;
        border-radius: 2%;
        height: 100%;
    }
    figure{
       width:100%;
       height:100%;
       padding:1%;
       background-color:transparent;
       border-radius: 2%;
    }
    .button_calls
    {
      display: flex;
      /* justify-content: center; */
      position: absolute;
      margin: -60px 100px 100px 150px;
    }
    
    .loader{
        width: 70px;
        height: 70px;
        position: absolute;
        right: 50%;
        bottom: 50%;
    }
    .loader p{
        font-size: 16px;
        color: #777;
    }
    .loader .loader-inner{
        display: inline-block;
        width: 15px;
        border-radius: 15px;
        background: #74d2ba;
    }
    .loader .loader-inner:nth-last-child(1){
        -webkit-animation: loading 1.5s 1s infinite;
        animation: loading 1.5s 1s infinite;
    }
    .loader .loader-inner:nth-last-child(2){
        -webkit-animation: loading 1.5s .5s infinite;
        animation: loading 1.5s .5s infinite;
    }
    .loader .loader-inner:nth-last-child(3){
        -webkit-animation: loading 1.5s 0s infinite;
        animation: loading 1.5s 0s infinite;
    }
    .signout-brand {
      color: #ffffff !important;
      font-weight: 500;
      height: 60px;
      float: right;
    }
    
    @-webkit-keyframes loading{
        0%{
            height: 15px;
        }
        50%{
            height: 35px;
        }
        100%{
            height: 15px;
        }
    }
    @keyframes loading{
        0%{
            height: 15px;
        }
        50%{
            height: 35px;
        }
        100%{
            height: 15px;
        }
    }
    
    .pulse i {
      color: #fff
    }
    
    .pulse {
      height: 50px;
      width:  50px;
      background-color: green;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative
    }
    
    .pulse::before {
      content: "";
      position: absolute;
      border: 1px solid green;
      width: calc(100% + 40px);
      height: calc(100% + 40px);
      border-radius: 50%;
      animation: pulse 1s linear infinite
    }
    
    .pulse::after {
      content: "";
      position: absolute;
      border: 1px solid green;
      width: calc(100% + 40px);
      height: calc(100% + 40px);
      border-radius: 50%;
      animation: pulse 1s linear infinite;
      animation-delay: 0.3s
    }
    
    @keyframes pulse {
      0% {
          transform: scale(0.5);
          opacity: 0
      }
    
      50% {
          transform: scale(1);
          opacity: 1
      }
    
      100% {
          transform: scale(1.3);
          opacity: 0
      }
    }
    .member_list {
      margin: 10px 0 0 12px;
    }
    .modal-dialog-video{
        max-width: 800px;
    }
    .modal-body-video{
        position: relative;
        flex: 1 1 auto;
        padding: 1rem;
        height: 350px;
        width: 500px;
    }
    .card-footer{
        width: 100%;
        height: 10%;
        margin-top: 32px;
        border: 3px solid rgba(0,0,0,.2);
        padding: 12px 22px 12px 22px;
        border-radius: 5%;
        position: relative;
    }
    
    #text-chat  {
        height: 550px;
        max-height: 550px;
        width: 100%;
        margin-top: 32px;
        border: 3px solid rgba(0,0,0,.2);
        padding: 12px 22px 12px 22px;
        border-radius: 5%;
        position: relative;
        overflow-y: scroll;
        overflow-x: scroll;
    }
    @media screen and (max-width: 1000px) {
        #text-chat-container {
            display: none;
        }
        .card-header {
            display: none;
        }
        .card-footer {
            display: none;
        }
        #peer_video_frame {
            margin-top: 50px;
            
            width: 110%;
            height: 100%;
        }
        #client_video_frame {
            width:  110%;
            height: 100%;
            margin-top: 50px;
        }
        
    }
    
    .overlay h2 {
    color: #502929;
    font-size: 14px;
    }
    .overlay{
        resize: both;
    }
    .video-container  {
        display: flex;
        margin-top: 10px;
        align-items: center;
        /*width: 100%;*/
        /*height: auto;*/
        width: 550px;
      }
      .toolbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        background-color: #ededed;
        border-radius: 5px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.53);
        overflow-y: scroll;
        overflow-x: scroll;
        height: inherit;
        width: 100px;
      }
      
      .toolbar > * {
        width: 40px;
        height: 40px;
        margin-top: 10px;
        border-radius: 0%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 20px;
        color: #ffffff;
        background-color: transparent;
        flex: 0 0 auto;
        margin: 10px 0px;
      }
      
      .toolbar  .delete-button {
        background-color: #f44336;
        border-radius: 20%;
        text-align: center;
      }
      
      .toolbar  .delete-button:hover {
        background-color: #d32f2f;
      }
      
      .local-stream-video{
        margin-left: 60px;
        width: 490px;
      }
      

        
