/*
 * botui 0.3.9
 * A JS library to build the UI for your bot
 * https://botui.org
 *
 * Copyright 2019, Moin Uddin
 * Released under the MIT license.
*/

a.botui-message-content-link:focus {
    outline: thin dotted
}

a.botui-message-content-link:focus:active,
a.botui-message-content-link:focus:hover {
    outline: 0
}

form.botui-actions-text {
    margin: 0
}

button.botui-actions-buttons-button,
input.botui-actions-text-input {
    margin: 0;
    font-size: 100%;
    line-height: normal;
    vertical-align: baseline
}


button.botui-actions-buttons-button::-moz-focus-inner,
input.botui-actions-text-input::-moz-focus-inner {
    border: 0;
    padding: 0
}

button.botui-actions-buttons-button {
    cursor: pointer;
    -webkit-appearance: button;
    /* background: #40a1f1; */
    border: 0;
    border-radius: 4px;
    box-shadow: 1px 1px 5px 0 rgba(3, 3, 3, 0.35);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 12px;
}

#my-botui-app
{
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}
.botui-app-container {
    width: 100%;
    height: 100%;
    line-height: 1
}


@media (min-width:400px) {
    .botui-app-container {
        width: 400px;
        height: 500px;
        margin: 0 auto
    }
}


.botui-container {
    width: 50vw;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden
}

@media (max-width:600px) {
    .botui-container {
       width: 85%;
    }
}
.botui-message {
    margin: 10px 0;
    min-height: 20px
}

.botui-message:after {
    display: block;
    content: "";
    clear: both
}

.botui-message-content {
    width: auto;
    max-width: 75%;
    font-size: 16px;
    display: inline-block;
    /* animation: enlarge 1s ease 1 forwards; */
    transition: all 1s ease-in-out;
    
}

.botui-message-content.human {
    float: right;
    animation: show 0.8s ease 1 forwards;
}

@keyframes show {
    from{
        transform: translateX(-50%);
    }
    to{
        transform: translateX(0%);
    }
    
}

@keyframes enlarge {
    from{
       max-width: 10%;
    }
    to{
        max-width: 75%;
    }
    
}


.botui-message-content iframe {
    width: 100%
}

.botui-message-content-image {
    margin: 5px 0;
    display: block;
    max-width: 200px;
    max-height: 200px
}

.botui-message-content-link {
    text-decoration: underline
}

.profil {
    position: relative;
    border-radius: 50%
}

.profil.human {
    float: right;
    margin-left: 5px
}

.profil.agent {
    float: left;
    margin-right: 5px
}

.profil>img {
    width: 26px;
    height: 26px;
    border: 2px solid #e8e8e8
}

.profil>img.agent {
    content: url(http://decodemoji.com/img/logos/blue_moji_hat.svg);
    border-radius: 50%
}

button.botui-actions-buttons-button {
    margin-top: 10px;
    margin-bottom: 10px
}

button.botui-actions-buttons-button:not(:last-child) {
    margin-right: 10px
}

@media (min-width:400px) {
    .botui-actions-text-submit {
        display: none
    }
}



