/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Nov 28, 2022, 3:33:39 PM
    Author     : bayasys
*/

:root {
    /*--b-baya-lightgray:#7e7e7e;*/
    --b-baya-chattheme:green;
    --b-baya-chatlabel-color:#858585;
    --b-baya-chatlightgray:#d1d1d1;
    --b-baya-msgsendbtn:url(../images/sendbtn.png);
    --b-baya-chatareaback:url('../images/chatbackground.jpg');
    --b-baya-attachbtn:url(../images/atachbtn.png);
    --b-baya-attachbtncoloured:url(../images/atachbtncoloured.png);
}

.bct-chatOpenBtn{
    position:absolute;
    right: 40px;
    bottom: 40px;
    padding: 15px;
    border-radius: 50%;
    color: white;
    background-color: var(--b-baya-chattheme);
    z-index: 200000 !important;  /* Ensure chat button is always on top */ //IB0594-24
}
.bct-chatWindow{
    height: 550px;
    width: 350px;
    display: none;
    position: absolute;
    bottom: 40px;
    right: 40px;
    margin: 2px;
    border-radius: 5px;
    box-shadow: 1px 1px 6px var(--b-baya-chattheme);
    border-top: 6px solid var(--b-baya-chattheme);
    background-color: white;
    z-index:200000; //IB0594-24
}

.bct-chatWindow input[type=text] {
    border: none;
    flex: auto;
    padding: 10px;
    font-size: 18px;
    color: var(--b-baya-chattheme);
}

.bct-chatPanel{
    flex: 1;
}

/*...............................User List Panel ........................................*/
.bct-userListPanel{
    height: 494px;
    overflow-y: scroll;
    width:100%;
    background-color: white;
    border-radius: 5px;
}

.bct-usersOuter{
    display: flex;
    margin: 1px 0px 0px 10px;
    width: 329px;
    /*padding-left: 10px;*/
    border-bottom:1px solid var(--b-baya-chatlightgray);
}

.bct-usersImgOuter{
    border-radius: 50%;
    height: 50px;
}

.bct-usersImgOuter img{
    border-radius: 50%;
    padding:2px;
    height: 34px;
    width: 34px;
    border: 1px solid var(--b-baya-chatlightgray);
    margin-top: 7px;
}

.bct-userTexts{
    flex: auto;
    margin: 8px 0px 0px 8px;
}

.bct-userListName{
    font-weight: 400;
    overflow-wrap: anywhere;
}

.bct-userSelect{
    margin: 15px;
}

.bct-userCaption{
    color:var(--b-baya-chatlabel-color);
    font-size: 10px;
    overflow-wrap: anywhere;
}
/*............................. Chat header ..............................................*/
.bct-chatAreaHdr{
    height: 49px;
    width:100%;
    max-width: 350px;
    border-bottom: 1px solid var(--b-baya-chatlightgray);
    display:flex;
}

.bct-closeIconBtn{
}

/* close button */
.bct-outBtn{
    font-size: 14px;
    padding: 16px;
    color: var(--b-baya-chattheme);
    position: relative;
}

.bct-float-left{
    float: left;
}

.bct-chatTitleBox{

}

.bct-chatTitle{
    /*height: 100%;*/
    max-width: 210px;
    float: left;
    font-size: 18px;
    font-weight: bold;
    padding-top: 15px;
    color: var(--b-baya-chattheme);
    flex:auto;
    text-overflow:ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.bct-chatTitleIcon{
    width: 32px;
    margin-top: 5px;
    display: none;
}

.bct_chatTitleOuter{
    padding-left: 10px;
    flex:auto;
}

.bct-chatTitleDesc{
    font-size: 10px;
    display: none;
    color:var(--b-baya-chatlabel-color);
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
    overflow: hidden;
    max-width: 210px;
}

.bct-Searchtextbox{
    /* margin: 10px 0px 0px 0px; */
    /*border: 2px solid;*/
    /*    min-height: 20px;*/
    /*padding-right: 50px;*/
    /*outline-color: black;*/
    /* max-height: 27px!important; */
    width: 145px;
    /*resize: none;*/
    /* border-bottom: 1px solid !important; */
    display: none;
    font-size:12px!important;
    height: 100%;
}

.bct-hideuser{
    display: none;
}
.bct-hideelement{
    display: none !important;
}

/*............................. Chat message area  ..............................................*/
.bct-chatArea{
    height: 426px;
    overflow-y: scroll;
    width:349px;
    display: none;
    background-image: var(--b-baya-chatareaback);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bct-msgTexts{
    word-wrap: break-word;
    border-radius: 5px;
    width: 80%;
    margin: 5px;
    float: inside;
    font-size: 14px;
    padding: 5px 5px 0px 5px;
    border: 1px solid var(--b-baya-chatlightgray);
}

.bct-msg{
    white-space: pre-wrap;
}

.bct-recvMsg{
    background-color:#d1ecff;
    float: left;
    margin-left:14px;
}

.bct-sendMsg{
    background-color: #d6ffd1;
    float: right;
    margin-right:14px;
}

.bct-datetime{
    float:right;
    font-size: 9px;
}

.bct-messageDateBoxOuter{
    display: inline-block;
    width: 100%;
}

.bct-messageDateBoxInner{
    width: fit-content;
    font-size: 9px;
    margin-left: auto;
    margin-right: auto;
    color: var(--b-baya-chattheme);
    font-weight: 700;
}

/*............................. Chat send area ..............................................*/
.bct-chatTools{
    float: bottom;
    border-top: 1px solid var(--b-baya-chatlightgray);
    width:100%;
    bottom:0;
    position:absolute;
    padding:3px;
    display: none;
    /*flex:1;*/
}

.bct-messageTextbox{
    /*margin: 0px 0px 0px 5px;*/
    border: 1px solid var(--b-baya-chatlightgray);
    border-radius: 5px;
    /*padding: 5px 5px 5px 5px;*/
    min-height: 40px;
    outline-color: var(--b-baya-chatlightgray);
    max-height: 138px!important;
    width: 100%;
    /*position: absolute;*/
    resize: none;
    bottom: 1px;
}

.bct-messageTemplates{
    height: 22px;
    border: 0px;
    max-width: 285px;
}

.bct-chattoolsBtns{
    position: absolute;
    top: 2px;
    right: 2px;
}

.bct-attachBtn{
    /*position: absolute;*/
    background-image:var(--b-baya-attachbtn);
    background-repeat: no-repeat;
    background-size: cover;
    width: 24px;
    height: 24px;
    max-width: 32px;
    max-height: 32px;
    border:none;
}

.bct-sendBtn{
    /*    font-size: 18px;
    color:var(--b-baya-chattheme);
        margin:4px;*/
    background-image:var(--b-baya-msgsendbtn);
    background-repeat: no-repeat;
    background-size: cover;
    width: 31px;
    height: 30px;
    max-width: 31px;
    max-height: 30px;
    border:none;
    position: absolute;
    right: 6px;
    top: 27px;
}

.bct-addUserToRoom{
    display: none;
    background-color: var(--b-baya-chatlightgray);
    height: 59px;
    text-align: -webkit-center;
    padding: 17px;
    color: var(--b-baya-chattheme);
    font-weight: bold;
    width: 349px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

/********************************** Scroller ****************************************/

.bct-scroller::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: transparent;
}
.bct-scroller::-webkit-scrollbar-track {
    background: transparent;
}
.bct-scroller:hover::-webkit-scrollbar-track {
    border:1px solid transparent;
    border-radius:20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    background: transparent;
}
.bct-scroller::-webkit-scrollbar-thumb {
    border:1px solid var(--b-baya-chattheme);
    border-radius:40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    background: transparent;
}
.bct-scroller:hover::-webkit-scrollbar-thumb {
    border:1px solid var(--b-baya-chattheme);
    border-radius:40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    background: var(--b-baya-chattheme);
}
.bct-scroller::-webkit-scrollbar-thumb:horizontal:hover,
.bct-scroller::-webkit-scrollbar-thumb:vertical:hover {
    background: var(--b-baya-chattheme);
}
.bct-scroller::-webkit-scrollbar-thumb:horizontal:active,
.bct-scroller::-webkit-scrollbar-thumb:vertical:active {
    background: var(--b-baya-chattheme);
}

.bct-scroller
{
    overflow: auto;
}
/********************************** Create Group ****************************************/

.bct-roomChatIcon{
    padding:7px;

}
.bct-roomChatPanel{
    display: none;
    height: 494px;
}

.bct-roomUserName{
    font-size: 14px;
    font-weight: bold;
}

.bct-roomUserImage{
    width: 35px;
    display: flex;
    height: 35px;
    margin-top: 18px;
}
.bct-roomUserImage img{
    border-radius: 50%;
}

.bct-roomNameBox{
    height: 40px;
    border-bottom: 1px solid var(--b-baya-chatlightgray);
    display:flex;
}

.bct_roomUserList{
    height:455px;
}
/********************************************************************/
.bct-unreadMsgCount{
    border-radius: 10px;
    border: 1px solid var(--b-baya-chatlightgray);
    width: auto;
    height: 20px;
    padding: 1px 4px 1px 4px;
    color: var(--b-baya-chattheme);
    font-weight: 400;
    font-size: smaller;
    min-width: 20px;
    text-align: center;
    margin-top: 7px;
}
.bct-chatMsgTotalcount{
    border-radius: 10px;
    width: auto;
    height: 20px;
    color: var(--b-baya-chattheme);
    font-weight: 400;
    font-size: smaller;
    min-width: 20px;
    text-align: center;
    margin-top: 7px;
    position:absolute;
    right: 35px;
    bottom: 73px;
    padding: 3px;
    border-radius: 10px;
    color: white;
    background-color: #ff4343;
    z-index:1000;
}
/**************************slider*******************************/
.bct-onoffchat {
    display: none;
    position: absolute;
    width: 47px;
    height: 21px;
    margin: -12px 0px 0px 231px;
}

.bct-onoffchat input {
    opacity: 0;
    width: 0;
    height: 0;
}
.bct-slider {
    /*display: none;*/
    position: absolute;
    cursor: pointer;
    top: 2px;
    left: 22px;
    right: -7px;
    bottom: 11px;
    background-color: #9a0d0d;
    -webkit-transition: .4s;
    transition: .4s;
}

.bct-slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 17px;
    left: 0x;
    bottom: -3px;
    background-color: #dfdfdf;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .bct-slider {
    background-color: #dfdfdf;
}
input:focus + .bct-slider {
    box-shadow: 0 0 1px #2196F3;
}
input:checked + .bct-slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
    background-color: brown;
}
/* Rounded sliders */
.bct-slider.bct-round {
    border-radius: 16px;
}
.bct-slider.bct-round:before {
    border-radius: 50%;
} 
/********************************************** group info*************************************/
.bct-groupinfo{
    display: none;
    font-size: 14px;
    margin-top: 17px;
}
.bct-groupinfoOuter{
    display: none;
    position: absolute;
    background: var(--b-baya-theme-color);
    left: 210px;
    top: 45px;
    width: 126px;
    height: auto;
    max-height: 300px;
    border-radius: 6px;
    padding-left: 8px;
}
.bct-closeGroupinfo{
    color: white;
    margin-left: 2px;
}
.bct-GroupinfoList{
    color: white;
    font-size: 11px;
}
.bct-groupinfotitle{
    margin-left: -2px;
}
