msbody,
html {
    -ms-overflow-style: scrollbar;
    height: 100%;
}

.ff_video_call_action #videos {
    position: relative;
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.ff_video_call_action #subscriber {
    position: absolute;
    left: -1px;
    /*top: 30%;*/
    width: 100%;
    height: 100%;
    z-index: 10;
}

.ff_video_call_action #videos {
    height: 500px;
}

.ff_video_call_action #publisher {
    position: absolute;
    /*width: 360px;
    height: 240px;*/
    bottom: 10px;
    left: 10px;
    z-index: 100;
    border: 3px solid white;
    border-radius: 3px;
    width: 20%;
    height: 20%;
}

.ff_video_call_action .modal-header {
    padding: 5px;
}

.ff_video_call_action #all-controls {
    position: absolute;
    bottom: 2%;
    z-index: 999;
    left: 25%;
}

.ff_video_call_action .connect_tok u {
    cursor: pointer;
}

.ff_video_call_action #re_connect_call {
    z-index: 999;
    float: left;
    position: absolute;
    top: 0;
}

/* additional css for video call*/

.ff_video_call_action .close-popup__modal {
    margin-top: 2px;
    padding: 2px;
    border-radius: 2px;
    cursor: pointer;
}

.ff_video_call_action .video-block {
    margin: 0;
    padding: 0;
}

.ff_video_call_action .modal-body {
    padding-bottom: 0;
    padding-top: 0;
}

.ff_video_call_action .chat-block {
    position: absolute !important;
    height: 97%;
    right: 0;
    padding: 0;
    margin: 0;
    width: 27%;
    top: 0;
}

.ff_video_call_action #textchat {
    top: 0;
    position: absolute;
    width: 101%;
    float: right;
    right: 0;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    bottom: 10px;
    /*padding: 10px 15px 0 0;*/
    /*padding: 10px;*/
}

.ff_video_call_action #history {
    width: 100%;
    height: calc(100% - 50px);
    overflow: auto;
    padding: 5px;
    background-color: #ccc;
}

.ff_video_call_action input#msgTxt {
    height: 40px;
    bottom: 0;
    width: 100%;
    position: absolute;
    border: none;
    padding: 10px;
    outline: none;
}

.ff_video_call_action #history .mine {
    color: #00FF00;
    text-align: right;
    margin-right: 10px;
}

.ff_video_call_action .close-publsr {
    font-weight: bold;
    position: absolute;
    z-index: 99;
    right: 0;
    font-size: 12px;
    top: -3px;
    background-color: white;
    width: 20px;
    text-align: center;
    cursor: pointer;
}

.ff_video_call_action #history .theirs {
    color: #00FFFF;
    margin-left: 10px;
}

.ff_video_call_action .call_wait_text {
    text-align: center;
}

.ff_video_call_action .list-group li {
    cursor: pointer;
}

.ff_video_call_action li.list-group-item {
    background-color: #fff;
}

.ff_video_call_action li.list-group-item:hover {
    background-color: #e8e3e3;
}

.ff_video_call_action .OT_subscriber .OT_mute {
    left: 0;
}

.ff_video_call_action .OT_subscriber .OT_name {
    left: 45px;
}

.ff_video_call_action #textchat #toggle_textchat:after {
    float: right;
    content: '+';
    right: 0;
    width: 15px;
    text-align: center;
    cursor: pointer;
    background-color: #ecdede;
}

.ff_video_call_action #textchat.no-active #toggle_textchat:after {
    float: right;
    content: '-';
    right: 0;
    width: 15px;
    text-align: center;
    cursor: pointer;
    background-color: #ecdede;
}

.ff_video_call_action #textchat.no-active {
    height: 13%;
}

.ff_video_call_action #loader-run {
    text-align: center;
    margin: 10% 0;
}

.ff_video_call_action .user_in_name {
    font-size: 10px;
    color: #8e8989;
}

.ff_video_call_action #right-align {
    float: right;
    width: 100%;
    text-align: right;
}

.ff_video_call_action .user_placeholder {
    font-weight: bold;
    color: #796d6d;
    margin-right: 2px;
    font-size: 10px;
}

.ff_video_call_action .call-indicator {
    /*margin: 12% 0;*/
}

.ff_video_call_action .saving {
    font-size: 15px;
    margin: 12% 0;
}

.ff_video_call_action .saving span {
    font-size: 50px;
    animation-name: blink;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.ff_video_call_action .saving span:nth-child(2) {
    animation-delay: .2s;
}

.ff_video_call_action .saving span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes blink {
    0% {
        opacity: .2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: .2;
    }
}

.ff_video_call_action .callout_ui form {
    background-color: #ccc;
    padding: 5px;
}

.ff_video_call_action .error-username {
    color: #e25656;
}

.ff_video_call_action .action-btns button {
    outline: none;
}

.ff_video_call_action .timer-ui {
    position: absolute;
    color: #fff;
    z-index: 999;
    right: 0;
    padding: 5px;
}

.ff_video_call_action .speech-bubble {
    position: absolute;
    width: 47px;
    height: 31px;
    line-height: 31px;
    color: #FFFFFF;
    text-align: center;
    padding: 0px;
    background: #fff;
    border-radius: 6px;
    z-index: 9999;
    bottom: 30px;
    right: 9px;
    font-size: 25px;
    line-height: 20px;
    cursor: pointer;
    color: #000;
}

.ff_video_call_action .speech-bubble:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 12px 7px 0;
    border-color: #fff transparent;
    display: block;
    width: 0;
    z-index: 1;
    bottom: -12px;
    left: 8px;
}

.ff_video_call_action .speech-bubble span {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: red;
    border-radius: 50%;
    text-align: center;
    right: -9px;
    bottom: 12px;
    line-height: 24px;
    font-size: 14px;
    color: #fff;
}

.ff_video_call_action .speech-bubble {
    display: none;
}

.ff_video_call_action .no-active-chat .speech-bubble {
    display: block;
}

.ff_video_call_action .no-active-chat #textchat {
    display: none;
}

.ff_video_call_action .user_in_name p {
    word-break: break-all;
}

.ff_video_call_action .logged_as {
    text-decoration: underline;
}

.ff_video_call_action #all-controls {
    left: 45%;
}

.ff_video_call_action #login_user_ui {
    margin: 10% 0;
}

.ff_video_call_action div#all-controls img {
    float: left;
    width: 52px;
    margin-right: 30px;
    cursor: pointer;
}
.ff_video_call_action div#all-controls img:last-of-type{
    margin-right: 10px;
}
@media (max-width: 767px) {
    .ff_video_call_action .chat-block {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .ff_video_call_action .chat-block {
        width: 100%;
    }
}

@media (min-width: 992px) {

    /*  .ff_video_call_action .modal-lg {
         width: 960px;
     } */
    .ff_video_call_action .main-video-ele {
        width: 80%;
    }
}

@media (min-width: 1200px) {}

.ff_video_call_action .button-box a {
    display: block;
    margin-top: 6px;
}

.ff_video_call_action .main-container {
    border: 1px solid #ccc;
    padding-top: 10px;
    padding-bottom: 20px;
    border-radius: 10px;
    background-color: white;
}

.ff_video_call_action .form-box {
    border-right: 1px solid #ccc;
}

@media only screen and (max-width: 991px) {
    .ff_video_call_action .form-box {
        border: none;
    . ff_video_call_action
    }
    hr {
        display: block;
    }
    .ff_video_call_action .button-box a {
        display: inline-block;
    }
}

.ff_video_call_action .contact-us-form {
    width: 100%;
}

.has-success .form-control-feedback,
.ff_video_call_action .has-error .form-control-feedback {
    line-height: 2.5em !important;
}

.vid-chat-btn {
    margin: 10px 0;
    border: none;
    float: left;
    z-index: 9999;
    width: 100%;
}

.ff_video_call_action form#defaultForm_popup .help-block {
    line-height: 3px;
}

.ff_video_call_action .contact-us-form .main-container {
    padding: 15px 0;
    margin-bottom: 5%;
}

.ff_video_call_action .user__not_availble .label {
    white-space: inherit !important;
}

.ff_video_call_action .contact-us-form h2 {
    margin-top: 10px;
}

form#defaultForm_popup .form-group {
    position: relative;
}

form#defaultForm_popup .form-group i {
    position: absolute;
    right: 0;
    margin-right: 5px;
}

@media (max-width: 991px) {
    .ff_video_call_action .has-feedback {
        height: 50px !important;
    }
}

/*----------  CSS for modal popup(to show video call)  starts here ----------*/

.device-ios {
    -webkit-overflow-scrolling: touch !important;
    overflow: auto !important;
    height: 100% !important;
}

.device-android {
    -webkit-overflow-scrolling: touch !important;
    overflow: auto !important;
}

.overflow-fix {
    overflow: hidden;
}

#video-calling-wrapper {
    position: fixed;
    top: 0;
    overflow-x: hidden;
    overflow-y: auto;
    right: 0;
    bottom: 0;
    left: 0;
}

#calling-div {
    width: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    position: absolute;
    top: 60px;
    left: 25%;
    color: #fff;
    padding: 10px 10px 40px 10px;
    text-align: center;
}

.inner-content {
    width: 70%;
    display: block;
    margin: 0 auto;
}

#calling-div .inner-content img {
    margin: 0 auto;
    width: 100%;
    display: block;
}

.inner-content h1 {
    font-size: 30px;
    margin-bottom: 5%;
}

.inner-content h2 {
    font-size: 130%;
    margin: 7% 0px;
    line-height: 28px;
}

.stream-now {
    border-radius: 5px;
    font-size: 150%;
    color: #c1253d;
    padding: 5px 15px;
    margin: 0 auto;
}

.close-call-div {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 36px;
    border-radius: 50%;
    line-height: 39px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-color: #000;
}

#box_vid_animation {
    display: inline-block;
    text-align: center;
    line-height: 30px;
    border-radius: 100%;
    margin: 0 auto;
    color: black;
    width: 35%;
}

#box_vid_animation img {
    width: 100%;
    float: left;
}

@keyframes boxShadow {
    0% {
        -webkit-box-shadow: 0 0 0 0px #c1253d;
        -moz-box-shadow: 0 0 0 0px #c1253d;
        -ms-box-shadow: 0 0 0 0px #c1253d;
        -o-box-shadow: 0 0 0 0px #c1253d;
        box-shadow: 0 0 0 0px #c1253d;
    }
    50% {
        -webkit-box-shadow: 0 0 0 30px transparent;
        -moz-box-shadow: 0 0 0 30px transparent;
        -ms-box-shadow: 0 0 0 30px transparent;
        -o-box-shadow: 0 0 0 30px transparent;
        box-shadow: 0 0 0 30px transparent;
    }
}

#box_vid_animation {
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

.sticky-righ-text img {
    position: fixed;
    bottom: 3px;
    right: 0;
}

@media screen and (max-width: 765px) {
    #calling-div {
        width: 90%;
        left: 5%;
    }
}

@media screen and (max-width: 420px) {
    .ff_vid_chat {
        font-size: 100%;
    }
    .ff_video_call_action div#all-controls img {
        float: left;
        width: 43px;
        margin-right: 10px;
        cursor: pointer;
    }
    .ff_video_call_action #all-controls {
        left: 29% !important;
    }
}

/*----------  CSS for modal popup(to show video call)  ends here ----------*/

/* ---- CSS for Sticky bottom starts ----- */

.child-card-block {
    position: fixed !important;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 0;
}

.video-call-sticky {
    position: absolute;
    left: -20px;
    top: -20px;
    display: block;
    z-index: 9999999;
    padding: 8px;
}

.video-call-sticky i {
    line-height: 26px;
    cursor: pointer;
    color: #000;
    background-color: #fff;
    text-align: center;
    border: solid 2px #2a43e2;
    border-radius: 60%;
}

.video-call-sticky i.fa.fa-times {
    width: 30px;
    height: 30px;
}

.sticky-righ-text {
    position: fixed;
    right: 0;
    color: #fff;
    font-weight: bold;
    bottom: 30px;
    cursor: pointer;
    border-top-left-radius: 13px;
    border-bottom-left-radius: 13px;
    margin: 0;
    font-family: 'Bungee Shade', cursive;
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    writing-mode: vertical-lr;
    text-orientation: upright;
    -webkit-font-feature-settings: "vkrn", "vpal";
}

.panel.panel--styled {
    margin: 0;
    background: #1a81d5;
    background: -webkit-linear-gradient(to right, #1a81d5, #83a4d4);
    background: linear-gradient(to right, #1a81d5, #83a4d4);
    border-radius: 0;
    color: #fff;
}

.panelTop {
    padding: 30px;
}

.panel-default {
    border: none;
}

.panelBottom {
    border-top: 1px solid #97a5fc;
    padding-top: 10px;
    float: left;
    width: 100%;
}

.ff_video_call_action .modal-body {
    float: none !important;
}

.btn-add-to-cart {
    background: #FD5A5B;
    color: #fff;
}

.btn.btn-add-to-cart.focus,
.btn.btn-add-to-cart:focus,
.btn.btn-add-to-cart:hover {
    color: #fff;
    background: #FD7172;
    outline: none;
}

.btn-add-to-cart:active {
    background: #F9494B;
    outline: none;
}

.panel-body {
    padding: 10px 0;
    position: relative;
}

span.itemPrice {
    font-size: 24px;
    color: #FA5B58;
}

/* ---- CSS for sticky bottom ends*/

/* CSS for emoji starts here */

@media (max-width: 992px) {
    .ff_video_call_action #textchat {
        height: 100% !important;
    }
    .ff_video_call_action #msgTxt {
        height: 51px !important;
    }
    .ff_video_call_action #all-controls {
        left: 35%;
    }
    .send-chat-msg {
        padding: 8px !important;
    }
}

.emoji-select {
    background-color: #f3f1f1;
    border: solid 1px #ccc;
    float: left;
    line-height: 17px;
    margin-top: 4px;
    width: 20px;
    padding: 0px;
    text-align: center;
}

.all-emoji-set ul li {
    list-style-type: none;
    float: left;
    width: 24px;
    height: 25px;
    cursor: pointer;
}

.all-emoji-set ul li button {
    border: none;
    margin: 0;
    font-size: 16px;
    width: 27px;
    text-align: center;
    height: 27px;
    padding: 0;
    background-color: transparent;
}

.all-emoji-set ul {
    margin: 0;
    padding: 0;
}

.all-emoji-set {
    width: 100%;
    overflow-x: hidden;
    bottom: 0px;
    left: 0px;
    height: 54px;
    position: absolute;
}

.emoji-select {
    cursor: pointer;
}

div#quick-pick-emoji {
    position: absolute;
    bottom: 4px;
    right: 3px;
}

div#quick-pick-emoji ul li {
    float: left;
    list-style-type: none;
    font-size: 20px;
    cursor: pointer;
}

#quick-pick-emoji ul {
    padding-left: 0;
    float: left;
    margin: 0;
}

.ff_video_call_action #msgTxt {
    height: 59px;
    bottom: 54px;
    width: 100%;
    position: absolute;
    border: solid 1px #ccc;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: auto;
    outline: none;
    cursor: text;
    word-wrap: break-word;
    resize: none;
}

.ff_video_call_action #history {
    background-color: #f9f9f9;
}

.ff_video_call_action #history {
    overflow-x: hidden;
    overflow-y: auto;
}

p#history pre {
    background-color: transparent;
    border: none;
    font-family: sans-serif, arial;
    overflow: hidden;
    width: 100%;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    padding: 0;
    word-break: inherit !important;
}

[contentEditable=true]:empty:not(:focus):before {
    content: attr(data-text);
    line-height: 38px;
    padding: 2px;
    color: #ccc;
    font-size: 15px;
}

/*  css for emoji ends here */

.ff_video_call_action .chat-block {
    height: 100% !important;
}

.ff_video_call_action #history {
    margin: 0;
    height: calc(98% - 99px);
}

.send-chat-msg {
    position: absolute;
    right: 0;
    z-index: 9999;
    bottom: 56px;
    margin: 4px;
    background-color: #047ec1;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 3px;
    cursor: pointer;
    width: 60px;
}

.ff_video_call_action #msgTxt {
    padding-right: 70px;
}

button.chat-block-close {
    text-align: center;
    display: block;
    font-size: 14px;
    background-color: #5cb85c;
    position: absolute;
    top: -31px;
    padding: 3px;
    right: 5px;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    z-index: 9999;
}

.text_count_style {
    font-size: 13px;
    color: #fff;
    right: 0px;
    position: absolute;
    background-color: #FF3B30;
    padding: 4px;
    width: 30px;
    height: 30px;
    top: -7px;
    line-height: 22px;
    border-radius: 100%;
}

/* after feedback  */

.mobile-chat-open #textchat {
    height: 84% !important;
    width: 92% !important;
    right: 4% !important;
    top: 2% !important;
}

.mobile-chat-open .all-emoji-set ul li {
    margin: 1px 3px;
}

.ios-device .mobile-chat-open .all-emoji-set ul li button {
    font-size: 24px;
}

.ios-device {
    left: 0;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    top: 0;
    width: 100%;
}

.mobile-chat-open .all-emoji-set {
    height: 54px;
}

.all-emoji-set ul li button:active {
    background-color: #ccc;
}

.mobile-chat-open .all-emoji-set ul li {
    width: 24px;
    height: 22px;
}

input[type='text'],
input[type='number'],
textarea,
#msgTxt {
    font-size: 16px;
}

/* CSS for emoji ends here */

/* Additional css for New LP */

.main-interface-ui {
    width: 100%;
}

.btn-mini {
    padding: 0px 10px !important;
    font-size: 14px !important;
}

.call-indicator {
    width: 100%;
}

.badge-info {
    margin: 5px 10px;
    font-size: 16px;
    padding: 5px;
    border-radius: 5px;
}

.ff_video_call_action {
    padding-right: 0 !important;
}

.child-card-block {
    padding-right: 0 !important;
}

/* attachments sending css */

.add_files {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #7d7b7b;
    color: #fff;
    padding: 0px;
    cursor: pointer;
    width: 30%;
    height: 54px;
    text-align: center;
}

.add_files span {
    font-size: 40px;
    display: none;
}

.add_files label {
    cursor: pointer;
    vertical-align: middle;
    font-size: 38px;
    margin: 0;
}

.all-emoji-set {
    width: 70%;
}

.add_files:hover span {
    display: block;
}

.add_files:hover label {
    display: none;
}

input[type=file] {
    cursor: pointer;
    width: 100%;
    overflow: hidden;
    height: 54px;
}

.add_files span:before {
    height: 32px;
    line-height: 32px;
    content: '+';
    display: inline-block;
    background: transparent;
    border: none;
    font-size: 50px;
    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
}
.add_files input{
    cursor: pointer;
    width: 100%;
    overflow: hidden;
    height: 54px;
    position: absolute;
    left: 0;
    background-color: transparent;
    opacity: 0;
}
.add_files input[type=file]::-webkit-file-upload-button {
    visibility: hidden;
}

.add_files input[type=file]:hover,
input[type=file]:active,
input[type=file]:focus {
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

.attach-img {
    background-color: #bfafdc;
    float: right;
    padding: 10px;
    position: relative;
    text-align: center;
    border-radius: 10px;
}

.attach-img-in {
    background-color: #bfafdc;
    float: left;
    padding: 10px;
    position: relative;
    text-align: center;
    border-radius: 10px;
}

.attach-img .upload-icon,
.attach-img-in .upload-icon {
    font-size: 55px
}

.failed_upload {
    position: absolute;
    left: 0;
    bottom: 7px;
    color: #fff;
    background-color: red;
    padding: 2px 5px;
    line-height: 15px;
    border-radius: 0 5px 5px 0;
    font-size: 12px;
    border: solid 1px red;
}

.fa-refresh {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    font-size: 40px;
}

/* add color black to the all elements */

.logged_as,
#loader-run span,
.call_wait_text,
.contact-us-form h2,
#defaultForm_popup i,
.success-msg {
    color: #000;
}

i.fa.fa-paper-plane {
    color: #fff !important;
}

.show_file_name_left{
    float: left;
    clear:both;
    word-wrap: break-word;
    font-size: 12px;
    background-color: #d8dad2;
    border-radius: 3px;
    padding: 1px 5px;
    margin-top: 1px;
}

.show_file_name_right {
    float: right;
    clear:both;
    word-wrap: break-word;
    font-size: 12px;
    background-color: #d8dad2;
    border-radius: 3px;
    padding: 1px 5px;
    margin-top: 1px;
}


@media (min-width: 576px) {
    .modal-dialog {
        max-width: 960px !important;
        width: 95% !important;
    }
}

    .mobile-chat-open .all-emoji-set{
        display: none;
    }
    .ff_video_call_action .mobile-chat-open #history{
        height: calc(98% - 47px);
    }
    .ff_video_call_action .mobile-chat-open #msgTxt{
        bottom: 0;
        left: 70px;
        width: calc(100% - 70px);
        z-index: -1;
    }
    .ff_video_call_action .mobile-chat-open .send-chat-msg {
        bottom: 0;
    }
    .mobile-chat-open .add_files{
        width: 70px;
        left: 0;
        height: 51px;
    }

/* @media (min-width: 992px) {
    .modal-lg {
        max-width: 860px !important;
    }
} */

/* new btn design css*/

.close_btn {
    align-self: flex-end;
    position: absolute;
    right: 40px;
    top: 33px;
    color: rgb(255, 255, 255);
}

.close_btn::before {
    content: '\2A2F';
    font-size: 25px;
    align-self: flex-end;
    position: absolute;
    background-color: #043b9c;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 500ms ease;
    z-index: 999;
}
.close_btn::after {
    content: 'Minimize';
    position: absolute;
    right: -7px;
    display: flex;
    top: 1px;
    font-size: 12px;
    background-color: #043b9c;
    padding: 4px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    opacity: 0;
    transition: all 400ms ease;
    cursor: pointer;
    padding-right: 8px;
}
.close_btn:hover::after {
    transition: all 400ms ease;
    opacity: 1;
}
.close_btn:hover::before {
    transition: all 200ms ease;
}
.is_hidden {
    display: none;
}
.vid_call_wrapper.on_open .small_call_img {
    display: block;
}
.vid_call_wrapper.on_open .large_call_img {
    display: none !important;
}
.vid_call_wrapper.on_open .close_btn::after {
    content: 'Maximize';
}
.vid_call_wrapper.on_open .close_btn::before {
    content: '\021D6';
}

.vid_call_wrapper {
    z-index: 999999;
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: auto;
    max-width: 360px;
}

div.vid_call_wrapper[position='left'] {
    left: 0px;
    right: auto;
}

div.vid_call_wrapper[position='right'] {
    right: 0px;
    left: auto;
}

.service_wrapper img {
    width: 100%;
}