/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
.img-radio {
  width: auto;
  height: auto;
  object-fit: cover;
}
.navbar-toggler{
  display: none;
}
.layout-menu-toggle{
  display:none
}
.navbar-nav>ul {
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.navbar-nav .badge-number {
  position: absolute;
  inset: 10px -2px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.navbar-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.navbar-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.navbar-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.navbar-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.navbar-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.navbar-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

/* Стиль для контейнера мультивыбора */
.custom-multiselect {
  width: 100%;
  height: auto;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  overflow: auto;
  position: relative;
  cursor: pointer;
}

/* Стиль для выпадающих опций */
.custom-multiselect option {
  padding: 8px 10px;
  cursor: pointer;
}

/* Стилизация выбранных опций */
.custom-multiselect option:checked {
  background-color: #007bff;
  color: white;
}

/* Убираем стандартные чекбоксы и делаем кастомные */
.custom-multiselect option::before {
  content: '\2713'; /* Галочка */
  color: transparent;
  margin-right: 10px;
}

.custom-multiselect option:checked::before {
  color: white; /* Показываем галочку при выборе */
}

/* Максимальная высота выпадающего списка */
.custom-multiselect {
  max-height: 200px;
}

/* Для экранов до 576px */
@media (max-width: 576px) {
  .authentication-wrapper {
    padding: 10px;
  }

  .card {
    margin: 10px 0;
  }

  .app-brand-logo img {
    width: 100px;
  }
}

/* Для экранов от 576px до 768px */
@media (min-width: 576px) and (max-width: 768px) {
  .authentication-wrapper {
    padding: 20px;
  }
  .card {
    margin: 20px 0;
  }

  .app-brand-logo img {
    width: 150px;
  }
}

/* Для экранов от 768px и больше */
@media (min-width: 768px) {
  .authentication-wrapper {
    padding: 40px;
  }

  .card {
    margin: 30px 0;
  }

  .app-brand-logo img {
    width: 200px;
  }
}

  /* Стили для мобильного меню */
  @media (max-width: 990px) {
    #mobileMenu {
        display: none;
    }
    .chart-height{
      height: 500px
    }
    .n-filter{
      display:none
    }
    .navbar-toggler{
      display: block;
    }
    #mobileMenu.open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 1050;
        overflow-y: auto;
    }
}

/*custom*/
.slider-wrapper {
  position: relative;
  width: 100%;
}

.my-slider {
  position: relative;
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /* Allow clicks to pass through except on buttons */
}

.slider-controls button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  pointer-events: all; /* Enable click on buttons */
}

.slider-controls button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slider-controls .prev {
  margin-left: 10px;
}

.slider-controls .next {
  margin-right: 10px;
}

/*end */

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 100%; */
  /* height: 100%; */
  opacity: 0;
  cursor: pointer;
}
.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}
.btnStatus:focus{
  background-color: rgba(63, 81, 181, 1) !important;
}
.btnStatus:hover{
  background-color: rgba(63, 81, 181, 1) !important;
}
.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/
.arrow-dark [data-controls] {
  background: #0b0a12;
  color: #fff;
}

.arrow-white [data-controls] {
  background-color: #fff;
  color: var(--bs-body-color);
}

.arrow-border [data-controls] {
  border: 2px solid var(--bs-body-color);
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  line-height: 45px !important;
}

.arrow-border [data-controls]:hover {
  border: 2px solid var(--bs-gray-800);
  color: var(--bs-gray-800);
  background-color: var(--bs-body-bg);
}

.arrow-round [data-controls] {
  border-radius: 50%;
}

.arrow-blur [data-controls] {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.4) !important;
}
.arrow-blur [data-controls]:hover {
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  background: rgba(0, 0, 0, 0.4) !important;
}
.arrow-blur.arrow-white [data-controls] {
  background-color: rgba(var(--bs-body-bg-rgb), 0.2) !important;
  color: #fff;
}

.arrow-hover {
  overflow: hidden;
}
.arrow-hover [data-controls=prev] {
  left: -75px;
}
.arrow-hover [data-controls=next] {
  right: -75px;
}
.arrow-hover:hover [data-controls=prev] {
  left: 0px;
}
.arrow-hover:hover [data-controls=next] {
  right: 0px;
}
.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}
.arrow-xs .tns-controls [data-controls] {
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  text-align: center;
}
.tns-outer {
  position: relative;
}

.tns-item {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.tns-outer {
  position: relative;
}

.tns-item {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tiny-slider .item {
  position: relative;
}

.tns-controls [data-controls] {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 1rem;
  display: block;
  z-index: 9;
  text-align: center;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: rgb(0, 0, 0);
  color: #fff;
  border: none;
  margin: 0 10px;
}
.tns-controls [data-controls]:hover {
  background-color: var(--bs-primary);
  color: #fff;
}
.tns-controls [data-controls] i {
  line-height: inherit;
}

.tns-controls [data-controls=prev] {
  left: 0;
}

.tns-controls [data-controls=next] {
  right: 0;
}