/*
 * Sidebar
 */

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #000000 !important;
}

.nav-link:hover {
background-color: #9fe2ffe0;
color: black;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #727272;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
}

.sidebar_bottom {
    margin-bottom: 5em;
}

.sidebar_title h4 {
  color: #4e4e4e!important
}

.sidebar_title span {
    font-size: 1.2em;
    font-weight: bold;
}
.sidebar_title small {
    margin-left: 0.5em;
    margin-top: 0.4em;
}

.nav-item .d-flex{
  color: #4e4e4e!important
}

.btn_sidebar {
    color: #ffffff!important;
    background: #00A95F!important;
    border-radius: 5px!important;
    text-decoration: none!important;
    border: #00A95F;
    min-width: 10rem;
}

.btn_sidebar:hover {
    color: #00A95F !important;
    background-color: #ffffff!important;
    text-decoration: none!important;
    border: 2px solid #00A95F!important;
}

.sidebar_link span {
    color: rgb(156, 156, 222);
}
.btn_link {
    font-size: 0.8em;
}
.btn_return {
    color: #ffffff;
    background: #b9b9b9;
}

.dropdown-container {
    display: none;
}

.dropdown-btn{
    border: 0;
    background-color: #000000;
    color: #b5b5be;
    font-size: medium;
    padding: 0.5rem 0.9rem;
    margin-left: .8rem;
}

.dropdown-btn:hover{
    font-weight: 400;
    border-left: 3px solid white;
    color: white;
}

.dropdown-btn.active{
    border: 0;
    background-color: #176601;
    color: white;
    width: 250px;
    font-weight: 400;
    border-left: 6px solid rgb(0, 84, 10);
    text-align: left;
}


/* sidebar css*/

@media (min-width:993px){.sidebar-hide-large{display:none!important}.sidebar-side.sidebar-collapse{display:block!important}}
@media (max-width:992px){.sidebar-side.sidebar-collapse{display:none}.sidebar-main{margin-left:0!important;margin-right:0!important}.w3-auto{max-width:100%}}
@media (max-width:992px){.welcome-tag {font-size: smaller;}}
@media (min-width:992px){#btn-3bar {display: none;}}
@media (max-width:992px){#myDropdown a{padding: 5px 16px}}

.welcome-tag{
    display: flex;
    align-items: center;
    gap: 10px;
}

#btn-3bar{
  font-size: xx-large;
}

.sidebar-main {
    transition: margin-left .4s
}

.sidebar-bar{
    width:100%;
    overflow:hidden
}
.sidebar-center .sidebar-bar {
    display:inline-block;
    width:auto
}
.sidebar-bar .sidebar-bar-item {
    padding:8px 16px;
    float:left;
    width:auto;
    border:none;
    display:block;
    outline:0}
.sidebar-bar .sidebar-dropdown-hover,.sidebar-bar .sidebar-dropdown-click {
    position:static;float:left
}
.sidebar-bar .sidebar-button {
    white-space:normal
}
.sidebar-bar-block .sidebar-bar-item {
    width:100%;display:block;
    padding:8px 16px;
    text-align:left;
    border:none;
    white-space:normal;
    float:none;outline:0;
}
.sidebar-bar-block .sidebar-center .sidebar-bar-item {
    text-align:center
}
.sidebar-block {
    display:block;
    width:100%;
}
.sidebar-top {
    position:absolute;
    width:100%;
    z-index:1;
    top:0
}

.sidebar-large {
    font-size:18px;
}
.sidebar-green {
    color:#fff;
    background-color:#00A95F
}

.sidebar-bar {
    width:100%;
    overflow:hidden;
}

.sidebar-bar .sidebar-bar-item {
    padding:8px 16px;
    float:left;
    width:auto;
    border:none;
    display:block;
    outline:0
}
.sidebar-bar-block .sidebar-bar-item {
    width:100%;
    display:block;
    padding:8px 16px;
    text-align:left;
    border:none;
    white-space:normal;
    float:none;
    outline:0
}
.sidebar-side {
    height:100%;
    width:200px;
    background-color:#fff;
    position:fixed!important;
    z-index:1;
    overflow:auto;
    margin-right: 100px;
    overflow-y: auto;
}

.sidebar-button{
    background-color: #00A95F;
    color: white;
}

.sidebar-white{
    color:#ffffff!important;
    background-color:#000000!important
}

.sidebar-animate{
    position:relative;
}

.sidebar-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
}
.sidebar-animate-opacity{animation:opac 0.8s}
@keyframes opac{from{opacity:0} to{opacity:1}}

.dashboard a {
    color: #fff;
    text-decoration: none;
}

.sidenav {
    border: none;
    cursor: pointer;
    color: white;
}

.accordion {
    margin: auto;
    width: 400px;
    background-color: #F1F1F1;
  }
  .accordion input {
    display: none;
  }

  #mySidebar{
    z-index: 4;
    width: 250px;
    padding-bottom: 160px;
  }

  .box {
    position: relative;
    background:#F1F1F1;
    height: 45px;
    transition: all .15s ease-in-out;
    color: rgb(0, 0, 0);
  }

  .box::before {
      content: '';
      position: absolute;
      display: block;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0px;
      pointer-events: none;

  }
  header.box {
    background: #00A95F;
    /*background: #008e50;*/
    z-index: 100;
    cursor: initial;
    box-shadow: 0 -1px 0 #e5e5e5,0 0 2px -2px rgba(0,0,0,.12),0 2px 4px -4px rgba(0,0,0,.24);
    top: 65px;
    position: sticky;
    height: 60px;
  }

  header .box-title {
    margin: 0;
    font-weight: normal;
    font-size: 12pt;
    color: white;
    cursor: initial;
  }

  header .box-title:hover {
    color: white;
    cursor: pointer;
  }

  .box-title {
    color: #209500;
    padding-bottom: 73px;
    width: calc(100% - 40px);
    height: 40px;
    line-height: 64px;
    display: inline-block;
    cursor: pointer;
    -webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;
  }

  .box-title:hover {
    color: #125500;
  }

  .box-content {
    width: 100%;
    padding: 0;
    font-size: 11pt;
    color: rgba(0,0,0,.54);
    display: none;
    padding-left: 100px;
  }

  .box-close {
    position: absolute;
    height: 64px;
    width: 600px;
    top: 0;
    left: 0;
    cursor: pointer;
    display: none;
  }

  input:checked + .box {
    height: auto;
    margin: 14px 0;
      box-shadow: 0 0 6px rgba(0,0,0,.16),0 6px 12px rgba(0,0,0,.32);
  }

  input:checked + .box .box-title {
    box-sizing: unset;
    color: #ffffff;
    background-color: #00A95F;
    width: 100%;
    padding-bottom: 23px;
  }

  input:checked + .box .box-title:focus {
    border-bottom: 1px solid #00A95F;
    box-sizing: unset;
  }

  input:checked + .box .box-content,
  input:checked + .box .box-close {
    display: inline-block;
    padding-left: 0px;
    line-height: 18px;
  }

  .arrows section .box-title {
    padding-left: 30px;
    width: 100%;
    align-items: center;
    padding-bottom: 17px;
  }

  .arrows section .box-title:before {
    position: absolute;
    display: block;
    content: '\203a';
    font-size: 20pt;
    left: 200px;
    top: -2px;
    transition: transform .15s ease-in-out;
    color: rgb(143, 143, 143);
  }

  .arrows section .box-title:hover::before {
    color: #1b691c
  }

  input:checked + section.box .box-title:before {
    transform: rotate(90deg);
    color: #fff;
  }

  .box-content ul {
    list-style-type: none;
    margin-left: -50px;
  }

  .box-content .nav-link{
    color: rgb(0, 0, 0);
  }

  .box-content .nav-link:hover{
    background-color: #9df7602e;
    font-weight: 500;
  }

  .sidenav.nav-link.disabled{
    color: #c3c3c3!important;
    pointer-events: none;
    cursor: default;
  }

  .dash-title{
    padding: 10px;
    font-weight: 600;
    color: #a2a2a2;
    font-size: smaller;
    margin-top: 2rem;
  }

  .box-title .fa{
    font-size: larger;
  }

  .wrapper {
    width: 100%;
    padding-left: 200px;
    transition-duration: 0.5s;
  }
  .wrapper .sidebar {
    width: 215px;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 64px;
    background: #F1F1F1;
    white-space: nowrap;
    transition-duration: 0.5s;
    z-index: 100;
  }
  .wrapper .sidebar .sb-item-list {
    width: 100%;
    height: calc(100% - 50px);
  }
  .wrapper .sidebar .sb-item-list > .sb-item > .sb-text {
    position: absolute;
    transition-duration: 0.1s;
  }
  .wrapper .sidebar .sb-item {
    display: block;
    width: 100%;
    line-height: 45px;
    color:  #209500;
    background: #F1F1F1;
    cursor: pointer;
    padding-left: 7px;
  }
  .wrapper .sidebar .sb-item.active {
    border-left: solid 3px green;
    box-sizing: border-box;
  }
  .wrapper .sidebar .sb-item.active > .sb-icon {
    margin-left: -3px;
  }
  .wrapper .sidebar .sb-icon {
    padding-left: 10px;
    padding-right: 20px;
  }
  .wrapper .sidebar .sb-item:hover,
  .wrapper .sidebar .sb-item.active {
    /*filter: brightness(130%);*/
    background-color: #cdffc8;
    color: #0e3d01;
  }

  .wrapper .sb-menu {
    position: relative;
  }
  .wrapper .sb-menu:after {
    content: " ";
    width: 0;
    height: 0;
    display: block;
    float: right;
    margin-top: 19px;
    margin-left: -12px;
    margin-right: 5px;
    border: solid 5px transparent;
    border-left-color: #a8a8a8;
  }
  .wrapper .sb-menu > .sb-submenu {
    display: none;
  }
  .wrapper .sb-menu:hover > .sb-submenu {
    position: absolute;
    display: block;
    width: 230px;
    top: 0;
    left: calc(100% + 1px);
    box-shadow: 5px 5px 0px 0px rgba(83, 83, 83, 0.199),0 6px 12px rgba(44, 44, 44, 0.178);
  }

  .wrapper .sb-submenu > .sb-item:first-child {
    border-radius: 0px 0px 0px 0px;
  }

  .wrapper .sb-submenu > .sb-item:last-child {
    border-radius: 0px 0px 0px 0px;
  }

  .wrapper .btn-toggle-sidebar {
    position: absolute;
    left: 0;
    bottom: 0;
    border-top: 1px solid #aaa;
    user-select: none;
  }
  .wrapper .btn-toggle-sidebar .sb-icon {
    padding-left: 15px;
  }
  .wrapper .btn-toggle-sidebar .sb-icon.fa-angle-double-left {
    display: inline-block;
  }
  .wrapper .btn-toggle-sidebar .sb-icon.fa-angle-double-right {
    display: none;
  }

  .wrapper.sidebar-collapse {
    padding-left: 60px;
  }
  .wrapper.sidebar-collapse .sidebar {
    width: 60px;
  }
  .wrapper.sidebar-collapse .sb-item-list > .sb-item > .sb-text {
    position: absolute;
    transform: translateX(-200%);
    opacity: 0;
  }
  .wrapper.sidebar-collapse .btn-toggle-sidebar .sb-icon.fa-angle-double-left {
    display: none;
  }
  .wrapper.sidebar-collapse .btn-toggle-sidebar .sb-icon.fa-angle-double-right {
    display: inline-block;
  }


  /* Media query for smaller screens (e.g., when the screen width is less than 768px) */
@media (max-width: 1200px) {
  .wrapper {
    padding-left: 60px; /* Reduce the padding */
  }

  .wrapper .sidebar {
    width: 60px!important; /* Collapse the sidebar */
  }

  .wrapper .sb-item-list > .sb-item > .sb-text {
    position: absolute;
    transform: translateX(-200%);
    opacity: 0;
  }

  .wrapper .btn-toggle-sidebar .sb-icon.fa-angle-double-left {
    display: none!important;
  }

  .wrapper .btn-toggle-sidebar .sb-icon.fa-angle-double-right {
    display: none!important;
  }
  .wrapper .btn-toggle-sidebar{
    border-bottom: 0!important;
  }
  .wrapper .texy{
    position: absolute;
    transform: translateX(-200%);
    opacity: 0;
  }
}
.vertical-menu {
  height: 500px;
  overflow-y: auto;
}

.dropdown-menu {
    min-width: 150px;
}