@charset "UTF-8";
#side-menu-container {
  overflow: hidden;
}

.side-menu {
  position: fixed;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  padding: 10px;
  z-index: 9999;
  border-radius: 10px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 105, 194, 0.3);
}

.side-menu ul {
  margin: 0;
}

.side-menu li {
  margin: 0;
  padding: 0;
  position: relative;
  text-align: center;
}

.side-menu li:last-child::after {
  border-top: none;
}

.side-menu li::after {
  position: absolute;
  content: "";
  top: 0;
  left: 6px;
  right: 6px;
  border-top: 1px dashed #e6e6e6;
}

.side-menu li:first-child::after {
  display: none;
}

.side-menu a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 10px 4px;
  text-decoration: none;
  color: #0069c2;
  font-size: 12px;
  gap: 4px;
  cursor: pointer;
}

#back-to-top {
  display: none; /* 初始狀態隱藏 */
}
@media screen and (max-width: 768px) {
  #back-to-top {
    display: block !important;
  }
}

/* 當螢幕寬度小於或等於 768px 時的樣式 */
@media screen and (max-width: 768px) {
  .side-menu {
    position: fixed;
    display: table;
    width: 100%;
    max-width: 768px;
    height: auto;
    border-radius: 0;
    padding: 0;
    right: 0;
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    overflow: auto;
  }
  .side-menu ul {
    display: table-row;
  }
  .side-menu li {
    display: table-cell;
    width: 20%;
    vertical-align: middle;
  }
  .side-menu li::after {
    top: 6px;
    bottom: 6px;
    left: 0;
    right: 100%;
    border-top: none;
    border-right: 1px dashed #e6e6e6;
  }
  .sidebar_btn_text {
    display: block;
    margin-top: 5px;
  }
  #back-to-top {
    display: block; /* 在小螢幕上顯示 */
  }
}/*# sourceMappingURL=siedBar_menu.css.map */