.logImg {
  /*width: 34px;
  height: 34px;
  margin-right: 10px;*/
  /*width: 216px;
  margin-top: 2px;
  margin-bottom: 4px;
  margin-left: 24px;*/
  width: 100%;
}

.logImg_more {
  margin: 0px auto;
  display: block;
  width: 42px;
  /*margin: 16% auto;*/
}

.logo-mini {
  height: 50px;
}

.logo .simple-text {
  font-size: 20pt !important;
  /*margin-right: 65px;*/
}

.sidebar-mini>div>div>div>a.simple-text {
  margin-right: 0;
}

.navbar .navbar-nav>li>a i {
  font-size: 22pt;
  color: #777;
}

.navbar .navbar-nav>li>a p {
  font-size: 16pt;
  color: #777;
}

.icon-container {
  display: flex;
  justify-content: center;
  /* Horizontal centering */
  align-items: center;
  /* Vertical centering */
  position: relative;
}

.icon-container i {
  margin-right: 8px;
  /* Adjust margin to balance spacing with the notification badge */
}

.dropdown_lf {
  margin-left: 20px;
}


.dropdown_ri {
  margin-right: 30px;
}

.margin_top_20 {
  margin-top: 20px;
}

.m_b_10 {
  margin-bottom: 10px;
}

.mess__content[data-mess-ansn] {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

.patient__avatar[data-mess-ansn] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 16px;
  width: 68px;
}

.patient__avatar img[data-mess-ansn] {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e9ecec;
}

img {
  vertical-align: middle;
}

[dir=ltr] .patient__info[data-mess-ansn] {
  padding-right: 12px;
}

.patient__info[data-mess-ansn] {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.patient__name[data-mess-ansn] {
  color: #286157;
  margin-bottom: 4px;
  max-width: 1028px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  word-break: break-all;
  font-weight: 700;
  display: inline;
  -webkit-transition: width .3s, max-width .3s;
  transition: width .3s, max-width .3s;
}

p:first-child {
  margin-top: 0;
}

.items-center {
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}

.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

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

.statusBox {
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 5%;
  border-width: 1px;
  border-style: solid;
  background-color: #fff;
  border: 1px solid #dde0dc;
}

#selectedAssignees span,
.selectItems span {
  margin: 10px 10px;
  font-size: 12pt;
}

.checkboxStyle {
  margin-bottom: 10px;
}

.Main_lable_style {
  border-radius: 4px;
  background-color: #364150;
  color: #fff;
  display: block;
  /*padding: 10px;*/
  padding: 1px 0px 2px 10px;
  cursor: pointer;
}

span.Main_lable_style_toogle {
  color: #fff;
}

/* 隱藏默認的 checkbox */
input[type="checkbox"] {
  display: none;
}

/* 自定義 checkbox 的外觀 */
input[type="checkbox"]+label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  font-size: 15pt;
  color: #333;
}

/* 顯示自定義的方框 */
input[type="checkbox"]+label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

/* 當 checkbox 被勾選時，改變方框顏色和勾選符號 */
input[type="checkbox"]:checked+label::before {
  background-color: #364150;
  border-color: #9baec9;
  content: '\2713';
  color: white;
  font-size: 16px;
  text-align: center;
  line-height: 20px;
}

/* 禁用狀態的 checkbox 樣式 */
input[type="checkbox"]:disabled+label {
  color: #aaa;
  /* 改變文字顏色 */
  cursor: not-allowed;
  /* 更改游標樣式 */
}

/* 禁用狀態的方框樣式 */
input[type="checkbox"]:disabled+label::before {
  border-color: #ddd;
  /* 改變禁用時的邊框顏色 */
  background-color: #f5f5f5;
  /* 改變禁用時的背景顏色 */
}

/* 禁用且被勾選時的樣式 */
input[type="checkbox"]:disabled:checked+label::before {
  background-color: #bbb;
  /* 改變禁用且被勾選時的背景顏色 */
  border-color: #bbb;
  /* 改變禁用且被勾選時的邊框顏色 */
  content: '\2713';
  /* 保留勾選符號 */
  color: white;
  font-size: 16px;
  text-align: center;
  line-height: 20px;
}

/* 隱藏默認的 radio */

input[type="radio"] {
  display: none;
}

/* 自定義 radio 的外觀 */
input[type="radio"]+label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
  color: #000;
}

/* 顯示自定義的圓形框 */
input[type="radio"]+label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  /* 圓形框 */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* 當 radio 被選中時，改變圓形框顏色和內容 */
input[type="radio"]:checked+label::before {
  background-color: #364150;
  border-color: #364150;
}

/* 自定義內部的點（顯示為勾選狀態） */
input[type="radio"]:checked+label::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  /* 圓形內點 */
}

/* 禁用狀態的 radio 按鈕樣式 */
input[type="radio"]:disabled+label {
  color: #999;
  /* 禁用時文字顏色變暗 */
  cursor: not-allowed;
  /* 禁用時鼠標指針顯示不可用狀態 */
}

/* 禁用狀態的圓形框樣式 */
input[type="radio"]:disabled+label::before {
  border-color: #ccc;
  /* 禁用時圓形框顏色 */
  background-color: #f5f5f5;
  /* 禁用時背景色 */
}

/* 禁用且選中的 radio 按鈕內部樣式 */
input[type="radio"]:disabled:checked+label::before {
  background-color: #bbb;
  /* 禁用時選中的背景色 */
  border-color: #bbb;
  /* 禁用時選中的邊框顏色 */
}

input[type="radio"]:disabled:checked+label::after {
  background-color: #fff;
  /* 禁用時選中的內點顏色 */
}

/* 階層顯示的縮進效果 */
.nested-group {
  margin-left: 20px;
  border-left: 1px dashed #364150;
  padding-top: 10px;
  padding-left: 20px;
  padding-bottom: 10px;
  background: #f1f1f1;
}

/* 展開/收起按鈕樣式 */
.toggle {
  font-weight: bold;
  font-size: 16px;
  color: #364150;
  cursor: pointer;
  padding-left: 10px;
  user-select: none;
}

/* 展開/收起按鈕的 hover 效果 */
.toggle:hover {
  text-decoration: underline;
}

/* 子部門的樣式 */
.sub-department {
  font-size: 14px;
  color: #555;
}

/* 主部門樣式 */
.main-department {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.workStatusBoxStyle {
  border: 2px dashed #364150;
  padding: 10px;
}

a.sp_line {
  text-decoration: none;
  color: #000;
  position: relative;
}

a.sp_line::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff7e5f;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

a.sp_line:hover::after {
  visibility: visible;
  transform: scaleX(1);
}

@media (max-width: 992px) {
  .navbar .navbar-brand {
    /*margin: 13px 0px;*/
    margin: 0px 0px 0px 0px;
  }

  .navbar {
    width: 85%;
  }
}

.pagination-primary>li>a,
.pagination-primary>li:first-child>a {
  border: 2px solid #b81b22 !important;
  color: #b81b22 !important;
}

.pagination-primary>li.active>a {
  background-color: #b81b22 !important;
  border-color: #b81b22 !important;
  color: #FFFFFF !important;
}

.pagination-primary>li>span {
  border: 2px solid #b81b22 !important;
  color: #c5232a73 !important;
}

.pagination-primary>li.active>span {
  background-color: #b81b22 !important;
  border-color: #b81b22 !important;
  color: #FFFFFF !important;
}



.pagination-primary>li>a:hover {
  background-color: #b81b22 !important;
  border-color: #b81b22 !important;
  color: #FFFFFF !important;
}

.pagination-primary>li>span:hover {
  background-color: #b81b22 !important;
  border-color: #b81b22 !important;
  color: #FFFFFF !important;
}

.page_content {
  padding: 0px 15px 20px 15px;
  text-align: right;
}

.pagination {
  margin: 0 !important;
}

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

.whitespace_nowrap {
  white-space: nowrap !important;
}

/* Sidebar Search Bar Styles */

.search_sidebar_li {
  padding: 0px 13px 0px 13px;
}

.search_sidebar .search-container {
  display: flex;
  align-items: center;
  padding: 0px;
  /* margin-bottom: 15px; */
  background-color: #f1f1f1;
  border-radius: 5px;
}

.search_sidebar .search-container .search-input {
  flex: 1;
  padding: 4px 8px;
  font-size: 14pt;
  color: #000;
  background-color: #f1f1f1;
  /* Slightly lighter color for contrast */
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.search_sidebar .search-container:hover .search-input {
  width: 100%;
  /* Expand to full width when hovering over the container */
}

.search_sidebar .search-container .search-button {
  /*padding: 8px;*/
  background-color: #f1f1f1;
  /* Accent color for button */
  color: #000;
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  padding: 4px 0px;
}

.search_sidebar .search-container .search-button:hover {
  background-color: #e64a19;
  /* Darker shade on hover */
}

.search-input::placeholder {
  color: #000;
}

.search_sidebar .search-container .search-button i {
  font-size: 16px;
  margin-right: 0px !important;
}

.tooltip___ {
  background: #f8f9fa;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  width: 550px;
  max-width: 500px;
  z-index: 1000;
  position: absolute;
  display: none;
  /* 預設隱藏 */
  word-wrap: break-word;
  font-size: 13pt;
}

/* 添加此樣式以隱藏完整內容，並僅顯示短內容 */
.hover-full-all_content {
  display: none;
  /* 預設隱藏 */
}

.Labtooltip___ {
  background: #f8f9fa;
  /*padding: 10px;*/
  border: #b4cae7 4px solid;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  width: 400px;
  max-width: 300px;
  z-index: 1300;
  position: absolute;
  display: none;
  white-space: nowrap;
  word-wrap: break-word;
  font-size: 13pt;
}

.hover-full-all_Labcontent {
  display: none;
}

.hover-full-all_Labcontent2 {
  display: flex;
  flex-direction: column;
  gap: 0px 10px;
}

.lab_toop_row {
  display: flex;
  align-items: center;
  /*margin-bottom: 5px; */
  color: #000;
  padding: 10px 0px 10px 10px;
}

.lab_toop_label {
  flex: 0 0 100px;
  font-weight: bold;
}

.lab_toop_content {
  flex: 1;
  word-wrap: break-word;
}


/* 單數行背景顏色 */
.lab_toop_row:nth-child(odd) {
  background-color: #F3F2EE;
  /* 替換為所需的單數行背景色 */
}

/* 雙數行背景顏色 */
.lab_toop_row:nth-child(even) {
  background-color: #ffffff;
  /* 替換為所需的雙數行背景色 */
}

/* 行的底部虛線下劃線 */
.lab_toop_row {
  border-bottom: 1px dashed #ccc;
  /* 虛線下劃線 */
}

/* 最後一行無需邊框 */
.lab_toop_row:last-child {
  border-bottom: none;
}

.highlight-red {
  color: red;
}

.highlight-red>label {
  color: red !important;
}

.category-row-background {
  background: #b4cae7 !important;
}

.category-row {
  font-weight: bold;
  text-align: left;
}

.itrm-first_row {
  width: 200px;
  cursor: pointer;
}

#addTel,
#addEmail {
  font-size: 8pt;
}

.badgeBtn {
  cursor: pointer;
}

.header-content {
  display: flex;
  justify-content: space-between;
  /* 使標題和按鈕左右對齊 */
  align-items: center;
  /* 垂直居中對齊 */
}

.title {
  margin: 0;
  /* 確保標題沒有多餘的間距 */
}

#button-dropdown {
  margin-left: 10px;
  /* 視需要調整按鈕和標題之間的間距 */
}

.profileMian>.nav-tabs-navigation>.nav-tabs-wrapper {
  display: unset;
  margin-bottom: unset;
  margin-left: unset;
  margin-right: unset;
  position: unset;
  width: auto;
}

.profileMian>.nav-tabs-navigation {
  text-align: left;
  margin: 0;
}

.profileMian>.nav-tabs-navigation>.nav-tabs-wrapper>.nav-tabs>li {
  background: #f1f1f1;
  margin-right: 5px;
}

.profileMian>.nav-tabs-navigation>.nav-tabs-wrapper>.nav-tabs>li.active :before {
  content: unset;
  display: unset;
  position: unset;
  right: unset;
  bottom: unset;
  border: unset;
}

.profileMian>.nav-tabs-navigation>.nav-tabs-wrapper>.nav-tabs>li.active :after {
  content: unset;
  display: unset;
  position: unset;
  right: unset;
  bottom: unset;
  border: unset;
}

.profileMian>.nav-tabs-navigation>.nav-tabs-wrapper>.nav-tabs>li {
  border-radius: 4px;
}

.profileMian>.nav-tabs-navigation>.nav-tabs-wrapper>.nav-tabs>li>a {
  border-radius: 4px;
}

.profileMian>.nav-tabs-navigation>.nav-tabs-wrapper>.nav-tabs>li.active a {
  background-color: #364150;
  color: #fff;
}

.profileMian>.nav-tabs-navigation .nav>li>a {
  padding-bottom: 10px;
}

/* 增加樣式 */
#modalStyle .modal-header {
  border-bottom: 2px solid #ddd;
  box-shadow: 0 2px 10px -2px #e5e5e5;
}

#modalStyle .modal-footer {
  background: #f7f7f6;
  border-radius: 0px 0px 10px 10px;
}

.NoteTitle {
  color: white;
}

.note_new_button {
  float: right;
}

blockquote {
  font-style: unset;
  padding: 0px 20px;
  margin: 5px 0px;
  font-size: 17.5px;
  border-left: 5px solid #eee;
}

.note_text {
  line-height: 26px;
}

.swal2-buttonswrapper>button {
  margin: 0px 5px;
}

.radio-inline,
.checkbox-inline {
  vertical-align: unset;
}

.newMeasureSet {
  display: none;
}

.newMeasureSet input[type="text" i],
.newMeasureSet2 input[type="text" i] {
  padding: 2px;
  height: 26px;
}

.newMeasureSet textarea,
.newMeasureSet2 textarea {
  padding: 2px;
  height: 60px;
}

.newMeasureSet .MeasureTooleButton,
.newMeasureSet2 .MeasureTooleButton {
  padding: 10px 0px 0px 0px;
}

.mtb2,
.mtb3 {
  display: none;
}

.MeasurecheckboxValue {
  width: 60px;
}

.Measure_dateValue {
  width: 120px;
}

.CustomerassignedtoStyle {
  border: #364150 2px dashed;
  padding: 10px 10px 5px 10px;
}

.CustomerassignedtoStyle span {
  font-size: 12pt;
}

.pinfoStyle {
  border: #364150 1px dashed;
  padding: 10px 10px 5px 10px;
}

.CHECKBOXITEM_TAG {
  display: none;
}

.CHECKBOXITEM_TAG>input[type="checkbox"] {
  display: unset !important;
}

/**實現轉圈的動畫效果**/
.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

.amaze-note {
  display: block;
  font-size: 12pt;
  font-weight: 600;
  margin-bottom: 5px;
  width: 100%;
}

.note-content {
  font-size: 16pt;
  background: #dbd9d9;
  padding: 5px;
}

.profileMian label {
  font-size: 16pt;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


@media (max-width: 768px) {
  .profile_button_dropdown {
    margin-left: 0 !important;
  }

  #NoteTableList tr {
    display: flex;
    flex-direction: column;
    /* 垂直佈局 */
  }

  #NoteTableList tr td {
    width: 100%;
    /* 每個 <td> 佔滿整行 */
  }

  #NoteTableList tr td+td {
    display: block;
    text-align: left;
    margin-top: 10px;
    border-top: 1px dashed #ccc;
    background: #eee;
  }


  .profileMian>.nav-tabs-navigation>.nav-tabs-wrapper>.nav-tabs>li {
    width: 100%;
    margin-bottom: 5px;
  }

  .profileMian>.nav-tabs-navigation>.nav-tabs-wrapper>.nav-tabs>li>a {
    text-align: center;
  }

  .category-row-background {
    text-align: center;
  }
}

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

.fs_12pt {
  font-size: 12pt;
}

.fs_16pt {
  font-size: 16pt;
}

.IconImg {
  width: 40px !important;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  display: block;
  margin: 0px auto;
}

.text_style_1 {
  display: block;
  text-align: center;
  font-size: 14pt;
}

.dropdown .btn.btn-fill {
  background-color: unset;
  color: #A49E93;
  ;
}

.dropdownBtn {
  background: #f1f1f1;
  color: #A49E93;
}