

.csh__body-http {
    overflow: hidden;
}
/*** общие стили call / callHttp ***/
.wrapper-call {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /*    height: 100vh;*/
    height: 100%;
    float: left;
}

.block-call {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 300px;
    height: 430px;
    padding: 30px 0;
    min-height: 340px;
    border: 1px solid silver;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 0 8px -2px rgba(0,0,0,0.75);
    margin: 0 auto;
    border-radius: 10px;
    z-index: 2;
}

.block-avatar {
    position: relative;
    top: 0;
    z-index: 1050;
}

.avatar {
    position: relative;
    width: 130px;
    height: 130px;
    border: 1px solid silver;
    border-radius: 50%;
    overflow: hidden;
    background-color: #F2F2F3;
    margin: 0 auto 15px;
}

.avatar.video {
    width: 100%;
    border-radius: 0;
    transform: translate(-50%, -100%);
}

.avatar.video2 {
    border-radius: 0;
}

.avatar-img {
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    position: absolute;
}

.information-avatar, .time {
    text-align: center;
    font-size: 18px;
    color: #666;
}

/* cтили для кнопок контроля */
.list-btn-control {
    text-align: center;
    margin-top: 10px;
    padding-left: 0;
}

.microfon {
    width: 44px;
    height: 41px;
}

.btn-end {
    margin: 0 auto;
    display: block;
    width: 52%;
    background-color: #F4081B;
    color: white;
    border: 3px double #F4081B;
    border-radius: 3px;
    outline: none;
    padding: 5px;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 0.3s ease;
}

.btn-end:hover {
    color: #ef3355;
    background-color: #fff;
}

.ananas {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 60px;
}

.ananas img {
    width: 100%;
}

.videoContainer video {
    position: absolute;
    object-fit: contain;
}

.block-local-video {
    width: 200px;
    height: 200px;
    max-width: 25vh;
    max-height: 25vh;
    border-radius: 50%;
    z-index: 99999;
}

.block-remote-video {
    display: flex;
    height: 100%;
    z-index: 99999;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #eee;
}

.panelChat__videoContainer video,
.block-remote-video video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*object-fit: contain!important;*/
}
#panel-chat  #remoteVideos video {
    position: relative;
    transform: none;
    left: 0;
}

.panelChat__videoContainer video {
    min-height: 100%;
}




#cshCameraBlock .wrapper-video-call #remoteVideos video {
    left: 0;
    transform: none;
    height: 400px;
}

.videoContainer video {
    position: relative;
    z-index: 150 !important;
}

.modal-screen-cs .modal-dialog {
    width: 348px;
}

.wrapper-video-call {
    position: absolute;
    /*width: 100vw;*/
    width: 100%;
    /* height: 100vh;*/
    height: 100%;
}

.wrapper-choice {
    width: 100%;
    height: 100vh;
}

.wrapper-video-call-container-btns {
    width: 100px;
    height: 100px;
    top: 15px;
    position: relative;
    display: inline-block;
    z-index: 109990;
}
/*#cshWrapVideoCall:hover #localVideo,
#cshWrapVideoCall:hover .wrapper-video-call-container-btns,
.csh__sharing-active:hover #localVideo,
.csh__sharing-active:hover .wrapper-video-call-container-btns {
    bottom: 20% !important;
}*/

.wrapper-video-call-btn {
    cursor: pointer;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all .2s ease-out;
}
.wrapper-video-call-btn:hover {
    transform: scale(0.9);
}

.wrapper-video-call-btn.sound {
    background-size: 94%;
}

.wrapper-video-call-btn.camera {
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
    line-height: normal;
    text-align: center;
    text-shadow: 1px 1px 1px #928c8c, 0 0 1em #928c8c;
}

.wrapper-video-call-btn.toggle_icon.active.camera {
    position: absolute;
    right: 10px;
    width: 150px;
    height: 37px;
    text-align: center;
    color: white;
    background-color: #00c1ee;
    padding: 10px 15px;
    border-radius: 15px;
    margin: 0;
}

.wrapper-video-call-container-info {
    width: 150px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 100000;
    padding: 23px 23px 23px 0;
}

.video-call-info {
    color: #fff;
    line-height: 1.3;
    text-shadow: 0px 0px 2px #828282;
}

.video-call-info--avatar {
    border-radius: 50%;
    overflow: hidden;
    width: 130px;
    height: 130px;
    position: relative;
}

.video-call-info--name {
    font-size: 20px;
    line-height: 1.1;
}

.video-call-info--department {
    text-transform: uppercase;
}

.cs-chat__offline_title {
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.2px;
}

.wrapper-video-call-btn.toggle_icon.active.camera {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    background: url(../img/no-video.png) no-repeat center;
    background-size: 25px;
    cursor: pointer;
    border: none;
    box-shadow: none;
    background-color: #fff;
    border-radius: 50%;
    padding: 10px;
    z-index: 99999;
}

.block-local_videoClient {
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100px !important;;
    height: 100px !important;;
    object-fit: cover !important;
    border: 2px solid #fff;
    display: none;
}

#remoteVideos .csh__video-sharing {
    object-fit: contain !important;
}

.blclHide {
    display: block !important;
    transform: scaleX(1) !important;
}

/*!* оценить консультацию(https) *!
#csh__callRateConsultationHTTPvideo {
    display: none;
}

.csh__callLikeOk:before,
.csh__callLikeBadly:before{
    content: '';
    display: block;
    width: 55px;
    cursor: pointer;
}

.csh__callLikeOk:before {
    background: url('../img/svg/likeOk.svg') no-repeat center;
    background-size: 35px;
    height: 35px;
}

.csh__callLikeOk {
    border: 2px solid #00a44b;
}
.csh__callLikeBadly {
    border: 2px solid #f4081b;
}

.csh__callLikeBadly:before {
    background: url('../img/svg/likeBadly.svg') no-repeat center;
    background-size: 35px;
    transform: rotate(180deg);
    height: 35px;
}

.csh__callRateConsultation_title {
    text-align: center;
    font-size: 22px;
    color: #44c3f2;
    font-weight: bold;
}

.csh__wrap-callLike { margin-top: 15px }*/
/* END - оценить консультацию(https) */

/*.csh__wrap-rateConsultation {
    margin: 0 10px;
    display: inline-block;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}*/

.andCall {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 999999999999999999;
    color: #fff;
    font-size: 24px;
    border-radius: 10px;

}

.csh__callRateConsultation-info {
    /* width: 100%; */
    /* position: absolute; */
    /* top: 0; */
    /* font-size: 21px; */
    /* margin-bottom: 20px; */
    /* border-radius: 10px; */
    /* padding: 10px 0; */
    /* color: #ffffff; */
}

.csh__callRateConsultation-info__m {
    text-align: center;
    top: 80px !important;
    width: 50%;
}

/*** Стили для страницы звонков callHttp ****/

/* оценить консультацию(http) */
.fonCallVideo,
.fonCallAudio {
    position: absolute;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    width: 60%;
    height: 70%;
    margin: auto;
    /*background-color: #21d4fd;*/
    /*background-image: linear-gradient(19deg, #21d4fd 0%, #b721ff 100%);*/
    /*border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;*/
    /*box-shadow: 15px 15px 50px rgba(0,0,0,0.2);*/
    /*animation: morphing 10s infinite;*/
    overflow: hidden;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.connectionAnimeVideo:before {
    content: '';
    display: inline-block;
    width: 95px;
    height: 92px;
    background: url('../img/svg/video-cameraHTTP.svg') no-repeat center;
    background-size: 75px;
}

.fonCallAudio {
    z-index: 1;
}

.connectionAnimeVideo {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    margin: auto !important;
    background-color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

@-moz-keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
        box-shadow: 15px 15px 50px rgba(0,0,0,0.2);
    }
    25% {
        border-radius: 58% 42% 75% 25%/76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67%/55% 27% 73% 45%;
        box-shadow: -10px -5px 50px rgba(0,0,0,0.2);
    }
    75% {
        border-radius: 33% 67% 58% 42%/63% 68% 32% 37%;
    }
}
@-webkit-keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
        box-shadow: 15px 15px 50px rgba(0,0,0,0.2);
    }
    25% {
        border-radius: 58% 42% 75% 25%/76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67%/55% 27% 73% 45%;
        box-shadow: -10px -5px 50px rgba(0,0,0,0.2);
    }
    75% {
        border-radius: 33% 67% 58% 42%/63% 68% 32% 37%;
    }
}
@-o-keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
        box-shadow: 15px 15px 50px rgba(0,0,0,0.2);
    }
    25% {
        border-radius: 58% 42% 75% 25%/76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67%/55% 27% 73% 45%;
        box-shadow: -10px -5px 50px rgba(0,0,0,0.2);
    }
    75% {
        border-radius: 33% 67% 58% 42%/63% 68% 32% 37%;
    }
}
@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
        box-shadow: 15px 15px 50px rgba(0,0,0,0.2);
    }
    25% {
        border-radius: 58% 42% 75% 25%/76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67%/55% 27% 73% 45%;
        box-shadow: -10px -5px 50px rgba(0,0,0,0.2);
    }
    75% {
        border-radius: 33% 67% 58% 42%/63% 68% 32% 37%;
    }
}
/* END - оценить консультацию(http) */

/* загрузка аудио */
.loader {
    background: transparent;
    width: 80px;
    height: 35px;
    margin: 0 auto;
    position: relative;
}

.loader span {
    display: block;
    bottom: 0px;
    width: 9px;
    height: 5px;
    background: #05B8CC;
    position: absolute;
    animation: soundBar 3s infinite ease-in-out;
}

.loader span:nth-child(1) {
    left: 0px;
}

.loader span:nth-child(2) {
    left: 10px;
    animation-delay:.2s;
}

.loader span:nth-child(3) {
    left: 20px;
    animation-delay:.4s;
}

.loader span:nth-child(4) {
    left: 30px;
    animation-delay:.6s;
}

.loader span:nth-child(5) {
    left: 40px;
    animation-delay:.8s;
}

.loader span:nth-child(6) {
    left: 50px;
    animation-delay:1s;
}

.loader span:nth-child(7) {
    left: 60px;
    animation-delay:1.2s;
}

.loader span:nth-child(8) {
    left: 70px;
    animation-delay:1.4s;
}

@keyframes soundBar {
    0% {height: 5px; background:#05B8CC}
    20% {height: 30px; background:#DD0048}
    40% {height: 5px; background:#05B8CC}
    60% {height: 5px; background:#05B8CC}
}
/* END - загрузка аудио */

/* анимация аватарки + bg */
.call-animation {
    background: #ffffff;
    animation: play 2s ease infinite;
}
.avatar img {
    width: 135px;
    height: 135px;
    border-radius: 100%;
    position: absolute;
}

.connectionAnime {
    animation: pulse 1.5s infinite ease-in-out;
    background-color: #45a6fa;
}

@keyframes play {
    0% {
        transform: scale(1);
    }
    15% {
        box-shadow: 0 0 0 2px rgb(214, 107, 151);
    }
    25% {
        box-shadow: 0 0 0 4px rgb(239, 91, 136), 0 0 0 5px rgba(255, 255, 255, 0.2);
    }
    25% {
        box-shadow: 0 0 0 6px rgb(78, 190, 237), 0 0 0 5px rgb(80, 188, 235);
    }
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        border: 5px solid rgba(255, 255, 255, 0.2);
    }
    50% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        box-shadow: 0 0 0 50px rgba(78, 76, 93, 0);
        border: 5px solid rgba(255, 255, 255, 0.2);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 76, 93, 0);
        border: 5px solid rgba(255, 255, 255, 0.2);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        border: 5px solid rgba(255, 255, 255, 0.2);
    }
    50% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        box-shadow: 0 0 0 50px rgba(78, 76, 93, 0);
        border: 5px solid rgba(255, 255, 255, 0.2);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 76, 93, 0);
        border: 5px solid rgba(255, 255, 255, 0.2);
    }
}
/* END - анимация аватарки + bg */

.btnHttp-m {
    color: #50bcea !important;
}

/*.wrapper-call-Http {
    background: #b4bcbf !important;
}*/

/* кнопки для callHttp */
.icon_calls {
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
}

.icon-call-connection {
    padding: 5px 5px;
    display: inline-block;
    border: 1px solid #a09d9b;
    border-radius: 50% 50%;
    margin: 0 10px;
}

.icon-call-connection:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: all 0.2s;
}

.incomecall-add-button {
    padding: 10px 20px;
}

.calls-sites-numbers {
    font-size: 22px;
    color: #7f8c8d;
}

.icon_call_connection {
    margin-bottom: 20px;
}

.icon-call-connection-micro:before {
    content: '';
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: bottom;
    background: url(../img/svg/microphone.svg) no-repeat;
    background-size: cover;
}

.icon-call-connection-micro.active {
    border-color: #ef3355;
    background: rgba(239, 51, 85, .4);
}

.icon-call-connection-headphone:before  {
    content: '';
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: bottom;
    background: url(../img/svg/speaker2.svg) no-repeat;
    background-size: cover;
}

.icon-call-connection-headphone.active {
    border-color: #ef3355;
    background: rgba(239, 51, 85, .4);
}

/* END - кнопки для callHttp */


/* btn-openChat */
.csh__Http-btn-openChat {
    /*position: absolute;*/
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    /*top: 60px;*/
    z-index: 99999999;
    background: #47AFFF;
    cursor: pointer;
    border-radius: 50%;
}

.csh__Http-btn-openChat:after/*,
.csh__Http-btn-openChat:before*/ {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: 30px;
}

.csh__Http-btn-openChat:after {
    position: absolute;
    /*    top: 20px;
        left: 19px;*/
    background: url(../img/svg/i-chat.svg) no-repeat center;
    background-size: 30px;
    cursor: pointer;
}
/*
.csh__Http-btn-openChat:before {
    position: relative;
    background: url(../img/svg/i-chat.svg) no-repeat center;
    background-size: 30px;
    -webkit-filter: drop-shadow(0px 3px 2px #b2aaac);
    filter: drop-shadow(1px 1px 1px #b2aaac);
    z-index: 9;
    left: -4px;
    top: -3px;
    cursor: pointer;
}
*/

/* END - кнопки для callHttp(btn-openChat) */

.csh__panelChat_http {
    position: absolute;
    right: -350px;
    display: none;
    top: 0;
    padding: 5px 15px 15px 15px;
    background: #0091cd;
    height: 100%;
    width: 350px;
    z-index: 999999999;
    transition: right 0.3s;
}

.csh__httpChatPanelActive{
    right: 0;
    display: block;
}


/* style standart panelChat */

.csh__panelChat_standart {

}
.csh__panelChat_standart-head {
    display: flex;
    align-items: center;
    height: 50px;
}
.csh__panelChat_standart-head_btn-exit{
    margin-right: 15px;
    transform: rotate(180deg);
}
.csh__panelChat_standart-head_btn-exit:before {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    background: url(../img/svg/left-arrowChatPanel.svg) no-repeat center;
    background-size: 25px;
    cursor: pointer;
}
.csh__panelChat_standart-head_operator {
    position: relative;
    width: 45px;
    height: 45px;
    margin-right: 7px;
}
.csh__panelChat_standart-head_operator-loading {
    position: absolute;
    top: 0;
    width: 45px;
    height: 45px;
    border: 3px solid #4e5052;
    border-bottom: 3px solid #969495;
    border-radius: 100%;
    animation: csh__loading-spin infinite 1s linear;
}
@keyframes csh__loading-spin {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}
.csh__panelChat_standart-head_operator-img {
    position: absolute;
    top: 5px;
    left: 5px;
    border-radius: 50%;
    width: 35px;
}
.csh__panelChat_standart-head_search-operator {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #fff;
}
.csh__wrap-blockMsg {
    position: relative;
    height: calc(100% - 90px);
    margin: 5px 0;
    background: #fff;
}
.csh__panelChat_standart-blockMsg {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px);
}
.csh__panelChat_standart-blockMsg_text {
    /*height: calc(100% - 55px);*/
    margin: 5px 0;
    padding: 20px;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
}
.csh__panelChat__standart-blockInput {
    position: relative;
    display: flex;
    align-items: flex-end;
    max-height: 150px;
    background: #fff;
    padding: 10px 20px;
}

.csh__box-company {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    flex-direction: column;
    left: 0;
    right: 0;
    width: 210px;
    margin: 0 auto;
    font-size: 13px;
    text-decoration: none;
    color: #a6a6a6;
    text-align: center;
    bottom: 60px;
}

.csh__panelChat__standart-blockInput_textarea {
    width: calc(100% - 70px);
    border: none;
    outline: none;
    resize: none;
    overflow: hidden;
    max-height: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    font-weight: normal;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    margin-right: 10px;
    cursor: text;
}
.csh__panelChat__standart-blockInput_BlockBtn {
    /* width: 70px;*/
    height: 25px;
}
.csh__panelChat_SBI-btn {
    display: inline-block;
    cursor: pointer;
}
.csh__panelChat__SBI_btn-clip:before,
.csh__panelChat__SBI_btn-telegram:after {
    content: '';
    display: block;
    width: 28px;
    height: 25px;
}
.csh__panelChat__SBI_btn-clip:before {
    background: url(../img/svg/metal-clip.svg) no-repeat center;
    background-size: 24px;
}
.csh__panelChat__SBI_btn-telegram:after {
    background: url(../img/svg/telegram.svg) no-repeat center;
    background-size: 24px;
    /*  margin-left: 5px;*/
}

/* END - style standart panelChat */

.csh__scrollbar-m::-webkit-scrollbar-thumb {
    background: #B9BEC6;
}
.csh__scrollbar-m::-webkit-scrollbar  {
    width: 5px;
    height: 5px;
}
.csh__scrollbar-m::-webkit-scrollbar-track {
    background: #e5e8e9;
}
.csh__scrollbar-m {
    /*scrollbar-color: #ccc #fff;*/
    scrollbar-color: #0091cd #e5e8e9;
    scrollbar-width: thin;
}

.csh__video-screen_incoming-active:hover .wrapper-video-call-container-btns {
    margin-bottom: 20%;
}


