﻿.chat-widget {
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 9999;
}

.chat-widget__bubble {
    bottom: 12px;
    right: 31px;
    position: inherit;
    width: 100px;
    height: 100px;
    display: inline-block;  
  
}

.chat-widget__toggle {
    background-image: url('https://medbotuatwestusstorage.blob.core.windows.net/images/botnewlogo.png');
    background-repeat: no-repeat;
    background-size: 110px 60px;
    background-position: center;
    transition: transform 0.2s ease;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 50px;
    height: 50px;
}
    .chat-widget__toggle:hover {
        transform: scale(1.1);
    }


.tooltip1 {
    position: relative;
    display: inline-block;
   
   
}

    .tooltip1 .tooltiptext {
        right: 22px;
        bottom: 58px;
        visibility: visible;
        font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
        width: auto;
        min-width: 232px;
        background: linear-gradient(-180deg, rgb(20 77 100), rgb(34 114 149)) !important;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        border-bottom-right-radius: 0px;
        padding: 3px 0;
        padding-left: 5px;
        position: absolute;
        z-index: 1;
        font-size: 13.5px !important;
        text-align: left;
        line-height: normal;
        font-weight: normal;
    }
   /* .tooltip1:hover .tooltiptext {
        visibility: visible;
        color:orangered;
    }*/
.tooltiptext::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: calc(24% - 48px);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #227295;
  
}

.chat-widget__window {
    position: fixed;
    bottom: 10px;
    right: 20px;
    width: 361px;
    height: auto;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    display: none;
    font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
    font-size: 13px !important;
    color: black;
    font-weight: 400;
    text-align: start;
    line-height: 18.62px;
    overflow-wrap: break-word;
    z-index:99999;
}

.chat-widget__window--visible {
    display: block;
}

.chat-window__header {
    background-image: -webkit-linear-gradient(-90deg, rgb(244, 127, 37) 0%, rgb(228, 26, 55) 100%);
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
    font-size: 18px;
    color: white;
    font-weight: 400;
    text-align: start;
    line-height: 18.62px;
    overflow-wrap: break-word;
}


.chat-window__close {
    background-color: transparent;
    font-size: 20px; /* default font size */
    transition: transform 0.2s ease; /* smooth transition */
    color: white;
    border: none;
    cursor: pointer;
}

    .chat-window__close:hover {
        transform: scale(1.2); /* zoom in by 20% on hover */
    }

.chat-window__messages {
    height: 390px;
    overflow-y: auto;
}

.webchat__send-box__main:focus {
    border:1px solid red !important;
}

    .webchat__basic-transcript .webchat__basic-transcript__activity-body:not(:empty) {
    padding-bottom: 10px !important;
}

/* Remove timestamp */
.webchat__stacked-layout__status span {
    visibility: hidden !important
}

.ac-adaptiveCard {
    padding: 6px !important;
    border-radius: 3px !important;
}

.ac-actionSet {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: start !important;
    align-content: center !important;
    flex-wrap: wrap !important;
}

.ac-pushButton {
    background-image: -webkit-linear-gradient(-90deg, rgb(244, 127, 37) 0%, rgb(228, 26, 55) 100%) !important;
    color: white !important;
    font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
    border: 1px solid #d3d3d3 !important;
    border-radius: 5px !important;
    margin: 2px !important;
    font-size: 13px !important;
    font-weight: normal !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.webchat__bubble__content {
    background: linear-gradient(-180deg, rgb(43, 145, 189), rgb(43, 145, 189));
    border-color: rgb(230, 230, 230);
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    color: white;
    min-height: 0px !important;
}

.ac-pushButton:hover {
    background-image: linear-gradient(-180deg, rgb(43, 145, 189), rgb(43, 145, 189)) !important;
}

.ac-pushButton[aria-pressed="true"] {
    background-image: linear-gradient(-180deg, rgb(43, 145, 189), rgb(43, 145, 189)) !important;
    opacity: 1 !important;
    border-color: rgb(0, 99, 177);
    color: white !important;
}

.ac-input-container {
    font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
    font-size: 13px !important;
    height: 38px !important
}

.chat-window__avatar {
    width: 90px;
    height: 32px;
    margin-right: 10px;
    /*background-color: white;
            color: #fff;
            border: none;
            border-radius: 50%;*/
}

.webchat__defaultAvatar {
    border-radius: 0 !important;
    height: 30px !important;
    width: 30px !important;
}

.ac-textBlock p {
    font-size: 13px !important;
    font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
}

.webchat__imageAvatar__image {
    height: 30px !important;
    width: 30px !important;
}

.webchat__bubble__nub-pad {
    width: 0px !important;
}

.webchat__suggested-actions {
    position: relative;
    max-height: 150px !important;
    overflow: auto !important;
}

    .webchat__suggested-actions.webchat__suggested-actions--stacked-layout .webchat__suggested-actions__item-box {
        padding: 3px !important;
        max-width: 300px !important;
    }


.webchat__suggested-actions__stack {
    overflow-y: auto;
    padding-left: 10px !important;
    padding-right: 10px !important;
    background-color: #FAFAFA !important;
    border-top: 0px solid #d3d3d3 !important;
    font-size: 13px !important;
    font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: start !important;
    align-content: center !important;
    flex-wrap: wrap !important;
}

.webchat__suggested-action {
    -webkit-box-align: center;
    align-items: center;
    word-break: break-word !important;
    border-color: #d3d3d3 !important;
    border-radius: 5px !important;
    border-style: solid;
    border-width: 1px !important;
    color: white !important;
    font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
    font-size: 13px !important;
    height: 31px !important;
    -webkit-box-pack: center;
    justify-content: center;
    max-width: 100%;
    outline: 0px;
    padding-left: 5px !important;
    padding-right: 5px !important;
    position: relative;
    white-space: nowrap;
    width: 100%;
    background-image: -webkit-linear-gradient(-90deg, rgb(244, 127, 37) 0%, rgb(228, 26, 55) 100%) !important;
    outline:0px !important;
}

    .webchat__suggested-action:hover {
        background-image: linear-gradient(-180deg, rgb(43, 145, 189), rgb(43, 145, 189)) !important;
    }

/**/
.webchat__stacked-layout__status {
    display: none !important;
}

.webchat__markdown__external-link-icon {
    background-image: none !important;
    height: 0 !important;
    margin-left: 0 !important;
    font-size: 13px !important;
}

.webchat__bubble__content a {
    color: #f60404 !important;
}

.markdown {
    font-size: 13px !important;
    font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
    margin: 0px !important;
    padding: 6px !important;
}

    .markdown p {
        font-size: 13px !important;
        font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
    }

.plain {
    font-size: 13px !important;
    font-family: Conv_dinot-light,Calibri, "Helvetica Neue", Arial, "sans-serif" !important;
    margin: 0px !important;
    padding: 6px !important;
}

.webchat__typingIndicator {
    position: relative;
    background-image: none !important;
    display: flex;
    color: rgb(244,127,37);
    height: 20px;
    width: 64px;
}

    .webchat__typingIndicator:after {
        content: ' .';
        display: block;
        height: 12px;
        width: 12px;
        border-radius: 50px;
        font-size: 58px;       
        /* background-image: -webkit-linear-gradient(-90deg,rgb(244,127,37) 0%,rgb(228,26,55) 100%);*/
        animation: dots 1s steps(5, end) infinite;
    }
@keyframes dots {
    0%, 20% {
        color:gray;
        text-shadow: .25em 0 0 rgba(244,127,37), .5em 0 0 rgba(244,127,37);
    }

    40% {
        color: gray;
        text-shadow: .25em 0 0 rgba(244,127,37), .5em 0 0 rgba(244,127,37);
    }

    60% {
        color: gray;
        text-shadow: .25em 0 0 gray, .5em 0 0 rgba(0,0,0,0);
    }

    80%, 100% {
        color: rgb(244,127,37);
        text-shadow: .25em 0 0 gray, .5em 0 0 gray;
    }
}