.error {
    color: red !important;
    font-size: 12px !important;
}

.pagination-style {
    float: right;
}

.popupcss td {
    border-top: 0px;
}

.padding-0 {
    padding: 0;
}

.pdf-image-size {
    width: 55px !important;
    height: 66px !important;
}
/* @import url(https://fonts.googleapis.com/css?family=Open+Sans);

* {
  font-family: 'Open Sans', sans-serif;
} */

.responsive-table {
    overflow: auto;
}

/* table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  white-space:nowrap;
}

table th {
  background: #BDBDBD;
} */

/* table tr:nth-child(odd) {
  background-color: #F2F2F2;
}
table tr:nth-child(even) {
  background-color: #E6E6E6;
} */

#sortable {
    cursor: move;
}

/* img {
  font-style: italic;
  font-size: 11px;
} */

/* .fa-bars{
  cursor: move;
} */

/* CSS for table cells */
td {
    max-width: 200px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bootstrap-tagsinput .tag {
    display: inline;
    margin-right: 2px;
    color: #ffffff;
    background: #2196f3;
    border-radius: 3px;
    padding: 3px 7px;
}

.bootstrap-tagsinput {
    width: 100%;
}

/* sorting css */
#sortable {
    cursor: move;
}

/* table {
  border: 1px solid black;
  table-layout: fixed;
  width: 200px;
}

th,
td {
  border: 1px solid black;
  width: 100px;
  overflow: hidden;
} */

#kt_body {
    padding-right: 0% !important;
}

.banner-tables {
    .banner-image {
        max-width: 100%;
        max-height: 100%;
    }
}

/* Table image css */
.table-image {
    width: 100px;
    height: 60px;
}

/* Brand Logo css */
.brand-logo-style {
    display: flex;
    align-items: center;
    justify-content: center;
}

.w-400 {
    width: 400px !important;
}

/* Add response image css */
.ticket-image-size {
    width: 120px;
}

/* .from-text {
    max-width: 50px;
} */

.faq-answer {
    max-height: 40px;
    overflow: hidden;
    position: relative;
}

.news-description {
    max-height: 50px;
    overflow: hidden;
    position: relative;
}

.cursor-pointer {
    cursor: pointer !important;
}

.no-record-found {
    padding: 20px !important;
}

#kycNoteBody {
    max-height: 200px;
    word-break: break-all;
    overflow-x: auto;
}

.kycNoteMessage {
    max-height: auto;
    word-break: break-all;
}

.input-text-color {
    color: black !important;
}

.custom-label .form-lable{
  color: black;
  /* margin-top: 5px;  */
}

.news_left img{
  height: 225px;
  object-fit: cover;
}

.ticket-detail p {
    margin-bottom: 0;
}

.support_chat .message-bubble p {
    word-break: break-all;
    padding: 10px 0;
}
/* support ticket timestamps styles */
.message-bubble {
    position: relative;
    max-width: 80%;
    margin: 0 auto; /* Center the message bubble */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-bubble figure {
    margin-top: 15px;
    width: 80%; /* Set figure width to 100% for responsiveness */
    display: flex;
}

.message-bubble figure img {
    width: 80%; /* Set image width to 100% for responsiveness */
    height: auto; /* Maintain aspect ratio */
    display: block;
}

.timestamp {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* Media query for smaller screen sizes */
@media (max-width: 768px) {
    .message-bubble {
        max-width: 100%; /* Set max-width to 100% for smaller screens */
        display: flex;
        flex-direction: column;
        align-items: inherit;
    }

    .timestamp {
        position: static; /* Remove absolute positioning for timestamp */
        margin-top: 5px; /* Adjust margin for spacing */
        white-space: nowrap;
        text-align: right; /* Align timestamp text to the right */
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .message-bubble {
        max-width: 80%; /* Set max-width to 80% for desktop screens */
    }
}

.fix-text-height {
    height: 195px;
    overflow: hidden;
}

.fix-text-height.heigh_fix_auto {
    min-height: 195px;
    height: auto !important;
}

.news_listing_img img {
    height: 214px;
}

.chat-text .text-design {
    padding: 8px;
}

.sender_div {
    width: 200px;
}

.sender_div > div {
    margin-top: 20px;
}

.receiver_div {
    width: calc(100% - 200px);
}

.sender_div .tooltip {
    position: unset;
    /* display: inline-block; */
    opacity: 1;
    line-height: 16px;
    overflow: hidden;
}

.sender_div .tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: -34px;
    left: 20px;
}

.sender_div .tooltip:hover .tooltiptext {
    visibility: visible;
}

.user_info_text {
    overflow: hidden;
    display: block;
    width: 140px;
    white-space: nowrap;
}

.admin_side_handle .sender_div .tooltip .tooltiptext{
  background-color: #000;
  color: #fff;
}

@media only screen and (max-width: 768px) {
    .fix-text-height {
        height: 100px !important;
        min-height: auto !important;
    }
}

@media only screen and (max-width: 576px) {
    .sender_div {
        width: 100%;
    }

    .receiver_div {
        width: 100%;
    }

    .sender_div .d-flex{
      overflow: hidden;
    }

    .sender_div .user_info_text{
      width: 100%;
    }
}
.chat-text .text-design{
  padding: 8px;
}

.custom-ckeditor .ck-editor__editable {
  color: black;
}

.image_area {
    position: relative;
    display: inline-block;
}

.image_area img {
    display: block;
    width: 100px;
    max-width: 100%;
}

.image_area .overlay {
    position: absolute;
    bottom: 5px;  
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    height: 0;
    transition: .5s ease;
    width: 100%;
}

.image_area:hover .overlay {
    height: 50%;
    cursor: pointer;
}

.image_area .text {
    color: #333;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.img-container .preview {
    overflow: hidden;
    width: 160px; 
    height: 160px;
    margin: 10px;
    border: 1px solid red;
}

.min-height-150{
    min-height: 150px !important;
    max-height: 150px !important;
}

/* Hide the up and down arrow buttons */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

.chat-textarea p {
    margin: 0 !important;
}

.chat-textarea .ck-editor__editable {
    padding: 20px !important;
}

.add_user_id+.select2-container--default .select2-selection--single .select2-selection__arrow{
    margin-right: 5px !important;
}

.ck-input-text {
    max-width: 60px !important;
}
.custom_css_filter_wraper {
    overflow: hidden;
    border-radius: 10px;
    background-color: #b5b5c4;
}

.filter_btns {
    scrollbar-width: unset !important;
    overflow: auto !important;
}
.filter_btns::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    scrollbar-width: unset !important;
    border-radius: 10px;   
}

.filter_btns::-webkit-scrollbar
{
    width: 95% !important;
    height: 5px;
    display: block !important;
}

.filter_btns::-webkit-scrollbar-thumb
{
    border-radius: 15px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #00000014;
    margin-bottom: -10px;
    bottom: -5px
}

/* 
 * Announcement modal styles
 */
#announcement_modal img,
#announcement_modal video,
#announcement_modal .media,
#announcement_modal audio {
    width: 500px;
    height: auto;
}

.stay_away_banner{
    height: 255px;
}