@import url('./call-queue.css');

.csh__http-call__btn-stop-call {
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #f9253e;
    color: #fff !important;
    font-size: 20px;
    display: flex;
    border: 1px solid #f9253e;
}

video.call-iframe {
    top: 65px!important;
}

.loading-cam-dis {
    opacity: 0.5;
    cursor: default;
}

.csh__panelChat_standart-head_operator-img {
    height: 35px;
}
.csh__httpCallRateConsultation {
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 400px;
    height: 400px;
    border-radius: 10px;
    background: rgb(255, 255, 255);
    z-index: 9090;
}

.csh__callLikeOk:before,
.csh__callLikeBadly:before{
    content: '';
    display: block;
    width: 55px;
    cursor: pointer;
}

.csh__rate-consultation {
    width: 50px;
    height: 50px;
}

.csh__callRateConsultation-show {
    display: flex !important;
    z-index: 99999999999;
}

.csh__wrap-callLike {
    display: flex;
}

.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;
}

#cshHttpStopCall:before {
    content: "";
    background: url(../img/svg/close-call.svg) no-repeat center;
    background-size: 30px;
    min-width: 35px;
    min-height: 35px;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}
.csh__callRateConsultation_title {
    text-align: center;
    /* font-size: 22px; */
    /* color: #44c3f2; */
    font-weight: bold;
}

.csh__wrap-callLike { margin-top: 15px }
/* END - оценить консультацию(http) */

/* стили QR */
.csh__Http-blockQR {
    /* display: none;*/
    opacity: 0;
    left: -260px;
    position: absolute;
    align-items: center;
    justify-content: center;
    top: 0;
    z-index: 99999999;
    width: 200px;
    transition: left 0.5s;
}
.AS__block-thank-rating {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1fa34a;
    background-color: #fff;
    border-radius: 10px;
    font-size: 18px;
}
.csh__Http-blockQR img {
    width: 100%;
}
.hide,
.AS__block_hide {
    display: none !important;
}
.csh__Http-blockQRActive {
    /*display: block !important;*/
    opacity: 1 !important;
    left: 0 !important;
}
.csh__Http-blockQR-close {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 19px;
    line-height: 18px;
    cursor: pointer;
}
.csh__modal-call-back,
.csh__modal-contact-request {
    z-index: 90909;
}
.csh__panelChat__standart-blockInput_BlockBtn {
    width: 70px;
}
/* -/- стили QR */
@media only screen and (max-width: 480px) {
    #csh__httpChatPanel {
        width: 100%;
    }
}

.modal-active {
    z-index: 909090;
}

.csh__btn-send {
    width: auto;
    text-align: center;
    color: #fff;
    background: #6AD07B;
    border-radius: 15px;
    display: block;
    cursor: pointer;
    margin-top: 10px;
    transition: .2s;
    padding: 5px 0;
}
.csh__btn-send:hover {
    box-shadow: inset 0 0 5px 1px rgba(0, 0, 0, 0.1);
    background: #56BC67;
    transition: .2s;
}
.csh__form-request-info {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s;
    color: #fff;
    z-index: 2;
    font-size: 16px;
}


.csh__form-request-info_error {
    top: 75px!important;
}

.csh__form-request-info_error .call__notif_left-box:before {
    background: tomato;
}

.csh__form-request-info_successfully  .call__notif_left-box:before {
    background: #6AD07B;
}

.csh__panel-audio-call {
    z-index: 909090;
}
.csh__panelChat_standart-blockMsg_text {
    margin: 0 0 5px 0;
}
.csh__block-sharing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: red;
}



.cssload-box-loading {
    height: 49px;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
}
.cssload-box-loading:before {
    content: '';
    width: 49px;
    height: 5px;
    background: #000000;
    opacity: 0.1;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 50%;
    animation: shadow 0.58s linear infinite;
    -o-animation: shadow 0.58s linear infinite;
    -ms-animation: shadow 0.58s linear infinite;
    -webkit-animation: shadow 0.58s linear infinite;
    -moz-animation: shadow 0.58s linear infinite;
}
.cssload-box-loading:after {
    content: '';
    width: 49px;
    height: 49px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 3px;
    animation: cssload-animate 0.58s linear infinite;
    -o-animation: cssload-animate 0.58s linear infinite;
    -ms-animation: cssload-animate 0.58s linear infinite;
    -webkit-animation: cssload-animate 0.58s linear infinite;
    -moz-animation: cssload-animate 0.58s linear infinite;
}
.cssload-box-loading .cssload-box-loading_title {
    position: relative;
    top: 70px;
    font-size: 30px;
}
@keyframes cssload-animate {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 39px;
    }
    75% {
        transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        transform: translateY(0) rotate(90deg);
    }
}
@-o-keyframes cssload-animate {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        -o-transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        -o-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 39px;
    }
    75% {
        -o-transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        -o-transform: translateY(0) rotate(90deg);
    }
}
@-ms-keyframes cssload-animate {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        -ms-transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        -ms-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 39px;
    }
    75% {
        -ms-transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        -ms-transform: translateY(0) rotate(90deg);
    }
}
@-webkit-keyframes cssload-animate {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        -webkit-transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        -webkit-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 39px;
    }
    75% {
        -webkit-transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        -webkit-transform: translateY(0) rotate(90deg);
    }
}
@-moz-keyframes cssload-animate {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        -moz-transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        -moz-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 39px;
    }
    75% {
        -moz-transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        -moz-transform: translateY(0) rotate(90deg);
    }
}
@keyframes shadow {
    0%,
    100% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.2, 1);
    }
}
@-o-keyframes shadow {
    0%,
    100% {
        -o-transform: scale(1, 1);
    }
    50% {
        -o-transform: scale(1.2, 1);
    }
}
@-ms-keyframes shadow {
    0%,
    100% {
        -ms-transform: scale(1, 1);
    }
    50% {
        -ms-transform: scale(1.2, 1);
    }
}
@-webkit-keyframes shadow {
    0%,
    100% {
        -webkit-transform: scale(1, 1);
    }
    50% {
        -webkit-transform: scale(1.2, 1);
    }
}
@-moz-keyframes shadow {
    0%,
    100% {
        -moz-transform: scale(1, 1);
    }
    50% {
        -moz-transform: scale(1.2, 1);
    }
}


#csh__callRateConsultation {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 400px;
    height: 400px;
    background: #fff;
    flex-direction: column;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    font-size: 22px;

    display: none;
}

.as__call_btn-group {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: end;
    top: 5px;
    right: 10px;
    z-index: 99999999;
}

.csh__btn-call {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.csh__modal_disabling-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.csh__Http-btn-openChat {
    position: relative;
}

.notification-active {
    text-decoration: none;
    position: absolute;
    top: 5px;
    left: 30px;
    background-color: #e0571a;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    width: 15px;
    height: 15px;
    vertical-align: middle;
    text-align: center;
    line-height: 25px;
    font-weight: 800;
}

.notification-active:before {
    background-color: #e0571a;
    content: "";
    display: table;
    border-radius: 50%;
    position: absolute;
    -webkit-animation: notificationPulse 1600ms ease-in-out infinite;
    animation: notificationPulse 1600ms ease-in-out infinite;
    opacity: 0;
}

.call__notif {
    position: absolute;
    z-index: 909090;
    display: flex;
    align-items: center;
    top: 15px;
    left: 0;
    right: 0;
    text-align: center;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 0 2px 0 rgb(147 151 173 / 10%), 0 4px 12px 0 rgb(147 151 173 / 30%);
    padding: 10px;
    border-radius: 5px;
    width: 498px;
    margin: 0 auto;
}

.call__notif_left-box:before {
    content: "";
    display: block;
    min-width: 3px;
    height: 20px;
    border-radius: 2px;
    background: #47AFFF;
    margin-right: 10px;
}

.call__notif_left-box {
    display: flex;
    align-items: center;
    word-break: break-word;
    width: calc(100% - 30px);
}

.call__notif-remove {
    position: relative;
    border: none;
    background: #fff;
    font-size: 27px;
    top: -1px;
    color: #a6a6a6;
    height: 20px;
    line-height: 3.4px;
}

.csh__btn-call {
    background: none;
}

button:focus {
    outline: none;
}

@-webkit-keyframes notificationPulse {
    0% {
        opacity: 1;
        width: 15px;
        height: 15px;
        left: 0;
        top: 0;
    }
    90% {
        opacity: 0.1;
        left: -10px;
        top: -10px;
        width: 25px;
        height: 25px;
    }
    100% {
        opacity: 0;
        width: 20px;
        height: 20px;
        left: 0;
        top: 0;
    }
}

@keyframes notificationPulse {
    0% {
        opacity: 1;
        width: 15px;
        height: 15px;
        left: 0px;
        top: 0px;
    }
    90% {
        opacity: 0.1;
        left: -5px;
        top: -5px;
        width: 25px;
        height: 25px;
    }
    100% {
        opacity: 0;
        width: 20px;
        height: 20px;
        left: 0;
        top: 0;
    }
}

.call__notif-text {
    text-align: center;
    width: 100%;
}

@media only screen and (max-width: 576px) {
    video.csh__video-remote {
        object-fit: cover!important;
    }
    .AS__block-thank-rating,
    .csh__modal-rate {
        width: 80%;
        height:  230px;
    }
    .call__notif {
        width: calc(100% - 1rem);
    }
}

@media only screen and (max-width: 480px) {
    #modalCallBack .modal-content {
        margin-top: 70px;
    }
}

.csh__box-company {
    top: -55px;
    bottom: auto;
}