.font-size-rem-1 {
  font-size: 1rem;
}

.ufi-fb-root {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
}

.brand-img {
  width: 220px;
  margin-bottom: 20px;
}

.name-logo {
  width: 18px !important;
  height: 18px !important;
  margin-right: 5px;
}

.ipo-form-select2 {
  height: 30px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

.ipo-setting .select2-container {
  z-index: 2 !important;
}

.ipo-form-controller {
  height: 30px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.ipo-form-controller.bootstrap-select {
  height: 30px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.ipo-form-controller.bootstrap-select>button {
  height: 30px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.ipo-form-controller.bootstrap-select>button>span {
  line-height: 18px;
}

.ipo-fv-icon {
  top: 30px !important;
  height: 30px !important;
}

.ipo-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.ipo-flex-wrap {
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.ipo-flex-auto {
  width: auto;

  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.ipo-flex-extend {
  max-width: 100%;

  -webkit-box-flex: 1;
  -webkit-flex: 1 1;
  -ms-flex: 1 1;
  flex: 1 1;
}

.ipo-flex-break {
  max-width: 100%;

  flex-basis: 100%;
}

.fAvatar.fb {
  border: 5px solid #4267b2;
}

.fAvatar.line {
  border: 5px solid #06C755;
}

.fAvatar.virtual {
  border: 5px solid #757575;
}

.fAvatar.fb.lite {
  border: 2px solid #4267b2;
}

.fAvatar.line.lite {
  border: 2px solid #06C755;
}

.fAvatar.virtual.lite {
  border: 2px solid #757575;
}

@media (max-width: 479px) {
  .fAvatar.fb {
    border: 2px solid #4267b2;
  }

  .fAvatar.line {
    border: 2px solid #06C755;
  }
}


.line-contact-support {
  position: relative;
  background-color: #06C755;
  border-radius: 5px;
  cursor: pointer;
  border-width: 0;
  padding: 0;
  width: 250px;
  height: 40px;
  font-size: 0;
  text-align: center;
  font-weight: 500;
}

.line-contact-support:before {
  display: inline-block;
  height: 100%;
  content: "";
  vertical-align: middle;
}

.line-contact-support>.line-contact-support-logo {
  border-right-width: 1px;
  border-right-color: rgba(0, 0, 0, 0.08);
  border-right-style: solid;
  position: absolute;
  height: 40px;
  left: 0;
  top: 0;
}

.line-contact-support>.line-contact-support-logo>img {
  width: 40px;
  padding: 3px;
}

.line-contact-support>.line-contact-support-text {
  color: white;
  height: 40px;
  font-size: 16px;
  align-items: center;
  display: inline-flex;
}

.line-contact-support:hover:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  border-width: 0;
  content: "";
  background-color: rgba(0, 0, 0, 0.1);
}

/* app */
.app-contact-support {
  background-color: #81D8D0;
  border-radius: 5px;
  cursor: pointer;
  border-width: 0;
  padding: 0;
  width: 250px;
  height: 40px;
  font-size: 0;
  position: relative;
}

.app-contact-support:before {
  display: inline-block;
  height: 100%;
  content: "";
  vertical-align: middle;
}

.app-contact-support>.app-contact-support-logo {
  border-right-width: 1px;
  border-right-color: #81D8D0;
  border-right-style: solid;
  position: absolute;
  height: 40px;
  left: 0;
  top: 0;
}

.app-contact-support>.app-contact-support-logo>img {
  width: 40px;
  padding: 5px;
}

.app-contact-support>.app-contact-support-text {
  color: white;
  font-size: 16px;
  height: 40px;
  align-items: center;
  display: inline-flex;
}

.app-contact-support:hover {
  background-color: #81D8D0;
}

/* apple */
.apple-contact-support {
  border-radius: 10px;
  cursor: pointer;
  border-width: 0;
  padding: 0;
  width: 250px;
  height: 40px;
  margin: 0 auto;
}

/* facebook */
.fb-contact-support {
  background-color: #1877f2;
  border-radius: 5px;
  cursor: pointer;
  border-width: 0;
  padding: 0;
  width: 250px;
  height: 40px;
  font-size: 0;
  text-align: center;
}

.fb-contact-support:before {
  display: inline-block;
  height: 100%;
  content: "";
  vertical-align: middle;
}

.fb-contact-support>.fb-contact-support-logo {
  position: absolute;
  height: 40px;
  left: 0;
  top: 0;
}

.fb-contact-support>.fb-contact-support-logo>img {
  width: 36px;
  padding: 5px;
  margin-left: 5px;
  margin-top: 2px;
}

.fb-contact-support>.fb-contact-support-text {
  color: white;
  font-size: 16px;
  height: 40px;
  align-items: center;
  display: inline-flex;
}

.fb-contact-support:hover {
  background-color: #0857d2;
}


.ipo-left-border {
  border-left: 1px solid #a3afb7 !important;
}

.not-input-focus {
  border-color: #f96868;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
}

.hidden-no-data {
  display: none !important;
}

.text-white-shadow {
  text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white,
    1px 1px 0 white;
}

.float-container {
  position: relative;
}

.float-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.float-bottom-right {
  position: absolute;
  right: 0;
  bottom: 0;
}

.float-bottom-left {
  position: absolute;
  left: 0;
  bottom: 0;
}

.float-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.float-top-left {
  position: absolute;
  left: 0;
  top: 0;
}

.float-top-right {
  position: absolute;
  right: 0;
  top: 0;
}

.float-center {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.fb-login-button-mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 4px;
}

.commAvater {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background-color: #fff;
  overflow: hidden;
}

.image-cover {
  background-position: center;
  /* Make the background image cover the area of the <div>, and clip the excess */
  background-size: cover;
}

.image-contain {
  background-position: center;
  /* Make the background image cover the area of the <div>, and clip the excess */
  background-size: contain;
  background-repeat: no-repeat;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-move {
  cursor: move
}

.sortable-ghost {
  opacity: 0.6;
}

.table tbody+tbody {
  border-top: none;
}

.orderHistory .conIn .logTitle {
  font-weight: 500;
  font-size: 12px;
}

.orderHistory .conIn .logBody {
  font-weight: 500;
  font-size: 12px;
}
.dot-new-status {
  position: absolute;
  top: 0;
  right: 0;
}

.delivery-note {
  word-break: break-all;
  white-space: normal;
}
.loginloadinglayer {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: transparent;
}
/* nav mask layer
-------------------------------------------------------*/
.nav-mask {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  background-color: rgba(0, 0, 0, 0.5);
}

/* page mask layer
-------------------------------------------------------*/
.page-mask {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  background-color: rgba(0, 0, 0, 0.5);
}
/* badge helpers
-------------------------------------------------------*/
/* 固定寬度（約 9 個字寬），用於顯示會員編號等固定欄位 */
.ipo-badge-fixed-9ch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9ch;
  min-width: 9ch;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.log th,
.log td {
  white-space: normal !important;
  word-wrap: break-word !important;
}

.orderListBox table {
  table-layout: fixed;
}

.ui-timepicker-wrapper {
  z-index: 1710 !important;
}
.nav-quick>li.active>a {
  color: rgba(58, 186, 175, 0.9);
  background-color: rgba(58, 186, 175, 0.03);
}


.image-cover-print {
  -webkit-print-color-adjust: exact !important;
  /* Chrome, Safari */
  color-adjust: exact !important;
  /*Firefox*/
}

.redirect-mask {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
}

.login-brand {
  border-radius: 0.214rem;
  cursor: pointer;
}

.login-brand .login-brand-container {
  display: flex;

  padding: 15px 15px;
  border-radius: 0.214rem;
  border: solid 1px #a3afb7;
  background-color: rgba(0, 0, 0, 0.6);
}

.login-brand-container .login-brand-icon {
  flex: 0 0 auto;
}

.login-brand-container .login-brand-title {
  flex: 1 1 100%;
}

.login-brand-container .login-brand-title h5 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #fff;
}

.logTbl th,
.logTbl td {
  text-align: left !important;
  font-weight: 500;
  font-size: 12px;
  padding: 2px 5px;
}

.ipo-product-select .bootstrap-select>.dropdown-menu {
  width: 100%;
}

.ipo-product-select .bootstrap-select.btn-group>.dropdown-menu li a span.text {
  max-width: calc(100% - 20px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.word-break {
  word-break: break-word;
}

.max-lines-2 {
  overflow: hidden;
  word-break: break-word;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
  white-space: break-spaces;

  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.max-lines-3 {
  overflow: hidden;
  word-break: break-word;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
  white-space: break-spaces;

  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.max-lines-4 {
  overflow: hidden;
  word-break: break-word;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  text-overflow: ellipsis;
  white-space: break-spaces;

  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.ipo-touchspin-btn {
  width: 30px;
  height: 30px;
  box-sizing: border-box;
}


pre code.hljs {
  white-space: pre-wrap;
  word-break: break-all;
}

.refreshBadge {
  position: relative;
  left: -10px;
}


.live-room-add-product-image {
  aspect-ratio: 1 / 1;
  background-color: #fff;
  overflow: hidden;
  border-width: 1px;
  border-color: #ccc;
  border-style: solid;
  border-radius: 5px;
  width: 30px;
}

.live-room-add-product-title {
  border: none;
  border-top: 1px solid #000;
  min-height: 50px;
}

.live-room-add-product-style {
  border: none;
  border-top: 1px solid #ddd;
  min-height: 50px;
}

.live-room-add-product-title .product-title {
  display: -webkit-box;
  -webkit-box-align: center;
}

.live-room-add-product-style .product-style {
  display: -webkit-box;
  -webkit-box-align: center;
}

.round-image {
  aspect-ratio: 1 / 1;
  background-color: #fff;
  overflow: hidden;
  border-width: 1px;
  border-color: #ccc;
  border-style: solid;
  border-radius: 5px;
}

.youtube-embed {
  aspect-ratio: 16 / 9;
}

.border-color-pale-gray {
  border-color: #e4eaec;
}
