/*
    1.ShortCode Grid
    2.Woo Chat bot Message container
    3.Sidebar
        -Widget
        -Agent
    4.Product Details
*/
/**********************************************************************************
1. ShortCode Grid
**********************************************************************************/
.chatbot-shortcode-template-01 {
    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 0 30px rgba(0, 0, 0, .30);

    display: table;
}

.chatbot-shortcode-row {
    display: table-row;
}

.chatbot-shortcode-template-01 .kbx-bot-container, .chatbot-shortcode-template-01 .chatbot-sidebar {
    display: table-cell;
    vertical-align: top;
    box-sizing: border-box;
}

.chatbot-shortcode-template-01 .chatbot-sidebar {
    width: 30%;
    padding: 15px;
    font-size: 14px;
    line-height: 1.8;
}

.chatbot-shortcode-template-01 .kbx-bot-container {
    width: 40%;
    background: #deebe9;
}

/***************************************************************************************************
2. Woo Chat bot Message container
****************************************************************************************************/
.kbx-bot-header {
    background: #70aca9;
}

.kbx-bot-header h3 {
    color: #ffffff;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.kbx-bot-content {

}

.kbx-bot-comment-loader {
    margin: 0 auto;
    display: block;
}
ul.kbx-bot-messages-container{
    padding: 0 !important;
    margin: 0;
}
ul.kbx-bot-messages-container > li {
    margin-bottom: 10px;
    padding-top: 30px;
}

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

ul.kbx-bot-messages-container > li.woo-chat-user-msg {
    padding-right: 35px;
}

ul.kbx-bot-messages-container > li:first-child {
    padding: 0;
}

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

ul.kbx-bot-messages-container > li.kbx-bot-msg .kbx-bot-avatar , .kbx-bot-agent-profile .kbx-bot-widget-avatar{

    left: 0;
}

ul.kbx-bot-messages-container > li.woo-chat-user-msg .kbx-bot-avatar {

    right: 0;
}

ul.kbx-bot-messages-container > li > .kbx-bot-paragraph, .kbx-bot-agent-profile .kbx-bot-bubble {
    padding: 10px;
    max-width: 90%;
    background-color: #fff;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color=#77bdb7)"; /*IE 8*/
    -moz-box-shadow: 1px 1px 1px #77bdb7; /*FF 3.5+*/
    -webkit-box-shadow: 1px 1px 1px #77bdb7; /*Saf3-4, Chrome, iOS 4.0.2-4.2, Android 2.3+*/
    box-shadow: 1px 1px 1px #77bdb7; /* FF3.5+, Opera 9+, Saf1+, Chrome, IE10 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color=#77bdb7); /*IE 5.5-7*/
}

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

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

ul.kbx-bot-messages-container > li.kbx-bot-msg .kbx-bot-paragraph,  .kbx-bot-agent-profile .kbx-bot-bubble {
    color: #70aca9;
    border-radius: 10px 10px 10px 10px;
}

.kbx-bot-footer {
    border-radius: 5px;
}


.kbx-bot-editor-area {
    border-top: 1px solid #deebe9;
    border-radius: 0 0 5px 5px;
    margin: 0;
    padding: 6px 15px;
}

.kbx-bot-editor-area input {
    display: inline-block;
    border: none;
    height: 50px;
    font-family: 'Montserrat', sans-serif;
    width: 80%;
    background-color: transparent;
    color: #565867;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.kbx-bot-editor-area input:focus {
    outline: none;
    border: none;
    box-shadow: none;
    background: none;
}

.kbx-bot-editor-area input::-webkit-input-placeholder, .kbx-bot-editor-area input::-moz-placeholder, .kbx-bot-editor-area input:-ms-input-placeholder, .kbx-bot-editor-area input:-moz-placeholder {
    color: #565867;
}

.kbx-bot-editor-area button {
    display: inline-block;
    height: 50px;
    background: transparent url("../../../assets/images/send-button.png") no-repeat center;
    color: transparent;
    width: 20%;
    cursor: pointer;
    margin: 0 0 0 -8px;
    padding: 0;
    border: none;
    outline: none;
}

.kbx-bot-editor-area button:hover {
    background: transparent url("../../../assets/images/send-button.png") no-repeat center;
}

.kbx-bot-editor-area button:focus {
    outline: none;
    border: none;
    box-shadow: none;
    background: transparent url("../../../assets/images/send-button.png") no-repeat center;
}

/*******************************************************************************************
sidebar element
*******************************************************************************************/
.kbx-bot-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;
}

/***********Widget*************/
.kbx-bot-widget {
    margin-bottom: 20px;
}

.kbx-bot-widget:last-child {
    margin-bottom: 0;
}

.kbx-bot-widget h3.kbx-bot-widget-title {
    color: #999999;
    margin: 7px 0 10px;
    padding: 0 0 5px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    border-bottom: 1px solid #e6e6e6;
}

/************Agent***********/
.chatbot-agent {
    text-align: center;
}

.chatbot-agent img {
    border: 1px solid #F5F5F5;
    box-shadow: none !important;
    padding: 3px;
}

h3.chatbot-agent-name {
    color: #999999;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 700;
}

.chatbot-agent-name {
    margin: 5px 0;
    padding: 0;
    color: #999999;
}

.kbx-bot-widget ul.kbx-bot-products, .kbx-bot-products-area {
    margin: 0 !important;
}

/**********************************
Reset
 **********************************/
/********* Order List *******/

.kbx-bot-cart-header {
    background-color: #F5F5F5;
}

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

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

.kbx-bot-cart-footer div a {
    text-decoration: none;
    background: #6dcbe3;
    color: #ffffff !important;
}

.kbx-bot-cart-footer div a:hover, .kbx-bot-cart-footer div:last-child a {
    background: #559db0 !important;
}

/****** Product Details*******/
.kbx-bot-product-details {
    box-shadow: 0 0 10px #ccc;
    background-color: #f5f5f5;
}

.kbx-bot-product-cart-button input[type="button"], #woo-chatbot-loadmore {
    border: 1px solid #6dcbe3;
    background: #6dcbe3;
    color: #ffffff;
    box-shadow: 0 0 2px #999;
}

.kbx-bot-product-cart-button input[type="button"]:hover, #woo-chatbot-loadmore:hover {
    background: #559db0;
    color: #ffffff;
}

#woo-chatbot-shortcode-template-container a.kbx-bot-product-close {
    position: absolute;
    top: 0;
    right: 0;
    background: #6dcbe3 url("../../../assets/images/woo-boat-product-close-icon.png") no-repeat center;
    background-size: 27px;
    width: 50px;
    height: 50px;
}

#woo-chatbot-shortcode-template-container a.kbx-bot-product-close:hover {
    background-color: red;
}

#woo-chatbot-shortcode-template-container .kbx-bot-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;
}

@media screen and (max-width: 1024px) {
    .chatbot-left-sidebar {
        display: none !important;
    }

    .chatbot-shortcode-template-01 {
        display: block;
    }

    .chatbot-shortcode-template-01 .chatbot-shortcode-row {
        display: block;
    }

    .kbx-bot-container {
        width: 100% !important;
        display: block !important;
    }
}

@media screen and (max-width: 767px) {

    .chatbot-shortcode-template-01 .kbx-bot-container, .chatbot-shortcode-template-01 .chatbot-sidebar {
        display: block !important;
        width: 100% !important;
        margin-bottom: 30px;
    }
}
