@import "../common/variables.scss";

.navbar {
  background-color: transparent;
}

.navbar.active {
  background-color: $theme-white !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);

  .nav {
    >li {
      >a {
        color: #3a2c70;
      }
    }
  }

  .collapse-menu-icon .mat-icon {
    color: #3a2c70;
  }

  .nav-notification-icons .mat-icon {
    color: #3a2c70;
  }
}

.navbar-brand {
  color: $theme-navbar-brand;

  &:hover {
    color: $theme-navbar-brand_hover;
  }

  &:active {
    color: $theme-navbar-brand_active;
  }

  &:focus {
    color: $theme-navbar-brand_focus;
  }
}

.nav {
  >li {
    >a {
      &:hover {
        background-color: $theme-nav-anchor_hover;
        text-decoration: none;
      }

      &:focus {
        background-color: $theme-nav-anchor_focus;
        text-decoration: none;
      }
    }
  }

  .open {
    >a {
      background-color: $theme-nav-anchor-opened;

      &:hover {
        background-color: $theme-nav-anchor-opened_hover;
      }

      &:focus {
        background-color: $theme-nav-anchor-opened_focus;
      }
    }
  }
}

.bars {
  color: $theme-bar;
}

.sidebar {
  .legal {
    background-color: $theme-legal-bg;

    .copyright {
      a {
        color: $theme-white !important;
      }
    }
  }
}

.breadcrumb li a {
  color: $theme-active-color !important;
}

.card .header h2 strong {
  color: $theme-active-color !important;
}

.page-item.active .page-link {
  background-color: $theme-active-color;
  border-color: $theme-active-color;
  border-radius: 50%;
  margin: 5px;
  box-shadow: 0 4px 5px 0 #d4d8da, 0 1px 10px 0 #d4d8da,
    0 2px 4px -1px #d4d8da;
  padding: 0px 12px;
  min-width: 30px;
  line-height: 30px;
  color: #ffffff;
  text-transform: uppercase;
}

.btn-primary {
  background-color: $theme-active-color !important;
  color: #fff !important;
  border-color: $theme-active-color !important;

  &:hover {
    background-color: $theme-active-color !important;
    color: #fff !important;
  }

  &:active {
    background-color: $theme-active-color !important;
    color: #fff !important;
  }

  &:focus {
    background-color: $theme-active-color !important;
    color: #fff !important;
  }

  &:disabled {
    background-color: $theme-active-color !important;
    color: #fff !important;
  }
}

.btn-outline-primary {
  background: 0 0 !important;
  color: $theme-bar !important;
  border: 1px solid $theme-active-color !important;

  &:hover {
    background: $theme-active-color !important;
    color: #fff !important;
    border: 1px solid $theme-white !important;
  }
}

.timelineLabelColor strong {
  color: $theme-active-color !important;
}

.top-sidebar {
  .horizontal-menu {
    li {
      &.active {
        >a {
          color: $theme-active-color;
        }
      }

      a {
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;

        &:hover {
          color: $theme-active-color;
        }
      }
    }
  }
}

.demo-choose-skin li.actived:after {
  color: #000;
}

.nav-tabs>li>a:before {
  border-bottom: 2px solid $theme-active-color;
}

.search-box input#search {
  color: gray;
  background: #edecec;
}

.settingSidebar ul.choose-theme li.active div::after {
  color: #000;
}


.navbar-header {
  background-color: $theme-white;

  .logo-name {
    color: #6f6f6f;
    font-weight: 500;
  }
}

.text-primary {
  color: $theme-active-color !important;
}
