fieldset {
  background-color: #ffffff;
  border: 1px solid rgb(119, 119, 119);
  padding: 16px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}
legend {
  margin-bottom: 0px;
  margin-left: 16px;
}

.gf {
  color: gray;
}

a:hover .mapTitleFrame,
a:focus .mapTitleFrame {
  text-decoration: none !important;
  opacity: 1;
  -webkit-transform: scale(1.1);
  /* -webkit-transform: translateY(10px); */
  padding: 2px 2px 2px 2px;
  border-radius: 3px;
  border-width: 1px;
  padding: 20px;
  background-color: #fffde2;
  color: #3a3a3a;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 0 2px 2px rgba(132, 132, 132, 0.64);
}

.mapTitleFrame {
  opacity: 0.85;
  padding: 2px 2px 2px 2px;
  border-radius: 3px;
  border-width: 1px;
  padding: 20px;
  background-color: #fffde2;
  color: #3a3a3a;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 0 2px 2px rgba(132, 132, 132, 0.64);
}

.mapTitle {
  text-decoration: underline;
  text-align: center;
  color: #000;
  font-size: 14pt;
}
.mapDesc {
  text-decoration: none;
  font-size: 9pt;
  color: gray;
}

.sidebar.left {
  /* color:#666666; */
  /* background: rgb(241,241,241);  */
  background: linear-gradient(90deg, rgba(241,241,241,1) 0%, rgba(243,243,243,1) 5%, rgba(255,255,255,1) 12%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.64);
  color: rgb(0, 0, 0);
  padding: 10px 10px 10px 20px;
  font-size: 12pt;
  text-align: left;

  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 180px;
  /* background: #ffffff; */
  z-index: 3;
}



/* 關閉按鈕 787878*/
.MUNDa-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.MUNDa-close-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.MUNDa-close-btn .material-icons {
    font-size: 18px;
}

/* 標題 */
.MUNDa-site-title {
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 35px 0 20px 0;
    cursor: pointer;
    text-align: center;
}

/* 分隔線 */
.MUNDa-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    margin: 8px 0;
    width: 100%;
}

/* 圓形按鈕 */
.MUNDa-circle-btn {
    width: 48px;
    height: 48px;
    background: #666;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0;
}

.MUNDa-circle-btn:hover {
    background: #555;
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.MUNDa-circle-btn .fa-solid {
    font-size: 22px;
    color: white;
}

/* 按鈕組 */
.MUNDa-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2px;
}

/* 語言選擇器 */
.MUNDa-language-selector {
    margin: 5px 0 0 0;
    width: 100%;
    position: relative;
}

.MUNDa-language-selector select {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 4px 6px;
    font-size: 10px;
    outline: none;
    cursor: pointer;
    width: 100%;
}

.MUNDa-language-selector select option {
    background: #444;
    color: white;
}

/* Logo */
.MUNDa-logo-container {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    cursor: pointer;
}

.MUNDa-logo-container img {
    width: 100%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.MUNDa-logo-container:hover img {
    opacity: 1;
}

/* 工具提示 */
.MUNDa-tooltip {
    position: relative;
}

.MUNDa-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.MUNDa-tooltip:hover::after {
    opacity: 1;
}

.sidebar.bottom {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.64);
  color: rgb(0, 0, 0);
  padding: 1px;
  font-size: 12pt;
  text-align: left;

  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 360px;
  background: #ffffff;
  z-index: 3;
}

.sidebarClose {
  float: right;
}

.MUNDa-tabs-close-button {
            position: absolute;
            top: 8px;
            right: 12px;
            background: none;
            color: #999;
            border: none;
            width: 24px;
            height: 24px;
            cursor: pointer;
            font-size: 18px;
            font-weight: 300;
            line-height: 1;
            transition: color 0.2s ease;
            padding: 0;
            z-index: 1000;
}
/* #map { 
  height: 180px;


 } */


/* 當滑鼠移到 .ayer-order-delete-icon-hover 元素上時，套用此樣式 */
.layer-order-delete-icon-hover:hover {
  /* 增加一個 1px 的實心藍色邊框 */
  border: 1px solid #5f6061; 
  
  /* 為了讓邊框是圓角，看起來更柔和 */
  border-radius: 3px; 
  box-shadow: 2px 2px 2px  #6b6b6b;
}

#tg {
  z-index: 2;
}
#chartLine {
  z-index: 3;
}

#datepickerStart {
  width: 120px;
}
#datepickerEnd {
  width: 120px;
}

#map {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #a5bfdd;
}

.frameImg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #ffffff;
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5);
}

textarea {
  padding: 10px;
  max-width: 100%;
  line-height: 1.5;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 1px #999;
}

#dragandrophandler {
  border-radius: 5px;
  border: 2px dotted #0b85a1;
  /* width:100%; */
  color: #92aab0;
  text-align: left;
  vertical-align: middle;
  /* padding:10px 10px 10 10px; */
  /* margin-bottom:10px; */
  /* font-size:200%; */
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0.5)
    ),
    url("../i/file-upload.png");
  background-position: center;
  background-repeat: no-repeat;
}



  .evtExportContainer {
      display: flex;
      flex-direction: column; /* Stack items vertically */
      gap: 12px; /* Gap between items */
      width: 100%;
      max-width: 400px; /* Set a max-width */
      padding: 20px;
      background-color: #ffffff;
      border-radius: 8px;
      /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
  }

  /* Container for each export item */
  .export-item {
      display: flex;
      justify-content: space-between; /* Key: Push inner elements to the sides */
      align-items: center; /* Vertically align items to the center */
      padding: 14px 0;
  }
  
  .export-item:not(:last-child) {
      border-bottom: 1px solid #e0e0e0; /* Add a divider between items */
  }

  /* Text Label Styles */
  .export-item span:first-child {
      color: #333;
  }


.fileUpload {
  font-size: 14pt;
  text-align: justfy;
  color: blue;
  text-shadow: 0 0 0.2em rgb(255, 255, 255);
  vertical-align: middle;
  width: 100%;
  height: 140px;
}

/* .imgFrame{
  border: 2px solid #ffffff;
  box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.5);
} */

/* .dg-button:hover{color:#000!important;border-radius: 5px;background-color:#ccc!important} */

/*#{
  position: absolute;
  top: 0px;
  left: 0px;
  width:20%;
  height:100%;

}*/





  .highlight-circle {
      position: absolute;
      border: 4px solid #e74c3c;
      border-radius: 50%;
      background: rgba(231, 76, 60, 0.3);
      pointer-events: none;
      z-index: 1000;
      width: 60px;
      height: 60px;
      animation: highlightPulse 1s ease-in-out infinite;
  }
  
  @keyframes highlightPulse {
      0% {
          transform: scale(1);
          opacity: 0.8;
          border-width: 4px;
      }
      50% {
          transform: scale(1.3);
          opacity: 1;
          border-width: 2px;
      }
      100% {
          transform: scale(1);
          opacity: 0.8;
          border-width: 4px;
      }
  }
  
  .fade-out {
      animation: fadeOut 0.8s ease-out forwards !important;
  }
  
  @keyframes fadeOut {
      0% {
          opacity: 1;
          transform: scale(1);
      }
      100% {
          opacity: 0;
          transform: scale(0.3);
      }
  }


.preStyle {
  padding: 2px;
  color: navy;
  overflow: scroll;
  border-radius: 4px;
  font-size: 9pt;
  height: 180px;
  width: auto;
  border-width: 1px;
  border-color: #888;
  border-style: solid;

  background-size: 56px 18px;
  background-image: linear-gradient(
      to right,
      rgb(241, 241, 241) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgb(241, 241, 241) 1px, transparent 1px);
}
.leaflet-container {
  background-color: #add0e7;
}
.SlippyMap {
  color: blue;
  text-decoration: underline;
}
.leaflet-div-icon {
  background: #ffaaaa;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: blue;
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
  line-height: 30px;
}
.my-textfield {
  font: inherit;
  color: inherit;
  text-align: inherit;
  outline: none;
  cursor: text;
}

.btn-map {
  background-color: white;
  border-radius: 4px;
  border-color: #666666;
  border-width: 1px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.4);
  height: 36px;
  width: 36px;
}

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 5px;
  height: 340px; /* Should be removed. Only for demonstration */
}

.column20 {
  float: left;
  width: 20%;
  padding: 5px;
  height: 340px;
}

.column25 {
  float: left;
  width: 25%;
  padding: 5px;
  height: 340px;
}

.column23 {
  float: left;
  width: 23%;
  padding: 5px;
  height: 100%;
}

.column23 > fieldset {
  height: 100%;
}

.column33 {
  float: left;
  width: 33.33%;
  padding: 5px;
  height: 340px;
}

.column30 {
  float: left;
  width: 30%;
  padding: 5px;
  height: 100%;
}
.column30 > fieldset {
  height: 100%;
}

.column40 {
  float: left;
  width: 40%;
  padding: 5px;
  height: 340px; /* Should be removed. Only for demonstration */
}

.column50 {
  float: left;
  width: 50%;
  padding: 5px;
  height: 340px; /* Should be removed. Only for demonstration */
}

.column60 {
  float: left;
  width: 60%;
  padding: 5px;
  height: 340px; /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.idLink {
  cursor: pointer;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}

#aiRes {
  padding: 10px;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background-color: rgba(226, 226, 226, 0.33) !important;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}
.scrollPanel {
  height: 300px;
  display: flex;
  flex-direction: row;
  overflow-y: auto;
  overflow-x: hidden;
}
.importCol-1 {
  width: 400px;
  padding: 5px;
  vertical-align: top;
  height: 100%;
}
.importCol-2 {
  width: auto;
  padding: 5px;
  height: 100%;
}

.iconChar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* -webkit-transform: scale(1.1); */
  opacity: 0.8;
  text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff,
    1px 1px 0 #ffffff;
}

@media (max-width: 768px) {
  .scrollPanel {
    flex-direction: column;
  }

  .importCol-1 {
    width: 100%;
  }
  .importCol-2 {
    width: 100%;
  }
}

#tabs {
  border: none;
}

.ui-jqgrid {
  font-size: 10pt;
}
.ui-jqgrid tr.jqgrow td {
  font-size: 10pt;
}

.loading-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-text {
  font-size: 18px;
  margin-top: 10px;
  color: #333;
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

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

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

.content {
  display: none;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
  background-color: white;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
.language {
  font-size: 9pt;
}
.poppupTextarea {
  -moz-appearance: textfield-multiline;
  -webkit-appearance: textarea;
  overflow-y: auto;
  border: 1px solid gray;
  color: gray;
  font: 9pt;
  height: 200px;
  overflow: auto;
  padding: 2px;
  resize: both;
  width: 310px;
  box-shadow: 12px 11px 11px -9px rgba(0, 0, 0, 0.1) inset;
}
.poppupTextareaRightSide {
  -moz-appearance: textfield-multiline;
  -webkit-appearance: textarea;
  border-radius: 8px;
  overflow-y: auto;
  border: 1px solid gray;
  color: gray;
  font: 9pt;
  height: 400px;
  width: 100%;
  overflow: auto;
  padding: 2px;
  resize: both;
  box-shadow: 12px 11px 11px -9px rgba(0, 0, 0, 0.1) inset;
}
/* fallback */
@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 400;
  src: url(materialsymbolsoutlined.woff2) format("woff2");
}
.cbdbDiv {
  margin: 10px auto;
  padding: 10px;
  background-color: #fcfff5;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border: solid 1px gray;
  border-radius: 6px;
  overflow: hidden;
  padding: 12px;
}

/* .evtClass  { width: 250px; }
.evtClass div {  font-size: 10pt; font-family: Arial, Helvetica, sans-serif;}
.evtClass div input { margin-right: 5px;margin-top: 2px;} */
/* #eventTable {
  width: 100%;
} */

.evtContainer {
  width: 100%;
  padding: 0px;
  margin: 0px auto;
}

#tab-filter{
  width: 100%;
  padding: 4px;
  margin: 2px auto;
}

.evtSearchContainer,
.evtExportContainer {
  width: 100%;
  display: block;
  box-sizing: border-box; /*避免 padding 和 border 造成寬度溢出 */
  margin: 10px auto;
  padding: 10px;
  border-color: rgb(171, 171, 171);
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* .chart-container {
  margin-top: 20px;
  height: 400px;
} */
select {
  padding: 4px;
  border-radius: 4px;
  border: 1px solid #ddd;
  margin-left: 10px;
}
/* .control-panel {
  width: 100%;
  margin-bottom: 10px;
} */
#evtTree {
  max-height: 500px; /* 只有 evtContainer 有最大高度限制 */
  overflow-y: auto; /* 只有 evtContainer 有垂直卷軸 */
  width: 100%;
  padding: 3px;
}

#evtTree ul {
  border-radius: 5px;

  /* background: #f4f6d1; */
  /* -webkit-box-shadow: 3px 3px 8px -3px rgba(0,0,0,0.75);
  -moz-box-shadow: 3px 3px 8px -3px rgba(0,0,0,0.75);
  box-shadow: 3px 3px 8px -3px rgba(0,0,0,0.75); */
}

/* .markerEventInfo{
  width: 100%;
  display: block;
  box-sizing: border-box;
  margin: 10px auto;
  padding: 10px;
  border-color: rgb(171, 171, 171);
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
} */
/* 頂部區域 */
.lassoSelectedInfo-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between; /* 這個屬性控制左右對齊 */
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26, 153, 2, 0.2);
}

/* 資料計數器 */
.lassoSelectedCounter {
  display: flex;
  align-items: center;
  color: #3a3a3a;
}

.lassoSelectedCounter-value {
  font-size: 22px;
  font-weight: 600;
  margin-right: 6px;
  color: #1a9902;
}

.lassoSelectedCounter-label {
  font-size: 14px;
  color: #666;
}

/* 標籤式按鈕 */
.lassoSelectedTabs {
  display: flex;
  gap: 6px;
  margin-left: auto; /* 這會將標籤推到右側 */
}

.lassoSelectedTab-button {
  padding: 8px 16px;
  border: none;
  background-color: #f5f5f5;
  color: #555;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lassoSelectedTab-button:hover {
  background-color: #e9e9e9;
}

.lassoSelectedTab-button.active {
  background-color: #1a9902;
  color: white;
}

.event-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
  overflow: hidden;
  position: relative;
}

.event-content {
  padding: 15px;
}

.info-section {
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.info-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  /* background: linear-gradient(to bottom, #8e2de2, #4a00e0); #1A9902*/
  background: linear-gradient(to bottom, #a9e79d, #1a9902);
  border-radius: 2px;
}

.section-title {
  font-size: 11pt;
  color: #333;
  margin-bottom: 5px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
/* //F0E6FF //6E26EC */
.section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  /* background: #4a00e0; */
  background: #1a9902;
  border-radius: 50%;
  margin-right: 6px;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-item {
  padding: 3px 0;
  font-size: 9pt;
  color: #555;
  display: flex;
  align-items: center;
}

.tag {
  display: inline-block;
  /* background-color: #f0e6ff; */
  background-color: #ebfbe8;
  /* color: #6200ea; */
  color: #1a9902;
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 9pt;
  margin-right: 3px;
  margin-bottom: 0;
}

.sponsor-section .info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

.sponsor-section .info-item {
  background-color: #f0f0f0;
  border-radius: 3px;
  padding: 3px 6px;
  border: none;
  width: fit-content;
  margin: 0;
}

@media (max-width: 480px) {
  .event-content {
    padding: 15px;
  }

  .section-title {
    font-size: 11pt;
  }

  .info-item {
    font-size: 9pt;
  }

  .tag {
    font-size: 9pt;
  }
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.leaflet-popup-content {
  word-break: break-all;
}
/* W3.CSS 4.15 December 2020 by Jan Egil and Borge Refsnes */
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}
summary {
  display: list-item;
}
audio,
canvas,
progress,
video {
  display: inline-block;
}
progress {
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline-width: 0;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
dfn {
  font-style: italic;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
figure {
  margin: 1em 40px;
}
img {
  border-style: none;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
button,
input,
select,
textarea,
optgroup {
  font: inherit;
  margin: 0;
}
optgroup {
  font-weight: bold;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
/* End extract */
html,
body {
  font-family: Arial, Helvetica, sans-serif,Verdana, "Microsoft JhengHei", "微軟正黑體",
    "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
html {
  overflow-x: hidden;
}
h1 {
  font-size: 36px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
}
.dg-serif {
  font-family: serif;
}
.dg-sans-serif {
  font-family: sans-serif;
}
.dg-cursive {
  font-family: cursive;
}
.dg-monospace {
  font-family: monospace;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Segoe UI", Arial, "Arial", "Microsoft JhengHei", "微軟正黑體",
    "Microsoft YaHei", sans-serif;
  font-weight: 400;
  margin: 10px 0;
}
.dg-wide {
  letter-spacing: 4px;
}
hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0;
}
.dg-image {
  max-width: 100%;
  height: auto;
}
img {
  vertical-align: middle;
}
a {
  color: inherit;
}
.dg-table,
.dg-table-all {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  display: table;
}
.dg-table-all {
  border: 1px solid #ccc;
}
.dg-bordered tr,
.dg-table-all tr {
  border-bottom: 1px solid #ddd;
}
.dg-striped tbody tr:nth-child(even) {
  background-color: #f1f1f1;
}
.dg-table-all tr:nth-child(odd) {
  background-color: #fff;
}
.dg-table-all tr:nth-child(even) {
  background-color: #f1f1f1;
}
.dg-hoverable tbody tr:hover,
.dg-ul.dg-hoverable li:hover {
  background-color: #ccc;
}
.dg-centered tr th,
.dg-centered tr td {
  text-align: center;
}
.dg-table td,
.dg-table th,
.dg-table-all td,
.dg-table-all th {
  padding: 8px 8px;
  display: table-cell;
  text-align: left;
  vertical-align: top;
}
.dg-table th:first-child,
.dg-table td:first-child,
.dg-table-all th:first-child,
.dg-table-all td:first-child {
  padding-left: 16px;
}
.dg-btn,
.dg-button {
  border: none;
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}
.dg-btn:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.dg-btn,
.dg-button {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.dg-disabled,
.dg-btn:disabled,
.dg-button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}
.dg-disabled *,
:disabled * {
  pointer-events: none;
}
.dg-btn.dg-disabled:hover,
.dg-btn:disabled:hover {
  box-shadow: none;
}
.dg-badge,
.dg-tag {
  background-color: #000;
  color: #fff;
  display: inline-block;
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}
.dg-badge {
  border-radius: 50%;
}
.dg-ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.dg-ul li {
  padding: 8px 16px;
  border-bottom: 1px solid #ddd;
}
.dg-ul li:last-child {
  border-bottom: none;
}
.dg-tooltip,
.dg-display-container {
  position: relative;
}
.dg-tooltip .dg-text {
  display: none;
}
.dg-tooltip:hover .dg-text {
  display: inline-block;
}
.dg-ripple:active {
  opacity: 0.5;
}
.dg-ripple {
  transition: opacity 0s;
}
.dg-input {
  padding: 8px;
  display: block;
  border: none;
  border-bottom: 1px solid #ccc;
  width: 100%;
}
.dg-select {
  padding: 9px 0;
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
}
.dg-dropdown-click,
.dg-dropdown-hover {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.dg-dropdown-hover:hover .dg-dropdown-content {
  display: block;
}
.dg-dropdown-hover:first-child,
.dg-dropdown-click:hover {
  background-color: #ccc;
  color: #000;
}
.dg-dropdown-hover:hover > .dg-button:first-child,
.dg-dropdown-click:hover > .dg-button:first-child {
  background-color: #ccc;
  color: #000;
}
.dg-dropdown-content {
  cursor: auto;
  color: #000;
  background-color: #fff;
  display: none;
  position: absolute;
  min-width: 160px;
  margin: 0;
  padding: 0;
  z-index: 1;
}
.dg-check,
.dg-radio {
  width: 24px;
  height: 24px;
  position: relative;
  top: 6px;
}
.dg-sidebar {
  height: 100%;
  width: 200px;
  background-color: #fff;
  position: fixed !important;
  z-index: 1;
  overflow: auto;
}
.dg-bar-block .dg-dropdown-hover,
.dg-bar-block .dg-dropdown-click {
  width: 100%;
}
.dg-bar-block .dg-dropdown-hover .dg-dropdown-content,
.dg-bar-block .dg-dropdown-click .dg-dropdown-content {
  min-width: 100%;
}
.dg-bar-block .dg-dropdown-hover .dg-button,
.dg-bar-block .dg-dropdown-click .dg-button {
  width: 100%;
  text-align: left;
  padding: 8px 16px;
}
.dg-main,
#main {
  transition: margin-left 0.4s;
}
.dg-modal {
  z-index: 3;
  display: none;
  padding-top: 100px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}
.dg-modal-content {
  margin: auto;
  background-color: #fff;
  position: relative;
  padding: 0;
  outline: 0;
  width: 600px;
}
.dg-bar {
  width: 100%;
  overflow: hidden;
}
.dg-center .dg-bar {
  display: inline-block;
  width: auto;
}
.dg-bar .dg-bar-item {
  padding: 8px 16px;
  float: left;
  width: auto;
  border: none;
  display: block;
  outline: 0;
}
.dg-bar .dg-dropdown-hover,
.dg-bar .dg-dropdown-click {
  position: static;
  float: left;
}
.dg-bar .dg-button {
  white-space: normal;
}
.dg-bar-block .dg-bar-item {
  width: 100%;
  display: block;
  padding: 8px 16px;
  text-align: left;
  border: none;
  white-space: normal;
  float: none;
  outline: 0;
}
.dg-bar-block.dg-center .dg-bar-item {
  text-align: center;
}
.dg-block {
  display: block;
  width: 100%;
}
.dg-responsive {
  display: block;
  overflow-x: auto;
}
.dg-container:after,
.dg-container:before,
.dg-panel:after,
.dg-panel:before,
.dg-row:after,
.dg-row:before,
.dg-row-padding:after,
.dg-row-padding:before,
.dg-cell-row:before,
.dg-cell-row:after,
.dg-clear:after,
.dg-clear:before,
.dg-bar:before,
.dg-bar:after {
  content: "";
  display: table;
  clear: both;
}
.dg-col,
.dg-half,
.dg-third,
.dg-twothird,
.dg-threequarter,
.dg-quarter {
  float: left;
  width: 100%;
}
.dg-col.s1 {
  width: 8.33333%;
}
.dg-col.s2 {
  width: 16.66666%;
}
.dg-col.s3 {
  width: 24.99999%;
}
.dg-col.s4 {
  width: 33.33333%;
}
.dg-col.s5 {
  width: 41.66666%;
}
.dg-col.s6 {
  width: 49.99999%;
}
.dg-col.s7 {
  width: 58.33333%;
}
.dg-col.s8 {
  width: 66.66666%;
}
.dg-col.s9 {
  width: 74.99999%;
}
.dg-col.s10 {
  width: 83.33333%;
}
.dg-col.s11 {
  width: 91.66666%;
}
.dg-col.s12 {
  width: 99.99999%;
}
@media (min-width: 601px) {
  .dg-col.m1 {
    width: 8.33333%;
  }
  .dg-col.m2 {
    width: 16.66666%;
  }
  .dg-col.m3,
  .dg-quarter {
    width: 24.99999%;
  }
  .dg-col.m4,
  .dg-third {
    width: 33.33333%;
  }
  .dg-col.m5 {
    width: 41.66666%;
  }
  .dg-col.m6,
  .dg-half {
    width: 49.99999%;
  }
  .dg-col.m7 {
    width: 58.33333%;
  }
  .dg-col.m8,
  .dg-twothird {
    width: 66.66666%;
  }
  .dg-col.m9,
  .dg-threequarter {
    width: 74.99999%;
  }
  .dg-col.m10 {
    width: 83.33333%;
  }
  .dg-col.m11 {
    width: 91.66666%;
  }
  .dg-col.m12 {
    width: 99.99999%;
  }
}
@media (min-width: 993px) {
  .dg-col.l1 {
    width: 8.33333%;
  }
  .dg-col.l2 {
    width: 16.66666%;
  }
  .dg-col.l3 {
    width: 24.99999%;
  }
  .dg-col.l4 {
    width: 33.33333%;
  }
  .dg-col.l5 {
    width: 41.66666%;
  }
  .dg-col.l6 {
    width: 49.99999%;
  }
  .dg-col.l7 {
    width: 58.33333%;
  }
  .dg-col.l8 {
    width: 66.66666%;
  }
  .dg-col.l9 {
    width: 74.99999%;
  }
  .dg-col.l10 {
    width: 83.33333%;
  }
  .dg-col.l11 {
    width: 91.66666%;
  }
  .dg-col.l12 {
    width: 99.99999%;
  }
}
.dg-rest {
  overflow: hidden;
}
.dg-stretch {
  margin-left: -16px;
  margin-right: -16px;
}
.dg-content,
.dg-auto {
  margin-left: auto;
  margin-right: auto;
}
.dg-content {
  max-width: 980px;
}
.dg-auto {
  max-width: 1140px;
}
.dg-cell-row {
  display: table;
  width: 100%;
}
.dg-cell {
  display: table-cell;
}
.dg-cell-top {
  vertical-align: top;
}
.dg-cell-middle {
  vertical-align: middle;
}
.dg-cell-bottom {
  vertical-align: bottom;
}
.dg-hide {
  display: none !important;
}
.dg-show-block,
.dg-show {
  display: block !important;
}
.dg-show-inline-block {
  display: inline-block !important;
}
@media (max-width: 1205px) {
  .dg-auto {
    max-width: 95%;
  }
}
@media (max-width: 600px) {
  .dg-modal-content {
    margin: 0 10px;
    width: auto !important;
  }
  .dg-modal {
    padding-top: 30px;
  }
  .dg-dropdown-hover.dg-mobile .dg-dropdown-content,
  .dg-dropdown-click.dg-mobile .dg-dropdown-content {
    position: relative;
  }
  .dg-hide-small {
    display: none !important;
  }
  .dg-mobile {
    display: block;
    width: 100% !important;
  }
  .dg-bar-item.dg-mobile,
  .dg-dropdown-hover.dg-mobile,
  .dg-dropdown-click.dg-mobile {
    text-align: center;
  }
  .dg-dropdown-hover.dg-mobile,
  .dg-dropdown-hover.dg-mobile .dg-btn,
  .dg-dropdown-hover.dg-mobile .dg-button,
  .dg-dropdown-click.dg-mobile,
  .dg-dropdown-click.dg-mobile .dg-btn,
  .dg-dropdown-click.dg-mobile .dg-button {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .dg-modal-content {
    width: 500px;
  }
  .dg-modal {
    padding-top: 50px;
  }
}
@media (min-width: 993px) {
  .dg-modal-content {
    width: 900px;
  }
  .dg-hide-large {
    display: none !important;
  }
  .dg-sidebar.dg-collapse {
    display: block !important;
  }
}
@media (max-width: 992px) and (min-width: 601px) {
  .dg-hide-medium {
    display: none !important;
  }
}
@media (max-width: 992px) {
  .dg-sidebar.dg-collapse {
    display: none;
  }
  .dg-main {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .dg-auto {
    max-width: 100%;
  }
}
.dg-top,
.dg-bottom {
  position: fixed;
  width: 100%;
  z-index: 1;
}
.dg-top {
  top: 0;
}
.dg-bottom {
  bottom: 0;
}
.dg-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.dg-display-topleft {
  position: absolute;
  left: 0;
  top: 0;
}
.dg-display-topright {
  position: absolute;
  right: 0;
  top: 0;
}
.dg-display-bottomleft {
  position: absolute;
  left: 0;
  bottom: 0;
}
.dg-display-bottomright {
  position: absolute;
  right: 0;
  bottom: 0;
}
.dg-display-middle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.dg-display-left {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(0%, -50%);
  -ms-transform: translate(-0%, -50%);
}
.dg-display-right {
  position: absolute;
  top: 50%;
  right: 0%;
  transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
}
.dg-display-topmiddle {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
}
.dg-display-bottommiddle {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
}
.dg-display-container:hover .dg-display-hover {
  display: block;
}
.dg-display-container:hover span.dg-display-hover {
  display: inline-block;
}
.dg-display-hover {
  display: none;
}
.dg-display-position {
  position: absolute;
}
.dg-circle {
  border-radius: 50%;
}
.dg-round-small {
  border-radius: 2px;
}
.dg-round,
.dg-round-medium {
  border-radius: 4px;
}
.dg-round-large {
  border-radius: 8px;
}
.dg-round-xlarge {
  border-radius: 16px;
}
.dg-round-xxlarge {
  border-radius: 32px;
}
.dg-row-padding,
.dg-row-padding > .dg-half,
.dg-row-padding > .dg-third,
.dg-row-padding > .dg-twothird,
.dg-row-padding > .dg-threequarter,
.dg-row-padding > .dg-quarter,
.dg-row-padding > .dg-col {
  padding: 0 8px;
}
.dg-container,
.dg-panel {
  padding: 0.01em 16px;
}
.dg-panel {
  margin-top: 16px;
  margin-bottom: 16px;
}
.dg-code,
.dg-codespan {
  font-family: Consolas, "courier new";
  font-size: 16px;
}
.dg-code {
  width: auto;
  background-color: #fff;
  padding: 8px 12px;
  border-left: 4px solid #4caf50;
  word-wrap: break-word;
}
.dg-codespan {
  color: crimson;
  background-color: #f1f1f1;
  padding-left: 4px;
  padding-right: 4px;
  font-size: 110%;
}
.dg-card,
.dg-card-2 {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.dg-card-4,
.dg-hover-shadow:hover {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
}
.dg-spin {
  animation: dg-spin 2s infinite linear;
}
@keyframes dg-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
.dg-animate-fading {
  animation: fading 10s infinite;
}
@keyframes fading {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.dg-animate-opacity {
  animation: opac 0.8s;
}
@keyframes opac {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.dg-animate-top {
  position: relative;
  animation: animatetop 0.4s;
}
@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
.dg-animate-left {
  position: relative;
  animation: animateleft 0.4s;
}
@keyframes animateleft {
  from {
    left: -300px;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}
.dg-animate-right {
  position: relative;
  animation: animateright 0.4s;
}
@keyframes animateright {
  from {
    right: -300px;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}
.dg-animate-bottom {
  position: relative;
  animation: animatebottom 0.4s;
}
@keyframes animatebottom {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}
.dg-animate-zoom {
  animation: animatezoom 0.6s;
}
@keyframes animatezoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.dg-animate-input {
  transition: width 0.4s ease-in-out;
}
.dg-animate-input:focus {
  width: 100% !important;
}
.dg-opacity,
.dg-hover-opacity:hover {
  opacity: 0.6;
}
.dg-opacity-off,
.dg-hover-opacity-off:hover {
  opacity: 1;
}
.dg-opacity-max {
  opacity: 0.25;
}
.dg-opacity-min {
  opacity: 0.75;
}
.dg-greyscale-max,
.dg-grayscale-max,
.dg-hover-greyscale:hover,
.dg-hover-grayscale:hover {
  filter: grayscale(100%);
}
.dg-greyscale,
.dg-grayscale {
  filter: grayscale(75%);
}
.dg-greyscale-min,
.dg-grayscale-min {
  filter: grayscale(50%);
}
.dg-sepia {
  filter: sepia(75%);
}
.dg-sepia-max,
.dg-hover-sepia:hover {
  filter: sepia(100%);
}
.dg-sepia-min {
  filter: sepia(50%);
}
.dg-tiny {
  font-size: 10px !important;
}
.dg-small {
  font-size: 12px !important;
}
.dg-medium {
  font-size: 15px !important;
}
.dg-large {
  font-size: 18px !important;
}
.dg-xlarge {
  font-size: 24px !important;
}
.dg-xxlarge {
  font-size: 36px !important;
}
.dg-xxxlarge {
  font-size: 48px !important;
}
.dg-jumbo {
  font-size: 64px !important;
}
.dg-left-align {
  text-align: left !important;
}
.dg-right-align {
  text-align: right !important;
}
.dg-justify {
  text-align: justify !important;
}
.dg-center {
  text-align: center !important;
}
.dg-border-0 {
  border: 0 !important;
}
.dg-border {
  border: 1px solid #ccc !important;
}
.dg-border-top {
  border-top: 1px solid #ccc !important;
}
.dg-border-bottom {
  border-bottom: 1px solid #ccc !important;
}
.dg-border-left {
  border-left: 1px solid #ccc !important;
}
.dg-border-right {
  border-right: 1px solid #ccc !important;
}
.dg-topbar {
  border-top: 6px solid #ccc !important;
}
.dg-bottombar {
  border-bottom: 6px solid #ccc !important;
}
.dg-leftbar {
  border-left: 6px solid #ccc !important;
}
.dg-rightbar {
  border-right: 6px solid #ccc !important;
}
.dg-section,
.dg-code {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}
.dg-margin {
  margin: 16px !important;
}
.dg-margin-top {
  margin-top: 16px !important;
}
.dg-margin-bottom {
  margin-bottom: 16px !important;
}
.dg-margin-left {
  margin-left: 16px !important;
}
.dg-margin-right {
  margin-right: 16px !important;
}
.dg-padding-small {
  padding: 4px 8px !important;
}
.dg-padding {
  padding: 8px 16px !important;
}
.dg-padding-large {
  padding: 12px 24px !important;
}
.dg-padding-16 {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.dg-padding-24 {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
.dg-padding-32 {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}
.dg-padding-48 {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}
.dg-padding-64 {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}
.dg-padding-top-64 {
  padding-top: 64px !important;
}
.dg-padding-top-48 {
  padding-top: 48px !important;
}
.dg-padding-top-32 {
  padding-top: 32px !important;
}
.dg-padding-top-24 {
  padding-top: 24px !important;
}
.dg-left {
  float: left !important;
}
.dg-right {
  float: right !important;
}
.dg-button:hover {
  color: blue !important;
  transform: translateY(-1px);
  box-shadow: rgba(68, 68, 68, 0.4) 2px 2px 2px;
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  border-width: 1px;
  border-color: gray;
  background-color: white !important;
}
.dg-button:focus {
  color: blue;
}
.dg-button:active {
  transform: translateY(0);
}
.dg-transparent,
.dg-hover-none:hover {
  background-color: transparent !important;
}
.dg-hover-none:hover {
  box-shadow: none !important;
}
/* Colors */
.dg-amber,
.dg-hover-amber:hover {
  color: #000 !important;
  background-color: #ffc107 !important;
}
.dg-aqua,
.dg-hover-aqua:hover {
  color: #000 !important;
  background-color: #00ffff !important;
}
.dg-blue,
.dg-hover-blue:hover {
  color: #fff !important;
  background-color: #2196f3 !important;
}
.dg-light-blue,
.dg-hover-light-blue:hover {
  color: #000 !important;
  background-color: #87ceeb !important;
}
.dg-brown,
.dg-hover-brown:hover {
  color: #fff !important;
  background-color: #795548 !important;
}
.dg-cyan,
.dg-hover-cyan:hover {
  color: #000 !important;
  background-color: #00bcd4 !important;
}
.dg-blue-grey,
.dg-hover-blue-grey:hover,
.dg-blue-gray,
.dg-hover-blue-gray:hover {
  color: #fff !important;
  background-color: #607d8b !important;
}
.dg-green,
.dg-hover-green:hover {
  color: #fff !important;
  background-color: #4caf50 !important;
}
.dg-light-green,
.dg-hover-light-green:hover {
  color: #000 !important;
  background-color: #8bc34a !important;
}
.dg-indigo,
.dg-hover-indigo:hover {
  color: #fff !important;
  background-color: #3f51b5 !important;
}
.dg-khaki,
.dg-hover-khaki:hover {
  color: #000 !important;
  background-color: #f0e68c !important;
}
.dg-lime,
.dg-hover-lime:hover {
  color: #000 !important;
  background-color: #cddc39 !important;
}
.dg-orange,
.dg-hover-orange:hover {
  color: #000 !important;
  background-color: #ff9800 !important;
}
.dg-deep-orange,
.dg-hover-deep-orange:hover {
  color: #fff !important;
  background-color: #ff5722 !important;
}
.dg-pink,
.dg-hover-pink:hover {
  color: #fff !important;
  background-color: #e91e63 !important;
}
.dg-purple,
.dg-hover-purple:hover {
  color: #fff !important;
  background-color: #9c27b0 !important;
}
.dg-deep-purple,
.dg-hover-deep-purple:hover {
  color: #fff !important;
  background-color: #673ab7 !important;
}
.dg-red,
.dg-hover-red:hover {
  color: #fff !important;
  background-color: #f44336 !important;
}
.dg-sand,
.dg-hover-sand:hover {
  color: #000 !important;
  background-color: #fdf5e6 !important;
}
.dg-teal,
.dg-hover-teal:hover {
  color: #fff !important;
  background-color: #009688 !important;
}
.dg-yellow,
.dg-hover-yellow:hover {
  color: #000 !important;
  background-color: #ffeb3b !important;
}
.dg-white,
.dg-hover-white:hover {
  color: #000 !important;
  background-color: #fff !important;
}
.dg-black,
.dg-hover-black:hover {
  color: #fff !important;
  background-color: #000 !important;
}
.dg-grey,
.dg-hover-grey:hover,
.dg-gray,
.dg-hover-gray:hover {
  color: #000 !important;
  background-color: #9e9e9e !important;
}
.dg-light-grey,
.dg-hover-light-grey:hover,
.dg-light-gray,
.dg-hover-light-gray:hover {
  color: #000 !important;
  background-color: #f1f1f1 !important;
}
.dg-dark-grey,
.dg-hover-dark-grey:hover,
.dg-dark-gray,
.dg-hover-dark-gray:hover {
  color: #fff !important;
  background-color: #616161 !important;
}
.dg-pale-red,
.dg-hover-pale-red:hover {
  color: #000 !important;
  background-color: #ffdddd !important;
}
.dg-pale-green,
.dg-hover-pale-green:hover {
  color: #000 !important;
  background-color: #ddffdd !important;
}
.dg-pale-yellow,
.dg-hover-pale-yellow:hover {
  color: #000 !important;
  background-color: #ffffcc !important;
}
.dg-pale-blue,
.dg-hover-pale-blue:hover {
  color: #000 !important;
  background-color: #ddffff !important;
}
.dg-text-amber,
.dg-hover-text-amber:hover {
  color: #ffc107 !important;
}
.dg-text-aqua,
.dg-hover-text-aqua:hover {
  color: #00ffff !important;
}
.dg-text-blue,
.dg-hover-text-blue:hover {
  color: #2196f3 !important;
}
.dg-text-light-blue,
.dg-hover-text-light-blue:hover {
  color: #87ceeb !important;
}
.dg-text-brown,
.dg-hover-text-brown:hover {
  color: #795548 !important;
}
.dg-text-cyan,
.dg-hover-text-cyan:hover {
  color: #00bcd4 !important;
}
.dg-text-blue-grey,
.dg-hover-text-blue-grey:hover,
.dg-text-blue-gray,
.dg-hover-text-blue-gray:hover {
  color: #607d8b !important;
}
.dg-text-green,
.dg-hover-text-green:hover {
  color: #4caf50 !important;
}
.dg-text-light-green,
.dg-hover-text-light-green:hover {
  color: #8bc34a !important;
}
.dg-text-indigo,
.dg-hover-text-indigo:hover {
  color: #3f51b5 !important;
}
.dg-text-khaki,
.dg-hover-text-khaki:hover {
  color: #b4aa50 !important;
}
.dg-text-lime,
.dg-hover-text-lime:hover {
  color: #cddc39 !important;
}
.dg-text-orange,
.dg-hover-text-orange:hover {
  color: #ff9800 !important;
}
.dg-text-deep-orange,
.dg-hover-text-deep-orange:hover {
  color: #ff5722 !important;
}
.dg-text-pink,
.dg-hover-text-pink:hover {
  color: #e91e63 !important;
}
.dg-text-purple,
.dg-hover-text-purple:hover {
  color: #9c27b0 !important;
}
.dg-text-deep-purple,
.dg-hover-text-deep-purple:hover {
  color: #673ab7 !important;
}
.dg-text-red,
.dg-hover-text-red:hover {
  color: #f44336 !important;
}
.dg-text-sand,
.dg-hover-text-sand:hover {
  color: #fdf5e6 !important;
}
.dg-text-teal,
.dg-hover-text-teal:hover {
  color: #009688 !important;
}
.dg-text-yellow,
.dg-hover-text-yellow:hover {
  color: #d2be0e !important;
}
.dg-text-white,
.dg-hover-text-white:hover {
  color: #fff !important;
}
.dg-text-black,
.dg-hover-text-black:hover {
  color: #000 !important;
}
.dg-text-grey,
.dg-hover-text-grey:hover,
.dg-text-gray,
.dg-hover-text-gray:hover {
  color: #757575 !important;
}
.dg-text-light-grey,
.dg-hover-text-light-grey:hover,
.dg-text-light-gray,
.dg-hover-text-light-gray:hover {
  color: #f1f1f1 !important;
}
.dg-text-dark-grey,
.dg-hover-text-dark-grey:hover,
.dg-text-dark-gray,
.dg-hover-text-dark-gray:hover {
  color: #3a3a3a !important;
}
.dg-border-amber,
.dg-hover-border-amber:hover {
  border-color: #ffc107 !important;
}
.dg-border-aqua,
.dg-hover-border-aqua:hover {
  border-color: #00ffff !important;
}
.dg-border-blue,
.dg-hover-border-blue:hover {
  border-color: #2196f3 !important;
}
.dg-border-light-blue,
.dg-hover-border-light-blue:hover {
  border-color: #87ceeb !important;
}
.dg-border-brown,
.dg-hover-border-brown:hover {
  border-color: #795548 !important;
}
.dg-border-cyan,
.dg-hover-border-cyan:hover {
  border-color: #00bcd4 !important;
}
.dg-border-blue-grey,
.dg-hover-border-blue-grey:hover,
.dg-border-blue-gray,
.dg-hover-border-blue-gray:hover {
  border-color: #607d8b !important;
}
.dg-border-green,
.dg-hover-border-green:hover {
  border-color: #4caf50 !important;
}
.dg-border-light-green,
.dg-hover-border-light-green:hover {
  border-color: #8bc34a !important;
}
.dg-border-indigo,
.dg-hover-border-indigo:hover {
  border-color: #3f51b5 !important;
}
.dg-border-khaki,
.dg-hover-border-khaki:hover {
  border-color: #f0e68c !important;
}
.dg-border-lime,
.dg-hover-border-lime:hover {
  border-color: #cddc39 !important;
}
.dg-border-orange,
.dg-hover-border-orange:hover {
  border-color: #ff9800 !important;
}
.dg-border-deep-orange,
.dg-hover-border-deep-orange:hover {
  border-color: #ff5722 !important;
}
.dg-border-pink,
.dg-hover-border-pink:hover {
  border-color: #e91e63 !important;
}
.dg-border-purple,
.dg-hover-border-purple:hover {
  border-color: #9c27b0 !important;
}
.dg-border-deep-purple,
.dg-hover-border-deep-purple:hover {
  border-color: #673ab7 !important;
}
.dg-border-red,
.dg-hover-border-red:hover {
  border-color: #f44336 !important;
}
.dg-border-sand,
.dg-hover-border-sand:hover {
  border-color: #fdf5e6 !important;
}
.dg-border-teal,
.dg-hover-border-teal:hover {
  border-color: #009688 !important;
}
.dg-border-yellow,
.dg-hover-border-yellow:hover {
  border-color: #ffeb3b !important;
}
.dg-border-white,
.dg-hover-border-white:hover {
  border-color: #fff !important;
}
.dg-border-black,
.dg-hover-border-black:hover {
  border-color: #000 !important;
}
.dg-border-grey,
.dg-hover-border-grey:hover,
.dg-border-gray,
.dg-hover-border-gray:hover {
  border-color: #9e9e9e !important;
}
.dg-border-light-grey,
.dg-hover-border-light-grey:hover,
.dg-border-light-gray,
.dg-hover-border-light-gray:hover {
  border-color: #f1f1f1 !important;
}
.dg-border-dark-grey,
.dg-hover-border-dark-grey:hover,
.dg-border-dark-gray,
.dg-hover-border-dark-gray:hover {
  border-color: #616161 !important;
}
.dg-border-pale-red,
.dg-hover-border-pale-red:hover {
  border-color: #ffe7e7 !important;
}
.dg-border-pale-green,
.dg-hover-border-pale-green:hover {
  border-color: #e7ffe7 !important;
}
.dg-border-pale-yellow,
.dg-hover-border-pale-yellow:hover {
  border-color: #ffffcc !important;
}
.dg-border-pale-blue,
.dg-hover-border-pale-blue:hover {
  border-color: #e7ffff !important;
}

.chat-bubble {
  background-color: #e6f8f1;
  padding: 16px 28px;
  -webkit-border-radius: 20px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius: 20px;
  -moz-border-radius-bottomleft: 2px;
  border-radius: 20px;
  border-bottom-left-radius: 2px;
  display: inline-block;
  -webkit-box-shadow: 5px 5px 5px 0px rgba(122, 122, 122, 1);
  -moz-box-shadow: 5px 5px 5px 0px rgba(122, 122, 122, 1);
  box-shadow: 5px 5px 5px 0px rgba(122, 122, 122, 1);
}
.typing {
  align-items: center;
  display: flex;
  height: 17px;
}
.typing .dot {
  animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
  background-color: #6cad96;
  border-radius: 50%;
  height: 7px;
  margin-right: 4px;
  vertical-align: middle;
  width: 7px;
  display: inline-block;
}
.typing .dot:nth-child(1) {
  animation-delay: 200ms;
}
.typing .dot:nth-child(2) {
  animation-delay: 300ms;
}
.typing .dot:nth-child(3) {
  animation-delay: 400ms;
}
.typing .dot:last-child {
  margin-right: 0;
}

@keyframes mercuryTypingAnimation {
  0% {
    transform: translateY(0px);
    background-color: #6cad96;
  }
  28% {
    transform: translateY(-7px);
    background-color: #9ecab9;
  }
  44% {
    transform: translateY(0px);
    background-color: #b5d9cb;
  }
}

.chat {
  width: 100%;
  height: 100%;
  float: left;
  /* background: #F2F5F8; */
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #434651;
}
.message {
  color: white;
  padding: 18px 20px;
  line-height: 26px;
  font-size: 16px;
  border-radius: 7px;
  margin-bottom: 30px;
  width: 90%;
  position: relative;

  &:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #86bb71;
    border-width: 10px;
    margin-left: -10px;
  }
}

#DataFile_filenameListContainer_0 {
  box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.2);
}

#DataFile_loginContainer_0 {
  box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.2);
}
.google-button {
  display: inline-flex !important;
  /* align-items: flex-start !important; */
    align-items: center !important;  /* 只需要把 flex-start 改為 center */
}
.my-message {
  background: #86bb71;
}

.other-message {
  background: #94c2ed;

  &:after {
    border-bottom-color: #94c2ed;
    left: 93%;
  }
}

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

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

.float-right {
  float: right;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.message-data-time {
  color: #92959e;
  padding-left: 6px;
}

.message-data-name {
  color: lighten(#010615, 8%);
  padding-left: 6px;
}

.chat-history ul {
  list-style-type: none;
  padding: 20px;
  height: 770px;
}

.chat-history li {
  padding-bottom: 20px;
}

.chat-message {
  padding: 30px;
}

.chat-message textarea {
  width: 100%;
  border: none;
  padding: 10px 20px;
  font: 14px/22px "Lato", Arial, sans-serif;
  margin-bottom: 10px;
  border-radius: 5px;
  resize: none;
}

.leaflet-control-layers .leaflet-control-layers-expanded .leaflet-control {
  width: 260px;
  max-width: 260px;
}
.leaflet-control-layers-overlays {
  max-width: 260px;
}

.leaflet-control-layers .leaflet-row {
  float: left;
  width: 100%;
  max-width: 260px;
  white-space: nowrap;
}

.leaflet-control-layers .leaflet-row .leaflet-input {
  float: left;
  width: 15px;
}

.leaflet-control-layers .leaflet-row .leaflet-name {
  float: left;
  width: auto;
}

.info-select {
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: ease-in-out 0.15s;
  -webkit-box-shadow: ease-in-out 0.15s;
  width: 120px;
  height: 26px;
  outline: none;
  /* appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  -ms-appearance:none; */
  /* background: url(img/down.png) no-repeat scroll right center transparent;            */
}


/* 一個通用的 divIcon 樣式 */
.custom-div-icon {
    background: none;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-div-icon .iconChar {
    font-weight: bold;
    text-align: center;
    /* 其他您需要的通用樣式 */
}


  /* 按鈕列的容器樣式 */
  .button-bar {
    display: inline-flex;  /* 使用 flexbox 佈局，讓按鈕緊密排列 */
    border: 1px solid #ccc;
    border-radius: 5px;   /* 整個容器的圓角 */
    overflow: hidden;       /* 隱藏超出容器圓角的部分，這是讓首尾按鈕圓角生效的關鍵 */
  }

  /* 按鈕列中所有按鈕的通用樣式 */
  .button-bar button {
    background-color: #f0f0f0;
    border: none;             /* 移除按鈕自身的邊框 */
    padding: 8px 12px;
    cursor: pointer;
    display: flex;            /* 讓圖標垂直居中 */
    align-items: center;
    transition: background-color 0.2s; /* 平滑的滑鼠懸停效果 */
  }
  
  /* 除了最後一個按鈕外，其他按鈕右邊都加上分隔線 */
  .button-bar button:not(:last-child) {
    border-right: 1px solid #ccc;
  }

  /* 滑鼠懸停時改變背景色 */
  .button-bar button:hover {
    background-color: #e0e0e0;
  }
  
  /* 按下時的樣式 */
  .button-bar button:active {
    background-color: #d0d0d0;
  }

  /* 調整 Google 圖標的大小和位置 */
  .material-symbols-outlined {
    font-size: 20px;
  }

  .leaflet-control-layers .leaflet-row {
  display: flex;
  align-items: left;
  white-space: nowrap;
  /*  可選，flex 佈局通常已能防止直接子元素換行 */
}

/* 讓圖層名稱部分可以佔用多餘空間 */
.leaflet-control-layers .leaflet-name {
  flex-grow: 1;
}

.leaflet-name {
  display: flex;         /* 啟用 Flexbox 排版 */
  align-items: center; /* 讓圖示和文字垂直置中對齊，看起來更美觀 */
  gap: 5px;            /* (可選) 在圖示和文字之間增加一點間距 */
}