/*

01. Ball content

02. Woo Chat bot Message container
    -A Link Item

    -B Loading

03. wp Chat bot Message Editor

04. wp Chat bottom Tab Nav Editor

05. Tab Feature Product

06. Tab Cart

07. Product Details

*/

/*********************

01. Ball content wrapper

**********************/

.wp-chatbot-board-container {
    position: relative;

}

.wp-chatbot-board-container:before {
    top: -17px;
    position: absolute;
    content: "";
    width: 100%;
    height: 150px;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(250, 250, 250, 0));
    z-index: 1;
    border-radius: 5px 5px 0 0;
}

/******************************

02. wp Chat bot Message container

*********************************/

.wp-chatbot-header {
    background-color: transparent;
    position: relative;
    padding: 0px 30px !important;
    text-align: left;
}

.wp-chatbot-header h3 {
    font-size: 14px;
}

#wp-chatbot-desktop-close {
    top: -42px;
    z-index: 99;
}

#wp-chatbot-desktop-reload {
    top: 2px;
    z-index: 99;
}

.wp-chatbot-content {
    height: calc(100vh - 270px) !important;
    position: relative;
}

ul.wp-chatbot-messages-container {
    position: relative;
}

ul.wp-chatbot-messages-container > li {
    margin-bottom: 10px;

    font-size: 14px;
    min-height: auto;
}

ul.wp-chatbot-messages-container > li:before {
    display: none;
}

ul.wp-chatbot-messages-container > li.wp-chatbot-msg {
    padding-left: 35px;
}

ul.wp-chatbot-messages-container > li.wp-chat-user-msg {
    padding-right: 35px;
}

ul.wp-chatbot-messages-container > li:first-child {
    padding: 0;
}

ul.wp-chatbot-messages-container > li > .wp-chatbot-avatar,
.wp-chatbot-agent-profile .wp-chatbot-widget-avatar {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #70aca9;
    background-color: #70aca9;
    width: 30px;
    height: 30px;
    top: 0;
}

ul.wp-chatbot-messages-container > li.wp-chatbot-msg .wp-chatbot-avatar, .wp-chatbot-agent-profile .wp-chatbot-widget-avatar {
    left: 0;
}

ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-avatar {
    right: 0;
}

ul.wp-chatbot-messages-container > li > .wp-chatbot-paragraph, .wp-chatbot-bubble {
    display: table;
    padding: 8px 15px;
    width: 90%;
    background-color: #fff;
    border-radius: 10px;
    line-height: 150%;
    box-shadow: 0 3px 3px #b2b2b2;
    word-wrap: break-word;
}

ul.wp-chatbot-messages-container li:first-child.wp-chatbot-msg .wp-chatbot-paragraph {
    color: #3e3d3d;
    box-shadow: none;
}

ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-paragraph {
    text-align: right;
    float: right;
    border-radius: 10px 10px 10px 10px;
    color: #999;

}

/************ 02.A Link Item*************/

span.qcld-chatbot-product-category,
span.qcld-chatbot-support-items,
span.qcld-chatbot-wildcard,
span.qcld-chatbot-suggest-email,
span.qcld-chatbot-reset-btn,
#wp-chatbot-loadmore,
.wp-chatbot-shortcode-template-container span.qcld-chatbot-product-category,
.wp-chatbot-shortcode-template-container span.qcld-chatbot-support-items,
.wp-chatbot-shortcode-template-container span.qcld-chatbot-wildcard,
.wp-chatbot-shortcode-template-container span.wp-chatbot-card-button,
.wp-chatbot-shortcode-template-container span.qcld-chatbot-suggest-email,
span.qcld-chatbot-suggest-phone,
.wp-chatbot-shortcode-template-container span.qcld-chatbot-reset-btn,
.wp-chatbot-shortcode-template-container #wp-chatbot-loadmore, .wp-chatbot-loadmore {
    color: #fff;
    background-image: linear-gradient(135deg, rgb(42, 39, 218), rgb(0, 204, 255));
    background-size: 200% auto;

    box-shadow: rgba(0, 77, 255, 0.5) 0px 4px 24px;
}

span.qcld-chatbot-product-category:hover,
span.qcld-chatbot-support-items:hover,
span.qcld-chatbot-wildcard:hover,
span.qcld-chatbot-suggest-email:hover,
span.qcld-chatbot-reset-btn:hover,
#wp-chatbot-loadmore:hover, .wp-chatbot-loadmore:hover {
    background-position: right center;
    box-shadow: none;

}

/************* 02.B Loading **************/

ul.wp-chatbot-messages-container > li .wp-chatbot-paragraph img.wp-chatbot-comment-loader {
    background-color: #fff;
    padding: 1px;
    border-radius: 5px;
    margin: 0 auto;
    display: block;
}

/*******************************

04. wp Chat bottom Tab Nav Editor

**********************************/

.wp-chatbot-footer {
    
    background-color: #fff;
    box-shadow: 0 0 5px #b2b2b2;
    border-radius: 5px;
    position: relative;
    padding-top: 5px;
}

.wp-chatbot-tab-nav {
    padding-top: 5px;
}

.wp-chatbot-tab-nav ul {
    justify-content: start;
    padding-right: 25px !important;
	padding-left: 5px !important;
}

.wp-chatbot-tab-nav ul li a {
    background-color: #f12036;
}
.wp-chatbot-tab-nav ul li:nth-child(2) {

}


.wp-chatbot-tab-nav ul li.wp-chatbot-operation-active a {
    background-color: rgb(13, 152, 243);
}


.wp-chatbot-tab-nav ul li.wp-chatbot-operation-active a:before, .wp-chatbot-tab-nav ul li:hover a:before {
    border: 3px solid rgb(13, 152, 243);
}
.wp-chatbot-operation-active{margin-right: 9px !important;}
/*******************************

03. wp Chat bot Message Editor

**********************************/

.wp-chatbot-editor-container {
   
}


.wp-chatbot-editor-container input {
    color: #0a2d2b;
    width: 100%;
}

.wp-chatbot-editor-container input::placeholder {
    color: #0a2d2b;
}

.wp-chatbot-editor-container input::-webkit-input-placeholder {
    color: #0a2d2b;
}

.wp-chatbot-editor-container input::-moz-placeholder {
    color: #0a2d2b;
}

.wp-chatbot-editor-container input:-ms-input-placeholder {
    color: #0a2d2b;
}

.wp-chatbot-editor-container input:-moz-placeholder {
    color: #0a2d2b;
}

.wp-chatbot-editor-container button {
    width: 50px;
    height: 50px;
    background-color: rgb(13, 152, 243);
    
    box-shadow: rgba(0, 77, 255, 0.5) 0px 4px 24px;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    right: -25px;
    margin-top: -25px;
}

.wp-chatbot-editor-container button:hover {
    background-color: rgb(13, 128, 215);
}

/******************************************

05. Tab Feature Product

*********************************************/

.wp-chatbot-agent-profile {
    position: relative;
    padding-left: 35px;
    padding-top: 30px;
    box-sizing: border-box;
    word-wrap: break-word;
    list-style: none;
    display: block;
    clear: both;
    line-height: 150%;
    min-height: 50px;
    margin: 0 0 10px 0;
}

.wp-chatbot-widget-title {
    color: #353535;
    text-align: center;
    padding-bottom: 10px;
}

/*************************************

06. Tab Cart

**************************************/

.wp-chatbot-cart-header {
    background-color: #F5F5F5;
}

.wp-chatbot-cart-single {
    background-color: rgba(245, 245, 245, 0.1);
    border-bottom: 1px solid #dddddd;
}

.wp-chatbot-cart-single:nth-child(2n+1) {
    background-color: rgba(245, 245, 245, 0.5);
}

.wp-chatbot-cart-footer div a {
    text-decoration: none;
    background: linear-gradient(135deg, rgb(42, 39, 218), rgb(0, 204, 255));
    color: #ffffff;
}

.wp-chatbot-cart-footer div a:hover, .wp-chatbot-cart-footer div:last-child a {
    background: linear-gradient(135deg, rgb(42, 39, 218), rgb(0, 204, 255));
}

/***********************************

07. Product Details

************************************/

.wp-chatbot-product-details {
    box-shadow: 0 0 10px #ccc;
    background-color: #FFFFFF;
}

.wp-chatbot-product-cart-button input[type="button"], #wp-chatbot-loadmore, .wp-chatbot-loadmore {
    border: 1px solid #70aca9;
    background: linear-gradient(135deg, rgb(42, 39, 218), rgb(0, 204, 255));
    color: #ffffff;
    box-shadow: 0 0 2px #999;
}

.wp-chatbot-product-cart-button input[type="button"]:hover, #wp-chatbot-loadmore:hover, .wp-chatbot-loadmore:hover {
    background: rgb(0, 204, 255);
    color: #ffffff;
}

/*************************

Right-to-left text direction

**************************/

.wp-chatbot-rtl {
    text-align: right;
    direction: RTL;
}

.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chatbot-msg, .wp-chatbot-rtl .wp-chatbot-agent-profile {
    padding: 0 50px 0 0;
}

.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chatbot-msg.wp-chatbot-msg-flat {
    padding: 0;
}

.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chatbot-msg > .wp-chatbot-paragraph {
    display: table;
    max-width: 90%;
    float: right;
    text-align: right;
}

.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chatbot-msg .wp-chatbot-avatar,
.wp-chatbot-rtl .wp-chatbot-agent-profile .wp-chatbot-widget-avatar {
    right: 0;
    left: auto;
}

.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chat-user-msg {
    padding: 0 0 0 50px;
}

.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-avatar {
    left: 0;
    right: auto;
}

.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chat-user-msg > .wp-chatbot-paragraph {
    display: table;
    max-width: 90%;
    float: left;
    text-align: left;
}

.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-paragraph {
    margin-left: 0;
}

.wp-chatbot-rtl .wp-chatbot-editor-container input {
    text-align: right;
    direction: RTL;
}

.wp-chatbot-rtl .wp-chatbot-products-area ul li:nth-child(2n+2) {
    margin: auto;
}

.wp-chatbot-rtl .wp-chatbot-products-area ul li {
    margin: 1%;
    vertical-align: middle;
}

/**********************
integration
************************/
.wp-chatbot-integration-button-container {
    background-color: rgba(255, 255, 255, 0.63);
    padding: 4px;
    border-radius: 10px;
}

.wpbot-saas-live-chat{
	width: 310px !important;
    height: 500px;
    box-shadow: 0 5px 40px rgba(0,0,0,.16)!important;
    display:none;
}
.wpchat_header_left{
	display:inline-block;
}
.wpchat_header_left span{    font-size: 22px;
    padding: 0px 10px;	}
.wpchat_header_right {
    float: right;
    margin-right: 12px;
}
.wp-chatbot-tab-nav ul li a[data-option="live-chat"] {
    background-position: -169px -8px;
}

.wp-chatbot-avatar img{height:auto !important;}