/*
    1.ShortCode Grid
    2.Woo Chat bot Message container
    3.Sidebar
        -Cart
        -Agent
    4.Product Details
*/
/**********************************************************************************
1. ShortCode Grid
**********************************************************************************/
.chatbot-shortcode-template-00 {
    font-family: "quicksandregular", "Helvetica Neue", Helvetica, Aria;
    height: auto;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, .10);
    background: #ffffff;
    display: table;
}

.chatbot-shortcode-row {
    display: table-row;
}

.chatbot-shortcode-template-00 .woo-chatbot-container, .chatbot-shortcode-template-00 .chatbot-sidebar {
    display: table-cell;
    vertical-align: top;
    box-sizing: border-box;
}

.chatbot-shortcode-template-00 .chatbot-sidebar {
    width: 30%;
    padding: 15px;
    font-size: 14px;
    line-height: 1.8;
}

.chatbot-shortcode-template-00 .woo-chatbot-container {
    width: 40%;
    background-color: #f6f6fc;
}

/***************************************************************************************************
2. Woo Chat bot Message container
****************************************************************************************************/
.woo-chatbot-header {
    height: auto;
}

.woo-chatbot-header h3 {
    color: #999999;
}

.woo-chatbot-content {
    /*background: url("../../images/message-bg.png") no-repeat top center;*/
}

ul.woo-chatbot-messages-container li {
    font-size: 14px;
}

ul.woo-chatbot-messages-container > li.woo-chatbot-msg {
    padding-left: 50px;
}

ul.woo-chatbot-messages-container > li.woo-chat-user-msg {
    padding-right: 50px;
}

ul.woo-chatbot-messages-container > li .woo-chatbot-avatar, .woo-chatbot-agent-profile .woo-chatbot-widget-avatar {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
}

ul.woo-chatbot-messages-container > li.woo-chatbot-msg .woo-chatbot-avatar, .woo-chatbot-agent-profile .woo-chatbot-widget-avatar {
    left: 0;
}

ul.woo-chatbot-messages-container > li.woo-chat-user-msg .woo-chatbot-avatar {
    right: 0;
}

ul.woo-chatbot-messages-container > li > .woo-chatbot-paragraph, .woo-chatbot-agent-profile .woo-chatbot-bubble {
    padding: 8px 15px;
    max-width: 90%;
    box-shadow: 0 2px 8px #bfbfbf;
    line-height: 150%;
}

ul.woo-chatbot-messages-container > li.woo-chat-user-msg .woo-chatbot-paragraph {
    text-align: right;
    float: right;
}

ul.woo-chatbot-messages-container > li.woo-chat-user-msg .woo-chatbot-paragraph {
    background-color: #eaf1f6;
    color: #494949;
    margin-left: 10%;
    border-radius: 10px 10px 0 10px;
}

ul.woo-chatbot-messages-container > li.woo-chatbot-msg .woo-chatbot-paragraph, .woo-chatbot-agent-profile .woo-chatbot-bubble {
    background-color: #1f8ceb;
    color: #ffffff;
    border-radius: 0 10px 10px 10px;
}

ul.woo-chatbot-messages-container li:first-child.woo-chatbot-msg .woo-chatbot-paragraph {
    background-color: transparent;
    color: #494949;
}

ul.woo-chatbot-messages-container > li .woo-chatbot-paragraph img.woo-chatbot-comment-loader {
    background-color: #fff;
    padding: 1px;
    border-radius: 5px;
    margin: 0 auto;
    display: block;
}

.woo-chatbot-footer {
    border-radius: 5px;
    background: rgba(70, 70, 70, 0.5);
}

.woo-chatbot-editor-area {
    border-top: 1px solid #deebe9;
    border-radius: 0 0 5px 5px;
    margin: 0;
    padding: 6px 15px;
}

.woo-chatbot-editor-area input {
    display: inline-block;
    border: none;
    height: 50px;
    font-family: 'Montserrat', sans-serif;
    width: 80%;
    background-color: transparent;
    color: #FFF;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.woo-chatbot-editor-area input:focus {
    outline: none;
    border: none;
    box-shadow: none;
    background: none;
}
input.woo-chatbot-editor::placeholder {
    color: #ffffff;
}
.woo-chatbot-editor-area input::-webkit-input-placeholder, .woo-chatbot-editor-area input::-moz-placeholder, .woo-chatbot-editor-area input:-ms-input-placeholder, .woo-chatbot-editor-area input:-moz-placeholder {
    color: #ffffff;
}

.woo-chatbot-editor-area button {
    display: inline-block;
    height: 50px;
    background: transparent url("../../images/send-button.png") no-repeat center;
    color: transparent;
    width: 20%;
    cursor: pointer;
    margin: 0 0 0 -8px;
    padding: 0;
    border: none;
    outline: none;
}

.woo-chatbot-editor-area button:hover {
    background: transparent url("../../images/send-button.png") no-repeat center;
}

.woo-chatbot-editor-area button:focus {
    outline: none;
    border: none;
    box-shadow: none;
    background: transparent url("../../images/send-button.png") no-repeat center;
}

/*******************************************************************************************
sidebar element
*******************************************************************************************/

.woo-chatbot-agent-profile {
    position: relative;
    padding-left: 50px;
    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;
}

/********* Cart *******/
.woo-chatbot-cart-header {
    background-color: #F5F5F5;
}

.woo-chatbot-cart-single {
    background-color: rgba(245, 245, 245, 0.1);
    border-bottom: 1px solid #dddddd;
}

.woo-chatbot-cart-single:nth-child(2n+1) {
    background-color: rgba(245, 245, 245, 0.5);
}

.woo-chatbot-cart-footer div a {
    text-decoration: none;
    background: #1f8ceb;
    color: #ffffff !important;
}

.woo-chatbot-cart-footer div a:hover, .woo-chatbot-cart-footer div:last-child a {
    background: #1e97f9 !important;
}

/****** ********************************************************************************
04. Product Details
***************************************************************************************/
.woo-chatbot-product-details {
    box-shadow: 0 0 10px #ccc;
    background-color: #f5f5f5;
}

.woo-chatbot-product-cart-button input[type="button"], #woo-chatbot-loadmore {
    border: 1px solid #6dcbe3;
    background: #6dcbe3;
    color: #ffffff;
    box-shadow: 0 0 2px #999;
}

.woo-chatbot-product-cart-button input[type="button"]:hover, #woo-chatbot-loadmore:hover {
    background: #559db0;
    color: #ffffff;
}

#woo-chatbot-shortcode-template-container a.woo-chatbot-product-close {
    position: absolute;
    top: 0;
    right: 0;
    background: #6dcbe3 url("../../images/woo-boat-product-close-icon.png") no-repeat center;
    background-size: 27px;
    width: 50px;
    height: 50px;
}

#woo-chatbot-shortcode-template-container a.woo-chatbot-product-close:hover {
    background-color: red;
}

#woo-chatbot-shortcode-template-container .woo-chatbot-product-details {
    box-shadow: none;
}

#woo-chatbot-shortcode-template-container h2#woo-chatbot-product-title {
    margin: 0 0 10px !important;
    color: #999999;
    padding: 0 0 5px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

/*************************
Right-to-left text direction
**************************/
.woo-chatbot-rtl {
    text-align: right;
    direction: RTL;
}

.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chatbot-msg, .woo-chatbot-rtl .woo-chatbot-agent-profile {
    padding: 0 50px 0 0;
}

.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chatbot-msg.woo-chatbot-msg-flat {
    padding: 0;
}

.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chatbot-msg > .woo-chatbot-paragraph {
    display: table;
    max-width: 90%;
    float: right;
    text-align: right;
}

.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chatbot-msg .woo-chatbot-avatar,
.woo-chatbot-rtl .woo-chatbot-agent-profile .woo-chatbot-widget-avatar {
    right: 0;
    left: auto;
}

.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chat-user-msg {
    padding: 0 0 0 50px;
}

.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chat-user-msg .woo-chatbot-avatar {
    left: 0;
    right: auto;
}

.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chat-user-msg > .woo-chatbot-paragraph {
    display: table;
    max-width: 90%;
    float: left;
    text-align: left;
}

.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chat-user-msg .woo-chatbot-paragraph {
    margin-left: 0;
}

.woo-chatbot-rtl .woo-chatbot-editor-container input {
    text-align: right;
    direction: RTL;
}

.woo-chatbot-rtl .woo-chatbot-products-area ul li:nth-child(2n+2) {
    margin: auto;
}

.woo-chatbot-rtl .woo-chatbot-products-area ul li {
    margin: 1%;
    vertical-align: middle;
}
@media screen and (max-width: 1024px) {
    .chatbot-left-sidebar {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .chatbot-shortcode-template-01 {
        display: block;
    }

    .chatbot-shortcode-template-01 .chatbot-shortcode-row {
        display: block;
    }

    .chatbot-shortcode-template-01 .woo-chatbot-container, .chatbot-shortcode-template-01 .chatbot-sidebar {
        display: block !important;
        width: 100% !important;
        margin-bottom: 30px;
    }
}
