/* 側邊欄內容 */
.sidemenu {
  height: calc(100% - 100px);
  width: 20%;
  background-color: #fff;
  position: fixed;
  z-index: 1;
  top: 100px;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  transition: 0.5s;
  border-right: 1px solid #ccc;
}

@media (max-width: 1019px) {
  .sidemenu {
      top: 85px;
  }
}

@media (max-width: 992px) {
  .sidemenu {
      top: 55px;
      transition: 0s !important;
      width: 0 !important;
  }
  #btn-sidemenu {
    display: none !important;
    margin-left: 0 !important;
  }
  #main,
  #footer {
    margin-left: 0 !important;
  }
}

#offcanvasBottom ul {
  padding-left: 0;
}

/* 底部菜單&側邊欄連結 */
#offcanvasBottom li,
.sidemenu li {
  padding: 8px 8px 8px 16px;
  text-decoration: none;
  font-size: 18px;
  display: block;
}

#offcanvasBottom li.active,
.sidemenu li.active{
  background-color: #FAF3E9;
}

#offcanvasBottom li.active a,
.sidemenu li.active a{
  color: #F58557;
}

#offcanvasBottom li a,
.sidemenu li a {
  color: #818181;
}

/* 側邊欄按鈕樣式與位置 */
.btn-sidemenu {
  /* 位置 */
  position: fixed;
  top: 50%;
  left: 0;
  margin-left: 20%;
  transform: translateX(0%);
  display: flex;
  align-items: center;
  justify-content: center;
  /* 尺寸 */
  width: 35px;
  height: 35px;
  /* 樣式 */
  color: #FFFFFF;
  border: none;
  background-color: #F58557;
  border-radius: 0px 16px 16px 0px;
  border-left: 0;
  /* border-radius: 50px; */
  font-size: 16px;
  cursor: pointer;
  transition: .5s;
}

/* 主要內容 */
#main {
  margin-left: 20%;
  transition: 0.5s;
}

/* 頁腳 */
#footer {
  margin-left: 20%;
  transition: 0.5s;
}

.side-form-search {
  border-radius: 500px;
  border-color: none;
}

.side-search-button {
  border: none;
  background-color: transparent;
}

.container-fluid {
  padding-left: 0;
}

.form-control-bottom {
  min-height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.3rem;
}

.btn-insert,
.btn-insert:hover,
.btn-insert:focus {
  color: #2A9EB9;
  background-color: #B5F1EE;
  border: none;
  font-weight: 700;
  box-shadow: none;
}

.btn-setting,
.btn-setting:hover,
.btn-setting:focus {
  border-color: #2A9EB9;
  background-color: transparent;
  color: #2A9EB9;
  font-weight: 700;
  box-shadow: none;
}

.card-custom {
  border: 1px solid #2A9EB9;
}

.no-data {
  background-color: #D7EBEF;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 500;
}

/* 媒體查詢：畫面寬度小於991像素時 */
@media (max-width: 991px) {
  #pills-tab{
    display: none;
  }
  #sidemenu{
    display: none;
  }
}

@media (min-width: 992px) {
  #nav-group{
    display: none !important;
  }
}

.btn-info-custom {
  border: 1.5px solid #F58557;
  background-color: transparent;
  font-weight: 600;
  font-size: 16px;
  color: #6C757D;
}

.btn-info-custom.active {
  color: #FFFFFF !important;
}

/* .custom-img {
  height: 10vw;
  object-fit: cover;
} */

/* 媒體查詢：畫面寬度小於767像素時 */
/* @media (max-width: 767px) {
  .custom-img {
    height: 60vw;
  }
} */

.badge.bg-success {
  background-color: transparent !important;
  color: #F58557;
  border: 2px solid #F58557;
  border-radius: 5px;
}

.badge.bg-secondary {
  background-color: #F58557 !important;
  border: 2px solid #F58557;
}

.badge.bg-danger {
  background-color: rgba(220, 54, 68) !important;
  border: 2px solid rgba(220, 54, 68);
}

.badge {
  font-size: 1rem;
  font-weight: 700;
}
