body {
  /* font-size: 1rem; */
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Poppins', sans-serif;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: sub;
}

/*
 * Sidebar
 */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 4rem .5rem 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 4rem);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #999999;
}

.sidebar .nav-link button, [type=button] {
    -webkit-appearance: inherit !important;
}

.sidebar .nav-link .feather {
  margin-right: 1rem;
  width: 16px;
  height: 16px;
  vertical-align: sub;
  stroke: #aaa;
}

.sidebar .nav-link.active,
.sidebar .nav-link.active:hover,
.sidebar .nav-link.active .feather,
.sidebar .nav-link.active:hover .feather {
  color: #F2AF0D;
  stroke: #F2AF0D;
}

.sidebar .nav-link:hover,
.sidebar .nav-link:hover .feather {
  color: #f2f2f2;
  stroke: #f2f2f2;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
  padding: 1.5rem 1rem 0.5rem;
  color: #d9d9d9;
}

/*
 * Navbar
 */
 .navbar {
     height: 4rem;
     padding-left: .5rem;
     background-color: #222;
 }

 .navbar-nav .nav-link {
     color: #fff;
 }

.navbar .navbar-toggler {
  color: #fff;
}

.navbar .navbar-nav {
    flex-direction: row;
}

.navbar .nav-item {
    transition: background .1s ease-in-out,color .1s ease-in-out;
}

.navbar .feather {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/*
 * Dropdowns
 */
.dropdown-menu {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
}

.dropdown-toggle::after {
    display:none !important;
}

/*
 * Animations
 */
@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
  100% {
    transform:translateY(0rem);
    opacity: 1;
  }
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }
  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
}

/*
 * Content
 */
.content {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 4rem);
    min-width: 0;
    /* transition: margin-left .35s ease-in-out,left .35s ease-in-out,margin-right .35s ease-in-out,right .35s ease-in-out; */
    width: 100%;
    padding: 0;
}

main.main {
    direction: ltr;
    flex: 1;
    padding: 2.5rem 2.5rem 1.5rem;
}

footer.footer {
    background: #fff;
    border-top: 1px solid #dee6ed;
    direction: ltr;
    padding: 1rem .75rem;
}

/*
 * Cards
 */
.card {
    border: none;
    box-shadow: 0 0 .875rem 0 rgba(41,48,66,.1);
}

.card-header {
    background-color: #fff;
    /* font-weight: 600; */
    font-size: 1rem;
    display: flex;
    align-items: center;
    padding: .25rem 1.25rem;
    min-height: 3rem;
}

.card-header .dropdown {
    margin-left: auto;
    order: 2;
}

.card-header .dropdown-menu {
    min-width: 15rem;
}

.card-header .btn-primary {
    margin-left: auto;
    order: 2;
    background-color: #fff;
    border: none;
    color: #000;
}

.card-footer {
    background-color: #fff;
}

.card-deck {
    color: #fff;
}

.card-deck .feather, .card-dashboard .feather {
    width: 48px;
    height: 48px;
    padding: .5rem;
    border-radius: .25rem;
    background-color: #fff;
    box-shadow: 0 0 .875rem 0 rgba(41,48,66,.1);
}

/*
 * Modals
 */
.modal-header {
    justify-content: flex-start;
    font-size: 1.25rem;
    align-items: center;
}

.modal-header .feather {
    margin-right: .5rem;
}

/*
 * Alerts
 */
.alert {
  background: rgb(241, 242, 243, 0.9);
  position: absolute;
  overflow: hidden;
  top: 1rem;
  border-radius: 0.25rem;
  z-index:9999;
  color: #3b4044;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

/* Small Screens */
@media (max-width: 576px) {
    .alert{
        width: 20rem;
        left: 50%;
        transform: translate(-50%, 0)
    }
}
/* Large Screens */
@media (min-width: 576px) {
    .alert{
        width: 30rem;
        left: calc(50% + 7rem);
        transform: translate(-50%, 0)
    }
}

.alert hr {
    color: #3b4044;
    background-color: #3b4044;
}

.alert .close {
    text-shadow: none;
}

@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)){
    .alert {
        background-color: rgb(255, 255, 255, .5);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

.alert-icon {
    border-right: 2px solid #fff;
}

.alert-success {
    background-color: #66cc99 !important;
}

.alert-cbi {
    background: rgb(108, 117, 125, 0.95);
}

.form-error {
    color: #ff3333;
    font-weight: bold;
    font-size: .8rem;
}

/*
 * Lists
 */
.comma-list {
  display: inline;
  list-style: none;
}

.comma-list li {
  display: inline;
}

.comma-list li:after {
    content: ", ";
}

.comma-list li:last-child:after {
    content: "";
}

/*
 * Custom Colors
 */

.btn-orange {
    color: #FFF;
    background-color: #F2AF0D;
}

.btn-outline-orange {
    color: #F2AF0D;
    background-color: #FFF;
    border-color: #F2AF0D;
}

.btn-orange:hover, .btn-outline-orange:hover {
    color: #FFF;
    background-color: #F28B0D;
}

.btn-outline-white {
    color: #FFF;
    border-color: #FFF;
}

.btn-outline-white:hover {
    color: #F2AF0D;
    background-color: #FFF;
}

.border-orange {
    border-color: #F2AF0D !important;
}

.background-orange {
    background-color: #F2AF0D !important;
}

/*
 * Feather
 */
.feather-16 {
    width: 16px;
    height: 16px;
}
.feather-24 {
    width: 24px;
    height: 24px;
}
.feather-32 {
    width: 32px;
    height: 32px;
}
