﻿@charset "UTF-8";
body, a, p, .ui.button, .ui.modal > .header {
  font-family: Microsoft JhengHei;
  word-break: break-word;
}

body ::-webkit-scrollbar-thumb:hover {
  /*background: linear-gradient(135deg, rgba(83,192,204,1), #1F4F59); chatbox color*/
  background: linear-gradient(135deg, #BABABA, #525252);
}

body ::-webkit-scrollbar-track {
  border-radius: 0.28571429rem;
}

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

h1, h2, h3, h4, h5 {
  font-family: Microsoft JhengHei;
}

.between {
  justify-content: space-between;
}

.w-50 {
  width: 50% !important;
}

.ui.padded.table td, .ui.padded.table th {
  padding: 1rem 0.5rem;
}

.ui.selection.dropdown {
  min-width: 10em;
}

.chatRoomBtn .ui.dropdown .menu .active.item {
  background-color: #00b5ad;
  color: #FFF;
  font-weight: bold;
}

.LgFlex {
  display: flex !important;
}
.LgFlex span {
  margin-left: 10px;
  color: #8E8E8E;
  font-size: 12px;
}

.flex {
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: stretch;
  align-content: stretch;
  display: flex;
}
.flex > .item {
  flex: 1;
  margin-right: 10px;
}
.flex > .item:last-child {
  margin-right: 0px;
}

#divNews {
  max-width: 308px;
}

.messages {
  position: relative;
}
.messages > a {
  box-shadow: none !important;
  position: absolute;
  top: 20px;
  right: 10px;
  margin: 0px;
}

@media (max-width: 1600px) {
  .flex {
    flex-direction: row;
  }
  .flex.item2 {
    flex-direction: column !important;
  }
  .flex.item2 > .item {
    margin-right: 0px;
  }
  .flex.dashboard .item {
    flex-grow: 2;
  }
  .flex.dashboard .item .qty {
    padding: 1rem 0;
  }
  .flex.dashboard .item:nth-child(3) {
    flex-grow: 1;
    position: relative;
  }
}
@media (min-width: 1601px) {
  .flex {
    flex-direction: row;
  }
  .flex.dashboard .item {
    flex-grow: 2;
  }
  .flex.dashboard .item:nth-child(3) {
    flex-grow: 1;
    position: relative;
  }
  .flex.dashboard .item:nth-child(3) > a {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0px;
  }
}
table.ui p.hint {
  text-align: left;
}
table.ui ul {
  margin: 0px;
  padding-left: 0.75rem;
}

.announcement .ui.list .item a.header {
  margin-right: 80px;
}
.announcement a.ui.basic.button {
  padding: 5px 10px;
  float: right;
  position: relative;
  top: 10px;
}
.announcement .list .content {
  line-height: 1.5rem;
  position: relative;
  min-height: 30px;
}
.announcement .list .description {
  width: 75px;
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 0.5rem;
  opacity: 0.5;
  text-align: right;
}
.announcement .list .header {
  margin-right: 150px;
  font-weight: 400;
}

.showBox {
  background: linear-gradient(135deg, rgb(83, 192, 204), #1F4F59);
  color: white;
}

.showBox2 {
  background: linear-gradient(135deg, rgb(126, 159, 16) 0%, rgb(221, 217, 101) 100%);
}

.chatterBlue {
  color: #54C0CC;
}
.chatterBlue + .bgColor {
  background-color: #54C0CC;
}

.showChats h5 {
  display: inline-block;
}
.showChats .jsp-sortby {
  display: inline-block;
  padding: 0px 6px;
  text-align: center;
  font-size: 0.7rem;
  cursor: pointer;
  border-radius: 5px;
  vertical-align: middle;
  /*        border: 1px solid $color-lightGrey;
  */
  color: #bbb;
  opacity: 0.5;
}
.showChats .jsp-sortby:hover {
  opacity: 1;
}
.showChats .jsp-sortby .cog.icon {
  margin: 0px;
}
.showChats .ui.popup > .header {
  font-family: Microsoft JhengHei;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 1rem;
}
.showChats .ui.popup .buttons {
  margin-bottom: 0.5rem;
}

.empty .hint {
  text-align: center;
  color: #bbb;
  display: block;
  font-size: 1rem;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hint {
  text-align: center;
  color: #bbb;
  display: block;
  font-size: 1rem;
  font-weight: normal;
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

.gradient-primary {
  background: linear-gradient(135deg, rgb(83, 192, 204), #1F4F59);
}

hr.hide {
  visibility: hidden;
  display: block;
}
hr.hide.small {
  margin: 1rem 0;
}
hr.hide.medium {
  margin: 2rem 0;
}
hr.hide.large {
  margin: 3.5rem 0;
}

.inline {
  display: inline-block;
}

/*NAVIGATION*/
/*LAYOUT*/
body {
  background-color: #F7F8FB;
}
body#client {
  background-color: #F7F8FB;
}
body#client .mobile #headerimg {
  margin: 10px 0 0 0;
}
body #headerimg {
  text-align: center;
  max-height: 100px;
  max-width: 100%;
  overflow: hidden;
  margin: 10px 0 20px 0;
}
body #headerimg img {
  display: inline-block;
  max-height: 100px;
  max-width: 100%;
  object-fit: cover;
}

.chatbox {
  min-width: 950px;
  height: 100%;
}

.logo {
  background: url("../img/logo.svg") no-repeat center center;
  display: inline-block;
  height: 40px;
  width: 200px;
}

.paper {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 5px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.28571429rem;
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
}

.ringring {
  position: fixed;
  left: 0px;
  bottom: 60px;
  z-index: 999;
  cursor: pointer;
}
.ringring > a {
  background: #bbb;
  color: white;
  width: 270px;
  min-height: 70px;
  border-radius: 0 100px 100px 0;
  display: block;
  position: relative;
  left: -200px;
  transition-property: left;
  transition-duration: 0.5s;
  transition-delay: 0s;
}
.ringring > a span {
  width: calc(100% - 70px);
  top: calc(50% - 10px);
  position: absolute;
  text-align: center;
}
.ringring > a > div {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 50px;
  height: 50px;
  border-radius: 100px;
  background: white;
}
.ringring > a > div i {
  font-size: 26px;
  transform: rotate(0deg);
  position: absolute;
  right: 6px;
  top: 15px;
  color: #bbb;
}
.ringring > a.active {
  left: 0px;
  background: linear-gradient(135deg, rgb(83, 192, 204), #1F4F59);
}
.ringring > a.active i {
  color: #1F4F59;
}

@media only screen and (max-width: 1279px) {
  .ringring > a {
    width: 267px;
  }
}
@media only screen and (max-width: 1000px) {
  /*#waitingRing {
      display: none;
  }*/
  .ringring > a.active {
    width: 120px;
  }
}
.dash.main {
  width: calc(100% - 320px);
  float: left;
}
.dash.main.history {
  height: calc(100vh - 200px);
  width: calc(100% - 180px);
}
.dash.side {
  width: 300px;
  float: right;
}
.dash.side.history {
  width: 160px;
}
.dash.side a + a {
  margin-bottom: 0.25rem;
}

.dash.main.chatter {
  width: calc(100% - 300px);
}
.dash.side.chatter {
  width: 280px;
}

.numStyle {
  list-style: none;
  padding: 0px;
}
.numStyle > a {
  position: absolute;
  top: 20px;
  right: 20px;
}
.numStyle li {
  display: inline-block;
  float: left;
  text-align: center;
  flex-grow: 1;
}
.numStyle .qty {
  font-size: 2rem;
  font-weight: bold;
  color: #54C0CC;
  display: block;
  padding: 1rem;
}
.numStyle .qty.empty {
  color: #bbb;
}
.numStyle .lbl {
  color: #bbb;
}
.numStyle .sub-lbl {
  color: #bbb;
}

ul.numStyle.flex {
  margin: 3rem 0;
}

.qtyDisplay h1 {
  display: inline-block;
  margin: 0px;
}
.qtyDisplay ul {
  list-style: none;
  display: inline-block;
  float: right;
  margin: 0.5rem 0;
}
.qtyDisplay ul li {
  display: inline-block;
  margin-left: 1.25rem;
  padding-left: 1rem;
}
.qtyDisplay ul li:first-child {
  padding: 0px;
  margin: 0px;
}
.qtyDisplay ul li a {
  margin: 0px 0.5rem;
}

.pageHeader {
  display: block;
}
.pageHeader h1 {
  display: inline-block;
  float: left;
}
.pageHeader button {
  float: right;
}
.pageHeader > p {
  display: block;
  color: #bbb;
}

.floatFix {
  clear: both;
}

.ui.modal > .content span.center {
  display: block;
  text-align: center;
}
.ui.modal > .content > .image .buttons {
  margin: 0 auto;
  margin-top: 0.5rem;
  display: table;
}
.ui.modal > .content > .image + .description {
  width: 100%;
}
.ui.modal .actions.center {
  text-align: center;
}

.divider.max {
  margin: 3rem 0;
}

div#abgne_marquee {
  position: relative;
  overflow: hidden; /* 超出範圍的部份要隱藏 */
  width: 375px;
  height: 25px;
  border: 1px solid #ccc;
}

div#abgne_marquee ul, div#abgne_marquee li {
  margin: 0;
  padding: 0;
  list-style: none;
}

div#abgne_marquee ul {
  position: absolute;
}

div#abgne_marquee ul li a {
  display: block;
  overflow: hidden; /* 超出範圍的部份要隱藏 */
  font-size: 12px;
  height: 25px;
  line-height: 25px;
  text-decoration: none;
}

table.ui.celled thead th {
  text-align: center;
}
table.ui.celled.hoverShow tr {
  /*     &:hover {
      td.iconBtn {
          button, a {
              visibility: visible;
          }
      }
  }*/
}
table.ui.celled.hoverShow tr td.iconBtn {
  text-align: center;
  /*  button, a {
      visibility: hidden;
  }*/
}

table.aD {
  table-layout: fixed;
  word-break: break-all;
}
table.aD tr td img {
width: unset;
max-width: 100px;
max-height: 150px;
object-fit: contain;
}

table.aD tr td img:active {
    max-width: 100px;
}

table.aD tr:active img {
max-width: 100px;
}

table.aAD {  
    word-break: break-all;
}
table.aAD tr td img {
  width: unset;
  max-width: 100px;
  max-height: 150px;
  object-fit: contain;
}
table.aAD tr td img:active {
  max-width: 100px;
}
table.aAD tr:active img {
  max-width: 100px;
}

/*對話內容*/
.record {
  float: right;
  width: 200px;
  height: calc(100vh - 350px);
  padding: 0px;
  overflow: hidden;
  background-color: #F7F8FB;
  margin-left: 10px;
}
.record h4 {
  padding: 15px;
  margin: 0px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  background-color: white;
}
.record .emptystatus {
  display: block;
  text-align: center;
  color: #bbb;
  padding: 20px;
}
.record ul {
  padding: 0px;
  margin: 0;
  list-style: none;
  overflow-y: auto;
  height: 100%;
}
.record ul li {
  margin: 0px;
}
.record ul li a {
  display: block;
  padding: 10px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-family: Verdana;
  font-size: 12px;
  color: #bbb;
  background-color: white;
}
.record ul li a:hover {
  color: #54C0CC;
  transition: 0.1s ease-in-out;
  /*&::after {
      content: "查看";
      color: white;
      background-color: $color-primary;
      font-size: 9px;
      border-radius: 5px;
      padding: 2px 4px;
      margin-left: 5px;
      display: inline;
      position: relative;
      top: -2px;
  }*/
}

@media only screen and (max-width: 1439px) {
  .record {
    width: 135px;
  }
}
.clientImgSample {
  /*background-image: url(../img/image.png);*/
  background-size: contain;
  /*background-color: #BBBEC0;*/
  display: block;
  max-height: 200px;
  max-width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  margin: 1rem 0;
}

.sentencesBox {
  height: calc(100vh - 350px);
  overflow: hidden;
  position: relative;
  padding: 10px 0 10px 10px;
  /*客服端啟用樣式客製化*/
}
.sentencesBox.history.paper {
  background-color: #eee;
  width: initial;
  height: calc(100vh - 200px);
  padding: 0;
}
.sentencesBox.history.paper .container {
  height: 100%;
}
.sentencesBox .divider {
  margin: 2rem 10px 2rem 0;
}
.sentencesBox > .container {
  overflow: hidden;
  overflow-y: auto;
  height: calc(100% - 20px);
  margin-right: 5px;
}
.sentencesBox .supervisor {
  width: 350px;
  position: fixed;
  z-index: 49;
  top: 40%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.5);
  padding: 1rem 2rem;
  border-radius: 50px;
  left: 50%;
  margin-left: -290px;
}
.sentencesBox .preview {
  margin-top: 10px;
  font-weight: bold;
  font-size: 0.8rem;
  color: #bbb;
}
.sentencesBox.addCS .agent .comment .text {
  color: white !important;
}
.sentencesBox.addCS .user .text {
  background-color: #F7F8FB !important;
  color: #333 !important;
}
.sentencesBox .ui.comments {
  max-width: 100%;
  width: 100%;
  display: block;
  margin: 5px 0;
}
.sentencesBox .ui.comments img {
  max-width: 100px;
  max-height: 100px;
}
.sentencesBox .ui.comments .ui.check {
  display: inline-block;
  float: left;
  margin: 1rem 1rem 1rem 0;
}
.sentencesBox .ui.comments .ava {
  width: 40px;
  height: 40px;
  display: inline-block;
  float: left;
  margin-right: 0.5rem;
  background-color: #efefef;
  border: 0.1px solid #eee;
  font-size: 0.8rem;
}
.sentencesBox .ui.comments .sentence {
  width: calc(100% - 50px);
  float: left;
  min-height: 40px;
  margin-bottom: 1.5em;
}
.sentencesBox .ui.comments .sentence form label {
  display: inline-block;
  margin-bottom: 0.25rem;
}
.sentencesBox .ui.comments .text {
  padding: 10px;
  font-size: 15px;
  color: white;
  display: inline-block;
  border-radius: 0.28571429rem;
  margin: 0px;
  margin-right: 5px;
}
.sentencesBox .ui.comments .timecode {
  float: right;
}
.sentencesBox .ui.comments .timecode .archive {
  float: right;
  margin: 0.3rem 5px;
  color: #F7981C;
  font-size: 0.8rem;
}
.sentencesBox .ui.comments .timecode .author, .sentencesBox .ui.comments .timecode .metadata {
  font-size: 0.8rem;
  color: #bbb;
}
.sentencesBox .ui.comments.agent .comment {
  float: right;
}
.sentencesBox .ui.comments.agent .comment .text {
  background-color: #F7F8FB;
  color: #333;
  float: right;
  max-width: 75%;
  border-bottom: 2px solid #eee;
  /*content:"dddd";*/
}
.sentencesBox .ui.comments.agent .timecode {
  float: right;
  margin: 12px 5px 0 0;
}
.sentencesBox .ui.comments.user {
  /*.author {
      margin-left: 0.5em;
  }*/
}
.sentencesBox .ui.comments.user.other .text {
  background-color: #1F4F59;
  color: white;
}
.sentencesBox .ui.comments.user.agentM .text {
  background-color: white;
  color: #333;
}
.sentencesBox .ui.comments.user .text {
  background-color: #54C0CC;
  float: left;
  max-width: 85%;
  /*                border-bottom: 2px solid #eee;
  */
}
.sentencesBox .ui.comments.user .timecode {
  float: left;
  margin: 10px 0 0 0px;
}

@media screen and (max-width: 1440px) {
  .sentencesBox .supervisor {
    margin-left: -250px;
  }
}
@media screen and (max-width: 1280px) {
  .sentencesBox .supervisor {
    margin-left: -280px;
  }
}
@media screen and (max-width: 1170px) {
  .sentencesBox .supervisor {
    width: 25vw;
    margin-left: -250px;
  }
}
@media screen and (max-width: 1024px) {
  .sentencesBox .supervisor {
    width: 25vw;
    margin-left: -235px;
  }
}
@media screen and (max-width: 992px) {
  .sentencesBox .supervisor {
    width: 29vw;
    margin-left: -300px;
  }
}
@media screen and (max-width: 960px) {
  .sentencesBox .supervisor {
    width: 270px;
    left: 480px;
  }
}
.footer {
  padding: 1rem 0;
  text-align: center;
}

/*對話輸入框*/
.agentTyping {
  height: 130px;
}

.mTemp .additional .ui.list {
  padding-left: 0rem;
}
.mTemp .ui.list {
  padding-left: 1.75rem;
}
.mTemp .ui.list > .item {
  padding: 0.25rem 0;
}

textarea {
  border-color: transparent;
}
textarea:focus {
  border-color: transparent;
  outline: none !important;
}

.ui.grid .column.funcInfo {
  /* padding-top: 80px;*/
  opacity: 0.5;
  -webkit-transition: opacity 0.25s ease-in-out;
  -moz-transition: opacity 0.25s ease-in-out;
  -ms-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
}
.ui.grid .column.funcInfo.top180 {
  padding-top: 180px;
}
.ui.grid .column.funcInfo.top160 {
  padding-top: 160px;
}
.ui.grid .column.funcInfo.npt {
  padding-top: 0px;
}
.ui.grid .column.funcInfo:hover {
  opacity: 1;
}
.ui.grid .column.funcInfo > img {
  width: 100% !important;
}

#contextmenu .ui.tab img {
  width: 100%;
}
#contextmenu .ui.vertical.menu {
  border: none;
}

@media screen and (max-width: 768px) {
  #contextmenu {
    padding-right: 0;
    padding-left: 0;
  }
  .ui.secondary.pointing.menu .item {
    padding: 1em 1.9em;
  }
  .ui.secondary.pointing.menu.chatRoom .item {
    padding: 1em 2.1em;
  }
}
#imgLarge {
  width: 100%;
  height: 63vh;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.stickers {
  height: 400px;
  width: 300px;
  overflow: scroll;
}
.stickers img {
  display: block;
  width: 80px;
  height: 80px;
  margin: 5px;
  background-color: #F7F8FB;
  float: left;
}

/*=============================USER SIDE================================*/
.client > .row {
  position: relative;
  top: calc(50vh - 340px);
}

#client {
  background: center top no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  height: 100vh;
  background-size: cover;
}
#client #ratingAgentModal textarea {
  height: 50px;
  max-width: 350px;
  margin: 0 auto;
  display: block;
}
#client #ratingAgentModal .action {
  text-align: center;
}
#client #ratingAgentModal .toparea {
  text-align: center;
}
#client #ratingAgentModal .toparea span {
  margin: 0 2px;
}
#client #ratingAgentModal .toparea img {
  display: block;
  margin: 0px auto 1rem auto;
  width: 150px;
  height: 150px;
  border-radius: 75px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8);
  border-width: 2px 0px 3px 0px;
  border-top-color: white;
}
#client #ratingAgentModal .ui.star.rating {
  text-align: center;
  display: block;
  margin: 1rem 0;
}
#client #ratingAgentModal .ui.star.rating .icon {
  color: rgba(255, 255, 255, 0.5);
}
#client .chatroom {
  padding-top: 0px;
}
#client .chatroom .agent > .comment .text {
  border: 1px solid #eee;
  border-width: 0 0 2px 0;
  margin-right: 2px;
}
#client .chatroom .user > .comment .text {
  max-width: 95%;
  line-height: 28px;
}
#client .chatroom .container {
  height: 100%;
  padding: 0px;
}
#client .chatroom.paper {
  padding: 10px;
}
#client .chatroom .text {
  padding: 5px 8px;
}
#client .chatroom .timecode {
  margin: 5px 5px 0 0;
}
#client .typing {
  bottom: 30px;
}
#client .typing.mobile {
  width: calc(100vw - 30px);
  position: fixed;
  height: 60px;
  padding: 5px;
  font-size: 1.15rem;
}
#client .typing.desktop {
  width: 100%;
  height: 100px;
}
#client .typing textarea {
  width: 100%;
  height: 100%;
}
#client .toolbar {
  bottom: 0px;
  height: 40px;
}
#client .toolbar.mobile {
  width: calc(100vw - 30px);
  position: fixed;
}
#client .toolbar.desktop {
  width: 100%;
}
#client .toolbar > a:first-child {
  float: left;
}
#client .toolbar > a:last-child {
  float: right;
}

.ui.modal.js-callAgent h3 {
  display: block;
  text-align: center;
  margin: 2rem 0 3rem 0;
}
.ui.modal.js-callAgent > .actions {
  padding: 1rem 1.5rem;
}
.ui.modal.js-callAgent > .actions > .button {
  margin: 0px;
}
.ui.modal.js-callAgent > .actions .red {
  float: left;
  margin-left: 0;
}
.ui.modal.js-callAgent .warning {
  text-align: center;
}

.labelInfo {
  display: inline-block;
}

.ui.dropdown > .clear.icon:before {
  content: "\f0d7";
}

.connection {
  position: fixed;
  right: 20px;
  top: 90px;
  z-index: 51;
  font-size: 0.75rem;
  min-width: 117px;
  color: #bbb;
  font-family: Microsoft JhengHei;
}
.connection .ui.button {
  padding: 5px 10px;
}
.connection i {
  border-bottom: 1px solid #1F4F59;
  background-color: #54C0CC;
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 10px;
  margin: 0 5px;
}
.connection i.dis {
  background-color: red;
  border-bottom-color: #800;
}

.ui.horizontal.divider {
  margin: 1rem auto;
  white-space: normal;
}
.ui.horizontal.divider:before {
  top: 20%;
  width: 20%;
}
.ui.horizontal.divider:after {
  top: 20%;
  width: 20%;
}

.CRL-con {
  max-height: 70vh;
  overflow: hidden auto;
  padding: 0 0px 10px 0px;
}

.setAIAvatar a {
  float: left;
}

.AIAvatarShow {
  width: 36px !important;
  height: 36px !important;
  display: inline-block;
  float: left;
  border-radius: 0.28571429rem;
}

.imgAiMsgContent {
  width: 100%;
  height: 60px;
  object-fit: contain;
}

.preview .content {
  height: 76vh;
  overflow-y: scroll;
}
.preview .content img {
  width: 100%;
  max-height: 70vh;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  object-fit: contain;
}
.preview .actions .ui.inverted.basic.button {
  margin: 0px;
  width: 40%;
}

.quote {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.4);
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
  color: rgba(0, 0, 0, 0.4);
}

#rightMenu {
  padding: 0.5rem 0.75rem;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  position: absolute;
  left: 10px;
  top: 20px;
}
#rightMenu:before {
  position: absolute;
  content: "";
  width: 0.8em;
  height: 0.8em;
  background: #fff;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  z-index: 2;
  -webkit-box-shadow: 1px 1px 0 0 #bbb;
  box-shadow: 1px 1px 0 0 #bbb;
  left: -0.4em;
  top: 1em;
}
#rightMenu a {
  display: inline-block;
  padding-bottom: 0.15rem;
  border-radius: 0.28571429rem;
}

.eye.slash {
  position: relative;
  top: 10px;
  left: 5px;
  color: #F7981C;
}

.ui.divider {
  color: #bbb;
}

a.define {
  cursor: pointer;
  color: #bbb;
  display: block;
  background-color: white;
  border-radius: 3px;
  padding: 0.25em 1.5em 0.25em 0.25em;
  margin-top: 0.25em;
  position: relative;
}
a.define:hover {
  color: #333;
  background-color: #FFFBDD;
}
a.define:hover .icon {
  color: #F7981C;
}
a.define .icon {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 8px;
  right: 0px;
}

.callAgent {
  display: block;
  margin-top: 0.5rem;
  max-height: initial;
  max-width: initial;
}

.chobot {
  position: fixed;
  bottom: -2px;
  right: 80px;
  height: 50px;
  width: 50px;
  z-index: 999;
  transition-duration: 0.25s;
}
.chobot:hover {
  bottom: 0px;
}
.chobot .robot {
  background-repeat: no-repeat;
  width: 80px;
  background-size: contain;
  height: 80px;
}
.chobot .robot.enable {
  background-image: url("../img/img_chobot-enable.png");
  bottom: 9px;
  position: relative;
}
.chobot .robot.disable {
  background-image: url("../img/img_chobot-disable.png");
}
.chobot .robot a {
  position: absolute;
  right: 55px;
  width: 130px;
  text-align: center;
  bottom: 10px;
}
.chobot .robot a span {
  border-radius: 0.28571429rem;
  padding: 0.5em;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(0, 0, 0, 0.1);
  color: #bbb;
}
.chobot .robot a span::after {
  width: 10px;
  height: 10px;
  background-color: white;
  content: "";
  position: absolute;
  transform: rotate(45deg);
  border-width: 2px 2px 0 0px;
  border-color: rgba(0, 0, 0, 0.1);
  border-style: solid;
  top: 14px;
  margin-left: 3px;
}
.chobot .robot a:hover span {
  color: #54C0CC;
}
.chobot .suggestions.paper {
  background-color: #54C0CC;
  position: fixed;
  bottom: 90px;
  right: 23px;
  max-width: 300px;
}
.chobot .suggestions.paper.left {
  left: 23px !important;
  bottom: 230px !important;
}
.chobot .suggestions a.close {
  position: absolute;
  top: 10px;
  right: 5px;
  opacity: 0.6;
}
.chobot .suggestions a.close i {
  color: white;
}
.chobot .suggestions a.close:hover {
  opacity: 1;
  background-color: transparent;
}
.chobot .suggestions::after {
  width: 10px;
  height: 10px;
  background-color: #54C0CC;
  content: "";
  position: absolute;
  transform: rotate(135deg);
  border-width: 1px 1px 0 0px;
  border-color: rgba(0, 0, 0, 0.15);
  border-style: solid;
  bottom: -5px;
  right: 28px;
  box-shadow: rgba(0, 0, 0, 0.1) 2px -2px;
}
.chobot .suggestions.paper.left::after {
  left: 28px !important;
}
.chobot .suggestions p {
  color: white;
}
.chobot .suggestions p.note {
  text-align: right;
  opacity: 0.6;
  font-size: 0.8em;
}
.chobot .suggestions p.small {
  opacity: 0.6;
  margin: 0;
}
.chobot .suggestions a {
  display: block;
  padding: 0.5em;
  margin-bottom: 1em;
  color: #333;
}
.chobot .suggestions a:hover {
  background-color: #FFFCEE;
}
.chobot .suggestions a:last-child {
  margin-bottom: 0px;
}
.chobot .suggestions a.note {
  font-weight: bold;
  opacity: 1;
  font-size: 1rem;
  color: #FFF;
  cursor: pointer;
  text-decoration-line: underline;
}
.chobot .suggestions a.note:hover {
  background-color: unset;
  opacity: 0.8;
}

.note-toolbar {
  border-color: transparent;
}

.note-editor.note-frame {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 5px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.28571429rem;
}

/*@media screen and (max-width: 768px) {
    #client .toolbar.desktop {
        width: 100%;
        position: fixed;
        z-index: 1;
        background-color: red;
        left: 0;
        bottom: 0px;
    }
}*/
#languageSys {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 999;
  border-radius: 0.28571rem;
  font-size: 12px;
}
#languageSys .icon {
  margin: 0px;
}
#languageSys .dropdown .icon, #languageSys .dropdown .text {
  opacity: 0.3;
}
#languageSys .dropdown:hover .icon, #languageSys .dropdown:hover .text {
  opacity: 1;
}
#languageSys.mainSite {
  position: relative;
  margin-left: 20px;
  font-size: 12px;
  top: 4px;
  border: 1px solid #ddd;
  padding: 5px 8px;
  height: 24px;
  opacity: 1;
}
#languageSys.mainSite:hover {
  opacity: 1;
}

@media only screen and (max-width: 767px) {
  .ui.modal > .header {
    padding: 2rem 0 0 0;
  }
  /*image preview*/
  #modelimgpreview {
    height: 100vh;
    width: 100vw;
    margin: 0px;
    padding: 0px;
  }
  #modelimgpreview .header {
    text-align: center;
  }
  #modelimgpreview .content {
    height: calc(100vh - 180px);
    text-align: center;
  }
  #modelimgpreview #imgpreview {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  #modelimgpreview .actions {
    position: relative;
    width: 100%;
    margin: 0px;
    padding: 1rem !important;
    border: none;
  }
  #client {
    background-size: cover;
    object-fit: cover;
  }
}
/* Progress Bar */
.progress {
  background-color: transparent;
  height: 1.5625em;
  border: 1px solid #cccccc;
  padding: 0.125em;
  margin-bottom: 0.625em;
}

.progress .meter {
  background: #2ba6cb;
  height: 100%;
  display: block;
}

.progress.secondary .meter {
  background: #36aab7;
  height: 100%;
  display: block;
}

.progress.success .meter {
  background: #54C0CC;
  height: 100%;
  display: block;
}

.progress.alert .meter {
  background: #c60f13;
  height: 100%;
  display: block;
}

.progress.radius {
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.progress.radius .meter {
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

.progress.round {
  -webkit-border-radius: 1000px;
  border-radius: 1000px;
}

.progress.round .meter {
  -webkit-border-radius: 999px;
  border-radius: 999px;
}

/*==REOCRD==*/
#divRecord {
  width: 100%;
  height: 80px;
  top: 5px;
  position: relative;
}

#client .chatroom #divRecContent.typing.mobile {
  position: fixed;
  height: 100px;
  bottom: -8px;
  z-index: 9;
  text-align: center;
}
#client .chatroom #divRecContent.typing.mobile > p {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 10px;
  color: #bbb;
  z-index: 99;
}
#client .chatroom #divRecContent.typing.mobile > a {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 99;
}

.ui.modal .icon.header {
  padding: 0px !important;
  margin-bottom: 2rem;
}
.ui.modal .actions .button {
  margin: 0px 5px;
}
.ui.modal .actions .button div {
  display: inherit;
}

.jPicker .Icon {
  height: 38.5px !important;
  width: 40px !important;
}
.jPicker .Icon span.Image {
  background-size: contain !important;
}

/*----情境背景----*/
.ui.mini.rounded.image {
  width: 35px;
  height: 35px;
  background-size: cover;
  background-position: center;
  margin-top: 0;
}

.container.my-30 {
  margin: 30px auto !important;
  width: 95%;
}

.label.ui.labelsty {
  position: relative;
  width: 35px;
  height: 35px;
  text-align: center;
  font-weight: bold;
  font-size: 14px !important;
  margin: 0;
  padding: 0;
  line-height: 35px;
}

.label.ui.unread.Alist {
  position: relative;
  width: 35px;
  height: 35px;
  text-align: center;
  font-weight: bold;
  font-size: 14px !important;
  margin: 0;
  padding: 0;
  line-height: 35px;
  margin-left: 0.5rem;
}

.ui.header > .ui.label, .ui.header > .ui.label {
  margin-top: 0;
}

.ui.header:first-child {
  margin-top: 0;
}

.ui.header.image {
  align-items: center;
}
.ui.header.image .content {
  vertical-align: middle;
}

img#ImgTab {
  vertical-align: middle;
  /* border: 1px solid #e0e1e2;*/
}

.ui.table.aD {
  width: -webkit-fill-available;
}

.ui.celled.table tr td:first-child.borderL, .ui.celled.table tr th:first-child.borderL {
  border-left: 1px solid rgba(34, 36, 38, 0.1) !important;
}

input[type=email],
input[type=date],
input[type=password],
input[type=search],
input[type=text] {
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
  margin: 0;
  outline: 0;
  -webkit-appearance: none;
  line-height: 1.21428571em;
  padding: 0.67857143em 1em;
  font-size: 1em;
  background: #FFF;
  border: 1px solid rgba(34, 36, 38, 0.15);
  color: rgba(0, 0, 0, 0.87);
  border-radius: 0.28571429rem;
  box-shadow: 0 0 0 0 transparent inset;
  -webkit-box-shadow: 0 0 0 0 transparent inset;
  -webkit-transition: color 0.1s ease, border-color 0.1s ease;
  transition: color 0.1s ease, border-color 0.1s ease;
}

/*input[type=date] {
    width: 220px;
}*/
.mt-5px {
  margin-top: 5px !important;
}

.m-5px {
  margin: 5px !important;
}

.mr-5px {
  margin-right: 5px !important;
}

.mr-25px {
  margin-right: 25px !important;
}

.left {
  text-align: left !important;
}

.text p {
  line-height: normal;
}

table.widthfixed {
  table-layout: fixed;
}
table.widthfixed th {
  white-space: normal !important;
}

/*table.widthfixed#tbIndex {
    tr :nth-child(1) {
        width: 20%;
    }
}*/
.ui.sortable.table thead th {
  white-space: normal !important;
}

.ui.relaxed.divided.list .item .content {
  display: flex;
  align-items: center;
  margin: 0.3rem 0;
}

.ui.toggle.checkbox input.w-auto {
  width: auto !important;
}

.ui.secondary.pointing.menu .item {
  margin: 0;
  padding: 1em 1.8em;
}

.ui.secondary.pointing.menu .item.col-6 {
  padding: 0.7em;
}

.ui.form input[type=checkbox] {
  vertical-align: middle;
}

.readalready {
  width: 10px;
  height: 10px;
  position: relative;
  top: 16px;
  left: -10px;
  float: right;
}

.chatRoomBtn {
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
}
.chatRoomBtn .btnleft {
  width: calc(100% - 86px);
}
.chatRoomBtn .btnright {
  width: 86px;
  text-align: right;
}

.small {
  font-size: 12px !important;
}

.text-center {
  text-align: center !important;
}

.hrStyle.my-4 {
  border-top: 1px solid rgba(34, 36, 38, 0.15);
  width: 97%;
  height: 1px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/*p:last-child {
    padding-left: .5em;
}*/
/*-聊天室BTN樣式----*/
.ui.labeled.icon.button, .ui.labeled.icon.buttons .button {
  padding-left: 3.5em !important;
  padding-right: 1em !important;
}

i.iconsty {
  font-family: "Font Awesome 5 Free" !important;
}

/*-/聊天室BTN樣式----*/
/*-BS  BTN STYLE------------------------------------------------------------------------------------------------------*/
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.btn i.istyle {
  font-size: 24px;
}

#divInputContainer .btn {
  padding: 12px 18px 9px;
  font-weight: bold;
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.btn.focus, .btn:focus, .btn:hover {
  color: #333;
  text-decoration: none;
}

.btn.active, .btn:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 0.65;
}

a.btn.disabled, fieldset[disabled] a.btn {
  pointer-events: none;
}

.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.btn-default.focus, .btn-default:focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c;
}

.btn-default:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover, .open > .dropdown-toggle.btn-default.focus, .open > .dropdown-toggle.btn-default:focus, .open > .dropdown-toggle.btn-default:hover {
  color: #333;
  background-color: #d4d4d4;
  border-color: #8c8c8c;
}

.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default {
  background-image: none;
}

.btn-default.disabled.focus, .btn-default.disabled:focus, .btn-default.disabled:hover, .btn-default[disabled].focus, .btn-default[disabled]:focus, .btn-default[disabled]:hover, fieldset[disabled] .btn-default.focus, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:hover {
  background-color: #fff;
  border-color: #ccc;
}

.btn-default .badge {
  color: #fff;
  background-color: #333;
}

.btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
}

.btn-primary.focus, .btn-primary:focus {
  color: #fff;
  background-color: #286090;
  border-color: #122b40;
}

.btn-primary:hover {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}

.btn-primary.active, .btn-primary:active, .open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}

.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open > .dropdown-toggle.btn-primary.focus, .open > .dropdown-toggle.btn-primary:focus, .open > .dropdown-toggle.btn-primary:hover {
  color: #fff;
  background-color: #204d74;
  border-color: #122b40;
}

.btn-primary.active, .btn-primary:active, .open > .dropdown-toggle.btn-primary {
  background-image: none;
}

.btn-primary.disabled.focus, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled].focus, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
  background-color: #337ab7;
  border-color: #2e6da4;
}

.btn-primary .badge {
  color: #337ab7;
  background-color: #fff;
}

.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}

.btn-success.focus, .btn-success:focus {
  color: #fff;
  background-color: #449d44;
  border-color: #255625;
}

.btn-success:hover {
  color: #fff;
  background-color: #449d44;
  border-color: #398439;
}

.btn-success.active, .btn-success:active, .open > .dropdown-toggle.btn-success {
  color: #fff;
  background-color: #449d44;
  border-color: #398439;
}

.btn-success.active.focus, .btn-success.active:focus, .btn-success.active:hover, .btn-success:active.focus, .btn-success:active:focus, .btn-success:active:hover, .open > .dropdown-toggle.btn-success.focus, .open > .dropdown-toggle.btn-success:focus, .open > .dropdown-toggle.btn-success:hover {
  color: #fff;
  background-color: #398439;
  border-color: #255625;
}

.btn-success.active, .btn-success:active, .open > .dropdown-toggle.btn-success {
  background-image: none;
}

.btn-success.disabled.focus, .btn-success.disabled:focus, .btn-success.disabled:hover, .btn-success[disabled].focus, .btn-success[disabled]:focus, .btn-success[disabled]:hover, fieldset[disabled] .btn-success.focus, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:hover {
  background-color: #5cb85c;
  border-color: #4cae4c;
}

.btn-success .badge {
  color: #5cb85c;
  background-color: #fff;
}

.btn-info {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}

.btn-info.focus, .btn-info:focus {
  color: #fff;
  background-color: #31b0d5;
  border-color: #1b6d85;
}

.btn-info:hover {
  color: #fff;
  background-color: #31b0d5;
  border-color: #269abc;
}

.btn-info.active, .btn-info:active, .open > .dropdown-toggle.btn-info {
  color: #fff;
  background-color: #31b0d5;
  border-color: #269abc;
}

.btn-info.active.focus, .btn-info.active:focus, .btn-info.active:hover, .btn-info:active.focus, .btn-info:active:focus, .btn-info:active:hover, .open > .dropdown-toggle.btn-info.focus, .open > .dropdown-toggle.btn-info:focus, .open > .dropdown-toggle.btn-info:hover {
  color: #fff;
  background-color: #269abc;
  border-color: #1b6d85;
}

.btn-info.active, .btn-info:active, .open > .dropdown-toggle.btn-info {
  background-image: none;
}

.btn-info.disabled.focus, .btn-info.disabled:focus, .btn-info.disabled:hover, .btn-info[disabled].focus, .btn-info[disabled]:focus, .btn-info[disabled]:hover, fieldset[disabled] .btn-info.focus, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:hover {
  background-color: #5bc0de;
  border-color: #46b8da;
}

.btn-info .badge {
  color: #5bc0de;
  background-color: #fff;
}

.btn-warning {
  color: #fff;
  background-color: #f0ad4e;
  border-color: #eea236;
}

.btn-warning.focus, .btn-warning:focus {
  color: #fff;
  background-color: #ec971f;
  border-color: #985f0d;
}

.btn-warning:hover {
  color: #fff;
  background-color: #ec971f;
  border-color: #d58512;
}

.btn-warning.active, .btn-warning:active, .open > .dropdown-toggle.btn-warning {
  color: #fff;
  background-color: #ec971f;
  border-color: #d58512;
}

.btn-warning.active.focus, .btn-warning.active:focus, .btn-warning.active:hover, .btn-warning:active.focus, .btn-warning:active:focus, .btn-warning:active:hover, .open > .dropdown-toggle.btn-warning.focus, .open > .dropdown-toggle.btn-warning:focus, .open > .dropdown-toggle.btn-warning:hover {
  color: #fff;
  background-color: #d58512;
  border-color: #985f0d;
}

.btn-warning.active, .btn-warning:active, .open > .dropdown-toggle.btn-warning {
  background-image: none;
}

.btn-warning.disabled.focus, .btn-warning.disabled:focus, .btn-warning.disabled:hover, .btn-warning[disabled].focus, .btn-warning[disabled]:focus, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning.focus, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:hover {
  background-color: #f0ad4e;
  border-color: #eea236;
}

.btn-warning .badge {
  color: #f0ad4e;
  background-color: #fff;
}

.btn-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}

.btn-danger.focus, .btn-danger:focus {
  color: #fff;
  background-color: #c9302c;
  border-color: #761c19;
}

.btn-danger:hover {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925;
}

.btn-danger.active, .btn-danger:active, .open > .dropdown-toggle.btn-danger {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925;
}

.btn-danger.active.focus, .btn-danger.active:focus, .btn-danger.active:hover, .btn-danger:active.focus, .btn-danger:active:focus, .btn-danger:active:hover, .open > .dropdown-toggle.btn-danger.focus, .open > .dropdown-toggle.btn-danger:focus, .open > .dropdown-toggle.btn-danger:hover {
  color: #fff;
  background-color: #ac2925;
  border-color: #761c19;
}

.btn-danger.active, .btn-danger:active, .open > .dropdown-toggle.btn-danger {
  background-image: none;
}

.btn-danger.disabled.focus, .btn-danger.disabled:focus, .btn-danger.disabled:hover, .btn-danger[disabled].focus, .btn-danger[disabled]:focus, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger.focus, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:hover {
  background-color: #d9534f;
  border-color: #d43f3a;
}

.btn-danger .badge {
  color: #d9534f;
  background-color: #fff;
}

.btn-link {
  font-weight: 400;
  color: #337ab7;
  border-radius: 0;
}

.btn-link, .btn-link.active, .btn-link:active, .btn-link[disabled], fieldset[disabled] .btn-link {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn-link, .btn-link:active, .btn-link:focus, .btn-link:hover {
  border-color: transparent;
}

.btn-link:focus, .btn-link:hover {
  color: #23527c;
  text-decoration: underline;
  background-color: transparent;
}

.btn-link[disabled]:focus, .btn-link[disabled]:hover, fieldset[disabled] .btn-link:focus, fieldset[disabled] .btn-link:hover {
  color: #777;
  text-decoration: none;
}

.btn-group-lg > .btn, .btn-lg {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}

.btn-group-sm > .btn, .btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.btn-group-xs > .btn, .btn-xs {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-block + .btn-block {
  margin-top: 5px;
}

input[type=button].btn-block, input[type=reset].btn-block, input[type=submit].btn-block {
  width: 100%;
}

.ui.yellow.button, .ui.yellow.buttons .button {
  background-color: #f0ad4e;
  border-color: #eea236;
}
.ui.yellow.button:hover, .ui.yellow.buttons .button:hover {
  background-color: #ec971f;
  border-color: #d58512;
}

.text-aliceblue {
  color: #e7eaed;
}

.ui.positive.button.gray {
  background-color: #E0E1E2 !important;
  color: #000;
}

.explain {
  border: 1px solid #e5e5e5;
  transition: transform 0.2s;
  width: 100%;
  height: auto;
  object-fit: contain;
  background-size: contain;
  display: block;
  border-radius: 0.28571429rem;
}

.explain:hover {
  -ms-transform: scale(2) translate(-70px, 50px); /* IE 9 */
  -webkit-transform: scale(2) translate(-70px, 50px);
  transform: scale(2) translate(-70px, 50px);
  z-index: 99;
}

.text-white {
  color: #FFF !important;
}

.c-point {
  cursor: pointer;
}

.explainImg {
  width: 300px;
  display: block;
}

.messageH {
  height: calc(100vh - 430px);
  overflow-y: auto;
}

.faqH {
  max-height: calc(100vh - 284px);
  overflow-y: auto;
}

.contentH {
  max-height: 250px;
  overflow-y: auto;
}

/*統計*/
.chart-container {
  position: relative;
  margin: auto;
  width: 100%;
}

/*教學跳窗寬度設置*/
@media (min-width: 1380px) {
  .ui.modal.ex {
    position: relative;
    width: 1280px;
  }
}
/*有教學的i滑上樣式*/
i.ex {
  cursor: pointer;
}

/*手機板圖片修正*/
#imgLarge.crM {
  left: unset;
  transform: none;
}

.preview .content.crM {
  overflow-y: hidden;
  overflow: hidden;
}

/*Hr樣式*/
.hr {
  border-top: 1px solid #dcdcdc;
  background-color: #dcdcdc;
  width: 100%;
  height: 1px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 1.5rem auto;
}

/*------------------
      表格樣式
-------------------*/
/*一般表格樣式*/
.tableStyle {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
  border-radius: 0.28571429rem;
}
.tableStyle td {
  border-color: #dcdcdc;
  border-style: solid;
  border-width: 1px;
  font-size: 1em;
  padding: 10px;
  word-break: normal;
  color: #000;
  word-wrap: break-word;
}
.tableStyle th {
  border-color: #dcdcdc;
  border-style: solid;
  border-width: 1px;
  font-weight: 400;
  font-size: 1.1em;
  padding: 10px;
  color: #000;
  word-break: break-word;
  font-weight: 700 !important;
}
.tableStyle.gy th {
  background-color: #f7f7f7;
}

/*Fixed Header表格樣式*/
.table-container {
  height: 500px;
  border: 1px solid #dcdcdc;
  padding: 0.3em;
  border-radius: 0.28571429rem;
}
.table-container.limitHight-200 {
  max-height: 200px;
}
.table-container table {
  border-collapse: collapse;
  display: flex;
  flex-flow: column;
  height: 100%;
  width: 100%;
  border-radius: 0.28571429rem;
}
.table-container table thead {
  flex: 0 0 auto;
  width: calc(100% - 15px);
}
.table-container table th {
  font-weight: bold;
  border-bottom: 1px solid #dcdcdc;
}
.table-container table td {
  font-size: 1em;
  padding: 0.3em;
  border-left: 1px solid #dcdcdc;
  border-top: 1px solid #dcdcdc;
}
.table-container table td:nth-child(1) {
  width: 100px;
  border-left: none;
}
.table-container table td:nth-last-child(1) {
  width: 110px;
}
.table-container table tbody {
  flex: 1 1 auto;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
  padding-top: 5px;
  /*  &::-webkit-scrollbar {
      width: 5px;
  }*/
}
.table-container table tbody tr {
  width: 100%;
}
.table-container table tbody tr:nth-child(1) td {
  border-top: none;
}
.table-container table thead,
.table-container table tbody tr {
  display: table;
  table-layout: fixed;
}

.condensed th {
  text-align: center;
}
.condensed th, .condensed td {
  padding: 5px;
}
.condensed tr td:nth-last-child(1) {
  text-align: center;
}
.condensed tr td:nth-last-child(1) a {
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.offlineTable {
  max-height: 200px;
  overflow: hidden;
  overflow-y: auto;
}

.d-flex i.fas {
  margin: 0;
  line-height: 29px;
}
.d-flex h3.lineH {
  margin: 0;
  line-height: 29px;
}

.text-gray {
  color: #bbb;
}

.missform {
  width: 100%;
}

.chartjs-render-monitor {
  width: 100% !important;
  height: auto !important;
}

.signAPI {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
  margin-right: 5px;
}

.addicon {
  padding: 6px 10px !important;
  height: 38px;
}

.text-right {
  text-align: right !important;
}

.bold {
  font-weight: bold !important;
}

.text-yellow {
  color: #fbbd08;
}

/*-多行文字省略-*/
.post-title {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.post-title img {
  width: unset !important;
  max-width: 30vw;
  max-height: 100px;
  object-fit: contain;
}

.MsgImg {
  max-height: 200px;
  margin: 10px;
  object-fit: contain;
  vertical-align: middle;
}

.ui.form .inf textarea {
  min-height: 7em;
  max-height: 7em;
}

#workrecord .content.left {
  height: 150px;
  max-height: 150px;
  overflow-y: auto;
}
#workrecord .content.left .noinformation {
  width: 100%;
  height: 150px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
}
#workrecord .content.left .noinformation h1 {
  cursor: default;
  text-align: center;
  line-height: 149px;
  color: #bebbbb;
}
#workrecord .content.right {
  /*max-height: 522px;
  min-height: 522px;
  overflow-y: auto;*/
}
#workrecord .content.right .noinformation {
  width: 100%;
  height: 496px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
}
#workrecord .content.right .noinformation h1 {
  cursor: default;
  text-align: center;
  line-height: 496px;
  color: #bebbbb;
}

.iconSTY {
  width: 20px;
  color: #afafaf;
  text-align: center;
}

a.workRecord {
  color: #54c0cc !important;
  background-color: #f7f8fb !important;
}

.signal {
  width: 15px;
  height: 15px;
  margin-right: 0.5rem;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  background-image: url(../img/normalsignal.svg);
}
.signal.middle {
  background-image: url(../img/middlesignal.svg);
}
.signal.low {
  background-image: url(../img/lowsignal.svg);
}
.signal.nosignal {
  background-image: url(../img/nosignal.svg);
}

.textfloat-E {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.text-danger {
  color: #dc3545 !important;
}

.text-grey {
  color: #a5a6a6 !important;
}

.no-Img {
  font-weight: bold;
  font-size: 1.28571429rem;
  color: #bbb;
  margin: 0;
}

@media only screen and (max-width: 1500px) {
  .no-Img {
    font-size: 1.07142857rem;
  }
}
.actions {
  background: #f9fafb;
  padding: 1rem 2rem;
  border-top: 1px solid rgba(34, 36, 38, 0.15);
  text-align: right;
}

.othersOnline {
  margin-right: 0.3rem;
  width: 15px;
  height: 15px;
  line-height: 15px;
  vertical-align: bottom;
}

.limitHight-150 {
  max-height: 150px;
}

.ui.button.activeUp {
  background-color: #2185d0;
  color: #FFF;
  font-weight: bold;
}

.content.max-h {
  max-height: 60vh;
  overflow-y: auto;
}

@media (min-width: 1200px) {
  .paper.sentencesBox .container {
    max-width: 100% !important;
  }
}
.exchangIMG {
  width: 14px !important;
  opacity: 0.8;
}
.exchangIMG:hover {
  opacity: 1;
}

table.aD tr td img.exchangIMG {
  width: 14px !important;
}

/*--置底BTN-----------------------------------------*/
.toBottom, .toBottomAgent {
  z-index: 990;
  cursor: pointer;
  position: absolute;
  bottom: 8px;
  background-color: #54C0CC;
  color: #FFF;
  padding: 10px 15px;
  border-radius: 50px;
}
.toBottom:hover, .toBottomAgent:hover {
  opacity: 0.85;
  color: #FFF;
}

.toBottom {
  right: 25px;
}

.toBottomAgent {
  left: 94%;
}

/*--------------------
             loadding動畫
     ----------------------*/
.LoaderBalls {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  padding: 1em;
  background-color: #dddddd;
  line-height: 1;
  z-index: 1000;
  -webkit-animation: bG 3s infinite;
  -webkit-animation-timing-function: ease-out;
}

@-webkit-keyframes bG {
  0% {
    background-color: #dddddd;
  }
  50% {
    background-color: #FFF;
  }
  100% {
    background-color: #dddddd;
  }
}
.positionLoading {
  transform: translateY(25vh);
  justify-content: space-between;
  align-content: center;
  width: 200px;
  margin: 0 auto;
}

.loadingCb img {
  width: 200px;
  -webkit-animation: bodyAnim 1.5s infinite;
  -webkit-animation-timing-function: ease-out;
}

@-webkit-keyframes bodyAnim {
  0% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-5px);
  }
}
.load {
  position: absolute;
  width: 7ch;
  height: 50px;
  text-align: left;
  line-height: 44px;
  -webkit-font-smoothing: antialiased;
  font-size: 40px;
  font-weight: 700;
  color: #54c0cc;
  -webkit-animation: fontAnim 6s infinite;
  -webkit-animation-timing-function: ease-out;
  word-wrap: break-word;
  display: block;
  overflow: hidden;
  margin-top: 1.5rem;
}

@-webkit-keyframes fontAnim {
  0% {
    width: 4ch;
  }
  100% {
    width: 10ch;
  }
}
.LoaderBalls__item {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 5px;
}

.LoaderBalls__item:nth-child(1) {
  animation: bouncing 0.4s alternate infinite cubic-bezier(0.6, 0.05, 0.15, 0.95);
}

.LoaderBalls__item:nth-child(2) {
  animation: bouncing 0.4s 0.1s alternate infinite cubic-bezier(0.6, 0.05, 0.15, 0.95) backwards;
}

.LoaderBalls__item:nth-child(3) {
  animation: bouncing 0.4s 0.2s alternate infinite cubic-bezier(0.6, 0.05, 0.15, 0.95) backwards;
}

@keyframes bouncing {
  0% {
    transform: translate3d(0, 10px, 0) scale(1.2, 0.85);
  }
  100% {
    transform: translate3d(0, -20px, 0) scale(0.9, 1.1);
  }
}
@media (max-width: 1679px) {
  .toBottomAgent {
    left: 92%;
  }
}
@media (max-width: 1439px) {
  .toBottomAgent {
    left: 90%;
  }
}
@media (max-width: 1279px) {
  .toBottomAgent {
    left: 87%;
  }
}
@media (max-width: 1120px) {
  .toBottomAgent {
    left: 83%;
  }
}
@media (max-width: 767px) {
  .toBottom {
    bottom: 23px;
  }
}
.ui.divider {
  text-transform: none !important;
}

.ui-sortable-handle {
  cursor: move;
}

/*圖片放大輪播區*/
.modalText {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.imgClose {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  color: #FFF;
  font-size: 22px;
}
.imgClose:hover {
  opacity: 0.85;
  color: #FFF;
}

#GGH.slides > div {
  border-radius: 3px;
}

#GGH.slides img {
  border-radius: 3px;
}

/*圖片放大輪播區-手機板*/
.ui.dimmer.modals.page.transition.visible.active {
  overflow: hidden;
  overflow-y: auto;
}

.swiper-container {
  width: 100vw;
  height: calc(100vh - 180px);
  text-align: center;
}

.swiper-slide img.browse {
  max-height: 100%;
  max-width: 90%;
  position: relative;
  object-fit: contain;
}

#divmodal.ui.modal {
  width: unset;
}

#divmodal .actions {
  position: relative;
  width: 100%;
  margin: 0px;
  padding: 1rem !important;
  border: none;
}

.imagesSetting {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(34, 36, 38, 0.15);
  border-radius: 0.28571429rem;
  margin: 10px 0;
  padding: 15px;
}
.imagesSetting .imgs {
  display: flex;
}
.imagesSetting .imgs .imgArea {
  position: relative;
  width: calc(100% - 30px);
  margin: 0 5px;
}
.imagesSetting .imgs .imgArea .closeBtn {
  position: absolute;
  right: 6px;
  top: 35px;
  cursor: pointer;
  color: #206da7;
}
.imagesSetting .imgs .imgArea .closeBtn:hover {
  opacity: 0.85;
}
.imagesSetting .imgs .imgArea .closeBtn i {
  font-size: 18pt;
}
.imagesSetting .imgs .imgArea .title {
  font-weight: bold;
}
.imagesSetting .imgs .imgArea img {
  margin-top: 5px;
  cursor: move;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #dededf;
  border-radius: 0.28571429rem;
}

.mbStyle {
  display: flex;
}
.mbStyle .text.mbImages {
  /* width: 80% !important;*/
  max-width: 80% !important;
  padding: 10px !important;
}
.mbStyle .text.mbImages img {
  width: auto !important;
  max-width: unset !important;
  max-height: 200px !important;
}
.mbStyle .timecode {
  text-wrap: nowrap;
}

/*--多圖裁切預覽設定------------------------*/
.ui.basic.modal {
  position: relative;
  width: 100%;
}

.ui.basic.buttons {
  position: relative;
  background-color: #FFF;
  /* z-index: 9999;*/
}

.ui.active.modal.divmodalImg {
  max-height: 90vh;
  width: initial;
  overflow: hidden;
}
.ui.active.modal.divmodalImg .header h3 {
  margin: 0;
  line-height: 36px;
}
.ui.active.modal.divmodalImg .content {
  width: 100%;
  max-height: 72vh;
}
.ui.active.modal.divmodalImg .content .canvas-box {
  width: 100%;
  height: inherit;
  max-height: 85vh;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.ui.active.modal.divmodalImg .content .canvas-box .overlay {
  position: absolute;
  cursor: move;
  border: 1px solid #69f;
}
.ui.active.modal.divmodalImg .canvas-box .canvas-box div, .ui.active.modal.divmodalImg .canvas-box canvas {
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#divmodalImgM {
  padding: 19px;
  background-color: rgba(0, 0, 0, 0.65);
}
#divmodalImgM .modalText {
  color: #FFF;
}
#divmodalImgM .ui.button {
  font-size: 1rem;
  word-break: break-word;
  cursor: pointer;
  display: inline-block;
  min-height: 1em;
  outline: 0;
  border: none;
  vertical-align: baseline;
  background: #e0e1e2 none;
  color: rgba(0, 0, 0, 0.6);
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
  margin: 0 0.25em 0 0;
  padding: 0.78571429em 1.5em 0.78571429em;
  text-transform: none;
  text-shadow: none;
  font-weight: 700;
  line-height: 1em;
  font-style: normal;
  text-align: center;
  text-decoration: none;
  border-radius: 0.28571429rem;
  -webkit-box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34, 36, 38, 0.15) inset;
  box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34, 36, 38, 0.15) inset;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease, background 0.1s ease, -webkit-box-shadow 0.1s ease;
  transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease, background 0.1s ease, -webkit-box-shadow 0.1s ease;
}
#divmodalImgM .ui.basic.button {
  background: transparent none !important;
  background-color: transparent;
  color: rgba(0, 0, 0, 0.6) !important;
  font-weight: 400;
  border-radius: 0.28571429rem;
  text-transform: none;
  text-shadow: none !important;
  -webkit-box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
  box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
}
#divmodalImgM .ui.basic.inverted.button {
  background-color: transparent !important;
  color: #f9fafb !important;
  -webkit-box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5) inset !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5) inset !important;
}
#divmodalImgM .ui.modal .actions .button {
  margin: 0px 5px;
}

/*------------------
  ai聊天室BTN開關   
-------------------*/
.btn-aiLite {
  position: fixed;
  cursor: pointer;
  z-index: 999;
  right: 20px;
  bottom: 20px;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  border: 1px solid #C9C9C9;
  background: url(../img/defultChatroom.png) no-repeat center;
  transition: ease-in 0.3s;
}
.btn-aiLite.active {
  transition: ease-in 0.3s;
  background: url(../img/openChatroom.png) no-repeat center;
}
.btn-aiLite.left {
  right: unset;
  left: 20px;
  bottom: 160px;
}

.ai-notice {
  position: fixed;
  right: 20px;
  bottom: 73px;
  z-index: 9999;
  font-size: 25px;
  color: #ec971f;
  animation: flashing 1s infinite linear;
}
.ai-notice.left {
  left: 71px;
  bottom: 207px;
}

@keyframes flashing {
  0% {
    display: block;
    color: #f5e200;
  }
  100% {
    color: #f50000;
    display: none;
  }
}
/*------------------
   ai聊天室modal   
-------------------*/
.modal-aiLite {
  z-index: 999;
  width: 350px;
  position: fixed;
  right: 20px;
  bottom: 110px;
  background-color: #FFF;
  border: 1px solid #C9C9C9;
  border-radius: 0.25rem;
  /* box-shadow: 1px 1px 2px rgba(0,0,0,0.18);*/
}
.modal-aiLite.left {
  right: unset;
  left: 20px;
  bottom: 250px;
}
.modal-aiLite .modals-header {
  color: #FFF;
  padding: 15px;
  background: linear-gradient(0deg, rgb(18, 166, 176) 0%, rgb(96, 192, 182) 100%);
  border-radius: 0.25rem 0.25rem 0 0;
}
.modal-aiLite .modals-header h5 {
  font-weight: bold;
  margin: 0;
  font-size: 20px;
}
.modal-aiLite .modals-header a.zoomout {
  line-height: 15px;
  color: unset;
  cursor: pointer;
}
.modal-aiLite .modals-content {
  position: relative;
  padding: 15px;
  max-height: calc(100vh - 450px);
  overflow-x: hidden;
  overflow-y: auto;
  /*------------------
       ScrollBar Style
   -------------------*/
  /* width */
  /* Track */
  /* Handle */
  /* Handle on hover */
}
.modal-aiLite .modals-content::-webkit-scrollbar {
  width: 10px;
}
.modal-aiLite .modals-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.modal-aiLite .modals-content::-webkit-scrollbar-thumb {
  background: #00B5AD;
  border-radius: 50px;
}
.modal-aiLite .modals-content::-webkit-scrollbar-thumb:hover {
  background: #AEAEAE;
}
.modal-aiLite .modals-footer {
  position: relative;
  bottom: 0 !important;
  padding: 15px;
  border-top: 1px solid #C9C9C9;
}
.modal-aiLite .modals-footer .form-control:focus {
  border-color: #00B5AD;
}
.modal-aiLite .modals-footer .btn:focus {
  box-shadow: none;
}
.modal-aiLite .modals-footer textarea {
  resize: none !important;
}
.modal-aiLite .btn-info {
  background-color: #00B5AD;
}
.modal-aiLite .btn-info:hover {
  background-color: #0dd1c9;
}

/*------------------
         對話樣式
 -------------------*/
.dialogue {
  margin-bottom: 15px;
  border-radius: 0.25rem;
  padding: 10px;
  width: fit-content;
  max-width: 90%;
  display: block;
}
.dialogue p {
  margin: 0;
  padding: 0;
  font-size: 16px;
}
.dialogue:last-child {
  margin-bottom: 0;
}
.dialogue.ai {
  background-color: #F5F5F5;
  clear: both;
}
.dialogue.user {
  background-color: #7dcbc7;
  color: #FFF;
  float: right;
  clear: both;
}

ul.historyMessage {
  margin: 24px auto;
  padding: 0;
  font-size: 16px;
}
ul.historyMessage li {
  list-style-type: none;
  border-bottom: 1px solid #bfbfbf;
  padding: 13px 0;
  font-weight: 300;
}
ul.historyMessage li.bold {
  font-weight: 900 !important;
}
ul.historyMessage li:last-child {
  border-bottom: none;
}
ul.historyMessage li a {
  color: #8a8a8a;
  align-items: center;
}
ul.historyMessage li a:hover {
  color: #474747;
}
ul.historyMessage li a .unread {
  color: #00b5ad;
}

/*------------------
         輸入區域
 -------------------*/
#txtInput.form-control {
  padding: 6px 12px;
  height: 38px;
  font-size: 16px;
}

#btnSubmit.btn {
  font-size: 16px;
  padding: 6px 12px;
}

.input-group > .custom-file, .input-group > .custom-select, .input-group > .form-control {
  border-color: none;
  box-shadow: none;
}

.text-warning {
  color: #ffc107;
}

.ellipsis-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.single-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-1 {
  margin-right: 0;
  margin-left: 0;
}
.g-1 > .col,
.g-1 > [class*=col-] {
  padding-right: 0.3rem;
  padding-left: 0.3rem;
}

.modal-table td {
  height: 100px !important;
  max-height: 100px !important;
  overflow: hidden;
}
.modal-table td p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.modal-table td img {
  height: 100px;
  object-fit: cover;
}
