html {
    scroll-behavior: smooth;
}

body {
    background: 0 0;
    min-height: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Cantarell', 'Helvetica Neue', sans-serif !important;
} 

button[disabled] {
    cursor: not-allowed;
}

[v-cloak] {
    display: none;
}

#toggle-widget {
    position: fixed;
    bottom: 0px;
    right: 4px; 
    width: 190px;
    height: 40px;
    padding: 0px;
    text-align: right;
    white-space: inherit; 
    font-size: 13px; 
    border-radius: 10px 20px 30px 10px !important;
    /*box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.6); */
    display: none;
    border: none;
    overflow: visible; 
    align-items: center;
    justify-content: center;
    transform: skewX(-15deg);
    cursor: pointer;
}

#toggle-widget:hover, #toggle-widget:focus {
    opacity: 1 !important;
}

#toggle-widget span { 
    transform: skewX(15deg);
    padding: 0px 10px;
    padding-right: 60px;
    line-height: 1;
}

#toggle-widget #toggle-widget-icon {
    position: absolute;
    right: 0;
    height: 60px;
    width: 60px; 
    transform: skewX(15deg);
    background: #011b40;
    bottom: 0;
}

#toggle-widget #toggle-widget-icon img {
    height: 100%;
    width: auto;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

#toggle-widget #notifications {
    position: absolute;
    top: -2px;
    right: -2px;
    border: 2px #fff solid;   
    height: 25px;
    width: 25px;
    line-height: 1.2;
    padding: 5px; 
    transform: skewX(0deg);
}

#toggle-widget i, #widget-chat .card-title .fas.fa-comment-dots {
    transform: scaleX(-1);
} 

#widget-chat {
    position: fixed;
    bottom: 10px;
    right: 20px;
    display: none;
    width: 350px;
    height: 85vh;
    min-height: 0;
    max-width: 100vw;
    max-height: 100vh;
}

#toggle-widget.isNotIFrame {
    display: none;
}

#toggle-widget.isInIFrame {
    display: flex;
}

#formRegisterUser {
    z-index: 10000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

#greeting { 
    z-index: 9999;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

#greeting .card-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

#widget-chat.isNotIFrame {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
}

#widget-chat.isNotIFrame .card {
    border-radius: 0;
    box-shadow: none;
}

#widget-chat #close-widget {
    z-index: 999;
}

#widget-chat.isNotIFrame #close-widget {
    display: none;
}

#widget-chat.isNotIFrame .card-category {
    text-align: center;
    font-size: 18px;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    padding: .6rem 1.25rem;
    margin: 0;
    line-height: 1.2;
}

#widget-chat.isNotIFrame .conversations {
    height: calc(100vh - 64px) !important;
} 

#widget-chat.isNotIFrame #button-send {
    display: block;
}

#widget-chat.isNotIFrame #greeting {
    display: none !important;
}

#widget-chat #preview-file {
    display: none !important;
}

#widget-chat.isNotIFrame #preview-file {
    display: block !important;
}

#widget-chat .card .card-header {
    border-bottom: 0px !important;
    box-shadow: 0px 2px 2px 0px rgba(18,23,39,.5);
    z-index: 999;
} 

#widget-chat #preview-file img {
    width: auto !important;
    height: 40px !important;
    margin-right: .25rem;
    border-radius: 5px;
}

#widget-chat .conversations {
    height: calc(85vh - 64px) !important;
} 

#widget-chat .message-content {
    max-width: 70vw;
    width: -moz-fit-content;
}  

#widget-chat .message-out .message-content {
    max-width: 80vw; 
} 

#widget-chat.isInIFrame .message-content {
    max-width: 250px;
    width: -moz-fit-content;
}

#widget-chat .owl-carousel .owl-nav {
    position: absolute; 
    top: calc(50% - 30px);
    transform: translateY(-50%);
    margin-top: 0px;
    width: 100%;
    height: 0px;
}

#widget-chat .message-content-wrapper .btn:not(audio) {
    color: #007bff !important;
    transition: all .15s ease;
    border: 1px solid #007bff !important
}

#chatbotikawebchat.theme-custom #widget-chat .message-content-wrapper .btn:not(audio) {
    color: var(--theme-color) !important; 
    border-color: var(--theme-color) !important
}

#chatbotikawebchat.theme-custom #widget-chat .message-body .owl-carousel .owl-stage-outer .card-action .btn {
    border-color: #ebecec !important;
}

#widget-chat .message-content-wrapper .btn:hover:not(audio) {
    background-color: rgba(0,0,0,.04) !important;
}

#widget-chat .owl-carousel .owl-nav .owl-next, #widget-chat .owl-carousel .owl-nav .owl-prev, #widget-chat .owl-carousel .owl-nav .owl-prev:hover, #widget-chat .owl-carousel .owl-nav .owl-next:hover {
    border-radius: 100px !important;
    margin: 0px !important;
    font-size: .9375rem !important;
    height: 2.5125rem !important;
    line-height: normal !important;
    min-width: 2.5125rem !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: relative !important;
    width: 2.5125rem !important;
    vertical-align: middle !important;
    box-shadow: 0 4px 6px 0 rgba(0,0,0,.05);
    background: #fff;
    color: inherit !important;
}

#widget-chat .owl-carousel .owl-nav .owl-prev, #widget-chat .owl-carousel .owl-nav .owl-prev:hover {
    float: left;
    margin-left: 1rem !important;
}

#widget-chat .owl-carousel .owl-nav .owl-next, #widget-chat .owl-carousel .owl-nav .owl-next:hover {
    float: right;
    margin-right: 1rem !important;
}

#widget-chat .message-content .content {
    white-space: pre-wrap;
}

#widget-chat .owl-stage {
    display: flex;
}

#widget-chat .owl-stage-outer .card-round {
    border-radius: 5px;
}

#widget-chat .message-content .card {
    margin-bottom: 0px;
    box-shadow: 0 4px 6px 0 rgba(0,0,0,.05);
}

#widget-chat .owl-stage-outer {
    padding-bottom: .5rem;
}

@media only screen and (max-height: 500px) { 
    #widget-chat {
        height: 100vh; 
        bottom: 0px;
        top: 0px;
    }

    #widget-chat .conversations {
        height: calc(100vh - 71px) !important;
    } 

    #widget-chat .card-category {
        text-align: center;
        font-size: 22px;
        position: absolute;
        top: 0;
        width: 100%;
        left: 0;
        padding: 1rem 1.25rem;
        margin: 0;
        line-height: 1.9;
    }
}

@media only screen and (max-width: 400px) {
    #widget-chat { 
        height: 100vh; 
        top: 0px;
        width: 100vw;
        right: 0px;
        bottom: 0px;
    }

    #widget-chat .conversations {
        height: calc(100vh - 71px) !important;
    } 

    #widget-chat .card-category {
        text-align: center;
        font-size: 22px;
        position: absolute;
        top: 0;
        width: 100%;
        left: 0;
        padding: 1rem 1.25rem;
        margin: 0;
        line-height: 1.9;
    } 

    #widget-chat #preview-file {
        display: none !important;
    }
} 

#widget-chat .conversations-body { 
    background: #e8e8e8;
}

#widget-chat .conversations-body .message {
    display: flex;
    table-layout: auto;
}

#widget-chat .conversations-body .message-body {
    display: block;
    flex: 1;
}

.conversations-body .message-in {
    margin-right: 20px;
} 

#widget-chat .conversations-body .message-out {
    margin-left: 20px;
}

#widget-chat .message-out .message-content {
    margin-left: auto;
}

#widget-chat .conversations-body .message-out .message-content {
    border-radius: 20px 20px 4px !important;
    box-shadow: 0 4px 6px 0 rgba(0,0,0,.05);
}

#widget-chat .conversations-body .message-in .message-content {
    border-radius: 4px 20px 20px !important;
    /*box-shadow: 0 4px 6px 0 rgba(0,0,0,.05);*/
    box-shadow: none;
    background: #fff;
    color: #000;
}

#widget-chat #attachment-file, #close-widget, #widget-chat .card-category {
    transition: all .3s ease;
}

#attachment-file:hover, #close-widget:hover {
    background-color: rgba(0,0,0,.075) !important;
}

#widget-chat .conversations-body .date {
    color: rgba(9,30,66,.54);
}

#widget-chat .conversations-body .message-body .message-content:before {
    border: 0px !important;
} 

#widget-chat .fb-chat--bubbles {
    text-align: center;
}

#widget-chat .fb-chat--bubbles span {
    display: inline-block;
    background-color: #B6B5BA;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin-right: 2.5px;
    animation: bob 1s infinite;
}

#widget-chat .fb-chat--bubbles span:nth-child(1) {
    animation-delay: -0.7s;
}

#widget-chat .fb-chat--bubbles span:nth-child(2) {
    animation-delay: -0.6s;
}

#widget-chat .fb-chat--bubbles span:nth-child(3) {
    animation-delay: -0.5s;
    margin-right: 0;
}

@keyframes bob {
    10% {
        transform: translateY(-5px);
        background-color: #9E9DA2;
    }

    50% {
        transform: translateY(0);
        background-color: #B6B5BA;
    }
}  

#widget-chat .message-body audio::-webkit-media-controls-panel, .message-body .btn-group .btn {
    background: #fff !important;
    /*box-shadow: 0 4px 6px 0 rgba(0,0,0,.05);*/
    box-shadow: none;
}  

#widget-chat .message-out .message-body audio::-webkit-media-controls-panel {
    box-shadow: none !important;
    outline: none !important;
    border: none !important; 
} 

#widget-chat .message-body audio::-webkit-media-controls-current-time-display, .message-body audio::-webkit-media-controls-time-remaining-display {
    display: none;
} 

#widget-chat .message-body .owl-carousel .owl-stage-outer {
    padding-bottom: 0 !important;
    padding-left: 70px; 
}  

#widget-chat .message-body .owl-carousel .owl-stage-outer .card-action .btn {
    border: 0px !important;
    color: #007bff !important;
    border-top: 1px solid #ebecec!important;
} 

#chatbotikawebchat.theme-custom #widget-chat .message-body .owl-carousel .owl-stage-outer .card-action .btn {
  color: var(--theme-color) !important; 
}

#widget-chat .message-body .owl-carousel .owl-stage-outer .card-action .btn:first-child {
    border-top: 0px !important;
}

#widget-chat .message-body .owl-carousel .owl-stage-outer .card-action .btn:last-child {
    border-radius: 0px 0px 5px 5px !important;
}

#widget-chat #scroll-to-bottom {
    position: absolute;
    bottom: 90px; 
    z-index: 999;
    display: none;
    padding-bottom: 10px;
    left: calc(50% - 16px);
    border: 0px !important;
}

#widget-chat #credits {
    /*position: absolute; */
    background: rgba(232,232,232);
    bottom: 65px; 
    z-index: 999; 
    font-size: 13px;
    left: calc(50% - 57.5px); 
    border: 0px !important;
    box-shadow: 0px -2px 2px 0px rgba(232,232,232,.5);
}

#widget-chat #scroll-to-bottom button { 
    color: #fff !important;
    /*box-shadow: 0 4px 6px 0 rgba(0,0,0,.05);*/
    box-shadow: none;
}

#widget-chat .img-popup .waves-effect {
    display: block;
}

#widget-chat .leaflet-control-attribution.leaflet-control {
    display: none !important;
}

#widget-chat .leaflet-bar {
    box-shadow: 0 1px 5px rgba(0,0,0,.65);
    border-radius: 4px;
    border: 0px;
    background-clip: unset;
}

#widget-chat .message-content-wrapper .message-in .message-content .name, #widget-chat .message-content-wrapper .message-in .message-content [type="name"] {
    display: none;
}  

#chatbotikawebchat .audio.green-audio-player {
    width: -moz-fit-content;
    height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 4px;
    user-select: none;
    -webkit-user-select: none;
    min-width: 246px;
}

#chatbotikawebchat .audio.green-audio-player .play-pause-btn {
    display: none;
    cursor: pointer; 
    padding: 15px;
    height: 42px;
    border-radius: 50%;
}
#chatbotikawebchat .audio.green-audio-player .spinner {
     width: 12px;
     height: 12px;
     background-image: url(../img/loading.png);
     background-size: cover;
     background-repeat: no-repeat;
     animation: spin 0.4s linear infinite;
}

#chatbotikawebchat .audio.green-audio-player .slider {
     flex-grow: 1;
     background-color: #d8d8d8;
     cursor: pointer;
     position: relative;
}

#chatbotikawebchat .audio.green-audio-player .slider .progress {
     background-color: #fff;
     border-radius: inherit;
     position: absolute;
     pointer-events: none;
     overflow: inherit;
} 

#chatbotikawebchat .audio.green-audio-player .slider .progress .pin {
     height: 10px;
     width: 10px;
     border-radius: 8px;
     background-color: #fff;
     position: absolute;
     pointer-events: all; 
     box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.32);
}

#chatbotikawebchat .message-in .audio.green-audio-player .slider .progress .pin, #chatbotikawebchat .message-in .audio.green-audio-player .slider .progress {
    background-color: #55606e;
}

#chatbotikawebchat .message-in .audio.green-audio-player svg path {
    fill: #55606e;
}

#chatbotikawebchat .audio.green-audio-player .controls {  
     color: #fff;
     display: flex;
     flex-grow: 1;
     justify-content: space-between;
     align-items: center; 
}

#chatbotikawebchat .message-in .audio.green-audio-player .controls {
    color: #55606e;
}

#chatbotikawebchat .audio.green-audio-player .controls .slider {
     margin-left: 5px;
     margin-right: 5px;
     border-radius: 2px;
     height: 4px;
}
#chatbotikawebchat .audio.green-audio-player .controls .slider .progress {
     width: 0;
     height: 100%;
}
#chatbotikawebchat .audio.green-audio-player .controls .slider .progress .pin {
     right: -5px;
     top: -3px;
}
#chatbotikawebchat .audio.green-audio-player .controls span {
     cursor: default;
}

#chatbotikawebchat .audio.green-audio-player .controls .total-time {
    padding-right: 10px;
    padding-left: 5px;
}

svg {
     display: block;
} 
@keyframes spin {
    from {
         transform: rotateZ(0);
    }
     to {
         transform: rotateZ(1turn);
    }
}

#widget-product {
    position: fixed; 
    width: 100%;
    height: 100%;
    min-height: 0;
    top: 0;
    background-color: #fff;
    z-index: 999;
}

#widget-product .thumbnail {
    flex: 0 0 20%;
    max-width: 20%;
    padding: .5rem !important; 
    position: relative;
} 

#widget-chat .indicator-main { 
    height: 42px;
    background: #fff;
    width: 100%;
    position: absolute;
    z-index: 9;
    left: 0;
}

#widget-chat .indicators{
    position: relative;
    display: table;
    margin: 0 auto;
    height: 42px;
}

#widget-chat .indicator{
    position: absolute; 
    /*align-items: center;*/  
    background-color: rgb(1, 27, 64);
    width: 7.5px;
    height: 42px;
    max-height: 42px;
    min-height: 7.5px;
    margin: auto;
    border-radius: 5px;
    transition: 0.3s;
    bottom: 0;
    top: 0;
    transition: all 0.3s;
    /*animation: dope 1.5s ease-in-out 0s infinite;*/
    /*animation: bobs 1s ease-in-out 0s infinite;*/
}  

@keyframes updown {
  0% {
    top: 0;
  }
  50% {
    top: 6px;
  }
  100% {
    top: -6px;
  }
}
@keyframes sound-1 {
  /*0% {
    height: 42px; 
  } 
  25% {
    height: 32px; 
  } 
  50% {
    height: 42px; 
  } 
  75% {
    height: 32px; 
  } 
  100% {
    height: 27px; 
  }*/
}
@keyframes sound-2 {
  /*0% {
    height: 27px; 
  } 
  25% {
    height: 38px; 
  } 
  50% {
    height: 27px; 
  } 
  75% {
    height: 38px; 
  } 
  100% {
    height: 20px; 
  }*/
}  

/* On screens that are 600px wide or less, the background color is olive */
@media screen and (max-width: 900px) {
    #widget-product .thumbnail {
        flex: 0 0 25%;
        max-width: 25%;
        padding: 0.25rem !important; 
        position: relative;
    }
}

/* On screens that are 600px wide or less, the background color is olive */
@media screen and (max-width: 600px) {
    #widget-product .thumbnail {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding: 0.5px !important; 
        position: relative;
    }
}

#widget-product .thumbnail .aspect-ratio {
    position: relative;
    height: 0;
    width: 100%;
    padding-top: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
}

#widget-product .thumbnail .aspect-ratio .product-info {
    position: absolute;
    top: 0; 
    border-radius: 5px;
    width: 100%;
    height: 100%;
    display: none !important;
    transition: background-color .15s ease-in-out;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}
@media screen and (min-width: 700px) {
    #widget-product .thumbnail:hover .aspect-ratio .product-info, #widget-product .thumbnail:focus .aspect-ratio .product-info {
        display: flex !important;
    }
}

.cursor-pointer, div.checkbox.switcher * {
    cursor: pointer;
}

#chatbotikawebchat .input-icon .form-control:not(:first-child) {
    padding-left: 2.5rem !important;
}

div.checkbox.switcher label {
  padding: 0;
}
div.checkbox.switcher label * {
  vertical-align: middle;
} 
div.checkbox.switcher label input + span {
  position: relative;
  display: inline-block; 
  width: 58px;
  height: 38px;
  padding: 12px; 
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}
div.checkbox.switcher label input + span .track {
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.68;
    transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-radius: 10px;
    background-color: #fff;
    display: table-cell;
}
div.checkbox.switcher label input + span small.switchbtn { 
    position: absolute;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%; 
    display: inline-flex;
    padding: 9px;
    top: 0;
    left: 0;
    transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

div.checkbox.switcher label input + span small.switchbtn:hover {
    background-color: #fff2;
} 

div.checkbox.switcher span small.switchbtn span.switchbtntoggle { 
    box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%; 
}

div.checkbox.switcher label input:checked + span small.switchbtn {
    transform: translateX(20px);
} 

div.checkbox.switcher label input:checked + span .track { 
    opacity: 0.38;
}

.modal .modal-fixed-footer {
    padding: 0;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    max-width: 100% !important;
}

.modal .modal-fixed-footer .modal-content {
  position: absolute; 
  height: calc(100% - 164px);
  width: 100%; 
  bottom: 0;
  border-radius: 0px !important; 
} 

.modal .bottom-sheet {
  top: auto;
  bottom: -100%;
  margin: 0;
  width: 100%;
  max-height: 100%;
  border-radius: 0;
  will-change: bottom, opacity;
}

.modal.show .bottom-sheet {
    bottom: 0px;
    display: block;
    opacity: 1; 
}

/*#widget-chat .message-content-wrapper .message-in .message-content:first-child .name {
    display: block;
}*/

/*   Background Theme   */ 
#chatbotikawebchat.theme-black #scroll-to-bottom button, #chatbotikawebchat.theme-black .btn-change-color, #chatbotikawebchat.theme-black .message-out .message-body audio::-webkit-media-controls-panel, #chatbotikawebchat.theme-black .message-out .message-content, #chatbotikawebchat.theme-black #button-send, #chatbotikawebchat.theme-black #toggle-widget {
  background-color: #1a2035 !important; } 

#chatbotikawebchat.theme-botika #scroll-to-bottom button, #chatbotikawebchat.theme-botika .btn-change-color, #chatbotikawebchat.theme-botika .message-out .message-body audio::-webkit-media-controls-panel, #chatbotikawebchat.theme-botika .message-out .message-content, #chatbotikawebchat.theme-botika #button-send, #chatbotikawebchat.theme-botika #toggle-widget {
  background-color: #011b40 !important; } 

#chatbotikawebchat.theme-blue #scroll-to-bottom button, #chatbotikawebchat.theme-blue .btn-change-color, #chatbotikawebchat.theme-blue .message-out .message-body audio::-webkit-media-controls-panel,#chatbotikawebchat.theme-blue .message-out .message-content, #chatbotikawebchat.theme-blue #button-send, #chatbotikawebchat.theme-blue #toggle-widget {
  background-color: #1572E8 !important; } 

#chatbotikawebchat.theme-purple #scroll-to-bottom button, #chatbotikawebchat.theme-purple .btn-change-color, #chatbotikawebchat.theme-purple .message-out .message-body audio::-webkit-media-controls-panel,#chatbotikawebchat.theme-purple .message-out .message-content, #chatbotikawebchat.theme-purple #button-send, #chatbotikawebchat.theme-purple #toggle-widget {
  background-color: #6861CE !important; } 

#chatbotikawebchat.theme-cyan #scroll-to-bottom button, #chatbotikawebchat.theme-cyan .btn-change-color, #chatbotikawebchat.theme-cyan .message-out .message-body audio::-webkit-media-controls-panel,#chatbotikawebchat.theme-cyan .message-out .message-content, #chatbotikawebchat.theme-cyan #button-send, #chatbotikawebchat.theme-cyan #toggle-widget {
  background-color: #48ABF7 !important; } 

#chatbotikawebchat.theme-green #scroll-to-bottom button, #chatbotikawebchat.theme-green .btn-change-color, #chatbotikawebchat.theme-green .message-out .message-body audio::-webkit-media-controls-panel,#chatbotikawebchat.theme-green .message-out .message-content, #chatbotikawebchat.theme-green #button-send, #chatbotikawebchat.theme-green #toggle-widget {
  background-color: #31CE36 !important; } 

#chatbotikawebchat.theme-yellow #scroll-to-bottom button, #chatbotikawebchat.theme-yellow .btn-change-color, #chatbotikawebchat.theme-yellow .message-out .message-body audio::-webkit-media-controls-panel,#chatbotikawebchat.theme-yellow .message-out .message-content, #chatbotikawebchat.theme-yellow #button-send, #chatbotikawebchat.theme-yellow #toggle-widget {
  background-color: #FFAD46 !important; } 

#chatbotikawebchat.theme-red #scroll-to-bottom button, #chatbotikawebchat.theme-red .btn-change-color, #chatbotikawebchat.theme-red .message-out .message-body audio::-webkit-media-controls-panel, #chatbotikawebchat.theme-red .message-out .message-content, #chatbotikawebchat.theme-red #button-send, #chatbotikawebchat.theme-red #toggle-widget {
  background-color: #F25961 !important; } 

#chatbotikawebchat.theme-custom #scroll-to-bottom button, #chatbotikawebchat.theme-custom .btn-change-color, #chatbotikawebchat.theme-custom .message-out .message-body audio::-webkit-media-controls-panel, #chatbotikawebchat.theme-custom .message-out .message-content, #chatbotikawebchat.theme-custom #button-send, #chatbotikawebchat.theme-custom #toggle-widget {
  background-color: var(--theme-color) !important; } 

#chatbotikawebchat.theme-black .message-out .message-content,
#chatbotikawebchat.theme-botika .message-out .message-content,
#chatbotikawebchat.theme-blue .message-out .message-content,
#chatbotikawebchat.theme-purple .message-out .message-content,
#chatbotikawebchat.theme-cyan .message-out .message-content,
#chatbotikawebchat.theme-green .message-out .message-content,
#chatbotikawebchat.theme-yellow .message-out .message-content,
#chatbotikawebchat.theme-red .message-out .message-content,
#chatbotikawebchat.theme-custom .message-out .message-content
{
    background-color: var(--bubble-color, var(--theme-color, #011b40)) !important;
}

#chatbotikawebchat.theme-custom #widget-chat .message-body .owl-carousel .owl-stage-outer .card-action .btn, 
#chatbotikawebchat #widget-chat .message-body .owl-carousel .owl-stage-outer .card-action .btn
{
  color: var(--bubble-color, var(--theme-color, #011b40)) !important; 
}

#chatbotikawebchat.theme-custom #widget-chat .message-content-wrapper .btn:not(audio),
#widget-chat .message-content-wrapper .btn:not(audio) {
    color: var(--bubble-color, var(--theme-color, #011b40)) !important; 
    border-color: var(--bubble-color, var(--theme-color, #011b40)) !important; 
}

#widget-chat .message-content[type="location"] a, #widget-chat .message-content[type="location"] a:hover {
    color: inherit !important;
    text-decoration: none;
}

#widget-chat .message-out .message-content[type="image"] {
    background-color: transparent !important;
}

#widget-chat .message-out .message-content[type="image"] div[type="name"], #widget-chat .message-out .message-content[type="location"] div[type="name"] {
    display: none;
}

#widget-chat .message-out .message-content[type="image"] img {
    border-radius: 20px 20px 4px !important;
}

#widget-chat .message-out .message-content[type="location"] .message-location  {
    border-radius: 20px 20px 0px 0px !important;
}

#widget-chat.isInIFrame #attachment-file {
    display: block !important;
}
    
#chatbotikawebchat .card-widget .card-header .avatar {
    background-color: rgb(1, 27, 64) !important;
}

/*Attach File*/
#chatbotikawebchat.theme-black #attachment-file, #chatbotikawebchat.theme-black .btn .fa-map-marker-alt {
  color: #1a2035 !important; }

#chatbotikawebchat.theme-botika #attachment-file, #chatbotikawebchat.theme-botika .btn .fa-map-marker-alt {
  color: #011b40 !important; } 

#chatbotikawebchat.theme-blue #attachment-file, #chatbotikawebchat.theme-blue .btn .fa-map-marker-alt {
  color: #1572E8 !important; } 

#chatbotikawebchat.theme-purple #attachment-file, #chatbotikawebchat.theme-purple .btn .fa-map-marker-alt {
  color: #6861CE !important; } 

#chatbotikawebchat.theme-cyan #attachment-file, #chatbotikawebchat.theme-cyan .btn .fa-map-marker-alt {
  color: #48ABF7 !important; } 

#chatbotikawebchat.theme-green #attachment-file, #chatbotikawebchat.theme-green .btn .fa-map-marker-alt {
  color: #31CE36 !important; } 

#chatbotikawebchat.theme-yellow #attachment-file, #chatbotikawebchat.theme-yellow .btn .fa-map-marker-alt {
  color: #FFAD46 !important; } 

#chatbotikawebchat.theme-red #attachment-file, #chatbotikawebchat.theme-red .btn .fa-map-marker-alt {
  color: #F25961 !important; }  

#chatbotikawebchat.theme-custom #attachment-file, #chatbotikawebchat.theme-custom .btn .fa-map-marker-alt {
  color: var(--theme-color) !important; }  

#chatbotikawebchat.theme-black .card-widget {
  background: #1f283e !important;
  background: -webkit-linear-gradient(legacy-direction(-45deg), #0A0B11, #1f283e) !important;
  background: linear-gradient(-45deg, #0A0B11, #1f283e) !important; }

#chatbotikawebchat.theme-botika .card-widget {
  background: #011b40 !important;
  background: -webkit-linear-gradient(legacy-direction(-45deg), #011b40, #011b40) !important;
  background: linear-gradient(-45deg, #011b40, #011b40) !important; }

#chatbotikawebchat.theme-blue .card-widget {
  background: #1572E8 !important;
  background: -webkit-linear-gradient(legacy-direction(-45deg), #06418E, #1572E8) !important;
  background: linear-gradient(-45deg, #06418E, #1572E8) !important; }

#chatbotikawebchat.theme-green .card-widget {
  background: #31CE36 !important;
  background: -webkit-linear-gradient(legacy-direction(-45deg), #179D08, #31CE36) !important;
  background: linear-gradient(-45deg, #179D08, #31CE36) !important; }

#chatbotikawebchat.theme-purple .card-widget {
  background: #6861CE !important;
  background: -webkit-linear-gradient(legacy-direction(-45deg), #2A20AC, #6861CE) !important;
  background: linear-gradient(-45deg, #2A20AC, #6861CE) !important; }

#chatbotikawebchat.theme-cyan .card-widget {
  background: #48ABF7 !important;
  background: -webkit-linear-gradient(legacy-direction(-45deg), #0A5A97, #48ABF7) !important;
  background: linear-gradient(-45deg, #0A5A97, #48ABF7) !important; }

#chatbotikawebchat.theme-yellow .card-widget {
  background: #FFAD46 !important;
  background: -webkit-linear-gradient(legacy-direction(-45deg), #E1810B, #FFAD46) !important;
  background: linear-gradient(-45deg, #E1810B, #FFAD46) !important; }

#chatbotikawebchat.theme-red .card-widget {
  background: #F25961 !important;
  background: -webkit-linear-gradient(legacy-direction(-45deg), #E80A15, #F25961) !important;
  background: linear-gradient(-45deg, #E80A15, #F25961) !important; }

#chatbotikawebchat.theme-custom .card-widget {
  background: var(--theme-color) !important; 
}
 

 /*Client*/
 /**
  * Bukopin
  */
#chatbotikawebchat[client="bukopin"] #toggle-widget, 
#chatbotikawebchat[client="bukopin"] .card-widget, 
#chatbotikawebchat[client="bukopin"] .message-out .message-content,
#chatbotikawebchat[client="bukopin"] #scroll-to-bottom button,
#chatbotikawebchat[client="bukopin"] .btn-change-color {
    background-color: #31a95f !important;
    background: #31a95f !important;
}

#chatbotikawebchat[client="bukopin2"] #toggle-widget, 
#chatbotikawebchat[client="bukopin2"] .card-widget, 
#chatbotikawebchat[client="bukopin2"] .message-out .message-content,
#chatbotikawebchat[client="bukopin2"] #scroll-to-bottom button,
#chatbotikawebchat[client="bukopin2"] .btn-change-color {
    background-color: #FEBE10 !important;
    background: #FEBE10 !important;
}

[client="bukopin"] #toggle-widget #toggle-widget-icon, 
#chatbotikawebchat[client="bukopin"] .card-widget .card-header .avatar,
#chatbotikawebchat[client="bukopin"] .message-in .avatar .avatar-title {
    background-color: #ffea01 !important; 
    background: #ffea01 !important; 
}

[client="bukopin2"] #toggle-widget #toggle-widget-icon, 
#chatbotikawebchat[client="bukopin2"] .card-widget .card-header .avatar,
#chatbotikawebchat[client="bukopin2"] .message-in .avatar .avatar-title {
    background-color: #545045 !important; 
    background: #545045 !important; 
}

/*#chatbotikawebchat[client="bukopin"] #toggle-widget #toggle-widget-icon img {
    height: auto;
    width: 100%;
    position: absolute;
    right: 0;
    border: 0;
    bottom: 0px;
}*/

#chatbotikawebchat[client="bukopin"] .card-widget .card-header small.text-muted, #chatbotikawebchat[client="bukopin2"] .card-widget .card-header small.text-muted {
    color: #fff !important;
    opacity: 0.8;
} 

#chatbotikawebchat[client="bukopin"] #input-message, #chatbotikawebchat[client="bukopin2"] #input-message {
    padding-right: 80px;
}

#chatbotikawebchat[client="bukopin"] #attachment-file, #chatbotikawebchat[client="bukopin2"] #attachment-file {
    color: #31a95f !important;
    position: absolute;
    right: calc(40px + 1rem);
}

#chatbotikawebchat[client="bukopin2"] #attachment-file {
    color: #FEBE10 !important;
}

#chatbotikawebchat[client="bukopin"] #button-send, #chatbotikawebchat[client="bukopin2"] #button-send {
    background: transparent !important;
    color: #31a95f !important;
    position: absolute;
    right: 1rem;
}

#chatbotikawebchat[client="bukopin2"] #button-send {
    color: #FEBE10 !important;
}

#chatbotikawebchat[client="bukopin"] #widget-chat #scroll-to-bottom, #chatbotikawebchat[client="bukopin2"] #widget-chat #scroll-to-bottom {
    bottom: 65px;
}


 /**
  * Prosehat
  */
#chatbotikawebchat[client="prosehat"] #toggle-widget, 
#chatbotikawebchat[client="prosehat"] .card-widget, 
#chatbotikawebchat[client="prosehat"] .message-out .message-content,
#chatbotikawebchat[client="prosehat"] #scroll-to-bottom button,
#chatbotikawebchat[client="prosehat"] .btn-change-color {
    background-color: #31a95f !important;
    background: #31a95f !important;
}

#chatbotikawebchat[client="prosehat"] #toggle-widget #toggle-widget-icon img {
    padding: 5px;
}

[client="prosehat"] #toggle-widget #toggle-widget-icon, 
#chatbotikawebchat[client="prosehat"] .card-widget .card-header .avatar,
#chatbotikawebchat[client="prosehat"] .message-in .avatar .avatar-title {
    background-color: #31a95f !important; 
    background: #31a95f !important; 
} 

/*#chatbotikawebchat[client="prosehat"] #toggle-widget #toggle-widget-icon img {
    height: auto;
    width: 100%;
    position: absolute;
    right: 0;
    border: 0;
    bottom: 0px;
}*/

#chatbotikawebchat[client="prosehat"] .card-widget .card-header small.text-muted {
    color: #fff !important;
    opacity: 0.8;
} 

/*#chatbotikawebchat[client="prosehat"] #input-message {
    padding-right: 80px;
}*/

#chatbotikawebchat[client="prosehat"] #attachment-file {
    color: #31a95f !important;
    /*position: absolute;*/
    /*right: calc(40px + 1rem);*/
}

#chatbotikawebchat[client="prosehat"] #button-send {
    background: transparent !important;
    color: #31a95f !important;
    /*position: absolute;*/
    /*right: 1rem;*/
}

#chatbotikawebchat[client="prosehat"] #widget-chat #scroll-to-bottom {
    bottom: 65px;
}

.autocomplete-items {
  position: absolute; 
  z-index: 999;
  /*position the autocomplete items to be the same width as the container:*/
  position: absolute;
  bottom: 100%;
  top: auto;
  left: 0;
  right: 0;
  max-height: 250px;
  overflow: auto;
  margin-bottom: .7rem;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

#chatbotikawebchat #widget-chat .widget-header.hidden {
    display: none;
}

#widget-chat .conversations-body .message-out .name ~ .message-content {
    border-radius: 20px 4px 20px 20px !important;
}

#widget-chat .conversations-body .message-out .message-body ~ .avatar {
    margin-top: 24px;
}

.text-truncate-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: inherit;
}

.leaflet-control-attribution {
    display: none !important;
}

.btn-group-fab div {
  position: relative; width: 100%;
  height: auto;
}
.btn-group-fab .btn.btn-sub {
  position: absolute;
}
/*.btn-group-fab .btn-main {
  z-index: 9;
}*/
.btn-group-fab .btn-sub {
  bottom: 0; 
  z-index: 8;
  -webkit-transition: all 2s;
  transition: all 0.5s;
}
.btn-group-fab.active .btn-sub:nth-child(2) {
  bottom: 60px;
}
.btn-group-fab.active .btn-sub:nth-child(3) {
  bottom: 110px;
}
.btn-group-fab.active .btn-sub:nth-child(4) {
  bottom: 160px;
}
.btn-group-fab .btn-sub:nth-child(5) {
  bottom: 210px;
}

.btn-group-fab .btn-sub {
    display: none;
}

.btn-group-fab.active .btn-sub {
    display: block;
}

.message-in .file-attachment .text-white {
    color:  inherit !important;
}

.app-info {
    margin-left: 10px;
}