[data-tooltip] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
    visibility: hidden;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
    position: absolute;
    bottom: 110%;
    left: 48%;
    margin-bottom: 5px;
    margin-left: -110px;
    padding: 7px;
    width: 160px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
    background-color: hsla(0, 0%, 20%, 0.9);
    color: #fff;
    content: attr(data-tooltip);
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
    position: absolute;
    bottom: 110%;
    left: 48%;
    margin-left: -1px;
    width: 0;
    border-top: 5px solid #000;
    border-top: 5px solid hsla(0, 0%, 20%, 0.9);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}


:root {
    --main-color: var(--color-primary);
    --dark-color: #484644;
    --gray-icon: #a7a8ab;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

.leave-message {
    background-color: var(--main-color);
    width: 180px;
    height: 30px;
    color: white;
    position: relative;
    bottom: 30px;
    float: right;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    right: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    cursor: pointer;
}

.lm-icon {
    user-select: none;
    cursor: pointer;
    display: flex;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: white;
    color: var(--main-color);
    justify-content: center;
    align-items: center;
}

.lm-title {
    user-select: none;
    cursor: pointer;
    font-size: 14px;
    padding-left: 5px;
}


/* Assistant Styles */
.assistant-deploy-container {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    position: fixed;
    float: right;
    right: 51px;
    bottom: 0;
    z-index: 9999999;
    height: 28px;
    max-height: 28px;
    width: 184px;
    min-width: 184px;
    padding: 0 10px;
    overflow: visible !important;
    margin: 0 auto 2px auto;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    border-radius: 6px;
}

.deploy-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    height: 16px;
    margin-right: 5px;
    background-color: #ffffff;
    border-radius: 50%;
}

.deploy-icon-container svg {
    width: 12px;
    height: 12px;
}

.deploy-svg {
    fill: currentColor;
}

.deploy-text {
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.assistant-icon-container {
    width: 60px;
    height: 60px; 
    border-radius: 50%;
    background-color: var(--main-color);
    align-items: center;
    justify-items: center;
    justify-content: center;
    display: flex
}

.assistant-icon {
    width: 40px;
    height: 40px;
}

.assistant-container {
    background-color: white;
    position: fixed;
    border: none;
    box-shadow: 1px -1px 15px rgba(0, 0, 0, 0.178);
    vertical-align: middle;
    float: right;
    right: 33px;
    border-radius: 3px;
    bottom: 45px;
    width: 260px;
    max-width: 260px;
    z-index: 999999;
}

.assistant-container.initial {
    height: 163px;
}

.assistant-container.expanded {
    display: flex;
    flex: 1;
    height: 70vh;
    width: 500px;
    max-width: 500px;
}

.assistant-container:after {
    content: "";
    position: absolute;
    left: 80%;
    top: 95%;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border: 8px solid;
    border-color: #fff;
    box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.178);
}

.assistant-container.expanded:after {
    top: 98.5%;
    border-color: #f5f6f7;
    box-shadow: 4px 4px 1px rgba(0, 0, 0, 0.03);
}

.ac-content {
    display: flex;
    flex-flow: column nowrap;
}

.ac-header {
    display: flex;
    flex-flow: row nowrap;
    height: 50%;
    padding: 5px;
}

.ach-options,
.acch-options {
    display: flex;
    flex-flow: row nowrap;
    width: 40px;
}

.acch-options {
    margin-right: 5px;
}

.ach-options {
    position: absolute;
    right: 3px;
    top: 5px;
}

.ach-close,
.acch-close {
    width: 20px;
    cursor: pointer;
}

.ach-close img,
.acch-close img
{   
    width: 20px;
}

.ach-icon {
    width: 65px;
    border-radius: 50%;
    align-self: center;
    -ms-grid-column-align: left;
    justify-self: left;
}

.ach-icon>img {
    width: 60px;
}

.ach-header-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: calc(100% - 65px);
    position: relative;
    color: var(--main-color);
    font-family: inherit;
    font-size: 18px;
    margin-top: 5px;
    margin-left: 3px;
}

.achh-subtitle {
    color: #999999 !important;
    font-size: 13px;
}

.achh-subtitle p {
    margin: 0;
}

/* Input Styles*/

.ac-input {
    display: flex;
    flex-flow: column nowrap;
    height: 50%;
    margin: 10px 10px 6px 10px;
    border-radius: 3px;
    max-width: 262px;
}

.aci-title {
    height: 25px;
    color: #fff;
    font-size: 14px;
    padding: 0 8px;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.aci-input {
    display: flex;
    flex-flow: column nowrap;
    flex-grow: 1;
    padding: 4px 8px 8px 8px;
    position: relative;
}

.aci-input>input {
    -ms-grid-column-align: center;
    justify-self: center;
    align-items: center;
    width: 100%;
    padding: 4px;
    border: none;
    outline: none;
    position: relative;
    border-radius: 3px;
    color: #999999;
}

.aci-input>input::placeholder {
    color: #cccccc;
}

.aci-input>img {
    position: absolute;
    float: right;
    right: 10px;
    top: 1px;
}

/* Expanded Assistant Chat Styles */
.ac-content-chat {
    display: flex;
    flex-flow: column nowrap;
    flex-grow: 1;
    overflow: hidden;
}

.acc-header {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    height: 35px;
    min-height: 35px;
    max-height: 35px;
    background-color: #f5f6f7;
}

.acch-title {
    width: calc(100% - 20px);
    font-size: 18px;
    margin-left: 10px;
    color: var(--main-color);
    padding: 5px;
    cursor: default;
    user-select: none;
    margin-top: -4px;
}

.acc-chat {
    width: 100%;
    flex-grow: 1;
    overflow: auto;
}

.achat-messages {
    display: flex;
    flex-flow: column nowrap;
    height: 100%;
    width: 100%;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    overflow-x: hidden;
}

.bubble {
    display: -ms-grid;
    display: grid;
    -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
    column-gap: 15px;
    -ms-grid-rows: 40px 1fr;
    grid-template-rows: 40px 1fr;
    width: auto;
}

.bubble.specialist {
    -ms-grid-columns: 40px 1fr;
    grid-template-columns: 40px 1fr;
    margin: 0 13px 0 10px;
    position: relative;
}

.bubble.specialist:after {
    content: '';
    position: absolute;
    left: 0;
    width: 0;
    height: 0;
    border: 13px solid transparent;
    border-right-color: #f3f3f4;
    border-left: 0;
    border-top: 0;
    margin-top: 40px;
    margin-left: 45px;
}

.bubble.user {
    -ms-grid-columns: 1fr 40px;
    grid-template-columns: 1fr 40px;
    margin: 0 12px 0 11px;
    position: relative;
}

.bubble.user:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border: 13px solid transparent;
    border-left-color: #f3f3f4;
    border-right: 0;
    border-top: 0;
    margin-right: 47px;
    margin-top: 40px;
}

.bubble-origin {
    width: 105%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    position: relative;
    font-size: 12px;
    color: #cccccc;
    align-self: flex-end;
    margin-bottom: 2px;
}

.bubble-origin.specialist {
    width: 100%;
    -ms-grid-row: 1;
    -ms-grid-column-span: 2;
}

.bubble-origin.user {
    right: 16px;
    margin-left: 19px;
    width: 96%;
}

.bubble-content {
    display: flex;
    flex-flow: column nowrap;
    max-height: 100%;
    overflow: auto;
    font-size: 11px;
    position: relative;
    -ms-grid-column: 2;
    grid-column: 2/4;
    background-color: #f3f3f4;
    padding: 5px;
    -ms-user-select: none;
    user-select: none;
    white-space: break-spaces;
    word-break: break-word;
    font-size: 12px;
    color: #666666;
    min-height: 35px
}

.bubble.no-bubble {
    display: flex;
    flex-flow: column nowrap;
    max-height: 65%;
    margin-left: 65px;
}

.bubble.no-bubble:after {
    display: none;
}

.bubble.no-bubble .bubble-content {
    background-color: #ffffff;
}

.bubble-content table {
    white-space: initial;
}

.bubble-content.specialist {
    -ms-grid-column: 2;
    -ms-grid-row: 2;
}

.bubble.no-bubble .bubble-content h3 {
    margin: 0;
    height: 30px;
    min-height: 30px;
    font-size: 15px;
    color: #333333;
    font-weight: bold;
    background-color: #ffffff;
}

.bubble-content.user {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    grid-column: 1;
    width: calc(100% - 4px);
}

.bo-date {
    -ms-grid-column-align: end;
    justify-self: end;
}

.bubble-icon-sp {
    background-image: url(./../../img/ChatBot/chat_assistant.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 45px;
    background-color: white;
    width: 45px;
    height: 45px;
    margin-top: 15px;
    -ms-grid-column: 1;
}

.bubble-icon-user {
    background-image: url(./../../img/ChatBot/chat_user.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 45px;
    width: 45px;
    height: 45px;
    -ms-grid-column-align: end;
    -ms-grid-column: 2;
    justify-self: end;
    margin-top: 15px;
}

.acc-input {
    display: flex;
    flex-flow: column nowrap;
    min-height: 70px;
    height: 70px;
    background-color: #f5f6f7;
}

.acc-input-container {
    display: flex;
    flex-flow: row nowrap;
    height: 45px;
    margin: 4px 15px 0 15px;
    align-items: center;
    position: relative;
}

.acc-footnote {
    display: inline-flex;
    align-items: center;
    height: 25px;
    font-size: 10px;
    margin-left: 20px;
    color: #999999;
}

.acc-footnote > button {
    display: flex;
    align-items: center;
    height: 17px;
    z-index: 1;
    margin-left: 6px;
    border-width: 1px;
    padding-bottom: 3px;
}

.acc-footnote > button:focus {
    border-color: unset;
    border-width: 1px;
}

.accic-input {
    flex-grow: 1;
    border: none;
    outline: none;
    height: 35px;
    padding: 5px;
}

.accic-send {
    position: absolute;
    right: 0px;
    top: 10px;
    height: 25px;
    width: 30px;
    color: var(--gray-icon);
    font-size: 15px;
    user-select: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accic-send img {
    width: 20px;   
}

.blur {
    box-shadow: 0px 0px 0px 9999px rgba(0, 0, 0, 0.5);
    filter: blur(4px);
}

.default-text {
    font-size: 11px;
}

/* Clickable result */

[class^="clickable-list-"]>li {
    cursor: pointer;
    user-select: none;
}

.case-result {
    display: flex;
    flex-flow: row nowrap;
    position: relative;
    cursor: pointer;
    height: 6px;
    min-height: 60px;
    padding: 5px;
    background-color: #ffffff;
    border-top: 1px solid #ccc;
}

h3 + .case-result{
    border-top: none;
}

.case-result:hover,
.case-result:hover h3,
.case-result:hover h5,
.case-result:hover h6 {
    background-color: #f2f2f2;
}

.case-result.category-case-result {
    height: 80px;
}

.category-case-result p {
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 98%;
    height: 15px;
    min-height: 15px;
    max-height: 15px;
    font-size: inherit;
    color: #999999;
}

.case-result:hover p {
    color: inherit;
}

.case-result-left {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.case-result-left span {
    position: relative;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

.case-result-left-create {
    display: flex !important;
    font-size: 26px;
    align-items: center;
    justify-content: center;
    width: 21px !important;
    height: 22px !important;
}

.case-result-left-create:before {
    content: "\f10c";
}

.case-result-right {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    position: relative;
    width: calc(100% - 46px);
    margin-left: 3px;
}

.case-result-right h5 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 17px;
    max-height: 17px;
    min-height: 17px;
    max-width: 98%;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
}

.case-result-right h6 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 98%;
    max-height: 15px;
    height: 15px;
    font-size: 12px;
    color: #999999;
    background-color: #ffffff;
}

.case-result:hover h6{
    color: inherit;
}

.case-result-html {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    flex: 0 0 auto;
    padding: 20px;
    margin: 0px;
    background-color: rgb(255, 255, 255);
}

.case-result-html:focus {
    outline: -webkit-focus-ring-color auto 1px;
}

.case-result-html-title {
    margin-top: 0px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0px;
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 17px;
    color: rgb(51, 51, 51);
    font-weight: 600;
    text-align: left;
    line-height: 22.61px;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
    flex: 0 0 auto;
    margin-bottom: 20px;
}

.case-result-html-content {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    border: none;
}

.case-result-html-action {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    vertical-align: middle;
    cursor: default;
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 10px 5px 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    background-color: #d1d2d4;
}

.case-result-html-action:hover {
    background-color: #CCCCCC;
}

/* Debug Styles */
.terminal {
    padding: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -300px;
    margin-top: -200px;
    width: 600px;
    height: 400px;
    border-radius: 4px;
    background-color: #282A36;
    color: white;
}

.t-content {
    overflow-y: auto;
    width: 100%;
    height: 90%;
}

.load-3 .line:nth-last-child(1) {
    animation: loadingC .6s .1s linear infinite;
}

.load-3 .line:nth-last-child(2) {
    animation: loadingC .6s .2s linear infinite;
}

.load-3 .line:nth-last-child(3) {
    animation: loadingC .6s .3s linear infinite;
}

.line {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: var(--main-color);
}

@keyframes loadingC {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, 5px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.acc-service{
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.acc-service h3 {
    margin: 0;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Assistant Modal Styles */
.assistant-modal {
    display: flex;
    flex-flow: column;
    position: absolute;
    left: 10%;
    z-index: 99999999;
    height: 80vh;
    width: 80vw;
    left: 10%;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 4px;
    box-shadow: 1px 1px 7px 1px rgba(128,128,128,.2);
}

.assistant-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999998;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
}

.assistant-modal-iframe-container {
    height: 100%;
}

.assistant-modal-iframe-container iframe {
    display: flex;
    flex-grow: 1;
    height: 100%;
    width: 100%;
}

.assistant-modal-title {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    height: 35px;
    padding: 10px;
    background-color: #f5f6f7;
}

.assistant-modal-title h2{
    font-size: 18px;
    margin: 0px;
}

.assistant-modal-title span{
    cursor: pointer;
}

.assistant-modal-close {
    cursor: pointer;
}

.folder-service-count {
    height: 16px;
    width: 80px;
    text-align: center;
    border-radius: 4px;
    background-color: #666666 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    padding-top: 2px;
}

.folder-image-container {
    padding-top: 2px;
    border-radius: unset !important;
    background-color: inherit !important;
    background-size: 100% !important;
}

/* Assistant Adaptive Card */
.ac-container {
    background-size: contain !important;
}

.ac-container.ac-adaptiveCard > .ac-container > .ac-columnSet > .ac-container {
    padding: 0 !important;
}

.ac-pushButton {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    vertical-align: middle;
    cursor: default;
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 10px 5px 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    cursor: pointer;
    background-color: #d1d2d4;
}

.ac-pushButton:hover {
    background-color: #CCCCCC;
}

.ac-textBlock {
    white-space: initial;
}

.ac-multiline {
    height: 72px;
    resize: none;
    border: 1px solid #DDDDDD;
    padding: 4px 8px 4px 8px;
    min-width: calc(100% - 16px) !important;
}

.ac-fact-value p {
    color: #999999 !important;
}

#assistant-modal-creation-container {
    height: calc(100% - 40px);
    padding: 15px 15px 10px 15px;
}

.bubble-content::-webkit-scrollbar {
    width: 10px;
    height: 9px;
    background-color: #f0f0f0;
}
.bubble-content::-webkit-scrollbar-track {
    background: transparent;
}
.bubble-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 7px;
}
.bubble-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}
.bubble-content::-webkit-scrollbar-thumb:active {
    background: rgba(0, 0, 0, 0.2);
}