  /*!
  * Start Bootstrap - Simple Sidebar (https://startbootstrap.com/templates/simple-sidebar)
  * Copyright 2013-2020 Start Bootstrap
  * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-simple-sidebar/blob/master/LICENSE)
  */
  /*body{
      background-color: #f6f7fb;
  }*/

  #wrapper {
      overflow-x: hidden;
  }
  .nvbar-header{
  height:65px;
  }
  .main-content{
        background: rgb(246, 246, 246);
        padding: 30px 15px 15px 15px;
        min-height:calc(100vh - 65px);
    }
  #sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
    background-color: #23282D !important;
    box-shadow: 1px 1px 5px #AAA;
  }
  /* .menu-active{
    color: #FFF;
    background-color: red !important;
  } */
  .sidebar-heading{
    border-bottom:1px solid #dae0e5;
  }
  #sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
  }

  #sidebar-wrapper .list-group {
    width: 15rem;
  }

  #page-content-wrapper {
    min-width: 100vw;
  }

  #wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
  }
  .cardbottom{
    margin-bottom:30px;
  }

  @media (min-width: 768px) {
    #sidebar-wrapper {
      margin-left: 0;
    }

    #page-content-wrapper {
      min-width: 0;
      width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
      margin-left: -15rem;
    }
  }

  .side-header img{
    width: 150px;
    height: 36px;
    object-fit: contain;
  }

  .list-group-item{
    width: calc(100% - 20px);
    background: rgba(255,255,255,0.9) !important;
    border-radius: 5px !important;
    color: #282C3C;
    font-size: 15px;
    letter-spacing: 1px;

    margin: 10px 10px 0px;
    font-weight: 900;
  }
  .list-group-item:hover{
    background-color: #87CEEB !important;
    border-bottom: 1px #87CEEB solid;
    font-weight: 900;
  }
  .list-group-item:focus{
    color: #282C3C;
    font-weight: 900;
  }
  .clean-border {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
  .collapse-menu {

    background-color: #e0e0e0;
    opacity: 0.9;
    border-radius: 0px 0px 5px 5px;
    width: calc(100% - 20px); /* 與list-group-item保持一致的寬度 */
    margin: 0px 10px 0px; /* 與list-group-item的外補保持一致 */
  }

  .collapse-menu li {
    padding:5px 10px; /* 控制項目之間的間距 */
  }
  .collapse-menu li:hover{
    background-color: #b8b8b8;
  }

  .collapse-menu li a {
    color: #282C3C;
    padding-left: 10px;
    transition: color 0.3s ease;
  }
  .collapse-menu li a span{
    margin-left: 7px;
  }
  .menuActive{
    background-color: #87CEEB !important;
    opacity: 0.9;
    font-weight: 900;
    color: #282C3C !important; 
  }
  .menuSubActive{
    background-color: #b8b8b8 !important;
    opacity: 0.9;
    color: #282C3C !important; 
  }
  .list-unstyled{
    padding-left: 0; /* 移除左邊的內補 */
    margin-bottom: 0; /* 移除底部的外補 */
  }
