/**
 * Taiwanmobile 小麥公版樣式
 */

a,
p {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

.v3-twm-bot-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: block;
  cursor: pointer;
  z-index: 100;
  transition: transform 0.3s;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .v3-twm-bot-chat {
    bottom: 70px;
    right: 10px;
  }
}

.v3-twm-bot-chat.down {
  transform: translateY(-50px);
}

@media (max-width: 767px) {
  .v3-twm-bot-chat.down {
    transform: translateY(0);
  }
}

.v3-twm-bot-chat.down .v3-twm-bot-chat__bubble {
  opacity: 1;
  transform: translateX(0);
}

.v3-twm-bot-chat__bubble {
  width: 78px;
  height: 46px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  position: absolute;
  top: 1px;
  right: calc(100% + 10px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 14px 0 18px;
  color: #303030;
  background-color: #fff;
  border-radius: 8px;
  word-break: break-all;
  opacity: 0;
  transform: translateX(50%);
  transition: opacity 0.3s, transform 0.3s;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .v3-twm-bot-chat__bubble {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: normal;
    font-family: Noto Sans TC;
    font-weight: 600;
    text-indent: 0;
  }
}

@media (max-width: 767px) {
  .v3-twm-bot-chat__bubble {
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.5px;
    font-family: Noto Sans TC;
    font-weight: 400;
    text-indent: 0;
  }
}

.v3-twm-bot-chat__bubble::after {
  width: 6px;
  height: 6px;
  content: '';
  position: absolute;
  bottom: 8px;
  left: 100%;
  display: block;
  border-width: 3px 0 3px 6px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
  box-sizing: border-box;
}

.v3-twm-bot-chat__photo {
  width: 48px;
  height: 48px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  position: relative;
  display: block;
  overflow: hidden;
  background-color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  box-sizing: border-box;
}

#littlemyBtn .closeclitmy {
  display: none;
  width: 48px;
  height: 48px;
  text-align: center;
  background: #818181;
  border-radius: 50%;
  color: #fff;
  line-height: 130%;
  padding-top: 7px;
  font-size: 14px;
  margin: 0;
  filter: drop-shadow(0px 0px 2px #0000007a);
  box-sizing: border-box;
}

#littlemy_ChatBox {
  transition: all linear 0.3s;
}

#littlemy_ChatBox .chatbox_body {
  width: 450px;
  position: fixed;
  right: 90px;
  bottom: 30px;
  height: calc(100vh - 250px);
  z-index: -999;
  border-radius: 15px;
  overflow: hidden;
  filter: drop-shadow(0px 0px 6px #0000007a);
  opacity: 0;
  transition: all cubic-bezier(1, -0.02, 1, 0.16) 0.3s;
  transform: scale(0);
  transform-origin: bottom right;
  background: #fff;
}

#littlemy_ChatBox.opened .chatbox_body.down {
  bottom: 80px;
}

#littlemy_ChatBox.opened {
  position: relative;
}

#littlemy_ChatBox.opened .chatbox_body {
  opacity: 1;
  z-index: 99999;
  transform: scale(1);
}

#littlemy_ChatBox #closrif {
  position: fixed;
  top: 0;
  right: 10px;
  z-index: 5;
  display: none;
}

#littlemy_ChatBox #closrif svg {
  width: 40px;
  display: block;
  height: 40px;
  color: #ff6100;
}

.v3-twm-bot-chat.moblieSet {
  display: none;
}

@media (max-width: 1440px) {
  #littlemy_ChatBox .chatbox_body {
    height: calc(100vh - 180px);
  }
}

@media (min-width: 769px) {
  #temRenderHeaderVersionRoot a.v3-twm-bot-chat {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #littlemyBtn.v3-twm-bot-chat,
  #littlemy_ChatBox {
    display: none !important;
  }

  .v3-twm-bot-chat.moblieSet {
    display: block;
  }
}

#littlemyBtn .closeclitmy {
  display: none;
  width: 48px;
  height: 48px;
  text-align: center;
  background: #818181;
  border-radius: 50%;
  color: #fff;
  line-height: 120%;
  padding-top: 8px;
  font-size: 0.8rem;
  margin: 0;
  filter: drop-shadow(0px 0px 2px #0000007a);
}

#littlemy_ChatBox {
  transition: all linear 0.3s;
}

#littlemy_ChatBox .chatbox_body {
  width: 450px;
  position: fixed;
  right: 90px;
  bottom: 30px;
  height: calc(100vh - 250px);
  z-index: -999;
  border-radius: 15px;
  overflow: hidden;
  filter: drop-shadow(0px 0px 6px #0000007a);
  opacity: 0;
  transition: all cubic-bezier(1, -0.02, 1, 0.16) 0.3s;
  transform: scale(0);
  transform-origin: bottom right;
  background: #fff;
}

#littlemy_ChatBox.opened .chatbox_body.down {
  bottom: 80px;
}

#littlemy_ChatBox.opened {
  position: relative;
}

#littlemy_ChatBox.opened .chatbox_body {
  opacity: 1;
  z-index: 99999;
  transform: scale(1);
}

#littlemy_ChatBox .chatbox_body iframe {
}

#littlemy_ChatBox #closrif {
  position: fixed;
  top: 0;
  right: 10px;
  z-index: 5;
  display: none;
}

#littlemy_ChatBox #closrif svg {
  width: 40px;
  display: block;
  height: 40px;
  color: #ff6100;
}

@media (max-width: 1440px) {
  #littlemy_ChatBox .chatbox_body {
    height: calc(100vh - 180px);
  }
}

@media (min-width: 769px) {
  #temRenderHeaderVersionRoot a.v3-twm-bot-chat {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #littlemyBtn.v3-twm-bot-chat,
  #littlemy_ChatBox {
    display: none !important;
  }
}

/*# sourceMappingURL=bot-chat.css.map */
