@font-face {
    font-family: ITCFranklinGothicStd-Med;
    src: url("../fonts/ITCFranklinGothicStd-Med.otf") format("opentype");
}

@font-face {
    font-family: ITCFranklinGothicStd-Book;
    src: url("../fonts/ITCFranklinGothicStd-Book.otf") format("opentype");
}

@font-face {
    font-family: ITCFranklinGothicStd-Hvy;
    src: url("../fonts/ITCFranklinGothicStd-Hvy.otf") format("opentype");
}


body, html {
    font-family: "ITCFranklinGothicStd-Book";
}

.chat-story {
    width: 320px;
    min-width: 320px;
    background-color: #EEECEB;
    height: 100vh;
    overflow: auto;
}

    .chat-story .chat-story-black {
        background-color: #10191e80;
        position: sticky;
        top: 0;
    }

        .chat-story .chat-story-black .chat-image {
            width: 100%;
            height: 280px;
            display:flex;
            align-items:flex-start;
            justify-content:center;
            overflow:hidden;
        }

        .chat-story .chat-story-black .chat-image img  {
            width:100%;
            height:auto;
        }

            .chat-story .chat-story-black .chat-story-black-description {
                padding: 10px;
            }

            .chat-story .chat-story-black .chat-story-black-description .chat-story-black-description-title {
                display: flex;
                flex-direction: row;
                align-items: center;
            }

                .chat-story .chat-story-black .chat-story-black-description .chat-story-black-description-title .h-logo {
                    width: 70px;
                    height: 40px;
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-position: center center;
                    background-image: url('../img/Harley/kia-logo.png');
                    margin-right: 15px;
                }

                .chat-story .chat-story-black .chat-story-black-description .chat-story-black-description-title h3 {
                    font-size: 26px;
                    color: #fff;
                    opacity: 1;
                    font-family: ITCFranklinGothicStd-Hvy;
                    padding: 0;
                    margin: 0;
                    margin-top: -5px;
                    text-transform: uppercase;
                }

                .chat-story .chat-story-black .chat-story-black-description .chat-story-black-description-title .btn.btn-primary {
                    width: 40px;
                    height: 40px;
                    margin-left: auto;
                    background-image: url('../img/Harley/restart_alt_FILL0_wght400_GRAD0_opsz24 (1).svg');
                    background-size: 18px auto;
                    background-position: center center;
                    background-repeat: no-repeat;
                    border-radius: 0;
                }

                .chat-story .chat-story-black .chat-story-black-description .chat-story-black-description-title button.btn.btn-primary:hover {
                    background-color: #10191e !important;
                }

.description {
    font-size: 14px;
    color: #fff;
    opacity: .7;
    font-family: ITCFranklinGothicStd-Book;
}

.chat-story-black-description .status {
    display: flex;
    flex-direction: column;
/*    align-items: center;*/
    width: 100%;
    padding-top: 10px;
    color: #10191e;
    white-space: nowrap;
    font-size: 14px;
}

    .chat-story-black-description .status.inactive {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        color: #ffffff55;
    }

    .chat-story-black-description .status.completed {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        color: #2B7E1C;
    }

    .chat-story-black-description .status.failed {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        color: #B80A0A;
    }

    .chat-story-black-description .status .bike {
        /*background-image: url('../img/Harley/bike.svg');*/
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        width: 30px;
        height: 22px;
    }

    .chat-story-black-description .status.inactive .bike {
        /*background-image: url('../img/Harley/bike-inactive.svg');*/
    }

    .chat-story-black-description .status.completed .bike {
        /*background-image: url('../img/Harley/bike-completed.svg');*/
    }

    .chat-story-black-description .status.failed .bike {
        /*background-image: url('../img/Harley/bike-failed.svg');*/
        transform: rotate(-45deg);
    }

.inactive-animatioon {
    background-image: linear-gradient(90deg, silver 50%, transparent 50%);
    background-repeat: repeat-x;
    background-size: 15px 2px;
    background-position: left top;
    animation: none;
    width: 100%;
    height: 2px;
    margin-bottom: 5px;
}

.completed .inactive-animatioon {
    background-image: linear-gradient(90deg, #2B7E1C 50%, transparent 50%);
}

.failed .inactive-animatioon {
    background-image: linear-gradient(90deg, #B80A0A 50%, transparent 50%);
}

.active-animatioon {
    background-image: linear-gradient(90deg, #10191e 50%, transparent 50%);
    background-repeat: repeat-x;
    background-size: 15px 2px;
    background-position: left top;
    animation: border-dance .6s infinite linear;
    width: 100%;
    height: 2px;
    margin-bottom: 5px;
}

@keyframes border-dance {
    100% {
        background-position: left top, right bottom, left bottom, right top;
    }

    0% {
        background-position: left 15px top, right 15px bottom, left bottom 15px, right top 15px;
    }
}


.chat-story-description b {
    color: #10191e !important;
}


.chat-story .chat-story-description {
    padding: 20px;
}

.custom-content--inner {
    position: relative;
}

.custom-content--inner--width {
    min-height: calc(100vh - 70px);
}

.form-container {
    position: sticky;
    max-width: 1000px;
    padding: 0 20px;
    padding-bottom: 20px;
    margin: 0 auto;
    width: 100%;
    background: #ffffffc9;
}

    .form-container .form {
        max-width: 100%;
    }

.load-6 {
    position: absolute;
    top: -30px;
    padding: 5px 10px;
    background: #ffffffc9;
}

.form-container .form textarea.form-input.form-input {
    border-radius: 0 !important;
    border: 2px solid #000 !important;
    box-shadow: none !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 10px;
    font-weight: 500;
}


/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #e1dddb;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #333;
    }

#chatroom .message-content {
    padding: 0 !important;
    background: transparent !important;
    align-self: flex-start;
}

    #chatroom .message-content.ai {
        margin-bottom: 10px;
    }

        #chatroom .message-content.ai .answer {
            background-color: #8a8a8a !important;
        }

            #chatroom .message-content.ai .answer:before {
                border-color: transparent #8a8a8a transparent transparent !important;
            }

    #chatroom .message-content .message-wrapper {
        display: flex;
        flex-direction: row;
    }

        #chatroom .message-content .message-wrapper .description {
            font-size: 14px;
            width: 40px;
            min-width: 40px;
            margin-top: 0px;
            color: #333;
        }

        #chatroom .message-content .message-wrapper .answer {
            background: #203349;
            color: #fff;
            font-size: 16px;
            position: relative;
        }

            #chatroom .message-content .message-wrapper .answer .answer-body {
                padding: 10px;
            }

            #chatroom .message-content .message-wrapper .answer .feedback {
                background-color: #3a5675;
                padding: 10px;
                font-size: 12px;
                /* opacity: .7; */
                border-top: 2px solid #fff;
            }

            #chatroom .message-content .message-wrapper .answer:before {
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 0 11px 15px 0;
                border-color: transparent #203349 transparent transparent;
                content: ' ';
                position: absolute;
                left: -11px;
                top: 0;
            }


.feedback.positive {
    color: #2B7E1C;
    opacity: 1 !important;
}

.feedback.negative {
    color: #b80a0ad4;
    opacity: 1 !important;
}

.feedback.stage {
    background-color: #EEECEB !important;
    color: #FA6600;
    opacity: .9 !important;
}

.form span.left-pan {
    height: 42px;
    width: 42px;
    top: 4px;
    right: 4px;
    background-color: #000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    background-image: url('../img/Harley/send_FILL1_wght400_GRAD0_opsz24.svg');
    background-size: 18px 18px;
    background-position: center center;
    background-repeat: no-repeat;
    transition-duration:.2s;
}

    .form span.left-pan + span.left-pan {
        right: 50px;
        background-color: #EEECEB !important;
        background-image: url('../img/Harley/mic.svg');
        background-size: 24px 24px;
    }

        .form span.left-pan + span.left-pan:hover {
            background-color: #e1dddb !important;
        }

    .form span.left-pan:hover {
        background-color: #5a5a5a;
    }


.chat {
padding-top:40px;
}
