﻿.chatbot-modal .modal-content {
    padding:0 !important
}

.chatbot-modal .modal-header {
    padding: 15px !important
}

.chatbot-modal ::-webkit-scrollbar {
    height: 10px;
}

.chatbot-modal .modal-body {
    max-height: unset;
}

.chatbot-button {
    transition: all 0.4s ease 0s;
    cursor: pointer;
    position: fixed;
    bottom: 50px;
    right: 40px;
    border-radius: 50%;
    font-size: 24px;
    z-index: 1000;
    width: 55px;
    height: 55px;
}

    .chatbot-button i {
        padding: 13px 10px;
        margin: 0;
    }


#mag-chatbot-conversation .flexbox-container, #loading .flexbox-container {
    gap: 10px;
    align-items: stretch;
    flex-wrap: nowrap;
}

.query-input.flexbox-container {
    gap: 10px;
    background-color: var(--mag-page-bg-color);
}

#mag-chatbot-conversation .right-content {
    flex: 1 1 90%;
    min-width: 0;
    max-width: 100%;
}

#chat-dialog #loading .right-content {
    align-self: center;
}

    #chat-dialog #loading .right-content:after {
        content: "...";
        overflow: hidden;
        display: inline-block;
        vertical-align: bottom;
        animation: ellipsis-dot 1s infinite .3s;
        animation-fill-mode: forwards;
        width: 1.25em;
    }

@keyframes ellipsis-dot {
    25% {
        content: "";
    }

    50% {
        content: ".";
    }

    75% {
        content: "..";
    }

    100% {
        content: "...";
    }
}

#bot-image {
    display: inline-block;
    height: 52px;
    width: 52px;
}

#chat-dialog .btn-group.open .dropdown-toggle {
    box-shadow:unset;
    opacity: 1
}

.small-bot-image {
    display: inline-block;
    height: 32px;
    width: 32px;
}

.feedback {
    margin-top: 15px;
    display: inline-block
}

.right-content:hover .feedback {
    visibility: visible
}

.chatbox {
    flex: 1 1 65%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
}

.header {
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .header:hover {
        background-color: var(--mag-base-500);
    }

.timeline {
    width: 300px;
    border-right: 1px solid var(--mag-element-border-color);
    display: none
}

.control-bar {
    font-size: large
}

i {
    cursor: pointer;
}

.summary-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-content {
    min-height: 500px;
    max-height: 500px;
    overflow: auto;
    position: relative;
    transform: translateZ(0);
}


.timeline-content {
    min-height: 500px;
    max-height: 555px;
    overflow: auto;
    padding-bottom: 15px;
    transform: translateZ(0);
}

    .timeline-content .nav > li > a {
        color: var(--mag-page-text-color)
    }

    .timeline-content .nav > li.active > a {
        color: var(--mag-primary-color);
        background-color: transparent
    }

    .timeline-content .nav > li > a:hover {
        background-color: transparent
    }

    .timeline-content .title {
        font-size: smaller;
        font-weight: bold;
        padding-bottom: 5px;
    }

    .timeline-content .nav .open > a {
        background-color: transparent
    }

.title:not(:first-of-type) {
    margin-top: 20px;
}

.feedback .glyphicon {
    cursor: pointer;
}

.feedback .glyphicon-solid {
    cursor: default;
}

.summary-text {
    padding: 7px 15px !important;
}

.timeline-menu {
    width: 300px;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    background-color: var(--mag-page-bg-100);
    z-index: 1045;
}

    .timeline-menu .timeline-content {
        min-height: 633px;
        max-height: 641px;
    }

#question-tiles {
    gap: 15px;
    align-items: stretch;
}

.q-tile {
    word-break: break-word;
    align-content: center;
    cursor: pointer;
    flex: 1 1 45%;
    font-size: 13px
}

    .q-tile:hover {
        background-color: var(--mag-base-500);
    }

.source-container {
    margin-top: 15px
}

.source-tile {
    display: flex;
    gap:7px;
    align-items:center;
    cursor: pointer;
    font-size: 13px;
}

    .source-tile:not(:last-child) {
        padding-bottom: 10px;
    }

    .source-tile .glyphicon, .source-tile .social-icon {
        margin-left: 0px;
        min-width: 15px;
        font-size: 1.3em;
    }

    .newchat-btn .glyphicon-circle-plus {
        margin-right: 0px;
    }

.chatbot .chat-icon-img {
    max-width: 55px;
    height:inherit;
    border-radius: 50%;
}

#query {
    resize: none;
    padding: 10px 12px;
    border: none;
    outline: none;
    flex: auto;
    color: var(--mag-base-300);
    background-color: var(--mag-page-bg-color);
}

#btn-send {
    margin-right: 10px;
    align-self: self-end;
    margin-top: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    width: 35px;
}

.introduction {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%
}

.timeline-content .dropdown-toggle {
    visibility: hidden;
}

.timeline-menu .timeline-content .dropdown-toggle {
    padding-left: 10px;
    padding-right: 15px;
    visibility: visible;
}

.timeline-content li.active .dropdown-toggle {
    visibility: visible;
}

.timeline-content .line:hover .dropdown-toggle {
    visibility: visible;
}

    .timeline-content .dropdown-toggle[aria-expanded="true"] {
        visibility: visible;
    }

#chat-dialog .dropdown-toggle {
    opacity: 0.6
}

#chat-dialog .dropdown-toggle:hover {
    opacity: 1
}



.line:hover {
    background-color: var(--mag-base-500);
}

.line {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
}

.timeline .line {
    padding-right: 15px
}

.chatbox .content-align {
    padding-right: 15px;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .control-bar {
        display: none
    }

    .feedback {
        visibility: hidden;
    }

    .timeline {
        display: block
    }

    .content-align, .introduction {
        padding-right: 80px;
        padding-left: 80px;
    }

    .q-tile {
        flex: 1 1;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .chatbot-modal .modal-lg {
        width: 1200px;
    }

    .video-modal .modal-lg {
        width: 1250px;
    }

    .content-align, .introduction {
        padding-right: 100px;
        padding-left: 100px;
    }
}

.chatbot-modal .modal-header .close, .video-modal .modal-header .close {
    margin-top: 5px;
    margin-right: 4px;
}

.chatbot .pre-overlay {
    z-index: 1060;
}


.chatbot .pre-overlay-head {
    padding: 15px;
}

.chatbot .modal-title {
    font-size:18px;
}

.video-modal .modal-body {
    padding: 0
}

#native-video-viewer {
    min-height: 620px;
    max-height: 620px;
}

#native-video-viewer video {
    width: 100%;
}