﻿/*  ******************************************************************************** */
/* !                               MODIfICATION LOG */
/* !     DATE      Ver      AUTHOR                     DESCRIPTION */
/* !  ----------  -----  --------------  -------------------------------------------- */
/* !  2022/12/19    1.0   Paul          R111168   自助服務功能增設商服費使用費繳費查詢功能 */
/* !  2023/07/28    1.0   Gino          R112062   自助服務功能增設往來資料變更查詢功能 */
/* !   */

html, body {
  height: 100%;
  max-height: 100%;
  /* min-height: 100%; */
  overflow: hidden;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  touch-action: manipulation;
}

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;
}

#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;
  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 40px;
  overflow-y: auto;
  overflow-y: overlay;
  -ms-overflow-y: scroll;
}

.chat-messages {
  margin-top: 40px;
}

.chat-input-container {
  background: #FFFFFF;
  width: 100%;
  padding: 0px 28px 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: 1px solid #BFBFBF;
  background-color: transparent;
  width: 38px;
  height: 38px;
  padding: 0px;
  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;
}

body:not(.mobile) .voice-input-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 360px;
  height: 360px;
  background-color: white;
  z-index: 100;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

body:not(.mobile).voice-input-opened .voice-input-panel {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s;
  padding-top: 60px;
}

.voice-input-close-btn {
  background: url('../img/close-circle.svg') no-repeat;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.voice-input-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.voice-input-txt {
  position: absolute;
  text-align: center;
  top: 54px;
  left: 0;
  color: #BFBFBF;
  font-size: 18px;
  width: 100%;
  padding: 0 20px;
}

.voice-input-error {
  color: #F57F17;
}

.voice-input-panel-btn {
  background: url('../img/voice-input.svg') 50% 50% no-repeat;
}

.voice-input-opened .voice-input-panel-btn {
  background: url('../img/voice-input-active.svg') 50% 50% no-repeat;
}

.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;
}

.chat-input-form-elm{
  position: relative;
}

.chat-input-form>input {
  vertical-align: middle;
}

.chat-input-form .txt_input {
  height: 48px;
  width: calc(100% - 72px);
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #BFBFBF;
  border-radius: 4px 0 0 4px;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  color: rgb(187, 187, 187);
  display: inline-block;
}
.chat-input-form .txt_input ::-webkit-input-placeholder { /* Chrome, Safari */
  color: rgb(187, 187, 187);
}

.chat-input-form .txt_input :-ms-input-placeholder { /* IE 10+ */
  color: rgb(187, 187, 187);
}

.chat-input-form .txt_input ::-moz-placeholder { /* Firefox 19+ */
  color: rgb(187, 187, 187);
  opacity: 1;
}


.chat-input-form .btn_send {
  font-size: 16px;
  height: 48px;
  width: 70px;
  border-radius: 0 4px 4px 0;
  outline: none;
  background-color: #2296F3;
  margin-left: -4px;
  border: none;
  color: white;
  letter-spacing: 3px;
  -webkit-appearance: none;
  display: inline-block;
}

.chat-input-form .btn_upload {
    font-size: 16px;
/*     margin-top: -5px; */
    height: 48px;
    width: 90px;
    border-radius: 4px;
    outline: none;
    background-color: #2296F3;
    border: none;
    color: white;
    letter-spacing: 1px;
    -webkit-appearance: none;
/*     display: inline-block; */
    position: absolute;
    right: 0;
}

.top {
  position: relative;
  height: 60px;
  min-height: 60px;
  line-height: 60px;
  padding-right: 20px;
  padding-left: 40px;
  background: #2296F3;
}

.top-logo img {
        width: 50px;
}

.top-logo span {
  margin-left: 12px;
  font-size: 20px;
  color: white;
  vertical-align: middle;
}

.top-banner {
  background-color: white;
  line-height: 1.5em;
  font-size: 16px;
  color: #7F7F7F;
  height: 0;
  border-bottom: 1px solid #CCC;
  padding: 5px 40px;
  transition: height 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.top-banner.show {
  height: auto;
  min-height: auto;
  transition: height 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.top-banner a {
  font-size: 16px;
  color: #2296F3;
}

.top-banner img {
  margin-right: 14px;
}

/*==============================================
  MENU STYLES
  =============================================*/
.sidebar-wrapper {
  background-color: #F5F5F5;
  overflow-y: auto;
  overflow-y: overlay;
  -ms-overflow-y: scroll;
  position: inherit;
  margin: 0px;
  flex-shrink: 0;
}

.sidebar {
  margin: 20px;
  margin-left: 19px;
  width: 400px;
  box-sizing: content-box;
  background-color: white;
  border-radius: 4px;
  padding: 0 20px 10px 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;
  color: #BFBFBF;
  height: 60px;
  line-height: 60px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  margin-right: 20px;
}

.sidebar .tab:last-of-type {
  margin-right: 0;
}

.sidebar .tab.active {
  color: #2B93FC;
}

.sidebar .tab.active:after {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  position: absolute;
  bottom: -1px;
  right: 0;
  left: 0;
  background-color: #2B93FC;
}

.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 {
  font-size: 16px;
  font-weight: 400;
  margin: 20px 0;
}

.icon-block-container {
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.icon-block-container a {
  outline: none;
}

.icon-block-container a:hover, .icon-block-container a:focus {
  text-decoration: none;
}

.icon-block {
/* //R111168 modify (begin) */		
  width: 108px;
  height: 108px;
  margin-left: 18px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #CCC;
  border-radius: 4px;
/* //R111168 modify (end) */
  
  text-align: center;
  cursor: pointer;
  line-height: 1.2em;
}

.icon-block:nth-child(3n+1) {
  margin-left: 0;
}

.icon-block img {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto;
}

.icon-block span {
  font-size: 14px;
  color: #7F7F7F;
}

.text-link-container {
  padding-left: 26px;
}

.question-clickable {
  color: #2296F3;
  font-size: 16px;
  cursor: pointer;
}

.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;
}

.avatar-wrapper {
  position: absolute;
}

.robot-avatar {
  width: 72px;
  height: 72px;
}

.message-datetime {
  margin-left: 106px;
  float: left;
  color: #BFBFBF;
  font-size: 14px;
  margin-top: 8px;
  line-height: 14px;
  clear: both;
}

.by-user .message-datetime {
  margin-right: 5px;
  float: right;
}

.message-row .msg {
  border-radius: 12px;
  background-color: #F0F0F0;
  color: #4C4C4C;
  font-size: 16px;
  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 img {
  display: block;
  max-width: 100%;
}

.message-row.by-user {
  float: right;
}

.message-row.by-user .msg {
  background-color: #CAE6FC;
  float: right;
  padding: 10px 20px;
}

.col-lg-12 {
  padding-left: 0px;
  padding-right: 0px;
}

button.btn_info {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 50%;
  right: 40px;
  margin-top: -18px;
  border: 0;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  background: url('../img/notice.svg') 0 0 no-repeat;
  background-position: 50% 50%;
  background-size: 24px 24px;
  display: none;
}

button.btn_help {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 50%;
  right: 80px;
  margin-top: -18px;
  border: 0;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  /* float: right; */
  background: url(../img/help.svg) 0 0 no-repeat;
  background-position: 50% 50%;
  background-size: 24px 24px;
}

button.btn_exit {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 50%;
  right: 40px;
  margin-top: -18px;
  border: 0;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  /* float: right; */
  background: url(../img/close.svg) 0 0 no-repeat;
  background-position: 50% 50%;
  background-size: 24px 24px;
}

button.btn_agree {
  float: right !important;
  padding: 5px 15px;
  display: none;
}

.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 {
  position: absolute;
  top: auto;
  bottom: 80px;
  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 {
  bottom: 15px;
  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;
  z-index: 99;
}

.tutorial-2.active {
  display: inline-block;
  opacity: 1;
  transition: opacity 1s linear;
  z-index: 99;
}

.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: 70px;
  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 {
  color: #2296F3;
  font-size: inherit;
  cursor: pointer;
}

.message-row a:hover {
  color: #71B1F7;
  text-decoration: none;
}

.message-row.by-robot {
  min-height: 96px;
}

.message-row.by-robot .msg {
  margin-right: 80px;
}

.message-row.by-robot.swiper {
  margin-right: -40px;
}

.swiper .buttons-message-container {
  /* padding-right: 84px; */
  padding-right: 316px;
}

.buttons-message-container {
  margin-left: 0px;
  float: left;
  display: -ms-flexbox;
  display: flex;
  overflow: visible;
}

.buttons-message-block {
  width: 232px;
  min-width: 232px;
  padding: 10px 20px;
  border-radius: 12px;
  background-color: #F0F0F0;
  color: #4C4C4C;
  font-size: 16px;
  display: inline-block;
  margin-right: 14px;
}

.buttons-message-block:last-of-type {
  margin-right: 0;
}

.buttons-message-block .img-wrapper {
  margin: -10px -20px;
  margin-bottom: 0;
  height: 128px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.buttons-message-block .img-wrapper img {
  width: 100%;
}

.buttons-message-block .description {
  background-color: white;
  color: #7F7F7F;
  font-size: 14px;
  margin: 0 -20px;
  padding: 10px 10px;
  border: 1px solid #CCCCCC;
  border-bottom: transparent;
  white-space: normal;
  text-align: center;
}

.buttons-message-block .description h4 {
  color: #4C4C4C;
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}

.buttons-message-block ul {
  list-style: none;
  padding: 0;
  background-color: white;
  margin: 0 -20px -10px -20px;
  border: 1px solid #CCCCCC;
  border-top: transparent;
  border-radius: 0 0 12px 12px;
}

.buttons-message-block ul li {
  border-top: 1px solid #CCCCCC;
/*   height: 40px; */
  height: auto;
  text-align: center;
/*   line-height: 40px; */
  line-height: 1.5em;
/*   text-overflow: ellipsis; */
  overflow: hidden;
/*   padding: 0px 10px; */
  padding: 7px;
/*   white-space: nowrap; */
}

.swiper-scroll-container {
  white-space: normal;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  position: relative;
}

.swiper-scroll-container::-webkit-scrollbar {
  display: none;
}

.swiper-control-button {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background-color: #2296F3;
  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; */
  white-space: normal;
  -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;
}

.buttons-container {
  background: none !important;
  box-shadow: none !important;
}

@-moz-document url-prefix() {
  .swiper-scroll-container {
    scroll-snap-points-x: repeat(246px);
  }
}

.swiper .buttons-message-block {
  scroll-snap-align: start;
  background-color: transparent;
}

.inline-msg {
  border-radius: 12px;
  background-color: #F0F0F0;
  color: #4C4C4C;
  line-height: 1.5em;
  word-break: break-word;
  word-wrap: break-word;
  margin-bottom: 10px;
  padding: 10px 10px;
  display: table;
  clear: both;
}

.survey-wrapper {
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.survey {
  width: 517px;
  min-height: 300px;
  flex: 0 0 auto;
  margin: auto;
  border-radius: 4px;
  background-color: white;
  padding: 30px 24px;
  box-shadow: 0 2px 8px 0 rgb(153, 153, 153);
}

.survey-header {
  font-size: 14px;
  color: #7F7F7F;
  position: relative;
  text-align: center;
}

.survey-header h4 {
  font-size: 18px;
  font-weight: 500;
  color: #2B93FC;
  margin: 0;
}

.survey-header .close-btn {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url('../img/close-circle.svg') 0 0 no-repeat;
  background-size: 18px 18px;
  background-position: 50% 50%;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

.survey-header img {
  width: 75px;
  height: 75px;
  margin: 0 auto;
  display: block;
}

.survey-header p {
  margin-bottom: 30px;
}

.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;
}

.survey input[type="submit"] {
  border: none;
  border-radius: 4px;
  background-color: #1890FF;
  color: white;
  width: 194px;
  height: 32px;
  display: block;
  margin: 50px auto 20px auto;
  font-weight: normal;
  letter-spacing: 3px;
}

.score-rating ul {
  width: 100%;
  padding: 20px 0 0 0;
  text-align: center;
}

.score-rating li {
  width: 5vh;
  height: 5vh;
  list-style: none;
  display: inline-block;
  background: url('../img/star_on.png') 0% 0%/contain;
  margin: 5px;
}

.score-rating li:hover {
  cursor: pointer;
}

.exit-wrapper {
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exit {
  width: 90%;
  max-width: 400px;
  min-height: auto;
  flex: 0 0 auto;
  margin: auto;
  border-radius: 4px;
  background-color: white;
  padding: 30px 24px;
  box-shadow: 0 2px 8px 0 rgb(153, 153, 153);
}
.exit-content {
  padding: 20px;
}
.exit-header .close-btn {
  top: -10px;
}
.exit-header {
  font-size: 14px;
  color: #7F7F7F;
  border-bottom: 1px solid #CCC;
  position: relative;
}

.exit-header h4 {
  font-size: 18px;
  margin: 0;
  text-align: center;
  font-weight: bold;
  color: #444;
  padding: 0 0 20px 0;
}

.exit-header .close-btn {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('../img/close-circle.svg') 0 0 no-repeat;
  background-size: 24px 24px;
  background-position: 50% 50%;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

.exit-header p {
  margin-bottom: 30px;
}

.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-wrapper {
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sticker {
  width: 700px;
  min-height: 300px;
  flex: 0 0 auto;
  margin: auto;
  border-radius: 4px;
  background-color: white;
  padding: 30px 24px;
  box-shadow: 0 2px 8px 0 rgb(153, 153, 153);
}

.sticker-header {
  font-size: 14px;
  color: #7F7F7F;
  position: relative;
}

.sticker-header .close-btn {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('../img/close-circle.svg') 0 0 no-repeat;
  background-size: 24px 24px;
  background-position: 50% 50%;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

.sticker-header p {
  margin-bottom: 30px;
}

.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;
}

.form-control-round {
  margin-left: 5px;
  border: 1px solid #2d9ee0;
  border-radius: 15px !important;
  color: #2d9ee0;
  display: inline-block;
  width: auto;
}

/* Modal */
.modal {
  overflow: auto;
}

.modal-container{
    min-width: 350px;
    background: #fff;
    border-radius: 4px;
    margin-top: 25vh;
    box-shadow: 1px 5px 10px rgba(0, 0, 0, .5);
}

.modal-header{
    background: #fff;
    color: #000;
    border-radius: 4px 4px 0 0;
}

.modal-header button.close{
    opacity: .5;
}

.modal-title{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.modal-body p{
    margin: 0 0 5px 0;
    line-height:1.5em;
    font-size: 15px;
}

.progress-result p {
  color: #2296f3;
}

.modal-body ::placeholder { /* CSS 3 標準 */
  color: rgb(187, 187, 187);
}

.modal-body ::-webkit-input-placeholder { /* Chrome, Safari */
  color: rgb(187, 187, 187);
}

.modal-body :-ms-input-placeholder { /* IE 10+ */
  color: rgb(187, 187, 187);
}

.modal-body ::-moz-placeholder { /* Firefox 19+ */
  color: rgb(187, 187, 187);
  opacity: 1;
}

.modal-body input, .modal-body select {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.modal-body input:last-of-type {
  margin-bottom: 0px;
}

.modal-body .kaptchaImage{
    padding:0 5px;
    vertical-align: middle;
}

.modal-body .countdown{
    color: #e53935;
    text-align: right;
    margin: 20px 0;
}

.modal-body input[type="checkbox"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    
}

.modal-body input[type='checkbox'] + label {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    color: #444;
    font-size: 15px;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.progress-result input[type='checkbox']+label {
  cursor: default;
}

.modal-body input[type='checkbox']:checked + label {
    background-color: #ffbb56;
    color: #000;
    background-image: url('../img/check.png');
    background-repeat: no-repeat;
    background-position: 10px center;
}

.modal-footer{
     text-align: center;
}

.modal-footer button{
    width: 100%;
    background-color: #E53935;
    border-color: #ccc;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}

.modal-footer button.confirm{
    background-color: #2296F3;
    color: #fff;
    margin-left: 0 !important;
}

.modal-footer button.cancel{
    background-color: #f5f5f5;
    color: #000;
    margin-left: 0 !important;
}

.refresh a{
    font-size: 14px;
    color: #00BCD4;
}

/* Tabs */

#tab-demo{
    width: 100%;
    max-height: 500px;
}
#tab-demo > ul{
    display: block;
    margin: 0;
    list-style: none;
    text-align: center;
    padding: 0;
    border-top: 1px solid #BCBCBC;
}
.tab-title{
    list-style: none;
}
#tab-demo > ul > li{
    display: inline-block;
    vertical-align: top;
    font-family: '微軟正黑體';
    margin: -1px 0px -1px 0px;
    border: 1px solid #BCBCBC;
    background: #e5e5e5;
    padding: 5px 15px;
    list-style: none;
    box-sizing: border-box;
    border-radius: 0 0 5px 5px;
    width: 25%;
}
#tab-demo >  ul > li a{
    color: #000;
    text-decoration: none;
    display: block;
    font-size: 15px;
}
#tab-demo > ul > li.active{
    background: #fff;
    border-top: 1px solid #fff;
    font-weight: bold;
}
#tab-demo > ul > li.active a{
    color: #2296F3;
}
#tab-demo > .tab-inner{
    clear: both;
    color: #000;
    padding: 0 15px 15px 15px;
    overflow-x: auto;
    overflow-y: auto;
    margin-bottom: 10px;
    height:400px;
    max-height: calc(100vh - 280px);
}

.tab-inner table{
    text-align: right;
    border: 1px solid #999;
}

.tab-inner table th{
    text-align: center;
    font-size: 15px;
    background: #97d1ff;
}
.tab-inner table tr:nth-child(2n) {
    background: #e4f3ff;
}
.tab-inner table tr:last-child {
    background: #efefef;
}

.tab-inner table td, .tab-inner table th {
    padding: 10px 5px;
}

table.receive-list {
    text-align: left;
    border: 0px solid #999;
}

table.receive-list th{
    font-size: 15px;
    background: #97d1ff;
}

table.receive-list tr{
    border-bottom:1px solid #ccc;
}
table.receive-list tr:hover {
    background-color: #e4f3ff;
    /*cursor: pointer;*/
}

table.receive-list td, table.receive-list th {
    padding: 5px;
}

/* Tabs-身份*/
.identity_box {
    width: 100%;
}
.identity_tabs{
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #2296F3;
    border-radius: 10px;
    font-size: 15px;
    margin-top: 10px;
}
.identity_tabs label{
    cursor: pointer;
    margin-left: 5px;
}
.identity_tab{
    width: calc(50% - 10px);
    display: inline-block;
}
.identity_merchant_content, .identity_guest_content{
    padding: 10px;
    font-size: 15px;
}
.identity_guest_content label, .identity_merchant_content label
{
    cursor: pointer;
    margin: 5px 0;
    margin-left: 5px;
    font-weight: normal;
}

/* Tabs-簽約*/
.contract_box {
    width: 100%;
}
.contract_tabs{
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #2296F3;
    border-radius: 10px;
    font-size: 15px;
    margin-top: 10px;
}
.contract_tabs label{
    cursor: pointer;
    margin-left: 5px;
}
.contract_tab{
    width: auto;
    margin-right: 20px;
    display: inline-block;
}
.contract_progress_content_1, .contract_progress_content_2{
    padding: 10px;
    font-size: 15px;
}

.tableStyle{
    overflow-x: hidden;
    overflow-y: auto;
    height: 40vh;
}

/* 個資 */
.personal_protection{
    color: #000;
    padding: 15px 50px;
    overflow-x: auto;
    overflow-y: auto;
    margin: 10px 0;
    height: 400px;
    max-height: calc(100vh - 280px);
}

.personal_protection ol>li>ol {
    counter-reset: item;
}
.personal_protection ol>li>ol>li{
    list-style-type: none;
    text-indent: -1.5em;
}
.personal_protection ol>li>ol>li::before{
    counter-increment: item; 
    content: "(" counter(item) ") ";
}

#receiveTable tr:not(:first-child):hover{
    cursor: pointer;
}

input[type="radio"]:hover{
    cursor: pointer;
}


/** 回答沒幫助回饋 **/

.feedback {
  margin-left: 87px;
  float: left;
  color: #777;
  font-size: 13px;
  margin-top: 8px;
  line-height: 13px;
  clear: both;
  background: rgba(255, 255, 255, .6);
  padding: 7px 20px;
  border-radius: 10px;
}

.feedback div {
  display: inline-block;
  margin: 0 7px;
  cursor: pointer;
  color: #000;
  border-radius: 50px;
  /* padding: 3px 5px;*/
}

.feedback img {
  width: 16px;
  height: 16px;
  margin-right: 2px;
  vertical-align: text-bottom;
}

.feedback .good.selected {
  color: #4cb751;
}

.feedback .bad.selected {
  color: #dc3545;
}



/*==============================================
  MEDIA QUERIES
  =============================================*/
@media (max-width: 800px) {
  .top {
    height: 40px;
    min-height: 40px;
    line-height: 40px;
    padding: 0;
  }
  .top .btn_help {
    display: none;
  }
  .top-logo img {
        width: 30px;
  }
  .top .top-logo {
    text-align: center;
  }
  .top-banner {
    padding: 0;
  }
  .top-banner.show {
    height: auto;
    min-height: 120px;
    background-color: #ffffff;
    border-bottom: 1px solid #ccc;
    padding: 5px 12px;
    margin: 0;
    line-height: 25px;
    font-size: 16px;
    color: #7F7F7F;
  }
  
  .top-logo span {
    margin-left: 6px;
    margin-right: 60px;
    font-size: 16px;
  }
  
  .main-wrapper {
    flex-direction: column;
  }
  .chat-message-container {
    padding: 0 16px;
    width: 100vw;
    -webkit-overflow-scrolling: touch;
  }
  .chat-messages {
    margin-top: 26px;
  }
  .robot-avatar {
    width: 48px;
    height: 48px;
  }
  .message-row.by-robot {
    /* margin-right: 62px; */
  }
  .message-row .msg {
/*     margin-left: 62px; */
    margin-left: 70px;
/*     padding: 5px 10px; */
  }
  .message-row.by-robot .msg {
/*     margin-right: 62px; */
    margin-right: 15px;
  }
  .feedback {
    margin-left: 62px;
    padding: 7px 10px;
  }
  .message-datetime {
    margin-left: 72px;
  }
  .buttons-message-container {
    margin-left: 0px;
  }
  .chat-input-container {
    padding: 14px 16px;
  }
  .mobile-menu-btn {
    display: inline-block;
  }
  .mobile-menu-opened .chat-input-container,
  .voice-input-opened .chat-input-container {
    z-index: 99;
  }
  .chat-input-buttons {
    display: inline-block;
  }
  .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: white;
  }
  .sidebar {
    margin: 0;
    width: 100vw;
    padding: 0;
  }
  .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 20px;
    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: 90px;
    padding: 4px;
  }
  .icon-block img {
    width: 50px;
    height: 50px;
    display: block;
    margin: 0 auto;
  }
  .slide-indicator-container {
    display: block;
  }
  .voice-input-panel {
    width: 100vw;
    height: 0;
    flex-shrink: 0;
    transition: height 0.3s;
  }
  .voice-input-opened .voice-input-panel {
    height: 330px;
    transition: height 0.3s;
    background-color: white;
  }
  .voice-input-close-btn {
    display: none;
  }
  .survey {
    width: calc(100vw - 64px);
    padding: 20px 16px;
  }
  .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;
  }
  .swiper-control-button {
    display: none;
  }
  .message-row.by-robot.swiper {
    margin-right: -16px;
  }
  .swiper .buttons-message-container {
    padding-right: 16px;
  }
  button.btn_exit {
    right: 10px;
  }
  button.btn_info {
    display: block;
  }
  button.btn_agree {
    float: none;
    padding: 5px 15px;
    display: block;
    position: absolute;
    right: 10px;
  }
  .exit {
    width: calc(100vw - 32px);
    padding: 20px 16px;
  }
  .sticker {
    width: calc(100vw - 16px);
    padding: 20px 4px;
  }
  .chat-control-stop {
    display: block;
/*     display: none !important; */
  }
  .modal-container {
    min-width: auto;
  }
}

/*==============================================
  Swiper.js customized
  =============================================*/
.swiper-slide {
/*   width: auto; */
}

.swiper-button-prev.swiper-button-disabled, .swiper-button-next.swiper-button-disabled {
  opacity: 0 !important;
}

.swiper-button-prev:after, .swiper-button-next:after {
  content: none;
}

.swiper-button {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background-color: #2296F3;
  cursor: pointer;
  z-index: 10;
  background-image: url('../img/arrow.svg');
}

.swiper-button-prev {
  background-repeat: no-repeat;
  background-position: 44% 50%;
  background-size: 10px 16px;
}

.swiper-button-next {
  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";
}

.personal_protection {
/* //R111168 modify (begin) */	
  padding: 15px;
}

/* R112062 modify (begin) */
.alteration_rcvDiv {
	display: flex;
	justify-content: center;
	align-items: center;
}

.alteration_rcvText {
	color: red ;
}

.alteration_crectangle {
/* 	width: 100%; */
/* 	border-radius: 20px; */
/* 	position: relative; */
/* 	display: flex; */
/* 	justify-content: center; */
/* 	align-items: center; */
/* 	font-weight: bold; */
/* 	font-family: Arial, sans-serif; */
/* 	font-size: 18px; */
/* 	border: 2px solid gray; */
/*   	border-radius: 10px; */
/*   	display: flex; */
/*   	margin-top: 20px; */
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    color: #444;
    font-size: 15px;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.alteration_crectangle.checked {
/* 	background-color: #ffa230; */
    background-color: #ffbb56;
    color: #000;
    background-image: url('../img/check.png');
    background-repeat: no-repeat;
    background-position: 10px center;
}

.alteration_checkmark {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.alteration_mainText {
  white-space: pre-wrap;
  font-weight: bold;
}

.alteration_subText {
	color: #2296f3;
	display: flex;
}

#toHdLink {
	color: #3B96FA;
    text-decoration: underline;
    font-size: 14px;
}
/* R112062 modify (end) */

span#expense_amt {
	font-size: 18px;
    font-weight: bold;
    text-align: center;
}

button#expense_showDetail {
    background: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #e7e7e7;
}

button#expense_getSlip {
    background: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #e7e7e7;
}

@media (min-width: 801px){
  .voice-input-panel {
    position: fixed;
/* //R111168 modify (end) */	
    opacity: 0;
  }
}