/* boostrap toast */
.ctbToastWrapper {
    z-index: 1046;
}

/* drop down menu markup */
.myChannelMenu .dropdown-menu .dropdown-item:hover,
.myChannelMenu .dropdown-menu .dropdown-item:active,
.visitorMenuGroup .dropdown-menu .dropdown-item:hover,
.visitorMenuGroup .dropdown-menu .dropdown-item:active,
.loginMenuGroup .dropdown-menu .dropdown-item:hover,
.loginMenuGroup .dropdown-menu .dropdown-item:active {
    background: transparent;
    color: inherit;
}

/* employee notification drop down menu markup */
.employeeNotificationDropDownMenu,
.visitorNotificationDropDownMenu{
    max-width: 250px;
    max-height: 320px;
    overflow-y: auto;
}

.employeeNotificationDropDownMenu::-webkit-scrollbar,
.visitorNotificationDropDownMenu::-webkit-scrollbar {
    display: none;
}

/* items with the link class will get a hover decoration */
.employeeMenuGroup .dropdown-menu .isLink:hover,
.visitorMenuGroup .dropdown-menu .isLink:hover,
.loginMenuGroup .dropdown-menu .isLink:hover {
    text-decoration: underline;
}

/* popovers */
a[data-bs-toggle="popover"] {
    text-decoration: none;
}

/* tokens form */
.tokensForm .card .tokensContainer {
    height: 100px;
}

/* user editor */
.updateUserEmailEmployee:hover,
.updateUserPasswordEmployee:hover,
.updateUserEmailVisitor:hover,
.updateUserPasswordVisitor:hover {
    cursor: pointer;
}

._ctbThumbnailPreview {
    width: 100% !important;
    max-width: 100px !important;
    min-height: 100px;
    height: auto !important;
}

.languageFlag {
    width: 20px;
    height: auto;
}

/* the gridJs Styling */
.gridjs-search-input,
.gridjs-search {
    width: 100% !important;
}

table.gridjs-table {
    min-width: 100%;
}

.gridjs-tr:hover {
    cursor: pointer;
}

td.gridjs-td {
    padding: 8px 8px;
}

/* chat session modal */
.employeeChatSessionModal .input-group-append:hover,
.visitorChatSessionModal .input-group-append:hover {
    cursor: pointer;
}

/* messengerMessageDetailForm */
.downloadMessengerMessageAttachment:hover,
.downloadMessengerMessageResponseAttachment:hover,
.downloadMessengerMessageAttachment:hover,
.messengerMessageAttachment:hover,
.visitorMessengerModal .input-group-append:hover,
.messengerResponseAttachment {
    cursor: pointer;
}

/* messengerSendForm */
.messengerMessageAttachment:hover,
.visitorMessengerModal .input-group-append:hover {
    cursor: pointer;
}

/* billing modal */
.employeeBillingModal .input-group-append:hover {
    cursor: pointer;
}

/* review stars */
.reviewSendForm .star {
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.starContainer {
    display: inline-block;
}

input.star {
    display: none;
}

label.star {
    float: right;
    color: #ced4da;
    font-size: 120%;
    transition: all .2s;
}

label.star:hover {
    cursor: pointer;
}

input.star:checked ~ label.star:before {
    content: '\2605';
    color: #FD4;
    transition: all .25s;
}

label.star:hover {
    transform: rotate(20deg) scale(1.3);
}

label.star:before {
    content: '\2605';
}

/* channel css */
.channelMessagesContainer .channelMessages {
    height: calc(100vh - 320px);
    min-height: 300px;
}

.channelMessagesContainer .users {
    height: calc(100vh - 400px);
    min-height: 300px;
}

/* chat user detail modal */
.chatUserDetailForm img {
    width: 128px;
    height: 128px;
    object-fit: cover;
}

/* userlist */
.users::-webkit-scrollbar {
    display: none;
}

.userList .thumbnail {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.userList .nickname {
    display: none;
    max-width: 150px;
}

.sendFileContainer .userListSendFile:hover,
.profileLinkContainer .toggleChatUserDetailsModal:hover,
.extraSessionTimeForUserContainer .toggleExtraSessionTimeForUser:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* last sessions */
.myChannel div.lastSessions {
    height: 134px;
}

div.lastSessions::-webkit-scrollbar {
    display: none;
}

ul.lastSessions li:hover {
    cursor: pointer;
}

/* media stream */
/* stream */
.mainStream video {
    width: 100%;
    height: auto;
}

.videoGrid video {
    width: 100px;
    height: 100px;
    cursor: pointer;
}

.channelMessageContainer .messageThumbnail {
    width: 100%;
    max-width: 30px;
    height: auto;
}

.channelMessages::-webkit-scrollbar {
    width: 0px; /* Remove scrollbar space */
    background: transparent; /* Optional: just make scrollbar invisible */
}

/* message container navigation items */
.defaultSentencesDropdownMenu div:hover {
    cursor: pointer;
}

.defaultSentencesDropdownMenu div {
    max-width: 200px;
}

/* message form */
.messageContainer .myMessage {
    resize: none;
}

.messageForm .messageFormHeader {
    margin: .5rem 0;
}

.messageForm .yourMessage {
    border: 1px solid rgba(0, 0, 0, .125);
    resize: none;
}

/* the endpoint */
.endPointCardInbound .card-img-top,
.endPointCardOutbound .card-img-top {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.endPointCardOutbound .btn.btn-dark{
    line-height: 21px;
}

/* profile pagination */
.paginationProfileLink:hover {
    cursor: pointer;
}

/* profiles */
.profileCard .languages img{
    width: 20px;
    height: auto;
}

.statusOnline {
    color: rgba(25, 135, 84,1)
}

.statusInConversation {
    color: rgba(220, 53, 69,1);
}

.statusPause {
    color: rgba(255, 193, 7,1);
}

.statusOffline {
    color: rgb(108, 117, 125,1);
}
