@charset "UTF-8";

@font-face
    {
    font-family:'dotsfont';
    src:url('../fonts/dotsfont.eot');
    src:url('../fonts/dotsfont.eot?#iefix')  format('embedded-opentype'),
        url('../fonts/dotsfont.svg#font')    format('svg'),
        url('../fonts/dotsfont.woff')        format('woff'),
        url('../fonts/dotsfont.ttf')         format('truetype');
    font-weight:normal;
    font-style:normal;
}

html,
body {
    height: 100%;
    max-height: 100%;
    /* min-height: 100%; */
    overflow: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    touch-action: manipulation;
    /* scrollbar-color: #ccc transparent;
    scrollbar-width: thin; */
}

body {
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
    /* line-height: 30px; */
    background-color: #F4F5F6;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

ul, ol {
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 1.5em;
}

li.auto-suggestion{
	cursor:pointer;
	margin-bottom: 10px;
}
li.auto-suggestion:hover{
	background-color:#fff2cc
}

a{
	font-size: unset;
	color: #008FC7;
	text-decoration: underline;
}
a.ui-corner-all{
	text-decoration:none
}

.btn{
	border-radius: 12px;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 25px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

@-moz-document url-prefix() { /* firefox */
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  }
}

button:focus, button:active, button:visited{
    outline: none;
}

#lhc_livechat {
    height: 100%;
    overflow: hidden;
    /* height: 100%; */
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    display: -ms-flexbox;
    display: flex;
    /* height: calc(100% - 40px); */
}

.chat-wrapper {
    flex-grow: 1;
    overflow: hidden;
    margin: 20px 20px 20px 40px;
    /* padding: 0 40px; */
    border: 1px solid #ccc;
    border-radius: 20px;
    /* border-right: 1px solid #D9D9D9; */
    position: relative;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.chat-message-container {
    flex-grow: 1;
    width: 100%;
    padding: 0 16px;
    overflow-y: auto;
    overflow-y: overlay;
    -ms-overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.chat-messages {
    margin-top: 40px;
}

.chat-input-container {
    background: #FFFFFF;
    width: 100%;
    padding: 16px;
    border-radius: 12px 12px 0 0;
    display: flex;
    flex-shrink: 0;
    position: relative;
}

.chat-input-buttons {
    display: inline-block;
    /* display: none; */
    flex-shrink: 0;
    margin-right: 8px;
}

.chat-input-buttons button {
    border: none;
    background-color: transparent;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    outline: none;
}

.mobile-menu-btn {
    background: url('../img/mobile-menu.svg') 50% 50% no-repeat;
    display: none;
}

.mobile-menu-opened .mobile-menu-btn {
    background: url('../img/mobile-menu-active.svg') 50% 50% no-repeat;
}

.btn_font-size{
    background: url('../img/font-size.png') 50% 50% no-repeat;
    background-size: 28px;
}

.chat-word-size-buttons{
    display: none;
    position: absolute;
    top: -20px;
    left: 26px;
    margin: auto;
    padding: 5px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    z-index: 1;
    white-space: nowrap;
}
.chat-word-size-buttons.show{
    display: block;
}

.chat-word-size-btn {
    display: inline-block;
    line-height: 1em;
    margin: 2px;
    cursor: pointer;
    background: #edefef;
    color: #008FC7;
    text-decoration: none;
    padding: 2px 5px;
    border-radius: 5px;
}
.chat-word-size-btn:hover{
	text-decoration: none;
}
.word-size-focus{
    color: #fff !important;
    background-color: #008FC7;
}

.voice-input {
    width: 360px;
}

.dialog-content.voice-input-content {
    padding: 0;
}

.voice-input-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    height: 360px;
}

.voice-input-txt {
    position: absolute;
    text-align: center;
    top: 54px;
    left: 0;
    color: #7F7F7F;
    width: 100%;
    padding: 0 20px;
}

.voice-input-panel-btn {
    background: url('../img/mic.png') 50% 50% no-repeat;
    background-size: 28px;
}

.voice-input-panel-btn.active {
    background: url('../img/mic.png') 50% 50% no-repeat;
    background-size: 28px;
}

.waveform-base {
    border: 0;
    background-color: rgba(34, 150, 243, 0.30);
    height: 1px;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    left: 0;
}

#waveform-container {
    width: 100%;
    position: absolute;
    margin-top: 2px;
    opacity: 0.4;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.chat-input-form {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-input-form-elm {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	flex: auto;
}

.chat-input-form>input {
    vertical-align: middle;
}

.chat-input-form .txt_input {
    height: 48px;
    width: 95%;
    margin-right: 8px;
    padding: 12px 90px 12px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: white;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.chat-input-form .btn_send {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 5px;
    /* height: 48px; */
    width: 50px;
    border-radius: 0 4px 4px 0;
    outline: none;
    background-color: #008FC7;
    background: url('../img/send.png') 50% 50% no-repeat;
    background-size: 28px;
    /* margin-left: -4px; */
    /* margin-right: 8px; */
    border: none;
    color: white;
    letter-spacing: 3px;
    -webkit-appearance: none;
}

.top {
    position: relative;
    display: flex;
    height: 60px;
    min-height: 60px;
    line-height: normal;
    padding-right: 20px;
    padding-left: 40px;
    background: #fff;
    border-bottom: 1px solid #CCC;
    align-items: center;
    justify-content: space-between;
}

.top-logo{
}
.top-logo img{
	height: 30px;
	margin-bottom: 5px;
}
.top-logo span {
    margin-left: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    vertical-align: middle;
}
.top-logo span:before{
	content:'';
	display: inline-flex;
	width:1px;
	height: 20px;
	border-left: 1px solid #ddd;
	vertical-align: middle;
	margin-right: 12px;
}

.top-banner {
    position: relative;
    background-color: white;
    /* line-height: 60px; */
    font-size: 12px !important;
    color: #000;
    height: 0;
    border-bottom: 1px solid #CCC;
    padding: 0 40px;
    transition: height 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.top-banner.show {
    height: auto;
    /* min-height: 60px; */
    padding: 8px 40px;
    transition: height 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.top-banner a {
    font-size: 12px;
    color: #008FC7;
}

.top-banner img {
    margin-right: 14px;
}

/*==============================================
    MENU STYLES    
    =============================================*/

.sidebar-wrapper {
    background-color: #fff;
    overflow-y: auto;
    overflow-y: overlay;
    overflow-x: hidden;
    -ms-overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: inherit;
    margin: 0px;
    flex-shrink: 0;
}

.sidebar {
    margin: 20px;
    margin-left: 0;
    width: 330px;
    box-sizing: content-box;
    background-color: #edefef;
    border-radius: 20px;
    padding: 0 20px;
    box-sizing: border-box;
}

.sidebar .tabs {
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #ccc;
}

.sidebar .tab {
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    color: #000;
    height: 50px;
    line-height: 50px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    margin-right: 20px;
    margin-top: 10px;
}

.sidebar .tab:last-of-type {
    margin-right: 0;
}

.sidebar .tab.active {
    font-weight: bold;
    color: #000;
}

.sidebar .tab.active:after {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    bottom: -1px;
    right: 0;
    left: 0;
    background-color: #000;
}

.sidebar .tab-content-container {
    overflow: hidden;
}

.tab-content {
    display: none;
    margin-bottom: 40px;
}

.tab-content.active {
    display: block;
}

.tab-content section {
    margin-bottom: -18px;
    position: relative;
}

.tab-content section h4 {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    margin: 10px 0;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 50px;
    background: transparent;
    display: none;
}

.tab-content section h4.active{
	border:1px solid #008FC7;
	background: #fff;
	font-weight: bold;
}

.icon-block-container {
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 20px;
}

.icon-block-container a {
    outline: none;
    text-decoration: none;
}

.icon-block-container a:hover,
.icon-block-container a:focus {
    text-decoration: none;
}

.icon-block {
    width: 128px;
    height: auto;
    margin-left: 10px !important;
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    border-radius: 20px;
    text-align: center;
    background: #fff;
    cursor: pointer;
}

.icon-block img {
    position: relative;
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
    padding: 15px;
    border-radius: 50%;
    box-shadow: inset 0 0 5px 10px #fff;
}

.icon-block .display {
  font-size: 15px;
  color: #444444;
  font-weight: bold;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-block .cmd {
  display: none;
}

.text-link-container {
    padding-left: 26px;
}

.question-clickable {
    color: #008FC7;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

li.question-clickable {
	padding: 0px 15px;
    white-space: normal; /* Allow text wrapping */
}

.question-clickable:hover {
	height: auto;
	word-break: break-all;
	white-space: pre-wrap;
}

.question-clickable+a {
  display: none;
}

.slide-indicator-container {
    position: absolute;
    display: none;
    height: 20px;
    width: 100%;
    text-align: center;
    /* background-color: red; */
    margin-top: -10px;
}

.slide-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 1px;
    background-color: #c0c0c0;
}

.slide-indicator.active {
    background-color: darkslategray;
}

.voice-input-btn {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    text-align: center;
    line-height: 100px;
    z-index: 99;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

.voice-input-btn.active {
    background-color: rgba(34, 150, 243, 0.05);
}

.voice-input-btn img {
    /* height: 50px; */
    /* width: 50px; */
    pointer-events: none;
    height: 60%;
}


/*==============================================
    DASHBOARD STYLES    
    =============================================*/

.div-square {
    padding: 5px;
    border: 3px double #e1e1e1;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin: 5px;
}

.div-square>a,
.div-square>a:hover {
    color: #808080;
    text-decoration: none;
}


/*==============================================
    FOOTER STYLES     
    =============================================*/

.footer {
    background-color: #3891F9;
    width: 100%;
    color: #fff;
    padding: 20px 50px 20px 50px;
    padding-left: 20px;
}

.footer>a,
.footer>a:hover {
    color: #fff;
}

.footer-wrapper{
	display: flex;
	font-size: 13px;
	border-top: 1px solid #CCC;
	padding: 16px 40px;
	flex-wrap: wrap;
	justify-content: space-between;
}

.avatar-wrapper {
    position: absolute;
}

.robot-avatar {
    width: 72px;
    height: 72px;
}
.robot-avatar + #username{
    max-width: 68px;
    text-align: center;
    margin-left: 4px;
    margin-top: 4px;
}

.message-datetime {
    margin-left: 106px;
    float: left;
    color: #666;
    font-size: 13px;
    margin-top: 8px;
    line-height: 14px;
    clear: both;
}

.qa-feedback {
    margin-left: 106px;
    float: left;
    color: #888;
    font-size: 15px;
    margin-top: 12px;
    line-height: 16px;
    clear: both;
    width: 100%;
    overflow: hidden;
}
.saRadio{ 
  display: inline;
}

.saRadio [type=radio]{ 
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  left: 0;
}

.saRadio [type=radio] + img{
  height: 20px;
  margin-left: 4px;
  cursor: pointer;
}
@media screen and (max-width: 360px) {
  .saRadio [type=radio] + img{
    margin-left: 2px;
  }
}

@media screen and (max-width: 320px) {
  .saRadio [type=radio] + img{
    height: 21px;
  }
}

.by-user .message-datetime {
    margin-right: 20px;
    float: right;
}

.message-row .msg {
    border-radius: 12px;
    background-color: #edefef;
    color: #4C4C4C;
    font-size: 16px;
    padding: 10px 20px;
    line-height: 1.5em;
    word-break: break-word;
    word-wrap: break-word;
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
    margin-left: 86px;
    float: left;
}

.message-row .msg p:last-child {
    margin: 0;
}

.message-row .msg img {
    display: block;
    max-width: 100%;
}

.message-row.by-user {
    float: right;
}

.message-row.by-user .msg {
    background-color: #CAE6FC;
    float: right;
}

.col-lg-12 {
    padding-left: 0px;
    padding-right: 0px;
}

.top button {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 50%;
    margin-top: -18px;
    border: 0;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    /* float: right; */
}

button.btn_mail {
    right: 125px;
    background: url(../img/mail.png) 50% 50% no-repeat;
    background-size: 24px 24px;
}

button.btn_speaker {
    right: 75px;
    background: url(../img/sound-on.png) 50% 50% no-repeat;
    background-size: 24px 24px;
}

button.btn_speaker.speaker-off {
    background: url(../img/sound-off.png) 50% 50% no-repeat;
    background-size: 24px 24px;
}

button.btn_help {
    right: 95px;
    background: url(../img/help.svg) 50% 50% no-repeat;
    background-size: 24px 24px;
    display: none;
}

button.btn_info {
    right: 30px;
    background: url(../img/user.png) 50% 50% no-repeat;
    background-size: 24px 24px;
}

.tooltip-inner {
    padding: 10px;
    width: 260px;
    max-width: 350px;
    text-align: left;
    background: rgba(64, 64, 64, 0.85);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.20);
    border-radius: 6px;
    font-size: 14px;
    color: #FFFFFF;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: rgba(64, 64, 64, 0.85);
}

@keyframes inputbox-anim {
    0% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(-8px);
    }
}

@keyframes inputbox-float-anim {
    100% {
        transform: translateY(-8px);
    }
}

@keyframes grid-icon-anim {
    0% {
        transform: translateX(-8px);
    }
    50% {
        transform: translateX(-4px);
    }
    100% {
        transform: translateX(-8px);
    }
}

@keyframes grid-icon-float-anim {
    100% {
        transform: translateX(-8px);
    }
}

.tip {
    position: absolute;
    display: inline-block;
    z-index: 100;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    transform: translateZ(0);
}

.tip.animated {
    animation-duration: .3s, 1.5s;
    animation-timing-function: ease-out, ease-in-out;
    animation-delay: .3s, .3s;
    animation-iteration-count: 1, infinite;
    animation-direction: normal, alternate;
    animation-fill-mode: forwards;
}

.grid-icon-tip {
    position: fixed;
    right: 420px;
}

.grid-icon-tip:after {
    bottom: calc(50% - 6px);
    right: -12px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-left-color: #4C4C4C;
    /* border-left-color: red; */
    border-width: 6px;
}

.inputbox-tip {
    top: -35px;
    left: calc(50% - 190px);
}

.inputbox-tip:after {
    bottom: -12px;
    left: calc(50% - 6px);
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: #4C4C4C;
    border-width: 6px;
}

.overlay {
    position: absolute;
    width: 100vw;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.overlay.active {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s;
}

.tip-highlight {
    background: rgba(34, 150, 243, 0.20);
    border: 2px solid #FFF;
    position: absolute;
    z-index: 100;
}

.grid-icon-tip-highlight {
    width: 108px;
    height: 108px;
    border-radius: 4px;
}

.inputbox-tip-highlight {
    border-radius: 4px;
    width: calc(100% - 60px);
    height: 50px;
}

.tip-content {
    background-color: #4C4C4C;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    font-weight: 300;
    line-height: 1.6em;
}

.grid-icon-tip-content {
    width: 270px;
}

.inputbox-tip-content {
    width: 420px;
}

.skip-tips-btn {
    background: transparent;
    padding: 1px 20px;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    font-size: 20px;
    line-height: 36px;
    color: #FFFFFF;
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 200;
    cursor: pointer;
    pointer-events: auto;
}

.tutorial-1 {
    display: none;
    opacity: 0;
}

.tutorial-2 {
    display: none;
    opacity: 0;
}

.tutorial-1.active {
    display: inline-block;
    opacity: 1;
    transition: opacity 1s linear;
}

.tutorial-2.active {
    display: inline-block;
    opacity: 1;
    transition: opacity 1s linear;
}

.itri-tooltip {
    position: absolute;
    display: none;
    width: 114px;
    height: auto;
    background: #4C4C4C;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.20);
    border-radius: 4px;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
    top: 50%;
    margin-top: 24px;
    right: 30px;
    padding: 10px 15px;
    z-index: 1;
}

button.btn_help:hover+.itri-tooltip {
    display: inline-block;
}

.itri-tooltip:after {
    bottom: 100%;
    right: 22px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-bottom-color: #4C4C4C;
    border-width: 6px;
}

.message-row {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    clear: both;
}

.message-row a,
.survey a {
    color: #008FC7;
    font-size: inherit;
    cursor: pointer;
    text-decoration: none;
}

.message-row a:hover,
.survey a:hover {
    color: #71B1F7;
    text-decoration: none;
}

.message-row.by-robot,
.message-row.by-more {
    min-height: 120px;
}

.message-row.by-robot .msg {
    margin-right: 80px;
}

.message-row.by-robot.swiper {
    margin-right: -16px;
}

.swiper .buttons-message-container {
    /* padding-right: 84px; */
    padding-right: 316px;
}

.buttons-message-container {
    margin-left: 0px;
    display: -ms-flexbox;
    display: flex;
    overflow: visible;
}

.buttons-message-block {
    width: 232px;
    min-width: 232px;
    padding: 0px 20px 10px 20px;
    border-radius: 12px;
    background-color: #fff;
    color: #4C4C4C;
    font-size: 16px;
    display: inline-block;
    margin-right: 14px;
    border: 1px solid #ccc;
    overflow: hidden;
    flex-shrink: 0;
}

.buttons-message-block:last-of-type {
    margin-right: 0;
}

.buttons-message-block .img-wrapper {
    margin: -10px -20px;
    margin-bottom: 0;
    height: 128px;
    line-height: 128px;
    text-align: center;
    overflow: hidden;
    border: none;
}

.buttons-message-block .img-wrapper img {
    display: inline-block;
    height: 100px;
    width: auto;
}

.buttons-message-block .description {
    background-color: white;
    color: #d9534f;
    font-size: 13px;
    line-height: 1.5em;
    margin: 0 -20px;
    padding: 10px 10px;
    border: none;
    white-space: normal;
}

.buttons-message-block .description h4 {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5em;
    margin: 0;
}

.buttons-message-block ul {
    list-style: none;
    padding: 0;
    background-color: white;
    margin: 0 -20px -10px -20px;
    border: none;
}

.buttons-message-block ul li {
    border-top: none;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 12px;
    background-color: #edefef;
    margin: 8px;
    margin-top: 0;
}

.quickreplies-message-block ul {
    margin-top: 5px;
    padding-left: 0px;
}

.form-control-round {
    margin-left: 5px;
    border: 1px solid #2D9EE0;
    border-radius: 15px !important;
    color: #2D9EE0;
    display: inline-block;
    width: auto;
    padding: 6px 12px !important;
    height: auto; /* Allow height to grow */
    line-height: 1.5; /* Adjust line-height for readability */
}



.imagemap {
    max-width: 460px !important;
    width: 460px !important;
}

.swiper-scroll-container {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    /*position: relative;*/
    margin-right: 0 !important;
}

.swiper-scroll-container::-webkit-scrollbar {
    display: none;
}

.swiper-control-button {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    background-color: #008FC7;
    position: absolute;
    top: calc(50% - 18px);
    cursor: pointer;
    z-index: 10;
}

.swiper-control-button.prev {
    left: 34px;
    background-image: url('../img/arrow.svg');
    background-repeat: no-repeat;
    background-position: 44% 50%;
    background-size: 10px 16px;
}

.swiper-control-button.next {
    right: 40px;
    background-image: url('../img/arrow.svg');
    background-repeat: no-repeat;
    background-position: 44% 50%;
    background-size: 10px 16px;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.swiper-scroll-container {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -webkit-scroll-snap-type: mandatory;
    -ms-scroll-snap-type: mandatory;
    scroll-snap-type: mandatory;
    scroll-padding-left: 86px;
    float: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.buttons-container {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.buttons-container .text-container,
.buttons-container .html-container {
    background-color: #F0F0F0;
    border-radius: 12px;
    padding: 10px 20px;
}

.swiper-scroll-container .text-container,
.swiper-scroll-container .html-container {
    background: #edefef;
    border-radius: 12px;
    padding: 10px 20px;
    white-space: normal;
    width: fit-content;
}

@-moz-document url-prefix() {
    .swiper-scroll-container {
        scroll-snap-points-x: repeat(246px);
    }
}

.carousel .buttons-message-block {
    /* scroll-snap-align: start; */
    /* background-color: transparent; */
}

.dialog-wrapper {
    width: 100vw;
    height: 100%;
    overflow-y: auto;
    overflow-y: overlay;
    -ms-overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dialog {
    width: calc(100% - 64px);
    max-width: 350px;
    background: #FFF;
    border-radius: 20px;
    flex: 0 0 auto;
    margin: auto;
    overflow: hidden;
    box-shadow: 1px 5px 10px rgba(0, 0, 0, .5);
}

.dialog.sign {
    overflow-y: auto;
    max-width: 80%;
}

.dialog .signContent {
    overflow-y: auto;
    max-height: 500px;
}

.dialog-header {
    background: transparent;
    border-radius: 4px 4px 0 0;
    padding: 30px 15px 15px 15px;
    border-bottom: none;
    /* display: none; */
}

.query .dialog-header {
    background:#FFF;
    color: rgb(0, 0, 0);
}

.dialog-header h4 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.dialog-header .close-btn {
    color: #FFF;
    opacity: 1;
    margin-top: -2px;
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 1px 0 #FFF;
    display: none;
}

.query .dialog-header .close-btn {
    color: rgb(0, 0, 0);
}

#querySRQLTable_filter{
    text-align: center;
}

#querySRQLTable_filter label{
    width: 80%;
}

#querySRQLTable_filter input{
    width: 100%;
}

.dialog-content {
    padding: 16px 30px 30px 30px;
    font-size: 16px;
}

.dialog-content.center {
    text-align: center;
}

.dialog-content .title{
	font-size: 20px;
	font-weight: bold;
}

.query .dialog-content{
    padding: 10px 0px 0px 0px;
}

.query .dialog-content table{
    margin-bottom: 0px
}

.query .dialog-content th {
    text-align: center;
}

.dialog-content label {
    text-align: left;
    color: #333;
    font-weight: bold;
}

.dialog-content .help-block {
    color: #FF0000;
    text-align: left;
    font-size: 14px;
}

.priceBlock .help-block {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0px;
}

.dialog-content .info-block {
    color: rgb(0, 0, 0);
    text-align: left;
    font-size: 14px;
    font-weight: bolder;
    text-align: left;
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
}

.dialog-content .has-error .form-control {
    border-color: #FF0000;
}

.dialog-content .verify-input-area {
    width: 90%
}

.dialog-content .form-mb {
    margin-bottom: 15px
}

.dialog-content .radio {
    margin-left: 10%;
    text-align: left;
}

.dialog-content .radio-detail {
    margin-left: 15%;
    text-align: left;
    width: 80%;
}

.footer-in-content {
    padding: 0;
    /* padding-bottom: 0; */
}

.dialog-footer {
    display: flex;
    text-align: center;
    padding: 0;
    border-top: 1px solid #E5E5E5;
}

.dialog-footer .btn {
    display: inline-block;
    /* min-width: 100px; */
    border-color: transparent;
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    padding: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0;
    letter-spacing: 0;
    flex: auto;
}

.dialog-footer .ok-btn {
    background-color: #008FC7;
    width: auto;
}

.dialog-footer .cancel-btn {
    background-color: #EDEFEF;
    color: #333;
    /* margin-right: 10%; */
}

.form-group.forget {
    text-align: right;
}

.form-group.forget a {
    font-size: small;
}

.table-responsive {
    border-top: 0;
}

.popup {
    /* min-width: 500px; */
}

.popup thead tr {
    background-color: #008FC7;
    color: #FFF;
}

#popupForm .form-groups{
	margin: 0 30px 30px 30px;
}

.form-group .group{
	position: relative;
}

.form-group input:not([type="radio"]):not([type="checkbox"]){
	height: 48px;
	width: 100%;
	margin-right: 8px;
	padding: 12px 48px 12px 16px;
	font-size: 16px;
	border: none;
	border-radius: 12px;
	background-color: #edefef;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
}

.form-group input + .clear-btn{
	position: absolute;
	top: 0;
	right: 0;
	width: 48px;
	height: 48px;
	background: url('../img/clear.svg') center no-repeat;
	background-size: 20px;
	cursor: pointer;
}

.text-red {
    color: #FF0000;
}

.sales,
.account {
    width: 600px;
}

.sales-content,
.account-content {
    text-align: left;
    font-size: 14px;
}

.account-content div span {
    margin-left: 20px;
}

.account-content li span {
    margin-left: 50px;
}

.sales-content ul,
.account-content ul {
    padding: 0 20px;
    max-height: 300px;
    overflow-y: auto;
}

.sales-content li,
.account-content li {
    width: 100%;
    border: 1px solid #CCC;
    list-style: none;
    margin: 5px 0;
}

.sales-content a,
.account-content a {
    display: block;
    font-size: 14px;
    color: #333;
    padding: 5px;
    cursor: pointer;
}

.sales-content a:hover,
.sales-content a:focus,
.sales-content a:active,
.account-content a:hover, 
.account-content a:focus, 
.account-content a:active {
    display: block;
    text-decoration: none;
    background-color: #D9EDFB;
    
}

.message,
.simple-verify,
.exit {
    width: 450px;
}

.survey {
    max-width: 500px;
}

.survey hr{
    border-top: 1px solid #ccc;
}

.survey textarea{
    height: 48px;
    width: calc(100% - 75px);
    margin-right: 8px;
    padding: 11px 48px 12px 16px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    background-color: #edefef;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
}

.survey-thanks {
    color: #333;
    text-align: left;
    font-size: 16px;
    padding: 0 30px;
}

.survey-thanks img {
    width: 75px;
    height: 75px;
    margin: 0 auto;
    display: block;
}

.survey-thanks p {
    margin-bottom: 30px;
}

#questionnairs{
    padding: 0 50px 30px 50px;
}

.survey-footer {
    border: 0;
}

.scale-label-container {
    color: #7F7F7F;
    font-size: 12px;
    position: relative;
    height: 14px;
    margin-top: 14px;
}

.scale-label-container span {
    position: absolute;
    right: 0;
}

.scale-label-container span:first-child {
    right: 210px;
}

.survey-question-container {
    display: flex;
    flex-wrap: wrap;
}

.survey-question {
    width: 45%;
    color: #4C4C4C;
    font-size: 14px;
    line-height: 1.6em;
    margin-top: 20px;
}

.survey-scale {
    display: flex;
    width: 55%;
    margin-top: 20px;
    align-items: center;
}

.survey-scale .scale-label {
    font-size: 12px;
    color: #7F7F7F;
    display: none;
}

.survey-scale .radio-button-wrapper {
    position: relative;
    padding: 1px;
    display: block;
    width: 16px;
    height: 16px;
    flex-grow: 1;
    text-align: center;
}

.survey-scale input[type="radio"] {
    position: absolute;
    left: calc(50% - 8px);
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.survey-scale .radio-button {
    position: absolute;
    left: calc(50% - 8px);
    width: 16px;
    height: 16px;
    box-shadow: 0 0 0 2px #D9D9D9;
    border: 3px solid white;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}

.survey-scale input[type="radio"]:checked+.radio-button {
    box-shadow: 0 0 0 2px #1890FF;
    border: 3px solid white;
    background-color: #1890FF;
}

.survey .submit-button-wrapper {
    width: 100%;
    text-align: center;
}

.score-rating ul {
    width: 100%;
    padding: 0;
    text-align: center;
}

.score-rating li {
    width: 3.5vh;
    height: 3.5vh;
    max-width: 24px;
    max-height: 24px;
    list-style: none;
    display: inline-block;
    background: url('../img/star_on.svg') 0% 0% / contain;
    background-repeat: no-repeat !important;
    margin: 5px;
}

.score-rating li:hover {
    cursor: pointer;
}

.sticker-input-panel-btn {
    background: url('../img/sticker.svg') 50% 50% no-repeat;
    background-size: 24px 24px;
}

.sticker-input-panel-btn:hover {
    background: url('../img/sticker-hover.svg') 50% 50% no-repeat;
    background-size: 24px 24px;
}

.sticker {
    width: 700px;
}

.sticker-content div {
    position: relative;
    width: 90px;
    height: 90px;
    float: left;
    margin: 0 20px 30px 20px;
    overflow: visible;
}
    
.sticker-content img {
    width: 90px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .3s;
    cursor: pointer;
}

.sales-content li,
.sales-content a {
    min-height: 120px;
}

.sales-avatar {
    width: 100px;
    text-align: center;
    vertical-align: top;
    display: inline-block;
    margin-top: 12px;
}

.sales-avatar img {
    width: 70px;
    height: auto;
}

.sales-introduction {
    width: calc(100% - 120px);
    display: inline-block;
}

.sales-description {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sales-description:hover {
    height: auto;
    word-break: break-all;
    white-space: pre-wrap;
}

.sales-name {
    font-weight: bold;
    font-size: 16px;
    margin: 10px 0;
}

.stockData {
  display: flex;
  justify-content: space-between;
}

.stockTitle {
  font-weight: bolder;
  color: #463e3e;
}

.stockNameBlock {
  font-size: large;
  font-weight: bolder;
  text-align: center;
  color: #2626ff;
  margin: 0 -20px;
  padding: 10px 10px;
  border: 1px solid #CCCCCC;
  /*border-bottom: transparent;*/
  white-space: normal;
}

.stockNameText {
  color: #2626ff;
}

.stockMsgText {
  color: red;
  margin-bottom: 5px;
}

.stockNewsBlock {
  font-size: large;
  font-weight: bolder;
  text-align: center;
  color: #0a070a;
  background-color:#99d9ea;
  margin: 0 -20px;
  padding: 10px 10px;
  border: 1px solid #CCCCCC;
  border-radius: 12px 12px 0 0 ;
  /*border-bottom: transparent;*/
  white-space: normal;
}

.stockContent {
  flex: 1;
  text-align: right;
}

a.disabled {
  pointer-events: none !important;
  cursor: default;
  color: gray;
}

#dissatisfied-reason {
  display: none;
}

#dissatisfied-reason p {
  text-align: center;
  font-size: 16px;
}

#dissatisfied-reason ul {
  padding-left: 0;
}

#dissatisfied-reason .reason {
  border: 1px solid #2D9EE0;
  border-radius: 15px;
  color: #2D9EE0;
  cursor: pointer;
  display: inline-block;
  margin-left: 5px;
  padding: 6px 12px;
}

#dissatisfied-reason .reason.active {
  background: #2D9EE0;
  color: #FFF;
  cursor: default;
}

#dissatisfied-reason .reason:hover {
  background: #2D9EE0;
  color: #FFF;
}

#dissatisfied-reason .help-block {
  text-align: center;
}

.dissatisfied,
.satisfied {
  text-align: center;
  display: none;
}

.satisfied p {
  margin-top: 20px;
}

/*==============================================
    MEDIA QUERIES     
    =============================================*/

@media (min-width: 801px){
    .voice-input-panel {
        position: fixed;
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 800px) {
    .top {
        height: auto;
        min-height: 40px;
        line-height: 40px;
        padding: 16px;
    }
    .top .btn_speaker {
        right: 65px;
    }
    .top .btn_mail,
    .top .btn_help {
        display: none;
    }
    .top .btn_info {
        right: 20px;
    }
    .top .top-logo {
        margin-left: 0;
    }
    .top-banner.show {
        height: auto;
        min-height: auto;
        padding: 8px 10px;
    }
    .top-banner img {
        margin-right: 8px;
    }
    .main-wrapper {
        flex-direction: column;
    }
    .chat-message-container {
        padding: 0 16px;
        width: 100vw;
    }
    .chat-messages {
        margin-top: 26px;
    }
    .robot-avatar {
        width: 36px;
        height: 36px;
    }
	.robot-avatar + #username{
	    max-width: 48px;
	    text-align: center;
	    margin-left: 0;
	}
    .message-row.by-robot {
        /* margin-right: 62px; */
    }
    .message-row .msg {
        margin-left: 48px;
        padding: 5px 10px;
    }
    .message-row.by-robot .msg {
        margin-right: 62px;
    }
    .message-datetime {
        margin-left: 72px;
    }
    .qa-feedback {
        margin-left: 72px;
        width: 70vw;
    }
    .buttons-message-container {
        margin-left: 0px;
    }
	.chat-input-form {
	    display: flex;
	    flex-wrap: wrap;
	}
    .chat-input-container {
        padding: 14px 16px;
    }
	.chat-wrapper {
	    margin: 0;
		border-radius: 0;
	}
    .mobile-menu-btn {
        display: inline-block;
    }
    .mobile-menu-opened .chat-input-container {
        z-index: 99;
    }
    .chat-input-buttons {
        display: inline-block;
        margin-bottom: 8px;
    }
	.chat-word-size-buttons{
		top: -24px;
		left: 66px;
	}
    .sidebar-wrapper {
        width: 100vw;
        height: 0;
        flex-shrink: 0;
        transition: height 0.3s;
        position: relative;
    }
    .mobile-menu-opened .sidebar-wrapper {
        height: 330px;
        transition: height 0.3s;
        background-color: #fff;
    }
    .sidebar {
        margin: auto;
        margin-top: 0;
        width: 100%;
        padding: 0;
        border-radius: 0;
        background-color: #fff;
    }
    .sidebar .tabs {
        padding: 0 20px;
        display: block;
        margin: 0;
    }
    .sidebar .tab {
        height: 40px;
        line-height: 40px;
        display: inline-block;
        margin-right: 10px;
    }
    .tab-content {
        margin-bottom: 0;
    }
    .slide-container {
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        -webkit-scroll-snap-type: mandatory;
        -ms-scroll-snap-type: mandatory;
        scroll-snap-type: mandatory;
        /* older spec implementation */
        -webkit-scroll-snap-destination: 0% 100%;
        -ms-scroll-snap-destination: 0% 100%;
        scroll-snap-destination: 0% 100%;
        -webkit-scroll-snap-points-x: repeat(100%);
        -ms-scroll-snap-points-x: repeat(100%);
        scroll-snap-points-x: repeat(100%);
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0;
    }
    .sidebar section {
        display: inline-block;
        width: 100%;
        vertical-align: top;
        scroll-snap-align: start;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    .icon-block-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: row;
        grid-gap: 14px;
    }
    .icon-block {
        margin: 0;
        width: auto;
        height: 110px;
        padding: 4px;
    }
    .icon-block img {
        width: 70px;
        height: 70px;
        display: block;
        margin: 0 auto;
    }
    .slide-indicator-container {
        display: block;
    }
    .dialog {
        width: calc(100vw - 40px);
    }
    .survey-header p {
        margin-bottom: 12px;
        line-height: 1.6em;
    }
    .survey .scale-label-container {
        display: none;
    }
    .survey-question {
        width: 100%;
    }
    .survey-scale {
        width: 100%;
        margin-top: 12px;
    }
    .survey-scale .scale-label {
        display: block;
    }
    .survey input[type="submit"] {
        /* height: 42px; */
        /* margin: 30px auto 0 auto; */
        /* letter-spacing: 3px; */
    }
    .message-row.by-robot.swiper {
        margin-right: -16px;
    }
    .swiper .buttons-message-container {
        padding-right: 16px;
    }
	.footer-wrapper{
	    padding: 14px 16px;
	}
    .popup {
        min-width: calc(100vw - 64px);
    }
    .popup .table-rwd {
        min-width: 100%;
    }
    .popup thead tr {
        display: none !important;
    }
    .dataTable thead tr {
        display: table-row !important;
    }
    .popup .table-rwd tr {
        display: block;
        border: 1px solid #DDD;
        margin-top: 5px;
    }
    .popup .table-rwd td {
        text-align: left;
        overflow: hidden;
        width: 100%;
        display: block;
    }
    .popup .table-rwd .detail td:before {
        content: attr(data-th) " : ";
        display: inline-block;
        text-transform: uppercase;
        font-weight: bold;
        margin-right: 10px;
        color: #008FC7;
    }
    .popup .table-rwd.table-bordered td,
    .popup .table-rwd.table-bordered th,
    .popup .table-rwd.table-bordered {
        border: 0;
    }
}

@media (max-width: 800px), (hover: none) {
    .sales-description {
        height: auto;
        word-break: break-all;
        white-space: pre-wrap;
    }
}

@media (max-width: 400px) {
    .buttons-message-block {
        width: 55vw;
        min-width: 55vw;
    }
    .imagemap {
        max-width: 55vw !important;
        width: 55vw !important;
    }
}

#SendTxtBtn {
    position: absolute;
    background-color: #008FC7;
    color: white;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    height: 48px;
    padding: 0;
    line-height: 48px;
    text-align: center;
    -webkit-appearance: none;
    width: 80px;
    top: 0;
    bottom: 0;
    right: 8px;
}

#SendTxtBtn:hover {
    background-color: #007bb5;
}

/* Font-size scaling persistence */
body.font-small .msg,
body.font-small .question-clickable,
body.font-small .description h4,
body.font-small .text-container,
body.font-small .options,
body.font-small .chat-word-size-btn {
    font-size: 15px;
}

body.font-normal .msg,
body.font-normal .question-clickable,
body.font-normal .description h4,
body.font-normal .text-container,
body.font-normal .options,
body.font-normal .chat-word-size-btn {
    font-size: 17px;
}

body.font-large .msg,
body.font-large .question-clickable,
body.font-large .description h4,
body.font-large .text-container,
body.font-large .options,
body.font-large .chat-word-size-btn {
    font-size: 19px;
}