* {
    margin: 0px;
    padding: 0px;
    border: none;
    outline: none;
}

*, ::after, ::before {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    /*font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;*/
    text-align: left;
    background-color: #fff;
	}


html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;
}


[type=reset], [type=submit], button, html [type=button] {
    -webkit-appearance: button;
}
input, button, select, textarea {
    font-weight: 400;
    font-size: 15px;
}
button, select {
    text-transform: none;
}
button, input {
    overflow: visible;
}
button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
button {
    border-radius: 0;
}



/*=========================*/


#chatbot-div {
    box-shadow: rgba(33, 33, 33, 0.12) 0px 16px 24px 2px, rgba(33, 33, 33, 0.08) 0px 6px 30px 5px, rgba(33, 33, 33, 0.04) 0px 6px 10px -5px;
    border-radius: 16px !important;
    overflow: hidden;
}

#cb-chatbot, #cb-chatbot-test {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 120px;
    z-index: 9999;
    width: 400px;
    height: 640px;
    background: white;
    overflow: scroll;
    border-radius: 0.25rem;
}

#cb-chatbot.zoom-in {
    width: 740px;
    height: 720px;
}

#cb-container {
    font-size: 14px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    line-height: 1.43;
}

#zoom-btn, #close-btn {
    cursor: pointer;
}

#cb-chatbot-button {
    cursor: pointer;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    width: 48px;
    height: 48px;
    font-size: 15px;
    color: white;
    line-height: 48px;
    text-align: center;
    border-radius: 50%;
    background: #71609b;
    -webkit-animation: mahmud 2s infinite;
    animation: mahmud 2s infinite;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s;
}

#cb-chatbot-button.active .cb-sc-krNlru {
    background: url("./assets/Icon-Close.png") no-repeat;
}

.cb-sc-krNlru{
    background: url("./assets/Icon-Logo.png") no-repeat;
    background-position: center center !important;
    width: 48px !important;
    height: 48px !important;
    color: white !important;
}

#cb-container ::-webkit-scrollbar {
    width: 5px;
    height: 3px;
    border-left: 0;
    background: rgba(0, 0, 0, 0.1)
}

#cb-container ::-webkit-scrollbar-track {
    background: none
}

#cb-container ::-webkit-scrollbar-thumb {
    background: #6C6C6C;
    border-radius: 0
}

#cb-container *:focus {
    outline: none;
    inline: none
}

#cb-container * {
    box-sizing: border-box
}

#cb-flow {
    width: 100% !important;
    height:  calc(100% - 200px)!important;/*563px; 100vh;*/
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

#cb-flow > .cb-inner {
    padding-top: 100%;
    margin: 0 20px !important;
}

#cb-input {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    height: 80px /*77px*/;
}

#cb-input #cb-input-container {
    display: block;
    margin: 10px; margin-top:20px;
}

#cb-input input {
    width: 100%;
    display: block;
    background: #f0f0f0;
    box-shadow: 0 0 0 rgba(58, 58, 58, 0);
    border-radius: 40px;
    font-size: 1em;
    padding: 8px 42px 8px 16px;
    height: 40px;
    color: rgba(34, 34, 34, 0.6);
    border-style: none;
    transition: box-shadow 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), color 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), transform 375ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s, opacity 375ms cubic-bezier(0.215, 0.61, 0.355, 1) 0s
}

#cb-input input:focus {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    background: none;
}

#cb-input button {
    float: right;
    width: 30px;
    height: 30px;
    margin-top: -45px;
    margin-right: 15px;
    border-width: 2px;
    border-color: #D9D9D9;
    border-style: solid;
    border-image: none;
    background-color: #fff;
    color: #D9D9D9;
    border-radius: 100px;
    transition: background-color 0.75s cubic-bezier(0.215, 0.61, 0.355, 1);
    cursor: pointer
}

.cb-segment {
    padding:10px 0; clear: both
}

.cb-segment.cb-bot .cb-icon, .cb-segment.cb-bot .cb-bubble, .bubble-ctn-bot {
    float: left
}

.cb-segment.cb-human .cb-icon, .cb-segment.cb-human .cb-bubble-input, .cb-segment.cb-human .bubble-ctn-human {
    float: right
}

.cb-icon {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 100px
}

.cb-bubble.human {
    float: right;
	width:calc(100% - 46px);
}

.cb-bot .cb-icon, #cb-header .cb-icon {
    background: url("./assets/Icon-Robot.svg") no-repeat;
    background-position: center center;
    background-color: #71609b;
    margin-right: 10px
}

#cb-header .cb-icon {
    margin-right: 0;
}

.cb-human .cb-icon {
    background: url("./assets/Icon-Human.svg") no-repeat;
    background-position: center;
    background-color: #75FABF;
    margin-left: 10px
}

.cb-bubble {
    font-family: Helvetica, Arial, sans-serif !important;
    color: #3A3A3A !important;
    border-radius: 100px !important;
}

.cb-bubble.bot {
	width:calc(100% - 46px);
}

.cb-bubble.bot .bubble-ctn-bot {
    width:auto;
    background-color: #E6E6E6 !important;
    color: #3A3A3A !important;
    border-radius:20px !important;

    transform: translateX(0px);
    padding: 6px 12px;
}

.cb-bubble-type-select .cb-bubble.bot, .cb-bubble-type-select .cb-bubble.human {
    background-color: transparent
}

.cb-bubble > .cb-inner {
    margin: 0;
    padding: 10px 0;
}

.cb-inner {
    padding-top: 0 !important;
}

.cb-bubble p {
    margin: 0;
    opacity: 0;
    display: inline;
    font-size: 14px;
    color: black !important;
}

.cb-segment hr {
    clear: both;
    display: blocK;
    visibility: hidden;
    width: 100%;
    margin-top: 10px
}

.cb-bot .cb-bubble {
}

.cb-bubble .bubble-ctn-human {
    background-color: #fff;
    border-bottom-right-radius: 0px;
    /*text-align: right;*/
    transform: translateX(0px);
    border: 2px solid #75FABF;
    border-radius: 2em;
    padding: 6px 12px;
}

.cb-bubble .bubble-ctn-bot {
    padding: 8px 12px;
    /*max-width: 314px;*/
}

.cb-waiting {
    width: 70px;
    padding: 5px
}

@keyframes wave {
    0%, 60%, 100% {
        transform: initial
    }
    30% {
        transform: translateY(-5px);
        background: #98979C
    }
}

.cb-waiting .circle {
    display: inline-block;
    width: 11px;
    height: 11px;
    background-color: #AFAFB2;
    border-radius: 100px;
    padding: 5px;
    animation: wave 1.3s ease-in-out infinite
}

.cb-waiting .circle:nth-child(1) {
    margin-left: 8px
}

.cb-waiting .circle:nth-child(2) {
    animation-delay: -1.1s;
    margin-left: 5px
}

.cb-waiting .circle:nth-child(3) {
    animation-delay: -0.9s;
    margin-left: 5px
}

.cb-choice {
    flex: 1;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: 2px solid #75FABF;
    border-radius: 2em;
    padding: 6px 12px;
    margin-left: 10px;
    font-family: Helvetica, Arial, sans-serif;
    transition: all 0.75s cubic-bezier(0.215, 0.61, 0.355, 1)
}

.cb-choice:hover, .cb-choice.cb-active {
    background-color: #75FABF;
    color: #000;
    transform: translateY(3px)
}

.cb-choice:before {
    content: '';
    display: inline-block;
    height: 0.75em;
    width: 0.7em;
    background-color: #75FABF;
    border-radius: 100px;
    margin-right: 7px;
    transition: all 0.75s cubic-bezier(0.215, 0.61, 0.355, 1)
}

.cb-choice:hover:before, .cb-choice.cb-active:before {
    background-color: #fff
}

.cb-bubble-input {
    width: 590px;
    background-color: #fbfbfb;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px
}

.cb-bubble-input input {
    cursor: pointer;
    font-family: Helvetica, Arial, sans-serif;
    padding: 10px 10px;
    color: #3A3A3A;
    margin: 3px 0;
    border-style: none;
    border-radius: 4px;
    transition: box-shadow 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), color 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), transform 375ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s, opacity 375ms cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
    background-color: #eee;
    width: 100%
}

.cb-bubble-input input:focus {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2)
}

.cb-bubble-input input::placeholder {
    font-family: Helvetica, Arial, sans-serif;
    color: #9a9a9a
}

.disabled {
    background-color: #fff;
    color: #9a9a9a;
    border: 3px solid #D8D8D8
}

.disabled:before {
    background-color: #9a9a9a
}

.disabled:hover {
    transform: translateY(0);
    background-color: #fff;
    color: #9a9a9a
}

.disabled:hover:before {
    background-color: #9a9a9a
}

#cb-header {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    font-style: normal;
    border-top: none;
    border-right: none;
    border-left: none;
    border-image: initial;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 11px 12px;
}

.cb-tit {
    text-decoration: none !important;
}

#cb-header #cb-title {
    display: flex;
    gap: 8px;
    -webkit-box-align: center;
    align-items: center;
}

#cb-header #cb-text {
    font-size: 18px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -.2px;
    color: black;
}
#cb-header .cb-topicn {display:flex; align-items:cetner; justify-content:flex-end; margin-left:auto; }
#cb-header .cb-topicn button {width:20px; margin:0 8px; background-color: transparent !important; cursor: pointer !important;}
#cb-header .cb-topicn img {width:100%;  filter: grayscale(1);}
#cb-header button img:hover,
#cb-header button img:active,
#cb-header button img:focus {filter: none;}

.cb-top {display:flex; align-items:center; justify-content:flex-end; height:50px; padding:0 10px; background: linear-gradient(40deg, #50319e, 70%, #2863d1);}
.cb-top button {width:14px; margin:0 8px; background-color: transparent !important;}
.cb-top button img {width:100%;}

.cb-dropdown {position:relative;}
.cb-dropmenu {position: absolute; top: 100%; right:0; z-index: 1000; float: left; width:230px; margin: 2px  0 0;  font-size:13px;  color: #333;  text-align: left;   list-style: none;  background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, .15); border-radius:3px; box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,.1); overflow:hidden;}
.cb-dropmenu li {display:flex; padding:10px; border-bottom:1px solid #ededed; cursor: pointer;}
.cb-dropmenu li:hover,
.cb-dropmenu li.active {background:#f6f6f6;}
.cb-dropmenu li:last-child {border-bottom:none;}
.cb-dropmenu .cb-avatar {width:30px; height:30px; margin-right:10px; background:#9ad4a1; border-radius:50px; overflow:hidden;}
.cb-dropmenu .cb-avatar img {width:100%;}
.cb-dropmenu .cb-conts {width:calc(100% - 64px); margin-right:20px; word-break:break-all;}
.cb-dropmenu .cb-conts a.cb-tit,
.cb-dropmenu .cb-conts .cb-tit {display:block; color:#11338c; font-weight:700;}
.cb-dropmenu .cb-conts a.cb-tit:hover,
.cb-dropmenu .cb-conts .cb-tit:hover {color:#0056b3;}
.cb-dropmenu .cb-badge {display:flex; align-items:center; margin-left:auto; width:10px; }
.cb-dropmenu .cb-success {display:block; width:10px; height:10px; border:3px solid #4caf50; border-radius:50px;}
