#webrtc-bye-message::-webkit-scrollbar{
    width: 6px;
    background-color: #E9E9E9;
    border-radius: 100px !important;
}
#webrtc-bye-message::-webkit-scrollbar-thumb{
    background: #007D8F !important;
    width: 6px !important;
    border-radius: 100px !important;
}

.webrtc-wrapper{
    visibility: hidden;
    font-family: 'cafont' !important;
    background-color: #fff;
    box-shadow: 0px 1px 30px rgba(0, 0, 0, 0.25);
    width: 852px;
    max-height: 100%;
    position: fixed;
    display: flex;
    flex-direction: column;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 500ms;
    z-index: 10;
}

.webrtc-initialized{
    visibility: visible;
    opacity: 1;
    height: auto;
    transition: 500ms;
}

.webrtc-wrapper.webrtc-initialized.webrtc-minimized{
    height: auto;
}

.webrtc-initialized.webrtc-minimized{
    left: 100%;
    top: 100%;
    transform: translate(calc(-100% - 50px), -100%);
    height: 0px;
    width: 452px;
}

.webrtc-minimized{
    left: 100%;
    top: 100%;
    transform: translate(calc(-100% - 50px), -100%);
    height: auto;
    width: 452px;
}

#webrtc-nav-minimized{
    display: none;
}

.webrtc-minimized #webrtc-nav-minimized{
    display: block;
}

#webrtc-nav-maximized{
    display: block;
}

.webrtc-minimized #webrtc-nav-maximized{
    display: none;
}

#webrtc-titlebar{
    z-index: 1;
    display: flex;
    flex-direction: row;
    background-color: #006675;
    width: 100%;
    height: 52px;
}

#webrtc-content{
    height: auto;
    width: 100%;
    /* width: calc(100% - 40px); */
    overflow: hidden;
    padding: 20px 20px 150px 20px;
}
.webrtc-terminated #webrtc-content{
    padding: 20px 20px 20px 20px;
}

#webrtc-controls{
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;
    width: 290;
    height: 80px;
    bottom: 40px;
    background: #f5f5f5;
    left: calc(50% - 290px/2 + 0.5px);
    border-radius: 50px;
    transition: 500ms;
}
.webrtc-talking #webrtc-controls{
    display: flex;
}
.webrtc-initialized #webrtc-controls{
    display: flex;
}
.webrtc-terminated #webrtc-controls{
    display: none;
}


.webrtc-title-element{
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.webrtc-nav-element{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    width: 34px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 100ms;
}

.webrtc-title-header-element{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 6px;
}

.webrtc-nav-element:hover{
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 7px;
    background-color: rgba(0,0,0,.1);
}
.webrtc-nav-element:active{
    background-color: rgba(0,0,0,.2);
}

.webrtc-title-header-panel{
    margin-left: 18px;
}

.webrtc-nav-panel{
    margin-left: auto;
    margin-right: 18px;
}

.webrtc-control-btn{
    width: 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 50px;
    margin: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 200ms;
    opacity: .7;
}

.webrtc-control-btn:hover{
    background-color: #cecece;
    opacity: 1;
}

.webrtc-control-btn:active{
    background-color: #ababab;
}

#webrtc-release-btn{
    background-color: #C93231;
}

#webrtc-release-btn:hover{
    background-color: #C93231;
}

#webrtc-release-btn:active{
    background-color: #aa2424;
}

#webrtc-camera-disabled{
    display: none;
}

#webrtc-camera-enabled{
    display: block;
}

.webrtc-video-mine-disabled #webrtc-camera-disabled{
    display: block;
}

.webrtc-video-mine-disabled #webrtc-camera-enabled{
    display: none;
}

#webrtc-mic-disabled{
    display: none;
}

#webrtc-mic-enabled{
    display: block;
}

.webrtc-mic-mine-disabled #webrtc-mic-disabled{
    display: block;
}

.webrtc-mic-mine-disabled #webrtc-mic-enabled{
    display: none;
}

.webrtc-hidden{
    display: none;
}

#webrtc-after-message{
    width: 100%;
    height: 500px;

}
.webrtc-minimized #webrtc-after-message{
    height: 300px;
}

#webrtc-video-others{
    display: none;
    background: #E9E9E9;
    width: 100%;
    transition: 500ms;
}

.webrtc-logged-in #webrtc-video-others{
    display: none;
}

.webrtc-talking #webrtc-video-others{
    display: block;
}

video.webrtc-not-active{
    background: transparent;
    background-size: 50%;
}

#webrtc-video-mine{
    display: none;
    width: 30%;
    max-height: 30%;
    bottom: 150px;
    right: 20px;
    position: absolute;
    background: rgba(0,0,0,.1);
    background-size: 50%;
    transition: 500ms;
}

.webrtc-logged-in #webrtc-video-mine{
    display: none;
}

.webrtc-talking #webrtc-video-mine{
    display: block;
}

.webrtc-video-mine-disabled #webrtc-video-mine{
    display: none;
}

.webrtc-minimized #webrtc-video-mine{
    opacity: 0;
}

#webrtc-message{
    color: #000;
    font-size: 14px;
    font-weight: 600;
    visibility: hidden;
    width: 100%;
    height: 0px;
    background: #E9E9E9;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    transition: 500ms;
    white-space: nowrap;
}

.webrtc-minimized.webrtc-logged-in #webrtc-message{
    visibility: visible;
    height: 309px;
}


.webrtc-logged-in #webrtc-message{
    visibility: visible;
    height: 609px;
}

.webrtc-talking #webrtc-message{
    display: none;
}

.webrtc-terminated #webrtc-message{
    display: none;
}

.webrtc-hold #webrtc-message{
    display: none;
}

#webrtc-bye-message{
    color: #007D8F;
    font-size: 24px;
    visibility: hidden;
    width: 100%;
    height: 0px;
    background: #fff;
    flex-direction: column;
    transition: 500ms;
    white-space: nowrap;
    overflow: auto;
    overflow-x: hidden;
}

.webrtc-terminated #webrtc-bye-message-text{
    display: block;
}

#webrtc-bye-message-text{
    display: none;
    color: #007D8F;
    font-size: 24px;
}

#webrtc-cri-container{
    display: none;
    height: 100%;
}

.user-form-header{
    text-align: center;
    color: #007D8F;
    font-size: 24px;
    line-height: 26px;
    font-weight: 600;
}

.user-form-line{
    text-align: center;
    color: #007D8F;
    font-size: 14px;
    line-height: 22px;
    margin-top: 8px;
}

.cri-container-class {
    padding: 0px 20px 0px 20px;
    color: #666666;
    font-size: 14px;
}

#cri-init-text{
    text-align: center;
    margin: 30px 0px 60px 0px;
    white-space: initial;
}

.cri-question-container{
    margin: 24px 0px 24px 0px;
}

.cri-question-text{
    color: #000000;
    margin-bottom: 10px;
    white-space: initial;
}

.cri-validation {
    color: #CF4948;
    background: none !important;
    margin: auto;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 16px 12px 16px;
    width: 100%;
    height: 46px;
    background-color: #FAEBEB !important;
    border: none !important;
    box-sizing: border-box;
    border-radius: 12px;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 22px;
    min-width: 120px;
    left: 0px !important;
    right: 0px !important;
}

.cri-answers-container{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.cri-face-answer{
    width: 56px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
}

.cri-face-answer:hover .cri-face-container{
    background-color: #538300;
}
.cri-face-answer:active .cri-face-container{
    background-color: #78a000;
}

.cri-answer-selected .cri-face-container{
    background-color: #538300;
}

.cri-face-container{
    width: 56px;
    height: 56px;
    background-color: #fff;
    border-radius: 100%;
    margin-bottom: 8px;
    box-shadow: 0px 8px 8px 0px rgba(0,0,0,.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 200ms;
}

.cri-face{
    font-size: 24px;
    height: 44px;
}

.cri-answer-text{
    font-size: 12px;
    text-align: center;
    white-space: initial;
}

.cri-digits-container{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.cri-digit-answer:hover{
    border: 1px solid #538300;
}
.cri-digit-answer:active{
    border: 1px solid #7da700;
}

.cri-answer-selected.cri-digit-answer{
    padding-left: 8px;
    border: 1px solid #538300;
}

.cri-answer-selected.cri-digit-answer .cri-tick{
    max-width: 14px;
}

.cri-answer-selected.cri-digit-answer .cri-digit{
    color: #000;
}

.cri-numbers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0px 24px;
}

.cri-digit-answer{
    height: 36px;
    width: 55px;
    max-width: 55px;
    margin: 5px;
    border-radius: 12px;
    border: 1px solid #E9E9E9;
    display: flex;
    flex-direction: row;
    flex: 1 0 20%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 200ms;
}

#text-counter {
    text-align: right;
    display: block;
    width: 100%;
}

#btn-send-cri {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.cri-tick{
    max-width: 0px;
    transition: 200ms;
    overflow: hidden;
}

.cri-digit-answer:hover .cri-digit{
    color: #000;
}
.cri-digit{
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
}

.cri-answer-textarea{
    width: 100%;
    height: 130px;
    border: 1px solid #E9E9E9;
    border-radius: 12px;
    resize: none;
    font-family: 'cafont';
    font-size: 14px;
    padding: 16px;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    transition: 200ms;
}

.cri-answer-textarea::-webkit-scrollbar{
    width: 6px;
    background-color: transparent;
    border-radius: 100px !important;
    position: absolute !important;
    left: 10px !important;
}
.cri-answer-textarea::-webkit-scrollbar-thumb{
    background: #538300 !important;
    width: 6px !important;
    border-radius: 100px !important;
}

.cri-answer-textarea:focus{
    border-color: #538300;
}


.webrtc-terminated #webrtc-lottie-head-smile{
    display: block;
}

#webrtc-lottie-head-smile{
    display: none;
}

#webrtc-hold-container{
    font-size: 14px;
    color:#000;
    display: none;
}

.webrtc-talking #webrtc-bye-message{
    display: none;
}

.webrtc-logged-in #webrtc-bye-message{
    display: none;
}


.webrtc-minimized.webrtc-terminated #webrtc-bye-message{
    height: 439px;
}

.webrtc-minimized.webrtc-hold #webrtc-bye-message{
    height: 309px;
}
.webrtc-minimized #webrtc-video-others{
    height: 309px;
}

.webrtc-terminated #webrtc-bye-message{
    visibility: visible;
    height: 609px;
    display: flex;
}

.webrtc-hold #webrtc-bye-message{
    visibility: visible;
    height: 609px;
    display: flex;
}

.webrtc-hold #webrtc-hold-container{
    display: block;
}

#webrtc-overlay{
    width: 100%;
    top: 52px;
    height: calc(100% - 52px);
    background: rgba(0,0,0,.6);
    visibility: hidden;
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: 500ms;
    display: flex;
    justify-content: center;
    align-items: center;
}

.webrtc-overlayed #webrtc-overlay{
    visibility: visible;
    opacity: 1;
}

#webrtc-cri-overlay{
    width: 100%;
    top: 52px;
    height: calc(100% - 52px);
    background: rgba(0,0,0,.6);
    visibility: hidden;
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: 500ms;
    display: flex;
    justify-content: center;
    align-items: center;
}

.webrtc-cri-overlayed #webrtc-cri-overlay{
    visibility: visible;
    opacity: 1;
}

.webrtc-prompt{
    border-radius: 5px;
    background-color: white;
    font-size: 24px;
    font-weight: 400;
    color: #007D8F;
    width: 456px;
    max-width: 456px;
    box-shadow: 0px 1px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: 500ms;
    padding-top: 24px;
    padding-bottom: 24px;
}

.webrtc-minimized .webrtc-prompt{
    border-radius: 0px;
}

.webrtc-prompt-btn{
    width: 182px;
    height: 40px;
    background: #007D8F;
    border-radius: 4px;
    font-size: 14px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}

.webrtc-prompt-btn:hover{
    background: #005C69;
}

.webrtc-prompt-btn:active{
    background: #00525E;
}