/**
 * SimpleBar.css
 * Scrollbars, simpler.
 * https://github.com/Grsmto/simplebar/tree/master/packages/simplebar/
 */

[data-simplebar] {
  position: relative;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  border-radius: 23px 0 0 0;
  background-color: var(--site-bg-color1);
  padding-top: 28px;
}

.simplebar-wrapper {
  overflow: hidden;
  width: inherit;
  height: inherit;
  max-width: inherit;
  max-height: inherit;
}

.simplebar-mask {
  direction: inherit;
  position: absolute;
  overflow: hidden;
  padding: 0;
  margin: 0;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: auto !important;
  height: auto !important;
  z-index: 0;
}

.simplebar-offset {
  direction: inherit !important;
  box-sizing: inherit !important;
  resize: none !important;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}


.simplebar-content-wrapper {
  direction: inherit;
  box-sizing: border-box !important;
  position: relative;
  display: block;
  height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */
  width: auto;
  visibility: visible;
  max-width: 100%; /* Not required for horizontal scroll to trigger */
  max-height: 100%; /* Needed for vertical scroll to trigger */
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
}

.simplebar-content-wrapper::-webkit-scrollbar,
.simplebar-hide-scrollbar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.simplebar-content:before,
.simplebar-content:after {
  content: ' ';
  display: table;
}

.simplebar-placeholder {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  pointer-events: none;
}

.simplebar-height-auto-observer-wrapper {
  box-sizing: inherit !important;
  height: 100%;
  width: 100%;
  max-width: 1px;
  position: relative;
  float: left;
  max-height: 1px;
  overflow: hidden;
  z-index: -1;
  padding: 0;
  margin: 0;
  pointer-events: none;
  flex-grow: inherit;
  flex-shrink: 0;
  flex-basis: 0;
}

.simplebar-height-auto-observer {
  box-sizing: inherit;
  display: block;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 1000%;
  width: 1000%;
  min-height: 1px;
  min-width: 1px;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.simplebar-track {
  z-index: 1;
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

[data-simplebar].simplebar-dragging .simplebar-content {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

[data-simplebar].simplebar-dragging .simplebar-track {
  pointer-events: all;
}

.simplebar-scrollbar {
  position: absolute;
  left: 0;
  right: 0;
  min-height: 10px;
}

.simplebar-scrollbar:before {
  position: absolute;
  content: '';
  background: black;
  border-radius: 7px;
  left: 2px;
  right: 2px;
  opacity: 0;
  transition: opacity 0.2s linear;
}

.simplebar-scrollbar.simplebar-visible:before {
  /* When hovered, remove all transitions from drag handle */
  opacity: 0.5;
  transition: opacity 0s linear;
}

.simplebar-track.simplebar-vertical {
  top: 0;
  width: 11px;
}

.simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
  top: 2px;
  bottom: 2px;
}

.simplebar-track.simplebar-horizontal {
  left: 0;
  height: 11px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
  height: 100%;
  left: 2px;
  right: 2px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
  right: auto;
  left: 0;
  top: 2px;
  height: 7px;
  min-height: 0;
  min-width: 10px;
  width: auto;
}

/* Rtl support */
[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {
  right: auto;
  left: 0;
}

.hs-dummy-scrollbar-size {
  direction: rtl;
  position: fixed;
  opacity: 0;
  visibility: hidden;
  height: 500px;
  width: 500px;
  overflow-y: hidden;
  overflow-x: scroll;
}

.simplebar-hide-scrollbar {
  position: fixed;
  left: 0;
  visibility: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}











/*===== SIDEBAR NAVIGATION left menu =====*/
.sidebar .nav > li > a:after {
  content: "";
  clear: both;
  display: table;
}


.left-sidebar {
  position: fixed;
  display: flex;
  flex-direction: column;
  transform: translateX(-250px);
  background-color: var(--site-bg-color1); 
  top: 0;
  bottom: 0;
  background-attachment: fixed;
  background-position: left;
  background-repeat: no-repeat;
  background-size: contain;
  border-right: 0.5px solid var(--site-ico-color2);
}
.left-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0.5px; /* Товщина верхньої частини бордера */
  height: 75px; /* Довжина червоної лінії */
  background-color: var(--site-bg-color2);
}
/*.left-sidebar::before {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  content: "";
}*/







@media (min-width: 768px) {
  .left-sidebar {
    transform: translateX(0);
    width: 250px;
    position: relative;
    z-index: 1;
  }

  .sidebar-minified #sidebar-toggler, .sidebar-minified #sidebar-toggler-title {
    display: none;
  }
}


.sidebar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  z-index: 1050;
  min-height: 100vh;
  position: relative;
  background-color: var(--site-bg-color2);
}
.sidebar .sidebar-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  /* margin-top: 1rem; */
}
.sidebar .sidebar-inner > li {
  position: relative;
    margin-bottom: 10px;
    padding-left: 22px;
    padding-right: 22px;
    height: 50px;
    display: flex;
    align-items: center;
}

.sidebar .sidebar-inner > li:hover {
  color: var(--site-txt-menu);
  background-color: var(--site-hover-color1);
}

.sidebar .sidebar-inner > li > a {
  /* padding: 1rem 1.5rem; */

  padding-left: 19px;
  padding-right: 19px;

  line-height: 0px;
  color: var(--site-txt-menuA);
  display: block;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
}

.sidebar .sidebar-inner > li > a:hover{
  color: var(--site-txt-menu);
  background-color: var(--site-hover-color1);
}

.sidebar .sidebar-inner > li.active > a:hover {
  color: var(--site-txt-color1);
  background-color: var(--site-hover-color1);
}

.sidenav-item-link-icon {
  width: 18px;
  height: 18px;
}

.sidebar .sidebar-inner > li.has-sub > ul.collapse > div.sub-menu > li > a:hover{
  color: var(--site-txt-menu);
  background-color: var(--site-hover-color1);
}

.sidebar .sidebar-inner > li.active > a {
  position: relative; 
  z-index: 10;
  color: var(--site-txt-color1);
  /* background-color: var(--site-bg-color1); */
}

.sidebar .sidebar-inner > li.active:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 4px;
  background-color: var(--color_mn_line_bfr);
  border-radius: 5px 0 0 5px;
  z-index: 99;
}

.sidebar.sidebar-collapsed .sidebar-inner > li.active > a:before {
  display: block; /* Показувати лінію */
}

.sidebar .sidebar-inner .section-title {
  padding: 1.25rem 1.56rem 1rem;
  font-weight: 700;
  /* text-transform: uppercase; */
  font-size: 0.75rem;
  color: rgba(191, 199, 217, 0.7);
  letter-spacing: 1.2px;
  white-space: nowrap;
}
.sidebar .sidebar-inner .sub-menu .section-title {
  padding: 1.25rem 0.94rem 0.625rem;
}

.left-sidebar.sidebar-dark .sidebar .simplebar-content .nav.sidebar-inner .sub-menu .sidenav-item-link span.nav-text{
  color: var(--site-txt-color0);
}












/* Sidebar Minified */
.sidebar-minified .left-sidebar {
  width: 250px;
  z-index: 1050;
  transform: translateX(0);
  transition: transform 0.3s ease-in-out;
}
@media (max-width: 767px) {
  .sidebar-minified .left-sidebar {
    width: 100%;
    transition: width 0.3s ease-in;
  }
  .sidebar-inner .sidenav-item-link {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}
@media (min-width: 768px) {
  .sidebar-minified .left-sidebar {
    width: 105px;
    transition: width 0.3s ease-in;
  }
}
@media (min-width: 768px) {
  .sidebar-minified .left-sidebar .app-brand .brand-name {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .sidebar-minified .left-sidebar .app-brand .brand-name {
    transition: none;
  }
}
@media (min-width: 768px) {
  .sidebar-minified .left-sidebar .section-title {
    height: 0;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    padding: 0;
  }
}
.sidebar-minified .left-sidebar .sidebar .sub-menu {
  padding-top: 0;
  padding-bottom: 0;
}
.sidebar-minified .left-sidebar .nav > li > a > .caret,
.sidebar-minified .left-sidebar .nav > li > a > span {
  opacity: 1;
}
@media (min-width: 768px) {
  .sidebar-minified .left-sidebar .nav > li > a > .caret,
.sidebar-minified .left-sidebar .nav > li > a > span {
    opacity: 0;
  }
}
.sidebar-minified .left-sidebar .nav > li > a > .caret {
  right: 15px;
}
.sidebar-minified .left-sidebar .nav li.has-sub .collapse > .sub-menu {
  left: 0;
  top: 0;
  width: 100%;
  margin: 0;
}
.sidebar-minified .left-sidebar .nav li.has-sub.expand .collapse > .sub-menu {
  height: 0;
}
.sidebar-minified .left-sidebar .nav li.has-sub.expand .collapse > .sub-menu li {
  visibility: hidden;
  opacity: 0;
}
@media (max-width: 767.98px) {
  .sidebar-minified .left-sidebar .nav li.has-sub.expand .collapse > .sub-menu {
    transition: opacity 0.3s ease-in-out;
    display: block !important;
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .sidebar-minified .left-sidebar .nav li.has-sub.expand .collapse > .sub-menu {
    transition: none;
  }
}
.sidebar-minified .left-sidebar .separator {
  border-top-width: 0;
}
@media (min-width: 768px) {
  .sidebar-minified .left-sidebar .sidebar-footer {
    height: 0;
  }
}
@media (min-width: 768px) {
  .sidebar-minified .left-sidebar .sidebar-footer-content {
    visibility: hidden;
    opacity: 0;
  }
}
.sidebar-minified .left-sidebar .sidebar-scrollbar {
  overflow: unset !important;
}

/* Sidebar Minified Hover */
@media (min-width: 768px) {
  .sidebar-minified .left-sidebar:hover {
    width: 29rem;
    margin-right: -10.3125rem;
  }
}
.sidebar-minified .left-sidebar:hover .section-title {
  height: auto;
  padding: 1.25rem 1.56rem 1rem;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0.1s;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified .left-sidebar:hover .section-title {
    transition: none;
  }
}
.sidebar-minified .left-sidebar:hover .nav li.has-sub.expand .collapse > .sub-menu {
  transition: opacity 0.3s ease-in-out;
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified .left-sidebar:hover .nav li.has-sub.expand .collapse > .sub-menu {
    transition: none;
  }
}
.sidebar-minified .left-sidebar:hover .nav li.has-sub.expand .collapse > .sub-menu li {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-out 0.25s;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified .left-sidebar:hover .nav li.has-sub.expand .collapse > .sub-menu li {
    transition: none;
  }
}
.sidebar-minified .left-sidebar:hover .nav > li > a > .caret,
.sidebar-minified .left-sidebar:hover .nav > li > a > span {
  opacity: 1;
  transition: opacity 0.3s ease-in;
  transition-delay: 0.15s;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified .left-sidebar:hover .nav > li > a > .caret,
.sidebar-minified .left-sidebar:hover .nav > li > a > span {
    transition: none;
  }
}
.sidebar-minified .left-sidebar:hover .brand-name {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
  transition-delay: 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified .left-sidebar:hover .brand-name {
    transition: none;
  }
}
@media (min-width: 768px) {
  .sidebar-minified .left-sidebar:hover .app-brand .brand-name {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.3s;
  }
}
.sidebar-minified .left-sidebar:hover .sidebar .sub-menu {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.sidebar-minified .left-sidebar:hover .separator {
  border-top-width: 1px;
}
@media (min-width: 768px) {
  .sidebar-minified .left-sidebar:hover .sidebar-footer {
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
  }
}
.sidebar-minified .left-sidebar:hover .sidebar-footer-content {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0.15s;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified .left-sidebar:hover .sidebar-footer-content {
    transition: none;
  }
}
.sidebar-minified .left-sidebar:hover .sidebar-scrollbar {
  overflow: hidden !important;
}

/* Sidebar Minified Not transition */
@media (min-width: 768px) {
  .sidebar-minified:not(.left-sidebar) .left-sidebar {
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-property: margin-left, margin-right, width;
  }
}

/* Sidebar Static With Minified */
.sidebar-static.sidebar-minified .page-wrapper .main-header {
  transition: padding-left 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-static.sidebar-minified .page-wrapper .main-header {
    transition: none;
  }
}
@media (min-width: 768px) {
  .sidebar-static.sidebar-minified.navbar-fixed .page-wrapper .main-header {
    padding-left: 4.69rem;
  }
}
.sidebar-static.sidebar-minified-out .left-sidebar {
  transition: width 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-static.sidebar-minified-out .left-sidebar {
    transition: none;
  }
}
.sidebar-static.sidebar-minified-out .page-wrapper .main-header {
  transition: padding-left 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-static.sidebar-minified-out .page-wrapper .main-header {
    transition: none;
  }
}



/* Sidebar Fixed With Minified Layout Container */
@media (min-width: 768px) {
  .sidebar-fixed.sidebar-minified .page-wrapper {
    /* padding-left: 5.25rem; */
    /* padding-left: 134px; */
    transition: padding-left 0.3s ease-in-out;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .sidebar-fixed.sidebar-minified .page-wrapper {
    transition: none;
  }
}
@media (min-width: 768px) {
  .sidebar-fixed.sidebar-minified.navbar-fixed .page-wrapper .main-header {
    /* padding-left: 4.69rem; */
    transition: padding-left 0.3s ease-in-out;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .sidebar-fixed.sidebar-minified.navbar-fixed .page-wrapper .main-header {
    transition: none;
  }
}



.page-wrapper .main-header #navbar .navbar-left{
  margin-left: 134px;
  top: 0;
  position: fixed;
}

@media (max-width: 767px) {
  .page-wrapper .main-header #navbar .navbar-left{
    margin-left: 40px;
    top: 0;
    position: fixed;
  }
}









/* Sidebar Minified Out */

.sidebar-minified-out .left-sidebar {
  z-index: 10000;
  transform: translateX(-250px);
  transition: transform 0.3s ease-in-out !important;
}
@media (min-width: 768px) {
  .sidebar-minified-out .left-sidebar {
    transform: translateX(0px);
    transition: width 0.3s ease-in-out !important;
  }
}
.sidebar-minified-out .sidebar .sub-menu {
  padding-bottom: 0.625rem;
  padding-top: 0.625rem;
}
.sidebar-minified-out .sidebar .nav > li > a span {
  transition: opacity 0.3s ease-in-out 0.3s;
  visibility: visible;
  opacity: 1;
}
.sidebar-minified-out .sidebar li > a .caret {
  transition: opacity 0.3s ease-in-out 0.3s;
  visibility: visible;
  opacity: 1;
}
.sidebar-minified-out .nav li.has-sub.expand .collapse > .sub-menu {
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
}
.sidebar-minified-out .nav li.has-sub.expand .collapse > .sub-menu li {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-out 0.25s;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified-out .nav li.has-sub.expand .collapse > .sub-menu li {
    transition: none;
  }
}
.sidebar-minified-out .sidebar-footer-content {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0.15s;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified-out .sidebar-footer-content {
    transition: none;
  }
}
.sidebar-minified-out .left-sidebar {
  transition: width 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified-out .left-sidebar {
    transition: none;
  }
}
.sidebar-minified-out .page-wrapper {
  transition: padding-left 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified-out .page-wrapper {
    transition: none;
  }
}
.sidebar-minified-out .page-wrapper .main-header {
  transition: padding-left 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-minified-out .page-wrapper .main-header {
    transition: none;
  }
}

/* Sidebar Fixed And Offcanvas */
@media (min-width: 768px) {
  .sidebar-fixed-offcanvas .left-sidebar,
.sidebar-fixed .left-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1050;
  }
}


.sidebar-fixed-offcanvas .left-sidebar .sidebar-with-footer .sidebar-footer,
.sidebar-fixed .left-sidebar .sidebar-with-footer .sidebar-footer {
  position: absolute;
  bottom: 0;
}


@media (min-width: 768px) {
  .sidebar-fixed-offcanvas.navbar-static .main-header,
.sidebar-fixed.navbar-static .main-header {
    padding-left: 0;
  }
}

.sidebar-fixed-offcanvas.sidebar-collapse .page-wrapper {
  padding-left: 0;
}
@media (min-width: 768px) {
  .sidebar-fixed-offcanvas.sidebar-collapse-out .sidebar-footer {
    left: 0px;
    transition: left 0.3s ease-in-out;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .sidebar-fixed-offcanvas.sidebar-collapse-out .sidebar-footer {
    transition: none;
  }
}

/* Sidebar Collapse */
@media (min-width: 768px) {
  .sidebar-collapse .left-sidebar {
    margin-left: -15.6rem;
    transition: margin-left 0.3s ease-in-out;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .sidebar-collapse .left-sidebar {
    transition: none;
  }
}
@media (min-width: 768px) {
  .sidebar-collapse .page-wrapper {
    transition: padding-left 0.3s ease-in-out;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .sidebar-collapse .page-wrapper {
    transition: none;
  }
}

/* Sidebar Out Collapse */
@media (min-width: 768px) {
  .sidebar-collapse-out .left-sidebar {
    margin-left: 0px;
    transition: margin-left 0.3s ease-in-out;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .sidebar-collapse-out .left-sidebar {
    transition: none;
  }
}
@media (min-width: 768px) {
  .sidebar-collapse-out .page-wrapper {
    transition: padding-left 0.3s ease-in-out;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .sidebar-collapse-out .page-wrapper {
    transition: none;
  }
}

.sidebar-collapse.navbar-fixed .page-wrapper .main-header {
  padding-left: 0;
  transition: padding-left 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-collapse.navbar-fixed .page-wrapper .main-header {
    transition: none;
  }
}

.sidebar-collapse-out .page-wrapper .main-header {
  transition: padding-left 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-collapse-out .page-wrapper .main-header {
    transition: none;
  }
}

/* Sidebar Static With Footer */
.sidebar-static .sidebar.sidebar-with-footer .slimScrollDiv,
.sidebar-static-offcanvas .sidebar.sidebar-with-footer .slimScrollDiv {
  height: 100%;
}
@media (min-width: 768px) {
  .sidebar-static .sidebar.sidebar-with-footer .slimScrollDiv,
.sidebar-static-offcanvas .sidebar.sidebar-with-footer .slimScrollDiv {
    height: auto !important;
  }
}
@media (min-width: 768px) {
  .sidebar-static.navbar-fixed .main-header,
.sidebar-static-offcanvas.navbar-fixed .main-header {
    padding-left: 15.6rem;
  }
}