/*---------------------------------------------
Charpy.jp Faq ChatBot CSS
2018.6.1
-----------------------------------------------*/

.chatbot-wrapper{
    position: fixed;
    text-align: center;
    display: block;
    right: -400px;
    top: 100px;
    background-color: rgba(0, 150, 136,0.9);
    height: 80vh;
    width: 400px;
    padding: 10px;
    border-radius: 10px 0 0 10px;
    transition: all .3s;
    z-index: 2;
}
@media screen and (max-width: 480px){
    .chatbot-wrapper{
        display: none;
    }
}

/*---------------------------------------------
  open close tab
-----------------------------------------------*/
.bot-tab{
        position:  absolute;
        left: -71px;
        top: 30%;
        display:  block;
        /*height: 120px;
        width: 50px;*/
        height: 130px;
        width: 75px;
        overflow: hidden;
        background:url(chat-bot-tab.png);
        animation: bot-tab 4s steps(4,end) infinite;
        text-decoration: none;
    }
        @keyframes bot-tab {
        100% {background-position:-300px;}
        }
        .on_window{
           right:0;
        }

/*---------------------------------------------
  Chat window
-----------------------------------------------*/
#chat_window {
    width: auto;
    height: 70%;
    overflow: scroll;
    background-color: rgba(1, 123, 112,0.8);
    -ms-overflow-style: none;
    border-radius: 4px 0 0 0;
    margin-bottom: 0px;
}
#chat_window::-webkit-scrollbar {
  display: none;
}
#textbox {
    width: auto;
    text-align: left;
    height: auto;
    margin-bottom: 1vh;
    clear:  both;
}
.chat_balloon {
    text-align: right;
    font-size: 1.5rem;
    max-width: 560px;
    padding: 2%;
    width: auto;
    line-height: 2rem;
    clear: both;
}
.right_ball {
    text-align: right;
    background-color: #FFEB3B;
    border-radius: 6px 0 6px 6px;
    margin: 2% 2% 2% 10%;
    float: right;
}
.left_ball {
    text-align: left;
    background-color: #ffffff;
    border-radius: 0px 6px 6px;
    margin: 2% 10% 2% 2%;
    float: left;
}

/*---------------------------------------------
  Typing area
-----------------------------------------------*/
#textbox #user_question {
    font-size: 1.5rem;
    width: 70%;
    border: none;
    border-radius: 0 0 0 4px;
    height: 80px;
    padding: 10px;
    float: left;
    resize: none;
}
#textbox #send_button {
    position: relative;
    font-size: 2rem;
    width: 30%;
    vertical-align: middle;
    text-align: center;
    border-radius: 0 0 4px 0;
    border: none;
    background-color: #FFEB3B;
    padding: 20px;
    -webkit-transition: none;
    transition: none;
    height: 80px;
}
    #textbox #send_button:hover {
        background-color: #fff59f;
    }

/*---------------------------------------------
  Select area
-----------------------------------------------*/
ul.chatbot-select-area{
    list-style-type: none;
    padding: 10px;
    text-align: left;
    clear: both;
}
.chatbot-select-area li{
    display: block;
    margin-bottom: 1px;
    background-color: #B2EBF2;
    border-radius: 0;
    font-size: 1.5rem !important;
    text-decoration:  none;
    line-height: 2rem !important;
}
    .chatbot-select-area li:first-child{
        border-radius: 6px 6px 0 0;
    }
    .chatbot-select-area li:last-child{
        border-radius: 0 0 6px 6px;
    }
.chatbot-select-area li:hover{
    color: #ffffff;
    background-color: #00BCD4;
}
.chatbot-select-area li a{
    display: block;
    padding: 10px;
    color: #3F51B5 !important;
    text-decoration:  none;
}
    .chatbot-select-area li a:hover{
        color: #ffffff !important;
    }

/*---------------------------------------------
  Category button area
-----------------------------------------------*/
#option_list {
    width: auto;
    height: 120px;
}
.option {
    position: relative;
    width: 32%;
    height: 4vh;
    background-color: #FFEB3B;
    margin: 1% 1% 0 0;
    font-size: 1.5rem;
    border: none;
    border-radius: 4px;
    -webkit-transition: none;
    transition: none;
}
    .option:hover {
        background-color: #fff59f;
    }
    .option:active,
    .option:focus{
        background-color: #e4d339;
    }







