/*
 *  Document   : theme-black.scss
 *  Author     : RedStar Template
 *  Description: This scss file for black theme style classes
 */
@use "theme-color-variables" as themeColVar;

.theme-black {
  .navbar {
    background-color: transparent;
    .icon-color {
      color: #fff;
    }
    .navbar-nav.navbar-right .user_profile span {
      color: #fff;
    }
  }

  .navbar.active {
    background: #485563;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #1c212d, #1a202e);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #1c212d, #1a202e);

    .nav {
      > li {
        > a {
          color: #fff;
        }
      }
    }

    .collapse-menu-icon .mat-icon {
      color: #fff;
    }
    .collapse-menu-icon .feather {
      color: #fff;
    }
    .nav-notification-icons .mat-icon {
      color: #fff;
    }
    .nav-notification-icons .feather {
      color: #fff;
    }
  }

  .navbar-brand {
    color: themeColVar.$theme-black-navbar-brand;

    &:hover {
      color: themeColVar.$theme-black-navbar-brand_hover;
    }

    &:active {
      color: themeColVar.$theme-black-navbar-brand_active;
    }

    &:focus {
      color: themeColVar.$theme-black-navbar-brand_focus;
    }
  }

  .nav {
    > li {
      > a {
        &:hover {
          background-color: themeColVar.$theme-black-nav-anchor_hover;
          text-decoration: none;
        }

        &:focus {
          background-color: themeColVar.$theme-black-nav-anchor_focus;
          text-decoration: none;
        }
      }
    }

    .open {
      > a {
        background-color: themeColVar.$theme-black-nav-anchor-opened;

        &:hover {
          background-color: themeColVar.$theme-black-nav-anchor-opened_hover;
        }

        &:focus {
          background-color: themeColVar.$theme-black-nav-anchor-opened_focus;
        }
      }
    }
  }

  .bars {
    color: themeColVar.$theme-black-bar;
  }

  .sidebar {
    .menu {
      .list {
        li {
          &.active {
            background-color: themeColVar.$theme-black-menu-list-active;
          }

          a {
            -moz-transition: all 0.3s;
            -o-transition: all 0.3s;
            -webkit-transition: all 0.3s;
            transition: all 0.3s;

            i,
            span {
              -moz-transition: all 0.3s;
              -o-transition: all 0.3s;
              -webkit-transition: all 0.3s;
              transition: all 0.3s;
            }

            &:hover {
              color: themeColVar.$theme-black-sidebar-menu-hover;
              // i,
              // span {
              //   color: themeColVar.$theme-black-sidebar-menu-hover;
              // }
            }
          }
        }

        .ml-menu {
          background-color: themeColVar.$theme-black-menu-list-submenu;
        }
      }
    }

    .legal {
      background-color: themeColVar.$theme-black-legal-bg;

      .copyright {
        a {
          color: themeColVar.$theme-black !important;
        }
      }
    }
  }

  .breadcrumb li a {
    color: themeColVar.$theme-black !important;
  }

  .page-item.active .page-link {
    background-color: themeColVar.$theme-black;
    border-color: themeColVar.$theme-black;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.2);
  }

  .btn-primary {
    background-color: themeColVar.$theme-black-button-color !important;
    color: #fff !important;
    border-color: themeColVar.$theme-black !important;

    &:hover {
      background-color: themeColVar.$theme-black !important;
      color: #fff !important;
    }

    &:active {
      background-color: themeColVar.$theme-black !important;
      color: #fff !important;
    }

    &:focus {
      background-color: themeColVar.$theme-black !important;
      color: #fff !important;
    }

    &:disabled {
      background-color: themeColVar.$theme-black !important;
      color: #fff !important;
    }
  }

  .btn-outline-primary {
    background: 0 0 !important;
    color: themeColVar.$theme-black !important;
    border: 1px solid themeColVar.$theme-black !important;

    &:hover {
      background: themeColVar.$theme-black !important;
      color: #fff !important;
      border: 1px solid themeColVar.$theme-black !important;
    }
  }

  .timelineLabelColor strong {
    color: themeColVar.$theme-black !important;
  }

  .top-sidebar {
    .horizontal-menu {
      li {
        &.active {
          > a {
            color: themeColVar.$theme-black;
          }
        }

        a {
          -moz-transition: all 0.3s;
          -o-transition: all 0.3s;
          -webkit-transition: all 0.3s;
          transition: all 0.3s;

          &:hover {
            color: themeColVar.$theme-black;
          }
        }
      }
    }
  }

  .nav-tabs > li > a:before {
    border-bottom: 2px solid themeColVar.$theme-black;
  }
}

/*Logo Header Background Color*/
.logo-black {
  .navbar-header {
    background-color: #1a202e;
    border-right: 1px solid #323538;
  }
}
