@charset "UTF-8";
#side-menu-container {
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  #side-menu-container {
    display: none;
  }
}

.side-menu {
  position: fixed;
  top: 38%;
  right: 12px;
  transform: translateY(-50%);
  padding: 10px;
  z-index: 9999;
  list-style: none;
  border-radius: 4px;
  background: #FFF;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

.side-menu ul {
  margin: 0;
}

.side-menu li {
  margin: 0;
  padding: 0;
  position: relative;
  text-align: center;
}
.side-menu li.erecruitor a .sidebar_btn_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
}
.side-menu li a.download .downloadImg {
  display: inline-block;
  background-image: url("../images/sidebar_download.svg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 24px;
  height: 24px;
}
.side-menu li a.home .homeImg {
  display: inline-block;
  background-image: url("../images/sidebar_home.svg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 24px;
  height: 24px;
}
.side-menu li a.gotop .gotopImg {
  display: inline-block;
  background-image: url("../images/sidebar_top.svg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 24px;
  height: 24px;
}
.side-menu li a.job .jobImg {
  display: inline-block;
  background-image: url("../images/sidebar_job.svg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 24px;
  height: 24px;
}
.side-menu li a:hover.download .downloadImg {
  background-image: url("../images/sidebar_download_light.svg");
}
.side-menu li a:hover.home .homeImg {
  background-image: url("../images/sidebar_home_light.svg");
}
.side-menu li a:hover.gotop .gotopImg {
  background-image: url("../images/sidebar_top_light.svg");
}
.side-menu li a:hover.job .jobImg {
  background-image: url("../images/sidebar_job_light.svg");
}

.side-menu li:last-child a:hover {
  color: #5DCDA8;
}
.side-menu li:last-child::after {
  border-top: none;
}

.side-menu li::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #e6e6e6;
  width: 100%;
}

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

.side-menu a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 0;
  flex-direction: column;
  text-decoration: none;
  color: #A9A9A9;
  font-size: 12px;
  gap: 4px;
}
.side-menu a:hover {
  color: #5DCDA8;
}

.side-menu li:first-child a {
  padding: 14px 0 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  text-decoration: none;
  color: #A9A9A9;
  font-size: 12px;
  gap: 4px;
}
.side-menu li:first-child a:hover {
  color: #5DCDA8;
}
.side-menu li:first-child::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #e6e6e6;
  width: 100%;
}

.side-menu li:last-child a {
  padding: 24px 0 14px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  text-decoration: none;
  color: #A9A9A9;
  font-size: 12px;
  gap: 4px;
}
.side-menu li:last-child a::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #e6e6e6;
  width: 100%;
}

.sidebar_btn_text {
  display: block;
  font-size: 14px;
}

#back-to-top {
  display: none; /* 初始狀態隱藏 */
}
@media screen and (max-width: 768px) {
  #back-to-top {
    display: flex !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 {
    border-top: none;
  }
  .side-menu li a::after {
    border-top: none;
  }
  .side-menu li a:last-child::after {
    border-top: none;
  }
  .sidebar_btn_text {
    display: block;
    margin-top: 5px;
  }
  #back-to-top {
    display: block; /* 在小螢幕上顯示 */
  }
}/*# sourceMappingURL=siedBar_menu.css.map */