/* All Updated Styling here  */

.chatfaq *:not(.fa) {
    font-family: 'Inter' !important;
}

:root {
    --title-color: rgb(51, 51, 51);
    --text-color: rgb(85, 85, 85);
    --gradient-end: rgb(255, 255, 255);
    --accent-color: rgb(0, 74, 255);
    --scrollbar-primary-color: #facc15;
    --scrollbar-secondary-color: #ef4444;
}


/* SCROLL BAR  */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #e7e7e7;
    border: 1px solid #cacaca;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: linear-gradient(var(--scrollbar-primary-color), var(--scrollbar-secondary-color));
    background: #3898D4;
}


/* Whole Container  */
#prime {
    margin: 0;
}

#fabs a {
    cursor: pointer;
}

#fabs .chat {
    /* background: rgb(0, 74, 255);
    background: linear-gradient(180deg, var(--accent-color) 15%, var(--gradient-end)100%); */
    right: 25px;
    bottom: 100px;
    height: 80vh;
    /* overflow-y: scroll !important; */
}

.chat-main-content {
    height: 80vh;
    overflow: scroll;
    overflow-x: hidden;
}

#fabs {
    margin: 0;
    padding: 25px;
    z-index: 1100;
}


/* FAQ HEADER  */

.chat .chat-header {
    background: unset;
    padding: 20px;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    background: var(--accent-color);
    row-gap: 10px;
}

#fabs .header-img {
    float: unset;
    width: 100%;
    height: auto;
    border: 0;
    overflow: unset;
    border-radius: unset;
    display: flex;
    align-items: center;
}

#fabs .header-img img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
}

#fabs .header-img h2 {
    color: #FFF;
    padding-left: 15px;
}

.chat-header-info {
    margin-left: 0;
    /* width: calc(100% - 45px); */
    /* padding-left: 15px; */
    margin-top: 30px;
}

.chat-header-info span#chat_head {
    font-size: 32px;
    line-height: 1;
    font-weight: 600;
}

.agent p {
    font-size: 14px;
}

.search-bar-box input#search-bar-box::placeholder {
    color: #000;
    opacity: 1;
}

.search-bar-box input#search-bar-box {
    border-radius: 0;
    border: 0 !important;
}


/* Content Section  */

.chat_converse {
    background: unset;
    margin: 0;
    float: unset;
    height: unset;
    padding: 20px 20px;
    /*  overflow-x: hidden; */
}

.robodesk-featured {
    display: flex;
    flex-wrap: wrap;
    flex-flow: row;
}

.faqoress-img {
    width: 20px;
    float: unset;
    flex: none;
    position: relative;
}

.faqoress-img img {
    width: 100%;
    /* display: none; */
}

.faqoress-img:before {
    position: absolute;
    /* content: '\f02d'; */
    font-family: 'FontAwesome';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 20px;
    color: var(--accent-color);
    line-height: 1.2;
}

#fabs h3 {
    margin-top: 0;
    margin-bottom: 5px;

}

#fabs h3 {
    font-weight: 600;
}

.fab_field.robodesk_card {
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
    border: 0;
    position: relative;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.search-header-text p {
    font-weight: 600;
    /* margin-bottom: 8px !important; */
}

.chat .search-bar-box #fab_send {
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
}

#fabs .search-bar-box input {
    border-radius: 10px;
    border: 1px solid var(--accent-color) !important;
    font-size: 13px;
}

.chat .search-bar-box #fab_send {
    background: unset;
    width: 15%;
    border-left: 1px solid var(--accent-color);
}

.search-bar-box #fab_send i {
    color: var(--accent-color);
}

.chat #datafetch {
    position: absolute;
    z-index: 9;
    width: 100%;
    height: auto;
    left: 0;
    top: 100%;
    margin-top: -10px;
}

#datafetch ul {
    margin-top: 5px;
    padding: 0;
    background: #fafafa;
    box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px;
}

#datafetch ul li {
    background: unset;
    margin: 0;
}

#datafetch ul li a:hover {
    color: var(--accent-color);
}

#datafetch ul li a {

    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #EEE;
    padding: 10px 15px;
}

.chat .chat_converse .chat_msg_item {
    color: var(--text-color);
}

.chat .chat_converse .chat_msg_item.robodesk_card:before {
    content: none;
}

.robodesk-group {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    /* background: #FFF;
    box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px; */
}

.chat .chat_converse .chat_msg_item.robodesk_card {
    box-shadow: 1px 1px 2px 2px #ccc;
    margin: 0;
    /* float: unset; */
    z-index: unset;
    display: inline-block;
    /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
    /* box-shadow: none; */
    /* border-bottom: 1px solid #EFEFEF; */
    box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px;
    background: unset;
    border-radius: 10px;
}

.chat .chat_converse .chat_msg_item.robodesk_card:hover {
    transform: scale(1.01);

}

.faq-ask-question {
    border: 0;
}

#faq-ask-questions textarea {
    height: 50px;
    line-height: 30px;
}


/* FAQ TITLE BOFY CONTENT  */
#fabs h1 {
    font-size: 32px;
    margin-top: 0;
}

#response_faq .faq-inner-title,
#chat_body_contact .faq-title {
    color: #FFF;
    background: var(--accent-color);
    /* padding: 20px; */
    line-height: 1.2;
    /* margin: -25px -25px 30px; */
}

.chat_body {
    /* position: absolute; */
    top: 0;
    left: auto;
    height: 100% !important;
}

.chat_category {
    margin: 0 0;
    padding: 20px;
    max-width: unset;
    /* text-align: justify; */
    max-height: 500px;
}

#fabs #robodesk_title a {
    color: var(--title-color);
    margin-bottom: 0;
}

#fabs #robodesk_title a:hover {
    color: var(--accent-color);
}

.faq-composer-buttons {
    top: auto;
    bottom: 0;
}

#fabs .robodesk-content p {
    font-size: 13px;
}

.faq-composer-send-button svg {
    width: 20px;
    fill: var(--accent-color);
}

#fabs .btn-faqvote {
    color: #FFF;
    background: none;
    padding: 0;
}

#fabs .btn-faqvote:hover i::before {
    color: #004aff;
}

#fabs .btn-faqvote.dislike:hover i::before {
    color: #ef4444;
}

#fabs .btn-faqvote .voteup {
    color: #8c8c8c;
    font-size: 22px;
    padding: 6px 8px;
}

#fabs .btn-faqvote .votedown {
    color: #8c8c8c;
    font-size: 22px;
    padding: 5px 8px;
}

#fabs span.likes,
#fabs span.dislikes {

    padding: 0;
}

#fabs .btn-faqvote.disabled i {
    background: #DDD;
}

#response_faq img {

    width: 100%;
}

/*--------------------------------------------------------
Automaticaly Show Online message after certain time 
----------------------------------------------------------*/
.faq-quickpop {
    visibility: hidden;
    opacity: 0;
    background: #FFF;
    padding: 25px 15px;
    box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px;
    border-radius: 5px;
    position: absolute;
    bottom: 100%;
    right: 15px;
    width: 250px;
    text-align: center;
    transition-delay: 0.2s;
}

.faq-quickpop p {
    margin: 0;
    /* color: var(--accent-color); */
    font-size: 16px;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.faq-quickpop i.fa-hands-clapping {
    font-size: 40px;
    margin-bottom: 10px;
    color: #fab005;
}

.faq-quickpop p span {
    padding: 0 5px !important;
    font-size: 18px !important;
    font-weight: 600;
    /* color: var(--accent-color) !important; */
    color: #000 !important;
}

/* .faq-quickpop  i.fa-xmark {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    cursor: pointer;
    padding: 3px;
    background: #000000;
    font-size: 11px;
    text-decoration: none !important;
} 

.faq-quickpop  i.fa-xmark:hover {
    color: #666;
}
*/

.show-popup {
    visibility: visible;
    opacity: 1;
    transition-delay: 4s;
}

.faq-quickpop a.xmark {
    background: var(--accent-color);
    padding: 5px 20px;
    color: #FFF !important;
    border-radius: 50px;
}

/* FORM STYLINGS  */

#chat_body_contact .chat_category,
#chat_body_contact.chat_body {
    animation-name: unset;
}

#chat_body_contact,
#chat_body {
    background-size: 50px;
    word-break: break-word;
    /* background:     linear-gradient( var(--accent-color) 65px, #FFFFFF 65px)    ; */
}

a#chat_second_screen {

    text-align: center;
    position: absolute;
    border: 2px solid #FFF;
    right: 15px;
    top: 20px;
}

.faq-title {
    line-height: 1;
    background: var(--accent-color);
    padding: 5px 10px;
    margin-bottom: 10px;
}

#fabs h2.faq-contact-title {
    color: #FFF;
    margin-top: 0;
}


#chat_main_screen .zmdi-close:before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free' !important;

}

#chat_second_screen .zmdi-close:before {
    content: '\f13a';
    font-family: 'Font Awesome 6 Free' !important;
    font-size: 20px;
}

#chat_body_contact input,
#chat_body_contact textarea {
    font-size: 14px;
    box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px;
    border: 0 !important;
}

#fabs #chat_body_contact input#submitbtn {
    background: var(--accent-color);
    border-radius: 8px;
}

#fabs h2.faq-contact-title {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
}


/* RESPONSIVE CSS  */
@media screen and (min-width: 768px) {
    #fabs .chat {
        width: 400px;
    }
}


@media screen and (max-width: 768px) {
    #fabs .chat {
        width: 80vw;
    }

    .chat .search-bar-box #fab_send {
        overflow: hidden;
    }

    .search-bar-box #fab_send i {
        width: 98%;
        background: #FFF;
        margin-right: 2px;
    }
}


/* new changes arp faqPress*/
.chatfaq .chat-header {
    width: auto;
}

.chatfaq #faq-ask-questions textarea {
    line-height: 28px;
    max-height: 50px;
    overflow: auto;
    padding: 10px 20px;
    text-align: left;
}

/* .chatfaq .faq-hloib6 {
    right: 18px;
    top: 5px;
} */

.chatfaq .chat-main-content {
    overflow: hidden;
    max-height: 80vh;
    height: 100%;
}

.chatfaq #chat_converse {
    width: auto;
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
}

#fabs .chatfaq .fab_field p {
    font-size: 16px;
}

/* .chatfaq .success_msg,
.chatfaq .error_msg {
    display: none;
} */

.chatfaq .search-bar-box {
    display: flex;
    justify-content: space-between;
}

#chat_converse {
    display: flex;
    flex-direction: column;
}

#fabs .search-header-text p {
    margin: 0;
    margin-bottom: 0;
}

#chat_converse .robodesk_card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
}

#chat_converse #robodesk_title .robodesk_card {
    margin-bottom: 20px;
}

#chat_main_screen_close {
    margin-left: auto;
}

#chat_main_screen_close i {
    border: 1px solid #fff;
    padding: 5px 10px;
    border-radius: 100%;
}

#chat_main_screen_close i::before {
    color: #fff;
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    content: '\f00d';
}

#response_faq .faq-inner-title {
    background-color: #fff;
    color: #000;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    font-weight: 600;
    justify-content: space-between;
}


#response_faq p {
    margin: 0;
}

#chat_body {
    overflow-y: hidden;
}

.faq-ask-question {
    display: flex;
}


#chat_body_contact form .form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 10px;
}

#chat_body_contact .form-group input,
#chat_body_contact .form-group textarea {
    padding: 16px 10px;
    border-radius: 8px;
}

#chat_body_contact .faq-submit {
    margin-top: 20px;
}

#fabs a {
    color: transparent;
}

#chat_second_screen {
    display: flex;
    justify-content: center;
    align-items: center;
}

#chat_body_contact .faq-title {
    background-color: #fff;
    color: var(--title-color);
    margin-bottom: 0;
    padding: 0;
}

#chat_body_contact h2.faq-contact-title {
    color: var(--title-color);

}

a#chat_second_screen i {
    color: var(--title-color);
}

.view_the_single_faq {
    color: #004aff;
}

/* color change */
/* .chatfaq .chat-header {
    background-color: #000;
}

#fabs #robodesk_title a {
    color: #000;
}

#fabs .search-header-text p {
    color: #000;
} */
i.fa {
    font-family: 'Font Awesome 6 free';
}

#response_faq .faq-inner-title {
    margin-top: 0;
    margin-bottom: 14px;
}

#fabs a.view_the_single_faq {
    color: #000;
    display: flex;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

#fabs a.view_the_single_faq i {
    color: #8c8c8c;
    font-size: 12px !important;
}