@import '~bootstrap/scss/bootstrap.scss';

@import '~bootstrap/scss/functions';
@import '~bootstrap/scss/variables';
@import '~bootstrap/scss/mixins';
@import '../assets/variables';
@import '~bootstrap/scss/functions';
/* ==========================================================================
Sidebar
========================================================================== */

#sidebar {
  height: 100%;
  min-height: 100vh;
  margin-left: 0px;
  transition: margin 0.25s ease-out;
  background-color: $menuColor;
  border-left: none !important;
  position: fixed;

  .list-group {
    width: $sidebar-width;
    background-color: transparent;

    .list-group-item {
      background-color: transparent;
      padding: 1.4rem 0;
      margin: 0 1rem;
      text-align: center;
      color: #fff;
      border-top: 1px solid #484848;
      text-decoration: none;
      text-transform: uppercase;
      font-weight: 200;

      img {
        width: 30px;
        display: block;
        margin: 0 auto 10px;
      }
    }
  }
}

.sidebar__heading {
  text-align: center;
  font-size: 1rem;
  color: #fff;
  padding: 0.4rem 0;
  outline: none;

  .sidebar__heading__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: $info-color;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    margin: 0 auto;
  }

  .sidebar__heading__firstname {
    display: block;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0px 5px;
  }

  .sidebar__heading__lastname {
    text-transform: uppercase;
    display: block;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0px 5px;
  }
}

@media (max-width: 576px) {
  .toggled #sidebar {
    margin-right: 0px !important;
  }
  #sidebar {
    margin-right: -$sidebar-width;
    margin-left: 0px;
    transition: margin 0.25s ease-out;
    background-color: $menuColor;
    position: fixed;
    z-index: 10;
    top: 60px;
    right: 0px;
  }
}

.ng-fa-icon {
  display: block;
}
/* ==========================================================================
HEADER
========================================================================== */
.header__content {
  padding-left: 13px;
  border-left: 2px solid $primary;
  color: $primary;
  font-weight: bold;
  text-transform: uppercase;
}

.logo-header {
  margin-right: 13px;
  width: 40%;
}

#header .container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

@media (min-width: 768px) {
  #header .container-fluid {
    padding-left: 3em;
    padding-right: 3em;
  }
}

@media (min-width: 576px) {
  #menu-toggle {
    display: none;
  }
}

@media (max-width: 576px) {
  #header {
    position: fixed;
    background-color: #fff;
    left: 0px;
    right: 0px;
    top: 0px;
    height: 60px;
    z-index: 5;
    border-bottom: 1px solid #e7eaf3;
  }

  .header__content {
    font-size: 0.8em;
  }
}
