#chat-icon {
    position: fixed;
    bottom: 6px;
    right: 22px;
    padding: 10px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    background-color: #5E72DF;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    cursor: pointer;
    z-index: 9999;
    line-height: 20px;
    font-size: 14px;
}

#chat-icon:hover {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

#chat-icon:hover svg {
    fill: #1E3050;
}

#chat-icon:active {
    bottom: 7px;
}

#chat-icon svg {
    width: 40px;
    fill: #ffffff;
    vertical-align: middle;
}

#phrase-accroche {
    font-size: 10px;
    /* text-transform: uppercase; */
    position: fixed;
    bottom: 65px;
    right: 22px;
    text-align: right;
    color: #1E3050;
    font-weight: bold;
    z-index: 1000;
}

#chat-window {
    position: fixed;
    bottom: 4vh;
    right: 2vh;
    width: 37vw;
    height: auto;
    border: 2px solid #5E72DF;
    border-radius: 15px;
    background-color: #F1F5F8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: none;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
    z-index: 9999;
    transition: width 0.5s ease;
}

#chat-window * {
    box-sizing: unset;
}

#chat-header {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#chat-new {
    position: absolute;
    top: 10px;
    right: 60px;
    cursor: pointer;
    text-align: right;
    vertical-align: top;
    background-color: #5E72DF;
    padding: 3px 10px;
    border-radius: 5px;
    line-height: 20px;
}
#chat-new:hover {
    background-color: #4d63e0;
}

#chat-new svg {
    height: 10px;
    vertical-align: middle;
    stroke: rgba(255, 255, 255, 1);
}


#chat-new span {
    font-size: 12px;
    color: white;
    vertical-align: top;
}

#save-chat {
    position: absolute;
    top: 10px;
    right: 200px;
    cursor: pointer;
    text-align: right;
    vertical-align: top;
    background-color: #5E72DF;
    padding: 3px 10px;
    border-radius: 5px;
    line-height: 20px;
}
#save-chat:hover {
    background-color: #4d63e0;
}

#save-chat span {
    font-size: 12px;
    color: white;
    vertical-align: top;
}

#chat-openwide {
    position: absolute;
    top: 10px;
    right: 30px;
    width: 18px;
    stroke: rgba(136, 136, 136, 0.5);
    cursor: pointer;
}

#chat-openwide:hover {
    stroke: rgb(97, 97, 97);
}

#chat-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    stroke: rgba(136, 136, 136, 0.5);
    cursor: pointer;
}

#chat-close:hover {
    stroke: rgb(97, 97, 97);
}

#chatbot-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 42px;
}

#chat-title {
    position: absolute;
    top: 13px;
    left: 60px;
    font-size: 14px;
    font-weight: 700;
    color: #1E3050;
}

#chat-status-container {
    position: absolute;
    top: 28px;
    left: 60px;
}

#chat-led {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgb(60, 255, 0);
}

#chat-status {
    display: inline-block;
    font-size: 12px;
    color: #787878;
}

#sound-status {
    position: absolute;
    bottom: 3px;
    right: 10px;
    width: 18px;
    cursor: pointer;
}


#chat-content {
    width: calc(100% - 20px);
    height: 50vh;
    overflow-y: scroll;
    padding: 10px;
    font-size: 14px;
    transition: height 0.5s ease;
}

#chat-content #chat-suggestions {
    display: none;
}

#chat-content .chat-suggestions-label {
    font-size: 13px;
    color: #141c51;
    padding-left: 40px;
}

#chat-content ul>li::marker {
    content: "● "
}

#chat-content ul>li>ul>li::marker {
    content: "⏵ "
}

#chat-content ul>li>ul>li>ul>li::marker {
    content: "▪ "
}

#chat-content ol {
    counter-reset: section;
    list-style-type: none;
}


#chat-content ol>li:before {
    counter-increment: section;
    content: counters(section, "firstLevel") ". ";
}

#chat-content ol>li>ol {
    counter-reset: subsection;
    list-style-type: none;
}

#chat-content ol>li>ol>li:before {
    counter-increment: subsection;
    content: counter(subsection, lower-alpha) ". ";
    margin-left: -20px;
    padding-right: 10px;
}

#chat-content ol>li>ol>li>ol {
    list-style-type: none;
    counter-reset: subsubsection;
}

#chat-content ol>li>ol>li>ol>li:before {
    counter-increment: subsubsection;
    content: counter(subsubsection) ". ";
    margin-left: -20px;
    padding-right: 10px;
}

#chat-content h1,
#chat-content h2,
#chat-content h3,
#chat-content h4,
#chat-content h5 {
    font-size: unset;
    font-family: unset;
    font-weight: bold;
    line-height: unset;
    
    margin: 24px 0;
}

#chat-content h1 {
    font-size: 28px;
}

#chat-content h2 {
    font-size: 24px;
}

#chat-content h3 {
    font-size: 20px;
}

#chat-content h4 {
    font-size: 18px;
}

#chat-content h5 {
    font-size: 18px;
}

#chat-content li>* {
    vertical-align: unset;
}

#chat-content table {
    border-collapse: collapse;
    margin: 20px 0;
}

#chat-content table thead {
    display: block;
    position: sticky;
    top: -10px;
    z-index: 10;
    background: #eff3fa;
}

#chat-content table tbody {
    display: block;
    text-align: center;
    background-color: #ffffff;
}

#chat-content tbody tr td:nth-child(1),
#chat-content thead tr th:nth-child(1) {
    position: sticky;
    left: -11px;
    z-index: 9;
    background-color: #8b9cff;
    min-width: 125px;
    max-width: 125px;
}

#chat-content th,
#chat-content td {
    border: 1px solid #ddd;
    padding: 8px;
    min-width: 70px;
    max-width: 70px;
    border-radius: unset;
    background-color: white;
}

#chat-content th {
    background-color: #5E72DF;
    color: white;
}

#chat-content tbody tr td:nth-child(1) {
    background-color: #8b9cff;
    color: white;
    text-align: right;
}

#chat-content thead tr th:nth-child(1) {
    background-color: #5E72DF;
}


#chat-window #user-input-area {
    position: relative;
    width: calc(100% - 30px);
    height: 65px;
    padding: 15px 15px 5px 15px;
}

#chat-window #user-input {
    width: calc(100% - 75px);
    height: calc(100% - 10px);
    border-radius: 15px;
    border-width: 0px !important;
    border-color: transparent !important;
    padding: 5px 65px 5px 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    resize: none;
}

#chat-window #user-input:focus {
    outline: none !important;
}

#chat-window #user-input:disabled {
    background-color: #FFFFFF;
}

#chat-window .chat-mistakes {
    font-size: 11px;
    text-align: center;
}

#chat-window #send-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 65px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    cursor: pointer;
}

#chat-window #send-button:hover {
    background-color: rgba(75, 87, 169, .1);
}

#chat-window #send-button img {
    width: 30px;
    margin-top: 16px;
    margin-left: 15px;
}

#chat-window #record-button {
    position: absolute;
    bottom: calc(50% - 22px);
    right: 75px;
    cursor: pointer;
    text-align: center;
    padding: 8px 10px;
    border-radius: 50%;
}

#chat-window #record-button:hover {
    background-color: rgba(75, 87, 169, .2);
}

#record-indicator {
    position: absolute;
    bottom: -15px;
    left: -4px;
    width: 40px;
    font-size: 11px;
    text-align: center;
}

#record-indicator div {
    display: inline-block;
}

.record-marker {
    margin-right: 4px;
    color: red;
    animation: blink 1s infinite;
}

#chat-window .recording {
    background-color: rgba(75, 87, 169, .1);
}

#chat-window #record-button img {
    width: 15px;
    height: 15px;
}

.queryBot {
    position: absolute;
    top: 34px;
    left: 85px;


    padding: 3px 10px;
    border-radius: 3px;

    color: #ffffff;
    font-style: italic;
    font-size: 11px;
}

#queryingBot {
    background-color: #555555;
}

#queriedBot {
    background-color: #999999;
}

#chat-window #spinner {
    position: absolute;
    top: 18px;
    left: 25px;
    height: 60px;
    width: 200px;
    background-color: #fff;
}

#chat-window #spinner img {
    height: 100%;
}

.chat-message-user {
    position: relative;
    display: table;
    margin: auto;
    text-align: right;
    margin-bottom: 10px;
    margin-right: 30px;
    padding: 5px 10px;
    background-color: #7080F1;
    color: #F1F5F8;
    border-top-left-radius: 8px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

.chat-message-user p {
    display: inline-block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    line-height: 13px;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.chat-message-chatbot {
    position: relative;
    display: table;
    margin: auto;
    text-align: left;
    min-width: 80px;
    margin-bottom: 10px;
    margin-left: 40px;
    padding: 5px 10px 10px 5px;
    background-color: #DBDFFC;
    color: #2e2e2e;
    border-top-left-radius: 0px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

.chat-message-chatbot p {
    /*display: inline;*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    line-height: 20px;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.chat-message-footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 0px;
    padding-right: 15px;
    text-align: right;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.chat-message-footer-icon {
    display: inline-block;
    height: 18px;
    margin-right: 5px;
    vertical-align: top;
    opacity: .4;
    cursor: pointer;
}

.chat-message-footer-icon:hover {
    opacity: 1;
}

.chat-message-error {
    background-color: #BB0000;
    color: #FFFFFF;
}

.chat-message-suggestion {
    background-color: #DDDDDD;
    padding: 5px 10px;
    font-style: italic;
    cursor: pointer;
}

.chat-message-suggestion:hover {
    background-color: #CCCCCC;
}

.user-prpt-pic {
    position: absolute;
    top: -2px;
    right: -30px;
    height: 25px;
    width: 25px;
    vertical-align: top;
}

.ai-prpt-pic {
    position: absolute;
    top: 0px;
    left: -40px;
    height: 28px;
    width: 35px;
    vertical-align: top;
}

.user-prpt-name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1D2975;
}

#chat-window li>* {
    vertical-align: text-top;
}

#chat-window li>strong {
    vertical-align: unset;
}

/* Other */

#chat-window .noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently */
}

#chat-window::-webkit-scrollbar-track {
    margin: 2px;
    background: #D9D9D9;
    border-radius: 20px;
}

#chat-window::-webkit-scrollbar-thumb {
    background-color: #7785E9;
    border-radius: 20px;
    border: 0px;
}

#chat-window .lightSpeedIn {
    -webkit-animation-name: lightSpeedIn;
    animation-name: lightSpeedIn;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes lightSpeedIn {
    0% {
        -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
        transform: translate3d(100%, 0, 0) skewX(-30deg);
        opacity: 0;
    }

    60% {
        -webkit-transform: skewX(20deg);
        transform: skewX(20deg);
        opacity: 1;
    }

    80% {
        -webkit-transform: skewX(-5deg);
        transform: skewX(-5deg);
        opacity: 1;
    }

    100% {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }
}

@keyframes lightSpeedIn {
    0% {
        -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
        transform: translate3d(100%, 0, 0) skewX(-30deg);
        opacity: 0;
    }

    60% {
        -webkit-transform: skewX(20deg);
        transform: skewX(20deg);
        opacity: 1;
    }

    80% {
        -webkit-transform: skewX(-5deg);
        transform: skewX(-5deg);
        opacity: 1;
    }

    100% {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }
}

#chat-window .bounceIn {
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
    -webkit-animation-duration: .75s;
    animation-duration: .75s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes bounceIn {

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    20% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        -webkit-transform: scale3d(.9, .9, .9);
        transform: scale3d(.9, .9, .9);
    }

    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        -webkit-transform: scale3d(.97, .97, .97);
        transform: scale3d(.97, .97, .97);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes bounceIn {

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    20% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        -webkit-transform: scale3d(.9, .9, .9);
        transform: scale3d(.9, .9, .9);
    }

    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        -webkit-transform: scale3d(.97, .97, .97);
        transform: scale3d(.97, .97, .97);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.fade-in {
    animation-fill-mode: forwards;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.speechLoaderContainer {
    display: inline-block;
    height: 100%;
    margin-right: 5px;
}

.loader04 {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    border: 2px solid rgba(119, 119, 119, 0.5);
    border-radius: 50%;
    position: relative;
    animation: loader-rotate 1s ease-in-out infinite;
}

.loader04::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #777777;
    position: absolute;
    top: -4px;
    left: 50%;
    margin-left: -5px;
}
  
@keyframes loader-rotate {
    0% {
      transform: rotate(0); }
    100% {
      transform: rotate(360deg); }
}

.soundWaveContainer {
    display: inline-block;
    height: 100%;
    margin-right: 3px;
}

.soundWave {
    background: #adadad;
    position: relative;
    animation: soundWave .7s ease-in-out infinite;
    animation-delay: 0.3s;
    width: 0.25em;
    height: 0.5em;
    margin: 7px;
    border-radius: 5px;
}

.soundWave:after, .soundWave:before {
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    background: inherit;
    animation: inherit;
    border-radius: 5px;
}

.soundWave:before {
    right: 0.5em;
    animation-delay: 0.2s;
}

.soundWave:after {
    left: 0.5em;
    animation-delay: 0.6s;
}

@keyframes soundWave {
    0%, 100% {
        box-shadow: 0 0 0 #adadad, 0 0 0 #adadad;
   }
    50% {
        box-shadow: 0 -0.25em 0 #adadad, 0 0.25em 0 #adadad;
   }
}

.svg-chat-blink {
    width: 9px;
    height: 16px;
    padding-left: 3px;
}

.rect-chat-blink {
    fill: #5E72DF;
}

.svg-accroche-blink {
    width: 5px;
    height: 10px;
    padding-left: 3px;
    display: none;
}

.rect-accroche-blink {
    fill: #1E3050;
}

.blink {
    animation: blink 1s linear infinite;
}

#chatinfopic{
    width: 18px;
    height: 18px;
    position: absolute;
    bottom: 3px;
    right: 35px;
    cursor: pointer;
}

#thinking-div{ 
    height: 18px;
    position: absolute;
    bottom: 3px;
    right: 80px;
    cursor: pointer;
    display: flex;
    background-color: white;
    
}

#thinking-div *{ 
    cursor: pointer;
    font-weight: 700;
    color: #1E3050;
    height: 18px;
    background-color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0px;
    text-transform: none;
    -webkit-appearance: auto;
}



#thinking-select{
        border-style: hidden;
}

.btn_dwl{
    display: none;
    background-color: #0000004A;
    width: 30px;
    text-align: center;
    border-radius: 50%;
    height: 30px;
    line-height: 2;

}

table:hover .btn_dwl{
    display: block !important;
}

#chat-histo-choice{
    position: absolute;
    padding-top : 90%;
    padding-left: 100%;
    top: 0px;
    left: 0px;
    z-index: 1;
    background-color: #F1F5F8;
    display: none;
    border-radius: 15px;
    overflow-y: scroll;
}

#chathistopic{
    font-size: 20px;
    width: 18px;
    height: 18px;
    position: absolute;
    bottom: 3px;
    right: 62px;
    cursor: pointer;
    color:#203152;
}

#chat-histo-close{
        position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    stroke: rgba(136, 136, 136, 0.5);
    cursor: pointer;
}

#histo_content{
    font-size: 13px;
    color: #141c51;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80%;
}

#chat-histo-choice ul{
    width: 100%;
    margin-bottom: 30px;
}

#chat-histo-choice li{
    display: block;
  background-color: #DBDFFC;
  padding: 5px 10px;
  font-style: italic;
  cursor: pointer;
  margin-bottom: 10px;
  color: #2e2e2e;
  border-top-left-radius: 0px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  min-width: 80%;
  transition: all 0.2s ease;
  position: relative;
  width: 100%;
}

#chat-histo-choice #histo_chat li{
    background-color: #2ac5da; 
    color: #fff;   
}

#chat-histo-choice li:hover{
    background-color: #a4aeff;
}

#chat-histo-choice #histo_chat li:hover{
    background-color: #17abbe;
}

#chat-histo-choice li.choice{
    background-color: #BBBBBB;
}

.close_option{
    position: absolute;
  right: 8px;
  width: 20px;
  z-index: 3;
  font-size: 20px;
  top: 6px;
  color: #b70c0c
}

.change_name{
    position: absolute;
  right: 35px;
  width: 20px;
  font-size: 20px;
  top: 7px;
  color:#0721ac;
}

.save_chat, .temp_chat{
    text-transform: uppercase;
}

#title-input-area {
    position: relative;
    width: calc(100% - 30px);
    height: 65px;
    padding: 15px 15px 5px 15px;
}

#itle-input {
    width: calc(100% - 75px);
    height: calc(100% - 10px);
    border-radius: 15px;
    border-width: 0px !important;
    border-color: transparent !important;
    padding: 5px 65px 5px 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    resize: none;
}

#itle-input:focus {
    outline: none !important;
}

#chat-window #send-button-title {
    position: absolute;
    top: 65px;
    right: 15px;
    width: 60px;
    height: 65px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    cursor: pointer;
}

#send-button-title:hover {
    background-color: rgba(75, 87, 169, .1);
}

#send-button-title img {
    width: 30px;
    margin-top: 16px;
    margin-left: 15px;
}

#label_title_input{
    color: #fff;
  display: block;
  background: #0050ff;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 5px;
}

 #title-input-area {
    position: relative;
    width: calc(100% - 30px);
    height: 65px;
    padding: 15px 15px 5px 15px;
}

#title-input {
    box-shadow: -1px 0px 20px 6px gray;
    width: calc(100% - 75px);
    height: calc(100% - 10px);
    border-radius: 15px;
    border-width: 0px !important;
    border-color: transparent !important;
    padding: 5px 65px 5px 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    resize: none;
}

#chat-histo-title{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: rgba(12, 62, 115, 0.75);
}