header{
  width:100%;
  height:3rem;
  @include responsive(mbtb){height:4rem};
  background: $white;
  box-shadow: $shadow-low;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  color: $gray;
  .header-container{
    @include responsive(mbtb){padding:10px};

    width: 100%;
    height: 100%;
  }
  .logo-holder{
    @include responsive(mbtb){display: none};
    width:15%;
    min-width: 220px;

    height: 100%;
    border-right: 1px solid $body;
    img{
      height:98%;
      width:auto;
      object-fit: contain;
      display: block;
      margin: auto;
    }
  }
  .header-item{
    width: 85%;
    padding: 0 15px;
    @include responsive(mbtb){width: 100%;padding: 0}
    .notification{
      @include responsive(mbtb){width: 16px;height: 16px}

    }
    .rel{
      @include responsive(mbtb){position: unset}

    }

    .profile-img{
      width: 3rem;
      height: 3rem;
      border-radius: 100%;
      img{
        border-radius: 100%;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
    i{
      position: relative;
      font-size: 20px;
      &:hover{
        cursor: pointer;
      }
    }

  }
}
.rel{
  position: relative;
}
.drop-option{
  display: none;
  @include absolute(100%,0,unset,unset);
  font-size: 15px;
  width:260px;
  @include responsive(mb){width:100%;position: fixed;top: 4rem}

  max-height: 500px;
  overflow-y: scroll;
  padding: 20px 10px;
  background: white;
  z-index: 100;
  border-radius: 5px;
  box-shadow: $shadow;
  text-align: center;
}
.drop-option.show{
  display: block;

  .search-field{
    display: block;
    height: 3rem;
    border-radius: 5px;
  }
}
.insights.drop-option{
  i{
    font-size: 38px;
    text-shadow: $shadow;
    color: $blue;
  }
  .item{
    border-radius: 5px;
    padding: 8px 5px;
    &:hover{
      background: $body;
      cursor: pointer;
    }
  }
}
.search-field{
  width: 100%;
  background: #ebebeb;
  outline: none;
  border: none;
  padding: 5px 10px;
  height: 2rem;
  margin: .5rem 0;
  @include responsive(mbtb){margin: 0;height:100%;display: none}

}
.sidebar-nav{
  @include responsive(mbtb){display:none}

  width:15%;
  min-width: 220px;
  background: $white;
  color: $black;
  min-height: 100vh;
  //min-height: 800px;
  font-size: 16px;
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 3rem;
  z-index: 100;
  //overflow-y: scroll;

}
.nav-cat{
  width: 100%;
  padding: 15px 10px;
  @include responsive(mbtb){padding: 15px 0};
  border-bottom: 2px solid $body;
  .nav-heading{
    position: relative;
    margin-bottom: 15px;
    font-size: 14px;

    &::after{
      content: '';
      @include absolute(unset,unset,-3px,0);
      width:15px;
      height: 3px;
      background: $default-color;
    }
  }
  .sub-nav-item{
    display: none;
    width: 100%;
    position: relative;
    li{
      text-align: left;
      padding-left: 0;
      i{
        @include absolute(unset,0,unset,unset);
      }
      .notification{
        position: relative;
        display: inline-block;
        top: -1px;
        right: -5px;
        font-size: 10px;
      }

    }

    a:last-child{
      li{
        border-bottom: 1px solid $default-color;
      }
    }

  }
  i{
    position: relative;
    color: $light-gray;
    &:hover{
      cursor: pointer;
    }
  }
  ul{
    margin: 0;
    padding: 0;
    li{
      position: relative;
      font-weight: 300;
      padding: 5px 6px;
      list-style: none;
      text-align: right;
      &:hover{
        cursor: pointer;
      }
      .nav-item{
        @include flex-line(space-between, center);
        width: 100%;
      }
      .nav-item.active{
        color: $default-color;
        i{
          color: $default-color;

        }
      }
      &:hover{
        .blink{
          animation: none;
        }
      }
    }
    li.active{
      color: $default-color;
      &::before{
        content: '';
        @include absolute(50%,unset,0,-10px);
        @include transform(translate(0%,-50%));
        width:5px;
        height: 80%;
        background: $default-color;
      }
    }
  }
  .new{
    @include absolute(0px,-40px,unset,unset);
    padding: 1px 3px;
    border: .5px solid seagreen;
    color: seagreen;
    border-radius: 2px;
    font-size: 8px;
  }
  .notification{
    right: -15px;
    top:-10px;
  }

}
.sidebar-holder{
  position: absolute;
  min-height: 90%;
  width: 100%;
  //overflow-y: scroll;
}
.notification{
  @include absolute(-8px,-10px,unset,unset);
  font-size: 12px;
  font-weight: bold;
  @include responsive(mbtb){width:24px;height:24px}
  width: 16px;
  height: 16px;
  text-align: center;
  border-radius: 100%;
  box-shadow: 0 3px 5px rgba(0,0,0,0.5);
  background: #b80000;
  color: $white;
  border:1px solid white;

}
.notification-container{
  width: 300px;
  @include responsive(mb){width:100%}
  text-align: left;
  //padding: 20px 0;
}
.notification-item{
  //border-bottom: 1px solid $light-gray;
  font-size: 15px;
  //font-weight: bold;
  margin:  0;
  border-radius: 10px;
  padding: 15px 5px 5px 5px;
  color: $black;
  &:hover{
    background: $body;
  }
}
.notification-item.recent{
  background:#ebebeb;
}
.icon-holder-circle{
  border:1px solid $black;
  border-radius: 100%;
  padding: 5px;
  width:35px;
  height: 35px;
  text-align: center;
  box-shadow: $shadow;
}
.signout{
  width: 200px;
  @include responsive(mb){width:100%}
  padding: 10px 5px;
  .icon-holder-circle{
    width:28px;
    height: 28px;
    i{
      font-size: 16px;

    }
  }
}
.timestamp{
  color: $blue;
  font-weight: bold;
  text-align: right;
  border-bottom: 1px solid $light-gray;
}
.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
#mobile-menu{
  font-size: 28px;
  padding: 10px;
  //color: $white;
}
.mobile-menu-visible .mobile-menu {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 300px;
  padding-right: 30px;
  max-width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 999999;
  ul{
    padding: 0;
    li{
      list-style: none;
      font-size: 16px;
    }
  }
  .nav-logo {
    position: relative;
    text-align: left;
    img{
      display: block;
      margin: auto;
      width:100px;
      height: 100px;
      object-fit: contain;
    }
  }
  .menu-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #000;
    @include transform(translateX(-100%));
  }
  .menu-box {
    @include absolute(0,unset,unset,0);
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    background: white;
    padding: 0;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    @include transform(translateX(-100%));

  }

  .close-btn {
    @include absolute(10px, 25px,unset,unset);

    line-height: 30px;
    width: 24px;
    text-align: center;
    font-size: 26px;
    color: $gray;
    cursor: pointer;
    z-index: 10;
    -webkit-transition: all 0.9s ease;
    -moz-transition: all 0.9s ease;
    -ms-transition: all 0.9s ease;
    -o-transition: all 0.9s ease;
    transition: all 0.9s ease;
  }
  .navbar-collapse {
    display: block !important;
  }
  .mb-navigation {
    li{
      position: relative;
      display: block;
      border-top: 1px solid rgba(255,255,255,0.10);
      //a {
      position: relative;
      display: block;
      line-height: 24px;
      padding: 10px 25px;
      text-transform: uppercase;
      -webkit-transition: all 500ms ease;
      -moz-transition: all 500ms ease;
      -ms-transition: all 500ms ease;
      -o-transition: all 500ms ease;
      transition: all 500ms ease;
      &::before {
        content: '';
        @include absolute(0,unset,unset,0);
        height: 0;
        border-left: 5px solid $default-color;
        -webkit-transition: all 500ms ease;
        -moz-transition: all 500ms ease;
        -ms-transition: all 500ms ease;
        -o-transition: all 500ms ease;
        transition: all 500ms ease;
      }
      //}
    }
    .sub-nav-holder{
      display: none;
    }
    .sub-nav-holder.show{
      display: block;
    }
    li.active{
      color: $default-color;
      &::before{
        content: '';
        @include absolute(0,unset,0,0);
        height: 100%;
        width: 4px;
        background: $default-color;
        transform: none;
      }
    }
    .current a:before {
      height: 100%;

    }
  }
  .contact-info {
    position: relative;
    padding: 80px 30px 20px 30px;
  }
}
.mobile-menu-visible{
  .mobile-menu {
    .menu-backdrop {
      opacity: 0.70;
      visibility: visible;
      @include transform(translateX(0%));
    }
    .menu-box {
      opacity: 1;
      visibility: visible;
      @include transform(translateX(0%));

    }
    .close-btn {
      @include transform(rotate(360deg));
      transition: all 1s ease;

    }

  }
}
footer{
  padding: 40px;
  padding-left: 15%;
  @include responsive(mbtb){padding: 15px}
  background: #d4d4d4;
  margin-top: 20px;
  font-size: 14px;
  color: $gray;
}