/*

    1.ShortCode Grid

    2.Woo Chat bot Message container

    3.Sidebar

        -Widget

        -Agent

*/

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

1. ShortCode Grid

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

.chatbot-shortcode-template-02 {

    font-family: "quicksandregular", "Helvetica Neue", Helvetica, Aria;

    height: auto;

    max-width: 1100px;

    margin: 0 auto;

    position: relative;

    box-sizing: border-box;

    border-radius: 5px;

    background: #ffffff;

}



.chatbot-shortcode-row {

    font-size: 0;

}



.chatbot-shortcode-template-02 .woo-chatbot-container, .chatbot-shortcode-template-02 .chatbot-sidebar {

    display: inline-block;

    vertical-align: middle;

    box-sizing: border-box;

    font-size: 14px;

}



.chatbot-shortcode-template-02 .chatbot-sidebar {

    width: 30%;

    padding: 15px;

    font-size: 14px;

    line-height: 1.8;

    position: relative;

}



@keyframes Gradient {

    0% {

        background-position: 0% 50%;

    }

    50% {

        background-position: 100% 50%;

    }

    100% {

        background-position: 0% 50%;

    }

}



.chatbot-shortcode-template-02 .woo-chatbot-container {

    width: 70%;

    background-color: #000;

    background: linear-gradient(-45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB) !important;

    background-size: 400% 400% !important;

    animation: Gradient 15s ease infinite !important;

}



.chatbot-shortcode-template-02 .chatbot-left-sidebar {

    background-color: #23A6D5;

}



.chatbot-left-sidebar-inner {

    overflow-y: auto;

    max-height: 400px;

}



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

2. Woo Chat bot Message container

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

.woo-chatbot-header {

    background: rgba(109, 203, 227, 0.50);

    height: auto;

}



.woo-chatbot-header h3 {

    color: #ffffff;

    font-size: 18px !important;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 1px;

}



.woo-chatbot-comment-loader {

    margin: 0 auto;

    display: block;

}



ul.woo-chatbot-messages-container {

    padding: 0;

    margin: 0;

    overflow: visible;

}



ul.woo-chatbot-messages-container > li {

    font-size: 14px;

    margin: 0 30px 10px 30px;

}



ul.woo-chatbot-messages-container > li.woo-chat-user-msg:after, ul.woo-chatbot-messages-container > li .woo-chatbot-products:after {

    clear: both;

    display: block;

    content: "";

    height: 1px;

}



#woo-chatbot-messages-container .woo-chatbot-avatar img, .woo-chatbot-agent-profile .woo-chatbot-widget-avatar img {

    width: 25px !important;

    height: 25px !important;

}



ul.woo-chatbot-messages-container > li > .woo-chatbot-avatar, .woo-chatbot-agent-profile .woo-chatbot-widget-avatar {

    position: absolute;

    border-radius: 50%;

    overflow: hidden;

    border: 2px solid rgba(255, 255, 255, 0.62);

    width: 25px;

    height: 25px;

    margin-top: -17px;

    top: 50%;

}



ul.woo-chatbot-messages-container > li.woo-chatbot-msg .woo-chatbot-avatar, .woo-chatbot-agent-profile .woo-chatbot-widget-avatar {

    left: -35px;

}



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

    right: -35px;

}



ul.woo-chatbot-messages-container > li > .woo-chatbot-paragraph, .woo-chatbot-bubble {

    padding: 8px 15px;

    display: block;

    background-color: rgba(255, 255, 255, 0.70);

    position: relative;

    box-sizing: border-box;

    border-radius: 2px;

    color: #000;

    line-height: 150%;

}



ul.woo-chatbot-messages-container > li > .woo-chatbot-paragraph:before, .woo-chatbot-bubble:before {

    content: "";

    position: absolute;

    top: 50%;

    width: 0;

    height: 0;

    margin-top: -7px;



}



ul.woo-chatbot-messages-container > li.woo-chat-user-msg > .woo-chatbot-paragraph:before {

    right: -10px;

    border-top: 7px solid transparent;

    border-left: 10px solid rgba(255, 255, 255, 0.70);

    border-bottom: 7px solid transparent;

}



ul.woo-chatbot-messages-container > li.woo-chatbot-msg > .woo-chatbot-paragraph:before, .woo-chatbot-bubble:before {

    left: -10px;

    border-top: 7px solid transparent;

    border-right: 10px solid rgba(255, 255, 255, 0.70);

    border-bottom: 7px solid transparent;

}



ul.woo-chatbot-messages-container > li.woo-chat-user-msg .woo-chatbot-paragraph {

    text-align: right;

}



/********* Footer ****************/

.woo-chatbot-footer {

    border-radius: 5px;

}



/******Message Editor ***********/



.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 !important;

    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 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;

    font-size: 0 !important;

}



.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;

    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;

}



.woo-chatbot-agent-profile .woo-chatbot-widget-avatar {

    display: none;

}



/***********Widget*************/

.woo-chatbot-widget {

    margin-bottom: 30px;

    margin-right: 10px;

}



.woo-chatbot-widget:last-child {

    margin-bottom: 0;

}



.woo-chatbot-widget h3.woo-chatbot-widget-title {

    color: #ffffff;

    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 {

    position: relative;

    padding-left: 35px;

}



.chatbot-left-sidebar > .woo-chatbot-widget:first-child {

    margin-bottom: 0;

    position: absolute;

    top: -18px;



}



h3.chatbot-agent-name {

    color: #ffffff;

    margin: 0 !important;

    font-size: 14px !important;

    font-weight: 700;

    opacity: 0;

    left: 0;

    background-color: #23A6D5;

    padding: 6px 8px;

    transition: all 1s;

}



.chatbot-left-sidebar > .woo-chatbot-widget:hover h3.chatbot-agent-name {

    opacity: 1;

    left: 100%;

}



.chatbot-agent img {

    box-shadow: none !important;

    width: 30px;

    height: auto;

    position: absolute;

    left: 0;

    cursor: pointer;

    border: 2px solid #23A6D5;

    border-radius: 50% !important;

}



.chatbot-agent-name {

    margin: 5px 0;

    padding: 0;

    color: #999999;

}



.woo-chatbot-widget ul.woo-chatbot-products, .woo-chatbot-products-area {

    margin: 0 !important;

}



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

Reset

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

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

.woo-chatbot-cart-header {

    background-color: #F5F5F5;

}



.woo-chatbot-cart-container div p {

    text-align: left !important;

    color: #ffffff !important;

}



.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-container input[type="number"] {

    width: 40px;

}



.woo-chatbot-cart-footer div a {

    text-decoration: none;

    background: #6dcbe3;

    color: #ffffff !important;

}



.woo-chatbot-cart-footer div a:hover, .woo-chatbot-cart-footer div:last-child a {

    background: #559db0 !important;

}



/****** 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;

}



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

.woo-chatbot-msg .woo-chatbot-products-area ul li {

    width: 31%;

    margin-right: 2%;

}



.woo-chatbot-msg .woo-chatbot-products-area ul li:nth-child(2n+2) {

    margin-left: 0;

}



.woo-chatbot-msg .woo-chatbot-products-area ul li:nth-child(3n+3) {

    margin-right: 0;

}

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

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-msg-flat {

    padding: 0;

}



.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chatbot-msg > .woo-chatbot-paragraph {

    text-align: right;

}



.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chatbot-msg > .woo-chatbot-paragraph:before,

.woo-chatbot-rtl .woo-chatbot-bubble:before {

    right: -10px;

    left: auto;

    border-top: 7px solid transparent;

    border-left: 10px solid rgba(255, 255, 255, 0.70);

    border-right: none;

    border-bottom: 7px solid transparent;

}



.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chat-user-msg > .woo-chatbot-paragraph:before {

    left: -10px;

    right: auto;

    border-top: 7px solid transparent;

    border-right: 10px solid rgba(255, 255, 255, 0.70);

    border-left: none;

    border-bottom: 7px solid transparent;

}



.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: -30px;

    left: auto;

}



.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chat-user-msg .woo-chatbot-avatar {

    left: -30px;

    right: auto;

}



.woo-chatbot-rtl ul.woo-chatbot-messages-container > li.woo-chat-user-msg > .woo-chatbot-paragraph {

    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: 767px) {

    .chatbot-shortcode-template-02 {

        display: block;

    }



    .chatbot-shortcode-template-02 .chatbot-shortcode-row {

        display: block;

    }



    .chatbot-shortcode-template-02 .woo-chatbot-container {

        display: block !important;

        width: 100% !important;

        margin-bottom: 30px;

    }

}





