@import url(https://fonts.googleapis.com/css?family=Nunito);
@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500&family=Oswald:wght@400;700&display=swap);
@charset "UTF-8";
/* lg按鈕 */
/* md按鈕 */
/* sm按鈕 */
/* tag 按鈕 padding 和bootstrap原生一樣不用改 */
/* 框線設定 */
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
@media (max-width: 767.98px) {
  html {
    font-size: 15px;
  }
}

body {
  font-family: "Noto Sans CJK TC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 150%;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

a {
  color: #1A1A1A;
  text-decoration: none !important;
}
a:hover {
  color: #1A1A1A;
  text-decoration: none;
}

p {
  margin-bottom: 0;
}

img {
  width: 100%;
}

.img-frame {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.bg-img {
  -o-object-fit: cover !important;
     object-fit: cover !important;
  -o-object-position: 50% 50% !important;
     object-position: 50% 50% !important;
}

.zindex--1 {
  z-index: -1;
}

.zindex-10 {
  z-index: 10;
}

.container-md {
  padding: 0 40px !important;
  width: 100%;
  max-width: 900px !important;
  margin: 0 auto;
}
@media (max-width: 767.98px) {
  .container-md {
    padding: 0 24px !important;
  }
}

@media (max-width: 767.98px) {
  .mb-none {
    display: none !important;
  }
}

::-moz-selection {
  background: #98a5b5;
  color: #1A1A1A;
}

::selection {
  background: #98a5b5;
  color: #1A1A1A;
}

::-moz-selection {
  background: #98a5b5;
  color: #1A1A1A;
}

.badge {
  font-weight: 400;
}

.text-bold {
  font-weight: 700;
}

.letter-space-lg {
  letter-spacing: 0.2em;
}

.letter-space-sm {
  letter-spacing: 0.1em;
}

.text-stroke {
  -webkit-text-stroke: 3px #0c386a;
}

.text-base-r {
  font-size: 1rem;
}
.text-base-m {
  font-size: 1rem;
  font-weight: 500;
}

.text-sm-r {
  font-size: 0.875rem;
}
.text-sm-m {
  font-size: 0.875rem;
  font-weight: 500;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 100%;
}
.text-xs-r {
  font-size: 0.75rem;
}
.text-xs-m {
  font-size: 0.75rem;
  font-weight: 500;
}

/* 新增文字Class */
.p-xl, .p-lg, .p-sm, .p-xs, li, p {
  margin-top: 0;
  font-family: "Noto Sans CJK TC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
}

p {
  line-height: 1.75;
}

li {
  font-size: 1rem;
  line-height: 1.5;
}

.p-xs {
  font-size: 0.75rem;
  line-height: 1.83;
}

.p-sm {
  font-size: 0.875rem;
  line-height: 1.75;
}

.p-lg {
  font-size: 1.125rem;
  line-height: 1.5;
}

.p-xl {
  font-size: 1.25rem;
  line-height: 1.35;
}

@media (max-width: 767.98px) {
  .m-h1 {
    font-weight: 700;
    font-size: 28px;
  }

  .m-h3 {
    font-weight: 700;
    font-size: 20px;
  }
}
.separator {
  display: block;
  height: 0;
  border-bottom: 1px solid #eff2f5;
}

.separator.separator-dotted {
  border-bottom-style: dotted;
  border-bottom-color: #e4e6ef;
}

.separator.separator-dashed {
  border-bottom-style: dashed;
  border-bottom-color: #e4e6ef;
}

.separator.separator-content {
  display: flex;
  align-items: center;
  border-bottom: 0;
  text-align: center;
}

.separator.separator-content::after,
.separator.separator-content::before {
  content: " ";
  width: 50%;
  border-bottom: 1px solid #eff2f5;
}

.separator.separator-content::before {
  margin-right: 1.25rem;
}

.separator.separator-content::after {
  margin-left: 1.25rem;
}

.separator.separator-content.separator-dotted::after,
.separator.separator-content.separator-dotted::before {
  border-bottom-style: dotted;
  border-bottom-color: #e4e6ef;
}

.separator.separator-content.separator-dashed::after,
.separator.separator-content.separator-dashed::before {
  border-bottom-style: dashed;
  border-bottom-color: #e4e6ef;
}

.separator.separator-content.border-white::after,
.separator.separator-content.border-white::before {
  border-color: #fff !important;
}

.separator.separator-content.border-light::after,
.separator.separator-content.border-light::before {
  border-color: #f5f8fa !important;
}

.separator.separator-content.border-primary::after,
.separator.separator-content.border-primary::before {
  border-color: #009ef7 !important;
}

.separator.separator-content.border-secondary::after,
.separator.separator-content.border-secondary::before {
  border-color: #e4e6ef !important;
}

.separator.separator-content.border-success::after,
.separator.separator-content.border-success::before {
  border-color: #50cd89 !important;
}

.separator.separator-content.border-info::after,
.separator.separator-content.border-info::before {
  border-color: #7239ea !important;
}

.separator.separator-content.border-warning::after,
.separator.separator-content.border-warning::before {
  border-color: #ffc700 !important;
}

.separator.separator-content.border-danger::after,
.separator.separator-content.border-danger::before {
  border-color: #f1416c !important;
}

.separator.separator-content.border-dark::after,
.separator.separator-content.border-dark::before {
  border-color: #181c32 !important;
}

.rotate {
  transform: rotate(180deg);
  transition: 0.5s;
}

.wrapper {
  display: flex;
  min-height: 100%;
}

.sidebar {
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-height: 100vh;
  max-width: 250px;
  background-image: url("../image/bg_sidebar.png");
  background-size: cover;
  z-index: 100;
  transition: all 0.5s ease;
}
.sidebar .logo-details {
  height: 4rem;
  width: 100%;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid #294B72;
}
.sidebar .logo-details i {
  font-size: 30px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
}
.sidebar .logo-details .logo_name {
  font-size: 22px;
  font-weight: 600;
  transition: 0.3s ease;
  transition-delay: 0.1s;
}
.sidebar .nav-links {
  height: 100%;
  padding: 0 0 0 0;
  overflow: auto;
}
.sidebar .nav-links::-webkit-scrollbar {
  display: none;
}
.sidebar .nav-links li {
  position: relative;
  list-style: none;
  transition: all 0.4s ease;
}
.sidebar .nav-links li.link_item {
  color: #fff;
  border-bottom: 1px solid #294B72;
  padding: 15px 25px;
}
.sidebar .nav-links li:hover {
  background: #0c386a;
}
.sidebar .nav-links li .link_icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar .nav-links li i {
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}
.sidebar .nav-links li.showMenu {
  background: #0c386a;
}
.sidebar .nav-links li.showMenu i.arrow {
  transform: rotate(-180deg);
}
.sidebar .nav-links li.showMenu .sub-menu {
  display: block;
}
.sidebar .nav-links li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
}
.sidebar .nav-links li a .link_name {
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.4s ease;
}
.sidebar .nav-links li a[aria-expanded=true] .chevron {
  transform: rotate(180deg);
}
.sidebar .nav-links li.active a {
  color: #b9b390;
}
.sidebar .nav-links li .sub-menu {
  margin-top: 10px;
  background: #0c386a;
  display: none;
}
.sidebar .nav-links li .sub-menu a {
  color: #fff;
  font-size: 15px;
  padding: 5px 0;
  white-space: nowrap;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.sidebar .nav-links li .sub-menu a:hover {
  opacity: 1;
}
.sidebar .nav-links li .sub-menu .link_name {
  display: none;
}
.sidebar .nav-links li .sub-menu.blank {
  opacity: 1;
  pointer-events: auto;
  padding: 3px 20px 6px 16px;
  opacity: 0;
  pointer-events: none;
}
.sidebar .profile-details {
  position: fixed;
  bottom: 0;
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0c386a;
  padding: 12px 0;
  transition: all 0.5s ease;
}
.sidebar .profile-details .profile-content {
  display: flex;
  align-items: center;
}
.sidebar .profile-details img {
  height: 52px;
  width: 52px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 16px;
  margin: 0 14px 0 12px;
  background: #0c386a;
  transition: all 0.5s ease;
}
.sidebar .profile-details .profile_name,
.sidebar .profile-details .job {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}
.sidebar .profile-details .job {
  font-size: 12px;
}

.sidebar.close {
  width: 78px;
}
.sidebar.close .logo-details .logo_name {
  transition-delay: 0s;
  opacity: 0;
  pointer-events: none;
}
.sidebar.close .nav-links {
  overflow: visible;
}
.sidebar.close .nav-links i.arrow {
  display: none;
}
.sidebar.close .nav-links li .link_icon {
  display: block;
}
.sidebar.close .nav-links li a .link_name {
  opacity: 0;
  pointer-events: none;
}
.sidebar.close .nav-links li .sub-menu {
  position: absolute;
  left: 100%;
  top: -10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 0 6px 6px 0;
  opacity: 0;
  display: block;
  pointer-events: none;
  transition: 0s;
}
.sidebar.close .nav-links li .sub-menu .link_name {
  font-size: 1rem;
  opacity: 1;
  display: block;
}
.sidebar.close .nav-links li:hover .sub-menu {
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
}
.sidebar.close .profile-details {
  background: none;
  width: 78px;
}
.sidebar.close .profile-details img {
  padding: 10px;
}
.sidebar.close .profile-details i,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job {
  display: none;
}
.sidebar.close ~ .home-section {
  left: 0px;
  width: calc(100% - 4.5rem);
}

.sidebar .nav-links li:hover .sub-menu.blank {
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 767.98px) {
  .sidebar.close.small-screen {
    display: none;
  }

  .sidebar.close.small-screen .logo-details {
    display: none;
  }

  .sidebar.close.small-screen ~ .home-section {
    width: 100%;
    left: 0;
    z-index: 100;
  }
}
.home-section {
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100%;
  left: 0px;
  transition: all 0.5s ease;
}
.home-section .page-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px 40px;
  border-bottom: 1px solid #e7e7e7;
}
@media (max-width: 767.98px) {
  .home-section .page-header {
    padding: 20px;
  }
}

.main-content {
  position: relative;
}
@media (min-width: 768px) {
  .main-content {
    min-height: calc(100vh - 64px - 95px);
  }
}
@media (max-width: 767.98px) {
  .main-content {
    min-height: calc(100vh - 60px - 77px);
  }
}
.main-content .sub-sidebar {
  /* 子側邊欄 */
  height: 100%;
  border-right: 1px solid #e7e7e7;
}
.main-content .sub-sidebar .frame {
  padding: 12px 24px;
}
.main-content .content {
  /* 表格內容區 */
  flex: auto;
}

.wrapper-xl {
  padding: 40px;
}
@media (max-width: 767.98px) {
  .wrapper-xl {
    padding: 20px;
  }
}
.wrapper-xl-mb-no-padding {
  padding: 40px;
}
@media (max-width: 767.98px) {
  .wrapper-xl-mb-no-padding {
    padding: 0;
  }
}

/* Block 樣式 - Rita.Ruo */
/* Block 樣式 - Rita.Ruo */
.button-abs-block {
  position: relative;
}
@media (max-width: 767.98px) {
  .button-abs-block .mb-abs {
    position: absolute;
  }
  .button-abs-block .mb-abs.top {
    left: 0;
    top: 8%;
  }
  .button-abs-block .mb-abs.middle {
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
  }
  .button-abs-block .mb-abs.top-middle {
    top: -15px;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .button-abs-block .mb-abs.top-left {
    top: -15px;
    left: 20px;
  }
}
@media (max-width: 767.98px) {
  .button-abs-block .main-block-mb-only > div {
    background-color: #ffffff;
    padding: 20px 20px 15px 30px;
    box-shadow: 5px 5px 20px 0px rgba(120, 168, 241, 0.15);
    border-radius: 10px;
  }
}
.button-abs-block.main-block-pc-only {
  padding: 20px 20px 10px 20px;
}
@media (max-width: 767.98px) {
  .button-abs-block.main-block-pc-only {
    padding: 0 20px 0 30px;
  }
}
@media (min-width: 768px) {
  .button-abs-block.main-block-pc-only {
    background-color: #ffffff;
    box-shadow: 5px 5px 20px 0px rgba(120, 168, 241, 0.15);
    border-radius: 10px;
    margin-bottom: 10px;
  }
}

nav {
  padding: 0;
  height: 4rem;
  border-bottom: 1px solid #e7e7e7;
}
nav .nav-left {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
nav .nav-left .btn-collaspe {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  border-right: 1px solid #e7e7e7;
  cursor: pointer;
  border-right: 1px solid #e7e7e7;
}
nav .nav-left .btn-collaspe .icm {
  color: #6096ba;
}
nav .nav-left .badge-version {
  padding: 0.375rem 0.75rem;
  font-family: "Noto Sans CJK TC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #ffffff;
}
nav .nav-right {
  margin-right: 2.5rem;
}

.custom-pagination-nav .page-item .page-link {
  line-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
}
.custom-pagination-nav .page-item.number {
  margin: 0 10px;
}
.custom-pagination-nav .page-item.prev {
  margin-right: 10px;
}
.custom-pagination-nav .page-item.next {
  margin-left: 10px;
}

/* flex-center暫時寫在這我怕git衝到，明天移回element */
.flex-center {
  justify-content: center;
  align-items: center;
}

.team-info table tr:not(:last-child) td {
  padding-bottom: 10px;
}
.team-info table td {
  color: #1A1A1A;
}
.team-info table td.title {
  width: 80px;
  line-height: 28px;
  color: #617286;
  font-weight: 400;
}

.team-member table td {
  color: #0c386a !important;
}

.icon {
  font-size: 20px;
  cursor: pointer;
}

/* Checkbox Setting */
.checkbox {
  /* 包住所有元素的外層 */
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox input {
  /* 隱藏原始input */
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkbox .checkmark {
  /* 客製的checkbox */
  /* Create a custom checkbox */
  position: absolute;
  width: 20px;
  height: 20px;
  top: 2px;
  left: 0;
  background-color: white;
  border: 1px solid #e7e7e7;
  border-radius: 5px;
  /* 客製化打勾樣式 */
}
@media (max-width: 767.98px) {
  .checkbox .checkmark {
    width: 20px;
    height: 20px;
  }
}
.checkbox .checkmark:after {
  /* Create the checkmark/indicator (hidden when not checked) */
  display: none;
  /* 預設隱藏打勾的樣式 */
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 8px;
  height: 12px;
  border: solid #6096ba;
  border-width: 0 3px 3px 0;
  transform: rotate(35deg);
}
/* 點擊勾選時打開隱藏的樣式 */
.checkbox input:checked ~ .checkmark:after {
  /* Show the checkmark when checked */
  display: block;
}

/* Radio Button Setting */
.radio-group {
  /* width: 30%; */
  display: inline-block;
  /* margin-bottom: 1rem; */
}
.radio-group .radio-input {
  visibility: hidden;
  /* 把原本的input藏起來 */
}
.radio-group .radio-label {
  /* 個人會員 -- 企業會員 Radio 文字 */
  cursor: pointer;
  position: relative;
  padding-left: 14px;
}
.radio-group .radio-button {
  /* 自定義樣式的span */
  display: inline-block;
  position: absolute;
  height: 20px;
  width: 20px;
  border: 1px solid #e7e7e7;
  border-radius: 50%;
  left: -16px;
  top: 0;
  margin: 3px 0;
  /* 讓中間黃色圈圈定位在中間 */
}
.radio-group .radio-button::after {
  /* 中間點點 */
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  transition: opacity 0.2s;
}

.radio-input:checked ~ .radio-label .radio-button::after {
  /* 選中radio時 才顯示中間點點 */
  opacity: 1;
  background-color: #6096ba;
  width: 14px;
  height: 14px;
}

.item-detail .collapse_btn[aria-expanded=false] .open_btn {
  display: inline;
}
.item-detail .collapse_btn[aria-expanded=false] .close_btn {
  display: none;
}
.item-detail .collapse_btn[aria-expanded=true] .open_btn {
  display: none;
}
.item-detail .collapse_btn[aria-expanded=true] .close_btn {
  display: inline;
}

.quotation_item .quotation_item_index {
  width: 40px;
  height: 40px;
}
.quotation_item table tr th {
  min-width: 150px;
}
.quotation_item .ticket-title {
  background: #fff3ed;
}
.quotation_item .collapse_btn[aria-expanded=false] .open_btn {
  display: inline;
}
.quotation_item .collapse_btn[aria-expanded=false] .close_btn {
  display: none;
}
.quotation_item .collapse_btn[aria-expanded=true] .open_btn {
  display: none;
}
.quotation_item .collapse_btn[aria-expanded=true] .close_btn {
  display: inline;
}

.purchase_item .collapse_btn[aria-expanded=false] .open_btn {
  display: inline;
}
.purchase_item .collapse_btn[aria-expanded=false] .close_btn {
  display: none;
}
.purchase_item .collapse_btn[aria-expanded=true] .open_btn {
  display: none;
}
.purchase_item .collapse_btn[aria-expanded=true] .close_btn {
  display: inline;
}

.product_card .product .card-body {
  background: #ffffff;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.ticket-detail .process .ticket_item {
  background: #ffffff;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}
.ticket-detail .process .title {
  min-width: 100px;
  min-height: 28px;
  color: #617286;
}

.ticket-preview {
  font-size: 0.75rem;
}
.ticket-preview .ticket_item {
  border-radius: 10px;
}
.ticket-preview .title {
  min-width: 80px;
  min-height: 28px;
  color: #617286;
}

.timeline .timeline-item {
  position: relative;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
}
.timeline .timeline-item .timeline-line {
  display: block;
  content: " ";
  justify-content: center;
  position: absolute;
  z-index: 0;
  left: 0;
  top: 38px;
  bottom: 0;
  transform: translate(50%);
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: #dbdfe9;
  width: 38px;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  border-left-style: dashed !important;
}
.timeline .timeline-item .timeline-icon {
  z-index: 1;
  flex-shrink: 0;
  margin-right: 1rem;
  width: 38px;
  height: 38px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.timeline .timeline-item .timeline-content {
  width: 100%;
  overflow: auto;
}
.timeline .timeline-item .timeline-content .timeline-title {
  height: 38px;
}
.timeline .timeline-item:last-child .timeline-line {
  bottom: 100%;
}

.card-subtable ul li .nav-link.active {
  color: #ffffff !important;
}
.card-subtable ul li .nav-link {
  color: #C8C8C8;
  border-radius: 10px;
  border: 1px solid var(--placeholder, #C8C8C8);
}

