/*!
 * Start Bootstrap - SB Admin 2 v4.1.4 (https://startbootstrap.com/theme/sb-admin-2)
 * Copyright 2013-2021 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-sb-admin-2/blob/master/LICENSE)
 */

/* Global Styles */
html {
  position: relative;
  min-height: 100%;
}

body {
  height: 100%;
}

a:focus {
  outline: none;
}

/* Wrapper */
#wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

#wrapper #content-wrapper {
  background-color: #f8f9fc;
  width: 100%;
  overflow-x: hidden;
}

#wrapper #content-wrapper #content {
  flex: 1 0 auto;
}

/* Sidebar */
.sidebar {
  width: 224px;
  min-height: 100vh;
  background: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background: -webkit-linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background: -moz-linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background: -o-linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background: -ms-linear-gradient(180deg, #4e73df 10%, #224abe 100%);
}

.sidebar .nav-item {
  position: relative;
}

.sidebar .nav-item:last-child {
  margin-bottom: 1rem;
}

.sidebar .nav-item .nav-link {
  text-align: left;
  padding: 0.75rem 1rem;
  width: 224px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sidebar .nav-item .nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-item .nav-link.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
}

.sidebar .nav-item .nav-link i {
  font-size: 0.85rem;
  margin-right: 0.25rem;
  width: 1rem;
  text-align: center;
}

.sidebar .nav-item .nav-link span {
  font-size: 0.85rem;
  display: block;
}

.sidebar .nav-item .nav-link[data-toggle="collapse"]::after {
  width: 1rem;
  text-align: center;
  float: right;
  vertical-align: 0;
  border: 0;
  font-weight: 900;
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  margin-left: auto;
}

.sidebar .nav-item .nav-link[data-toggle="collapse"].collapsed::after {
  content: '\f105';
}

.sidebar .sidebar-brand {
  width: 224px;
  height: 4.375rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  padding: 1.5rem 1rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar .sidebar-brand .sidebar-brand-icon i {
  font-size: 2rem;
}

.sidebar .sidebar-brand .sidebar-brand-text {
  margin-left: 0.5rem;
}

.sidebar hr.sidebar-divider {
  margin: 0 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar .sidebar-heading {
  text-align: center;
  padding: 0 1rem;
  font-weight: 800;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.sidebar .collapse .collapse-inner {
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
  margin: 0 1rem;
}

.sidebar .collapse .collapse-inner .collapse-header {
  margin: 0;
  white-space: nowrap;
  padding: 0.5rem 1.5rem;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.65rem;
  color: #b7b9cc;
}

.sidebar .collapse .collapse-inner .collapse-item {
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  display: block;
  color: #3a3b45;
  text-decoration: none;
  border-radius: 0.35rem;
  white-space: nowrap;
}

.sidebar .collapse .collapse-inner .collapse-item:hover {
  background-color: #eaecf4;
}

.sidebar .collapse .collapse-inner .collapse-item.active {
  color: #5a5c69;
  font-weight: 700;
  background-color: #e3e6f0;
}

.sidebar #sidebarToggle {
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
}

.sidebar #sidebarToggle:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.sidebar #sidebarToggle:focus {
  outline: none;
}

.sidebar.toggled {
  width: 0 !important;
  overflow: hidden;
}

/* Topbar */
.topbar {
  height: 4.375rem;
  background-color: #fff;
  border-bottom: 1px solid #e3e6f0;
}

.topbar .navbar-search .input-group .input-group-append .btn {
  background-color: #4e73df;
  border-color: #4e73df;
}

.topbar .navbar-search .input-group .form-control {
  background-color: #f7f7f9;
  border-color: #f7f7f9;
  font-size: 0.85rem;
  height: auto;
  padding: 0.75rem 1rem;
}

.topbar .topbar-divider {
  width: 0;
  border-right: 1px solid #e3e6f0;
  height: calc(4.375rem - 2rem);
  margin: auto 1rem;
}

.topbar .nav-item .nav-link {
  height: 4.375rem;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  color: #5a5c69;
}

.topbar .nav-item .nav-link:hover {
  color: #5a5c69;
}

.topbar .nav-item .nav-link:focus {
  outline: none;
}

.topbar .nav-item.dropdown .dropdown-list {
  border: 0;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.topbar .nav-item.dropdown .dropdown-list .dropdown-header {
  background-color: #4e73df;
  border: 1px solid #4e73df;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #fff;
}

.topbar .nav-item.dropdown .dropdown-list .dropdown-item {
  white-space: normal;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-left: 1px solid #e3e6f0;
  border-right: 1px solid #e3e6f0;
  border-bottom: 1px solid #e3e6f0;
  line-height: 1.3rem;
}

.topbar .nav-item.dropdown .dropdown-list .dropdown-item:active {
  background-color: #eaecf4;
  color: #3a3b45;
}

.topbar .dropdown-list .dropdown-item .dropdown-list-image {
  position: relative;
  height: 2.5rem;
  width: 2.5rem;
}

.topbar .dropdown-list .dropdown-item .dropdown-list-image img {
  height: 2.5rem;
  width: 2.5rem;
}

.topbar .dropdown-list .dropdown-item .dropdown-list-image .status-indicator {
  background-color: #eaecf4;
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  border: 0.125rem solid #fff;
}

.topbar .dropdown-list .dropdown-item .text-truncate {
  max-width: 13.375rem;
}

.topbar .dropdown-list .dropdown-item .small {
  font-size: 0.9rem;
}

.topbar .dropdown-list .dropdown-item:last-child {
  border-bottom: none;
  border-radius: 0 0 0.35rem 0.35rem;
}

.topbar .nav-item.dropdown .dropdown-toggle::after {
  width: 1rem;
  text-align: center;
  float: right;
  vertical-align: 0;
  border: 0;
  font-weight: 900;
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
}

.topbar .nav-item.dropdown.show .dropdown-toggle::after {
  content: '\f106';
}

.topbar .nav-item.dropdown .dropdown-menu {
  padding-top: 0;
  padding-bottom: 0;
}

.topbar .nav-item .img-profile {
  height: 2rem;
  width: 2rem;
}

.topbar .nav-item.dropdown .dropdown-menu .dropdown-item {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  line-height: 1.3;
}

.topbar .nav-item.dropdown .dropdown-menu .dropdown-item i {
  font-size: 0.85rem;
  margin-right: 0.25rem;
  color: #5a5c69;
}

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #e3e6f0;
  border-radius: 0.35rem;
}

.card > hr {
  margin-right: 0;
  margin-left: 0;
}

.card > .list-group:first-child .list-group-item:first-child {
  border-top-left-radius: 0.35rem;
  border-top-right-radius: 0.35rem;
}

.card > .list-group:last-child .list-group-item:last-child {
  border-bottom-right-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: #f8f9fc;
  border-bottom: 1px solid #e3e6f0;
}

.card-header:first-child {
  border-radius: calc(0.35rem - 1px) calc(0.35rem - 1px) 0 0;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: #f8f9fc;
  border-top: 1px solid #e3e6f0;
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.35rem - 1px) calc(0.35rem - 1px);
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 400;
  color: #858796;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.35rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #4e73df;
  border-color: #4e73df;
}

.btn-primary:hover {
  color: #fff;
  background-color: #2e59d9;
  border-color: #2653d4;
}

.btn-success {
  color: #fff;
  background-color: #1cc88a;
  border-color: #1cc88a;
}

.btn-info {
  color: #fff;
  background-color: #36b9cc;
  border-color: #36b9cc;
}

.btn-warning {
  color: #fff;
  background-color: #f6c23e;
  border-color: #f6c23e;
}

.btn-danger {
  color: #fff;
  background-color: #e74a3b;
  border-color: #e74a3b;
}

/* Utilities */
.shadow {
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

.border-left-primary {
  border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
  border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
  border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
  border-left: 0.25rem solid #f6c23e !important;
}

.border-left-danger {
  border-left: 0.25rem solid #e74a3b !important;
}

.text-primary {
  color: #4e73df !important;
}

.text-success {
  color: #1cc88a !important;
}

.text-info {
  color: #36b9cc !important;
}

.text-warning {
  color: #f6c23e !important;
}

.text-danger {
  color: #e74a3b !important;
}

.text-gray-100 {
  color: #f8f9fc !important;
}

.text-gray-200 {
  color: #eaecf4 !important;
}

.text-gray-300 {
  color: #dddfeb !important;
}

.text-gray-400 {
  color: #b7b9cc !important;
}

.text-gray-500 {
  color: #858796 !important;
}

.text-gray-600 {
  color: #5a5c69 !important;
}

.text-gray-700 {
  color: #3a3b45 !important;
}

.text-gray-800 {
  color: #2e2f37 !important;
}

.text-gray-900 {
  color: #1c1d21 !important;
}

.bg-gradient-primary {
  background: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background: -webkit-linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background: -moz-linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background: -o-linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background: -ms-linear-gradient(180deg, #4e73df 10%, #224abe 100%);
}

/* Footer */
.sticky-footer {
  flex-shrink: 0;
}

.sticky-footer .copyright {
  line-height: 1;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    width: 0 !important;
    overflow: hidden;
  }
  
  .sidebar.toggled {
    width: 224px !important;
  }
  
  #wrapper #content-wrapper {
    width: 100%;
  }
  
  .topbar .navbar-search {
    display: none;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  text-align: center;
  color: #fff;
  background: rgba(90, 92, 105, 0.5);
  line-height: 46px;
  border-radius: 100%;
}

.scroll-to-top:focus, .scroll-to-top:hover {
  color: white;
}

.scroll-to-top:hover {
  background: #5a5c69;
}

.scroll-to-top i {
  font-weight: 800;
}

/* Icon Circles */
.icon-circle {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Badge Counter */
.badge-counter {
  position: absolute;
  transform: scale(0.7);
  transform-origin: top right;
  right: 0.25rem;
  margin-top: -0.25rem;
}

/* Animations */
.animated--grow-in {
  animation-name: growIn;
  animation-duration: 200ms;
  animation-timing-function: transform cubic-bezier(0.18, 1.25, 0.4, 1), opacity cubic-bezier(0, 1, 0.4, 1);
}

@keyframes growIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animated--fade-in {
  animation-name: fadeIn;
  animation-duration: 200ms;
  animation-timing-function: opacity cubic-bezier(0, 1, 0.4, 1);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}