/* omk added this theme */

/* Blue-Purple Gradient Theme
 * Uses the base white theme for all defaults and overrides only navbar and sidebar
 */
@import url('bg-white.css');

/* Top navbar gradient */
.topnavbar,
.topnavbar-wrapper {
  background: linear-gradient(120deg, rgb(41, 82, 163) 0%, rgb(107, 52, 131) 100%) !important;
  border-color: transparent !important;
}

/* Remove white layer from inner wrapper so gradient is visible */
.topnavbar .nav-wrapper {
  background: transparent !important;
}

/* Make navbar link/icon texts white for this theme */
.topnavbar .navbar-nav > li > a,
.topnavbar .navbar-nav > .open > a,
.topnavbar .navbar-nav > li > a:hover,
.topnavbar .navbar-nav > .open > a:hover,
.topnavbar .navbar-nav > li > a:focus,
.topnavbar .navbar-nav > .open > a:focus {
  color: #ffffff !important;
}

/* Sidebar menu text in white over gradient */
.sidebar .nav-heading {
  color: rgba(255, 255, 255, 0.85) !important;
}
.sidebar .nav > li > a,
.sidebar .nav > li > .nav-item {
  color: #ffffff !important;
}
.sidebar .nav > li > a > em,
.sidebar .nav > li > .nav-item > em {
  color: #ffffff !important;
}
.sidebar .nav > li.active,
.sidebar .nav > li.open,
.sidebar .nav > li.active > a,
.sidebar .nav > li.open > a {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}
.sidebar .nav > li.active {
  border-left-color: #ffffff !important;
}

/* Sidebar gradient */
.sidebar {
  background: linear-gradient(120deg, rgb(41, 82, 163) 0%, rgb(107, 52, 131) 100%) !important;
}

/* Keep subnav and content areas white like the blue theme */
.sidebar-subnav {
  background: linear-gradient(120deg, rgb(41, 82, 163) 0%, rgb(107, 52, 131) 100%) !important;
}

/* Ensure dropdown (subnav) items are readable on white background */
.sidebar .nav > li.active .sidebar-subnav,
.sidebar .nav > li.open .sidebar-subnav {
  background: linear-gradient(120deg, rgb(41, 82, 163) 0%, rgb(107, 52, 131) 100%) !important;
  color: #ffffff !important;
}
.sidebar-subnav > li > a,
.sidebar-subnav > li > .nav-item {
  color: #ffffff !important;
}
.sidebar-subnav > li > a:hover,
.sidebar-subnav > li > .nav-item:hover,
.sidebar-subnav > li.active > a,
.sidebar-subnav > li.active > .nav-item {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
}

/* Ensure fixed/boxed layouts also inherit gradient bar */
.layout-fixed .wrapper .topnavbar-wrapper,
.layout-boxed .wrapper .topnavbar-wrapper {
  background: linear-gradient(120deg, rgb(41, 82, 163) 0%, rgb(107, 52, 131) 100%) !important;
}

