﻿
.chat-messages-part .chat-height {
    height: calc(-150px + 100vh) !important;
    /*        min-height: 400px;*/
}

.text-area-block {
    padding-bottom: env(safe-area-inset-bottom);
    background: white;
}

.alert {
    display: none !important;
}

#add-contact-modal .mr-20 {
    width: 100% !important;
    margin-left: 20px !important;
}

#add-contact-modal .modal-header, #uploadWrapper .modal-header {
    display: none !important;
}

#btn-search-contact i {
    display: none !important;
}

#btn-search-contact {
    margin-left: 10px !important;
}

.roe-box-shadow {
    box-shadow: rgba(0, 0, 0, 0.03) 0px 0.46875rem 2.1875rem, rgba(0, 0, 0, 0.03) 0px 0.9375rem 1.40625rem, rgba(0, 0, 0, 0.05) 0px 0.25rem 0.53125rem, rgba(0, 0, 0, 0.03) 0px 0.125rem 0.1875rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.125);
}


#prime, #fixed-mobile-menu {
    display: none !important;
}

.user-name {
    font-size: 14px !important;
}

.message-text p {
    font-size: 14px !important;
}


.fa-play:before {
    margin-left: 1px;
    vertical-align: middle;
    margin-top: unset !important;
}

.message-play, .message-stop, .message-pause {
    border-radius: 50px;
    margin-right: 15px;
}

.blink {
    -webkit-animation: blink 2s infinite both;
    animation: blink 2s infinite both;
    color: #ee384e;
}

.message-date {
    color: #bfbfbf;
    font-size: .7rem;
    text-align: left;
}


@-webkit-keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

.black-title {
    background: #030512;
}

.blacked {
    color: #2a2d35;
}

.message-design .voice-style {
    text-align: left;
}

.self-message-design .voice-style {
    text-align: right;
}

#message-scroll {
    /*background-image: url('../img/ross-chat-bg.png');*/
    background: #272030;
}

.ross-chat-style .profile-nav a.login-btn {
    padding: 8px 16px !important;
    font-size: 13px !important;
    background: #fff !important;
    border: 1px solid #757575 !important;
    border-radius: 10px !important;
    color: #000 !important;
    margin-right: 10px;
}

.ross-chat-style .profile-nav a.login-btn-border.hor_nav-link {
    padding: 8px 16px !important;
    font-size: 13px !important;
    background: #ff9908 !important;
    border: 1px solid #fff !important;
    border-radius: 10px !important;
    color: #fff !important;
}


.ross-chat-style .profile-nav {
    margin-left: 40% !important;
    margin-top: 20px;
}

.border-top-radius {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.bg-warning-dark {
    background: #f6a821 !important;
}

a.text-orange {
    font-size: 11px;
}


input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none !important;
    box-shadow: unset !important;
}

.sc-ifAKCX .fa, .sc-ifAKCX .fas {
    font-size: 23px;
    margin-top: 5px;
}

.fa-file-pdf {
    font-size: 26px !important;
}

.border-bottom-radius {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.user-list-height {
    height: calc(-100px + 100vh) !important;
    overflow-y: scroll;
}

.user-list-container {
    background: white none repeat scroll 0% 0%;
}

    .user-list-container .user-list-block {
        padding: 16px 16px 7px !important;
        cursor: pointer;
        box-shadow: none;
        transition: all 0.5s ease 0s;
    }

.active-profile {
    /*box-shadow: rgb(246, 168, 33) 0px 0px 18px -2px !important;*/
    background-color: #f0f2f5;
}

.user-list-container .user-list-block {
    padding: 16px;
    border-bottom: 1px solid #4b485080;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.5s ease 0s;
}

.user-list-container .user-list-block {
    cursor: pointer;
}

.user-list-container .chat-user-profile {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.roe-box-shadow {
    box-shadow: rgba(0, 0, 0, 0.03) 0px 0.46875rem 2.1875rem, rgba(0, 0, 0, 0.03) 0px 0.9375rem 1.40625rem, rgba(0, 0, 0, 0.05) 0px 0.25rem 0.53125rem, rgba(0, 0, 0, 0.03) 0px 0.125rem 0.1875rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.board-container {
    background: white none repeat scroll 0% 0%;
    position: relative;
}

.chat-user-sidebar, .chat-user-sidebar-wrapper {
    transition-property: top, bottom, width;
    transition-timing-function: linear, linear, ease;
}

.chat-user-sidebar {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    width: 260px;
    display: block;
    z-index: 1;
    color: rgb(255, 255, 255);
    font-weight: 200;
    background-size: cover;
    overflow: hidden;
    background-position: center center;
    transition: all 0.5s ease 0s;
    transition-property: all;
    transition-timing-function: ease;
    box-shadow: rgba(0, 0, 0, 0.03) 0px 0.46875rem 2.1875rem, rgba(0, 0, 0, 0.03) 0px 0.9375rem 1.40625rem, rgba(0, 0, 0, 0.05) 0px 0.25rem 0.53125rem, rgba(0, 0, 0, 0.03) 0px 0.125rem 0.1875rem;
}

    .chat-user-sidebar::after, body > .navbar-collapse::after, .chat-user-sidebar::before, body > .navbar-collapse::before {
        display: block;
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        z-index: 2;
    }

    .chat-user-sidebar .chat-close-drawer-icon {
        position: absolute;
        right: 15px;
        top: 13px;
        font-size: 20px;
        z-index: 5;
        cursor: pointer;
        color: black;
    }

    .chat-user-sidebar .chat-close-drawer-icon {
        font-size: 20px;
        cursor: pointer;
        color: black;
    }

    .chat-user-sidebar .chat-close-drawer-icon {
        font-size: 20px;
        cursor: pointer;
        color: black;
    }

    .chat-user-sidebar .chat-user-sidebar-wrapper {
        position: relative;
        overflow: hidden;
        width: 100%;
        z-index: 3;
        background: white none repeat scroll 0% 0%;
    }

.chat-user-sidebar, .chat-user-sidebar-wrapper {
    transition-property: top, bottom, width;
    transition-timing-function: linear, linear, ease;
}

    .chat-user-sidebar .chat-sidebar-header {
        color: black;
        font-weight: 600;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
        transform: translateX(-500px);
        transition: transform 0.5s ease 0s;
    }

.border-bottom-radius {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.user-list-height {
    height: calc(-54px + 100vh) !important;
}

.border-top-radius {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.chat-board-header {
    background: #ff8746;
    color: rgb(255, 255, 255);
    padding: 15px;
}

.list-inline, .list-unstyled {
    padding-left: 0;
    list-style: none;
}

.list-inline-item.user-avatar ::after {
    width: 40px;
    height: 40px;
}

.list-inline-item.user-name {
    width: calc(100% - 100px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-inline-item.count-position {
}

.chat-board-header {
    color: rgb(255, 255, 255);
}

.chat-drawer-user-icon {
    display: none;
}

.chat-board-header {
    color: rgb(255, 255, 255);
}

    .chat-board-header .chat-board-user-profile {
        height: 40px;
        width: 40px;
        border-radius: 50%;
    }

    .chat-board-header .chat-header-font {
        font-size: 14px;
    }

    .chat-board-header .icon-color {
        color: rgb(255, 255, 255);
        cursor: pointer;
        position: absolute;
        top: 18px;
    }

    .chat-board-header .chat-header-font {
        font-size: 14px;
    }

.chat-messages-part {
    background: rgb(255, 255, 255) none repeat scroll 0% 0%;
}



    .chat-messages-part .message-max-width-block {
        max-width: 500px;
        margin: 0px auto;
    }

    .chat-messages-part .message-design {
        background: #fff;
        color: #000;
        text-align: justify;
        /*padding: 15px 100px 15px 36px;*/
        padding: 15px 15px 15px 36px;
        padding-right: 10%;
        border-bottom-right-radius: 30px;
        border-top-right-radius: 30px;
        border-bottom-left-radius: 30px;
        margin-top: 15px;
        position: relative;
        word-wrap: break-word;
    }

        .chat-messages-part .message-design .user {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            object-fit: cover;
            position: absolute;
            left: 18px;
            top: 20px;
        }

        .chat-messages-part .message-design .message-user {
            font-size: 15px;
            font-weight: bold;
            margin-bottom: 12px;
        }

        .chat-messages-part .message-design .message-text {
            font-size: 12px;
            /*line-height : 20px;*/
        }

.message-text p {
    line-height: 18pt;
    margin-bottom: 3px;
    color: #3e3745;
}

.self-message-design p {
    color: #cdcdcd;
}

.text-area-block {
    position: relative;
}

    .text-area-block .send-button {
        position: absolute !important;
        right: 0px;
        width: 42px;
        height: 42px;
        background: rgb(246, 168, 33) none repeat scroll 0% 0%;
        color: rgb(255, 255, 255);
    }

    .text-area-block .attach-button {
        position: absolute;
        right: 84px;
        margin: 10px 15px;
        color: gray !important;
        cursor: pointer;
    }

    .text-area-block .voice-button {
        position: absolute;
        right: 42px;
        margin: 10px 20px;
        color: gray !important;
        cursor: pointer;
    }

        .text-area-block .voice-button.disabled {
            color: lightgray !important;
        }

.border-bottom-radius {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.voice-record-control {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 43px !important;
    background: #fff !important;
    margin-bottom: -43px;
    box-shadow: rgba(0, 0, 0, 0.03) 0px 0.46875rem 2.1875rem, rgba(0, 0, 0, 0.03) 0px 0.9375rem 1.40625rem, rgba(0, 0, 0, 0.05) 0px 0.25rem 0.53125rem, rgba(0, 0, 0, 0.03) 0px 0.125rem 0.1875rem;
}


.voice-control-button {
    width: 42px;
    height: 42px;
    margin-left: 10px;
    /*margin-right: 10px;*/
}

.message-to-send {
    min-height: 43px !important;
}

.voice-control-button i {
    font-size: 17px !important;
    color: #fff;
}

#audio-timer {
    width: 40px;
    display: inline-block;
}

.audio-player-wrapper {
    display: inline-block;
    width: 100px;
    margin-left: 10px;
    margin-right: 10px;
}

.text-area-block .message-text-area {
    font-size: 15px !important;
    border: 1px solid rgb(221, 221, 221) !important;
    resize: none;
    width: 100%;
    padding: 20px 140px 20px 10px;
    margin: 0px auto;
}

.border-bottom-radius {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.user-list-container .count-position {
    right: 10px;
    position: relative;
}

    .user-list-container .count-position .message-count {
        background: rgb(246, 168, 33) none repeat scroll 0% 0%;
        color: rgb(255, 255, 255);
        height: 25px !important;
        width: 25px !important;
        font-size: 14px !important;
        border-radius: 50%;
    }

        .user-list-container .count-position .message-count span {
            position: relative;
            top: 2px;
            font-size: 12px;
        }

    .user-list-container .count-position .message-count {
        color: rgb(255, 255, 255);
        font-size: 14px !important;
    }

.chat-messages-part .self-message-design {
    word-wrap: break-word;
    background: #3e3745;
    color: #fff;
    font-size: 15px;
    /*padding: 15px 25px 15px 100px;*/
    padding: 15px 25px 15px 15px;
    /*padding-left: 20%;*/
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    margin-top: 15px;
    position: relative;
}

    .chat-messages-part .self-message-design .user {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        object-fit: cover;
        position: absolute;
        right: 22px;
        top: 20px;
    }

    .chat-messages-part .self-message-design .message-user {
        font-size: 13px;
        font-weight: bold;
    }

    .chat-messages-part .self-message-design .message-text {
        font-size: 13px;
    }

#chat-menu {
    position: absolute;
    z-index: 1;
    margin-top: 21px;
}

@media(max-width : 1199px) {
    #user-list-holder {
        position: absolute !important;
        z-index: 1;
        width: 100%;
    }

    .sc-bxivhb {
        /*z-index : 1;*/
        background: #fff;
    }
}

#user-list-holder .fa-times.users-list-toggle {
    cursor: pointer;
}

@media(min-width : 1199px) {
    #user-list-holder .fa-times.users-list-toggle {
        display: none;
    }
}


@media (max-width: 768px) {

    #user-list-holder {
        padding-right: 0px !important;
    }


    .chat-messages-part .chat-height {
        /*        max-height: 600px;*/
    }

    /* .user-list-height {
        height: 461px !important;
    }*/


    .ross-chat-style .profile-nav {
        margin-left: 23% !important;
        margin-top: 20px;
        margin-bottom: 100px;
    }

    .chat-messages-part {
        max-height: calc(-100px + 100vh);
    }

    #chat-menu-toggle {
        padding: .5rem 0 .5rem 5px !important;
    }



    .chat-board-header ul {
        padding-right: 0 !important;
    }

    i.fa-ross-chat {
        font-size: 22px !important;
    }

    i.fa-ellipsis-v {
        font-size: 20px !important;
    }

    #user-list-holder .fa-times.users-list-toggle {
        font-size: 20px;
    }

    #search-contacts {
        border: unset !important;
        font-size: 14px !important;
    }

    .chat-box {
        height: 100vh;
        height: -webkit-fill-available;
        height: fill-available;
        display: flex;
        flex-direction: column;
    }

    .chat-box {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .chat-messages-part .chat-height {
        height: calc(-190px + 100vh) !important;
        /*        min-height: 400px;*/
    }
}

@supports (-webkit-touch-callout: none) { /* iOS only */
    .box {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
