/*!
 * TITAN layout — the frame every TITAN page sits in: the navbar, the sidebar
 * and its tree, the content area, cards, info boxes, and the small utilities
 * the views use.
 *
 * This is TITAN Original, the default theme. Other themes are separate
 * stylesheets scoped to a class on <body> (body.theme-space for the Space
 * Theme, see themes/space.css), loaded after this one, and light or dark mode
 * is body.dark-mode on top of whichever theme is chosen.
 *
 * Derived from AdminLTE v3.0.0-alpha (MIT, (c) Abdullah Almsaeed,
 * https://adminlte.io), which TITAN no longer loads. Only the rules whose
 * classes TITAN's views and scripts use were kept; Bootstrap 4.1 sits in
 * bootstrap.css beside this file, unchanged.
 */

html,
body,
.wrapper {
  min-height: 100%;
  overflow-x: hidden;
}

.wrapper {
  position: relative;
}

@media (min-width: 768px) {
  .content-wrapper,
  .main-footer,
  .main-header {
    transition: margin-left 0.3s ease-in-out;
    margin-left: 250px;
  }
}

@media screen and (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .content-wrapper,
  .main-footer,
  .main-header {
    transition: none;
  }
}

@media (min-width: 768px) {
  .sidebar-collapse .content-wrapper,
  .sidebar-collapse .main-footer,
  .sidebar-collapse .main-header {
    margin-left: 0;
  }
}

@media (max-width: 991.98px) {
  .content-wrapper,
  .content-wrapper:before,
  .main-footer,
  .main-footer:before,
  .main-header,
  .main-header:before {
    margin-left: 0;
  }
}

.content-wrapper {
  background: #f4f6f9;
}

.content-wrapper > .content {
  padding: 0 0.5rem;
}

.main-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
}

.main-sidebar,
.main-sidebar:before {
  transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
  width: 250px;
}

@media screen and (prefers-reduced-motion: reduce) {
  .main-sidebar,
  .main-sidebar:before {
    transition: none;
  }
}

.sidebar-collapse .main-sidebar,
.sidebar-collapse .main-sidebar:before {
  margin-left: -250px;
}

@media (max-width: 991.98px) {
  .main-sidebar,
  .main-sidebar:before {
    box-shadow: none !important;
    margin-left: -250px;
  }
  .sidebar-open .main-sidebar,
  .sidebar-open .main-sidebar:before {
    margin-left: 0;
  }
}

.main-footer {
  padding: 15px;
  color: #555;
  background: #ffffff;
}

.content-header {
  padding: 15px 0.5rem;
}

.content-header h1 {
  font-size: 1.8rem;
  margin: 0;
}

.content-header .breadcrumb {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  line-height: 1.8rem;
}

.hold-transition .content-wrapper,
.hold-transition .main-header,
.hold-transition .main-footer {
  transition: none !important;
}

.main-header {
  z-index: 1000;
}

.main-header .navbar-nav .nav-item {
  margin: 0;
}

.main-header .nav-link {
  position: relative;
  height: 2.5rem;
}

.main-header .navbar-nav[class*="-right"] .dropdown-menu {
  margin-top: -3px;
  right: 0;
  left: auto;
}

@media (max-width: 575.98px) {
  .main-header .navbar-nav[class*="-right"] .dropdown-menu {
    left: 0;
    right: auto;
  }
}

.btn-navbar {
  border-left-width: 0;
  background-color: transparent;
}

.form-control-navbar {
  border-right-width: 0;
}

.form-control-navbar + .input-group-append {
  margin-left: 0;
}

.form-control-navbar,
.btn-navbar {
  transition: none;
}

.navbar-light .form-control-navbar,
.navbar-light .btn-navbar {
  background-color: #f2f4f6;
  border: 0;
}

.navbar-light .form-control-navbar::placeholder,
.navbar-light .form-control-navbar + .input-group-append > .btn-navbar {
  color: rgba(0, 0, 0, 0.6);
}

.navbar-light .form-control-navbar :-moz-placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.navbar-light .form-control-navbar ::-moz-placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.navbar-light .form-control-navbar :-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.navbar-light .form-control-navbar:focus,
.navbar-light .form-control-navbar:focus + .input-group-append .btn-navbar {
  border: 0 !important;
  background-color: #e9ecef;
  color: #343a40;
}

.brand-link {
  padding: 0.8125rem 0.5rem;
  font-size: 1.25rem;
  display: block;
  line-height: 1.5;
  white-space: nowrap;
}

.brand-link:hover {
  color: #ffffff;
  text-decoration: none;
}

[class*="sidebar-dark"] .brand-link {
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid #4b545c;
}

[class*="sidebar-light"] .brand-link {
  color: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid #dee2e6;
}

.main-sidebar {
  z-index: 1100;
  height: 100vh;
  overflow-y: hidden;
}

.sidebar {
  padding-bottom: 0;
  padding-top: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  overflow-y: auto;
  height: calc(100% - 4rem);
}

.nav-sidebar .nav-item > .nav-link {
  margin-bottom: 0.2rem;
}

.nav-sidebar .nav-item > .nav-link .right {
  transition: transform ease-in-out 0.3s;
}

@media screen and (prefers-reduced-motion: reduce) {
  .nav-sidebar .nav-item > .nav-link .right {
    transition: none;
  }
}

.nav-sidebar .nav-link > p > .right {
  position: absolute;
  right: 1rem;
  top: 12px;
}

.nav-sidebar .menu-open > .nav-treeview {
  display: block;
}

.nav-sidebar .menu-open > .nav-link .right {
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.nav-sidebar > .nav-item {
  margin-bottom: 0;
}

.nav-sidebar > .nav-item .nav-icon {
  text-align: center;
  width: 1.6rem;
  font-size: 1.2rem;
  margin-right: .2rem;
}

.nav-sidebar > .nav-item .float-right {
  margin-top: 3px;
}

.nav-sidebar .nav-treeview {
  display: none;
  list-style: none;
  padding: 0;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
  width: 1.6rem;
}

.nav-sidebar .nav-link p {
  display: inline-block;
  margin: 0;
}

#sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1099;
}

@media (max-width: 991.98px) {
  .sidebar-open #sidebar-overlay {
    display: block;
  }
}

.sidebar-dark-primary {
  background-color: #343a40;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link:active,
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link:focus {
  color: #C2C7D0;
}

.sidebar-dark-primary .nav-sidebar > .nav-item.menu-open > .nav-link,
.sidebar-dark-primary .nav-sidebar > .nav-item:hover > .nav-link {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
  color: #ffffff;
  background-color: #007bff;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-treeview {
  background: transparent;
}

.sidebar-dark-primary .sidebar a {
  color: #C2C7D0;
}

.sidebar-dark-primary .sidebar a:hover {
  text-decoration: none;
}

.sidebar-dark-primary .nav-treeview > .nav-item > .nav-link {
  color: #C2C7D0;
}

.sidebar-dark-primary .nav-treeview > .nav-item > .nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-dark-primary .nav-treeview > .nav-item > .nav-link.active,
.sidebar-dark-primary .nav-treeview > .nav-item > .nav-link.active:hover {
  color: #343a40;
  background-color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 992px) {
  .sidebar-mini .nav-sidebar,
  .sidebar-mini .nav-sidebar .nav-link {
    white-space: nowrap;
    overflow: hidden;
  }
  .sidebar-mini.sidebar-collapse .content-wrapper,
  .sidebar-mini.sidebar-collapse .main-footer,
  .sidebar-mini.sidebar-collapse .main-header {
    margin-left: 4.6rem !important;
  }
  .sidebar-mini.sidebar-collapse .nav-sidebar .nav-link p {
    opacity: 0;
    margin-left: -10px;
  }
  .sidebar-mini.sidebar-collapse .main-sidebar,
  .sidebar-mini.sidebar-collapse .main-sidebar:before {
    margin-left: 0;
    width: 4.6rem;
  }
  .sidebar-mini.sidebar-collapse .main-sidebar:hover {
    width: 250px;
  }
  .sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-sidebar .nav-link p {
    opacity: 1;
    margin-left: 0;
    display: inline-block;
  }
  .sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-sidebar > .nav-item > .nav-link > span {
    display: inline-block !important;
  }
}

.nav-sidebar {
  position: relative;
}

.nav-sidebar:hover {
  overflow: visible;
}

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

.nav-sidebar .nav-item > .nav-link > .float-right {
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -7px;
}

.sidebar .nav-link p {
  transition: margin-left 0.3s linear, opacity 0.5s ease;
}

@media screen and (prefers-reduced-motion: reduce) {
  .sidebar .nav-link p {
    transition: none;
  }
}

@keyframes flipInX {
  0% {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transition-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transition-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  100% {
    transform: perspective(400px);
  }
}

@-webkit-keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
  }
  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  100% {
    -webkit-transform: perspective(400px);
  }
}

label:not(.form-check-label):not(.custom-file-label) {
  font-weight: 700;
}

.progress {
  box-shadow: none;
  border-radius: 1px;
}

.progress.vertical {
  position: relative;
  width: 30px;
  height: 200px;
  display: inline-block;
  margin-right: 10px;
}

.progress.vertical > .progress-bar {
  width: 100%;
  position: absolute;
  bottom: 0;
}

.progress.vertical.sm {
  width: 20px;
}

.progress.vertical.xs {
  width: 10px;
}

.table tr > td .progress {
  margin: 0;
}

.small-box {
  border-radius: 0.25rem;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
  position: relative;
  display: block;
  margin-bottom: 20px;
}

.small-box > .inner {
  padding: 10px;
}

.small-box h3 {
  font-size: 38px;
  font-weight: bold;
  margin: 0 0 10px 0;
  white-space: nowrap;
  padding: 0;
}

.small-box p {
  font-size: 15px;
}

.small-box p > small {
  display: block;
  color: #f9f9f9;
  font-size: 13px;
  margin-top: 5px;
}

.small-box h3,
.small-box p {
  z-index: 5;
}

.small-box .icon {
  transition: all 0.3s linear;
  position: absolute;
  top: -10px;
  right: 10px;
  z-index: 0;
  font-size: 90px;
  color: rgba(0, 0, 0, 0.15);
}

.small-box:hover {
  text-decoration: none;
}

.small-box:hover .icon {
  font-size: 95px;
}

@media (max-width: 767.98px) {
  .small-box {
    text-align: center;
  }
  .small-box .icon {
    display: none;
  }
  .small-box p {
    font-size: 12px;
  }
}

.card {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.card.bg-dark,
.card.bg-dark .card-body {
  color: #ffffff;
}

.card.collapsed-card .card-body,
.card.collapsed-card .card-footer {
  display: none;
}

.card .nav.flex-column > li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  margin: 0;
}

.card .nav.flex-column > li:last-of-type {
  border-bottom: none;
}

.card .border-right {
  border-right: 1px solid rgba(0, 0, 0, 0.125);
}

.card .border-left {
  border-left: 1px solid rgba(0, 0, 0, 0.125);
}

.card > .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card .overlay {
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.25rem;
}

.card .overlay > .fa {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -15px;
  color: #000;
  font-size: 30px;
}

.card .overlay.dark {
  background: rgba(0, 0, 0, 0.5);
}

.card-header::after,
.card-body::after,
.card-footer::after {
  display: block;
  clear: both;
  content: "";
}

.card-header {
  position: relative;
  background-color: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.collapsed-card .card-header {
  border-bottom: none;
}

.card-header > .card-tools {
  position: absolute;
  right: 1rem;
  top: .5rem;
}

.card-header > .card-tools [data-toggle="tooltip"] {
  position: relative;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0;
}

.btn-tool {
  padding: .25rem .5rem;
  font-size: 0.875rem;
  background: transparent;
  color: #adb5bd;
}

.btn-group.show .btn-tool,
.btn-tool:hover {
  color: #495057;
}

.show .btn-tool,
.btn-tool:focus {
  box-shadow: none !important;
}

.card-body > .table {
  margin-bottom: 0;
}

.card-body > .table > thead > tr > th,
.card-body > .table > thead > tr > td {
  border-top-width: 0;
}

.card-comments {
  background: #f7f7f7;
}

.card-comments .card-comment {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.card-comments .card-comment::after {
  display: block;
  clear: both;
  content: "";
}

.card-comments .card-comment:last-of-type {
  border-bottom: 0;
}

.card-comments .card-comment:first-of-type {
  padding-top: 0;
}

.card-comments .card-comment img {
  float: left;
}

.card-comments .username {
  color: #444;
  display: block;
  font-weight: 600;
}

.card-comments .text-muted {
  font-weight: 400;
  font-size: 12px;
}

.card-input {
  max-width: 200px;
}

.card-primary:not(.card-outline) .card-header {
  background-color: #007bff;
  border-bottom: 0;
}

.card-primary:not(.card-outline) .card-header,
.card-primary:not(.card-outline) .card-header a {
  color: #ffffff;
}

.card-primary.card-outline {
  border-top: 3px solid #007bff;
}

.bg-primary .btn-tool,
.bg-primary-gradient .btn-tool,
.card-primary:not(.card-outline) .btn-tool {
  color: rgba(255, 255, 255, 0.8);
}

.bg-primary .btn-tool:hover,
.bg-primary-gradient .btn-tool:hover,
.card-primary:not(.card-outline) .btn-tool:hover {
  color: #ffffff;
}

.card-secondary:not(.card-outline) .card-header {
  background-color: #6c757d;
  border-bottom: 0;
}

.card-secondary:not(.card-outline) .card-header,
.card-secondary:not(.card-outline) .card-header a {
  color: #ffffff;
}

.card-secondary.card-outline {
  border-top: 3px solid #6c757d;
}

.bg-secondary .btn-tool,
.bg-secondary-gradient .btn-tool,
.card-secondary:not(.card-outline) .btn-tool {
  color: rgba(255, 255, 255, 0.8);
}

.bg-secondary .btn-tool:hover,
.bg-secondary-gradient .btn-tool:hover,
.card-secondary:not(.card-outline) .btn-tool:hover {
  color: #ffffff;
}

.card-success:not(.card-outline) .card-header {
  background-color: #28a745;
  border-bottom: 0;
}

.card-success:not(.card-outline) .card-header,
.card-success:not(.card-outline) .card-header a {
  color: #ffffff;
}

.card-success.card-outline {
  border-top: 3px solid #28a745;
}

.bg-success .btn-tool,
.alert-success .btn-tool,
.bg-success-gradient .btn-tool,
.card-success:not(.card-outline) .btn-tool {
  color: rgba(255, 255, 255, 0.8);
}

.bg-success .btn-tool:hover,
.alert-success .btn-tool:hover,
.bg-success-gradient .btn-tool:hover,
.card-success:not(.card-outline) .btn-tool:hover {
  color: #ffffff;
}

.card-info:not(.card-outline) .card-header {
  background-color: #17a2b8;
  border-bottom: 0;
}

.card-info:not(.card-outline) .card-header,
.card-info:not(.card-outline) .card-header a {
  color: #ffffff;
}

.card-info.card-outline {
  border-top: 3px solid #17a2b8;
}

.bg-info .btn-tool,
.alert-info .btn-tool,
.bg-info-gradient .btn-tool,
.card-info:not(.card-outline) .btn-tool {
  color: rgba(255, 255, 255, 0.8);
}

.bg-info .btn-tool:hover,
.alert-info .btn-tool:hover,
.bg-info-gradient .btn-tool:hover,
.card-info:not(.card-outline) .btn-tool:hover {
  color: #ffffff;
}

.card-warning:not(.card-outline) .card-header {
  background-color: #ffc107;
  border-bottom: 0;
}

.card-warning:not(.card-outline) .card-header,
.card-warning:not(.card-outline) .card-header a {
  color: #1F2D3D;
}

.card-warning.card-outline {
  border-top: 3px solid #ffc107;
}

.bg-warning .btn-tool,
.alert-warning .btn-tool,
.bg-warning-gradient .btn-tool,
.card-warning:not(.card-outline) .btn-tool {
  color: rgba(31, 45, 61, 0.8);
}

.bg-warning .btn-tool:hover,
.alert-warning .btn-tool:hover,
.bg-warning-gradient .btn-tool:hover,
.card-warning:not(.card-outline) .btn-tool:hover {
  color: #1F2D3D;
}

.card-danger:not(.card-outline) .card-header {
  background-color: #dc3545;
  border-bottom: 0;
}

.card-danger:not(.card-outline) .card-header,
.card-danger:not(.card-outline) .card-header a {
  color: #ffffff;
}

.card-danger.card-outline {
  border-top: 3px solid #dc3545;
}

.bg-danger .btn-tool,
.alert-danger .btn-tool,
.alert-error .btn-tool,
.bg-danger-gradient .btn-tool,
.card-danger:not(.card-outline) .btn-tool {
  color: rgba(255, 255, 255, 0.8);
}

.bg-danger .btn-tool:hover,
.alert-danger .btn-tool:hover,
.alert-error .btn-tool:hover,
.bg-danger-gradient .btn-tool:hover,
.card-danger:not(.card-outline) .btn-tool:hover {
  color: #ffffff;
}

.card-light:not(.card-outline) .card-header {
  background-color: #f8f9fa;
  border-bottom: 0;
}

.card-light:not(.card-outline) .card-header,
.card-light:not(.card-outline) .card-header a {
  color: #1F2D3D;
}

.card-light.card-outline {
  border-top: 3px solid #f8f9fa;
}

.bg-light .btn-tool,
.bg-light-gradient .btn-tool,
.card-light:not(.card-outline) .btn-tool {
  color: rgba(31, 45, 61, 0.8);
}

.bg-light .btn-tool:hover,
.bg-light-gradient .btn-tool:hover,
.card-light:not(.card-outline) .btn-tool:hover {
  color: #1F2D3D;
}

.card-dark:not(.card-outline) .card-header {
  background-color: #343a40;
  border-bottom: 0;
}

.card-dark:not(.card-outline) .card-header,
.card-dark:not(.card-outline) .card-header a {
  color: #ffffff;
}

.card-dark.card-outline {
  border-top: 3px solid #343a40;
}

.bg-dark .btn-tool,
.bg-dark-gradient .btn-tool,
.card-dark:not(.card-outline) .btn-tool {
  color: rgba(255, 255, 255, 0.8);
}

.bg-dark .btn-tool:hover,
.bg-dark-gradient .btn-tool:hover,
.card-dark:not(.card-outline) .btn-tool:hover {
  color: #ffffff;
}

.info-box {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
  padding: .5rem;
  min-height: 80px;
  background: #ffffff;
}

.info-box .progress {
  background-color: rgba(0, 0, 0, 0.125);
  margin: 5px 0;
  height: 2px;
}

.info-box .progress .progress-bar {
  background-color: #ffffff;
}

.info-box-icon {
  border-radius: 0.25rem;
  display: block;
  width: 70px;
  text-align: center;
  font-size: 30px;
}

.info-box-icon > img {
  max-width: 100%;
}

.info-box-content {
  padding: 5px 10px;
  flex: 1;
}

.info-box-number {
  display: block;
  font-weight: 700;
}

.info-box-text {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-box.bg-primary,
.info-box.bg-primary-gradient {
  color: #ffffff;
}

.info-box.bg-primary .progress-bar,
.info-box.bg-primary-gradient .progress-bar {
  background-color: #ffffff;
}

.info-box.bg-secondary,
.info-box.bg-secondary-gradient {
  color: #ffffff;
}

.info-box.bg-secondary .progress-bar,
.info-box.bg-secondary-gradient .progress-bar {
  background-color: #ffffff;
}

.info-box.bg-success,
.info-box.alert-success,
.info-box.bg-success-gradient {
  color: #ffffff;
}

.info-box.bg-success .progress-bar,
.info-box.alert-success .progress-bar,
.info-box.bg-success-gradient .progress-bar {
  background-color: #ffffff;
}

.info-box.bg-info,
.info-box.alert-info,
.info-box.bg-info-gradient {
  color: #ffffff;
}

.info-box.bg-info .progress-bar,
.info-box.alert-info .progress-bar,
.info-box.bg-info-gradient .progress-bar {
  background-color: #ffffff;
}

.info-box.bg-warning,
.info-box.alert-warning,
.info-box.bg-warning-gradient {
  color: #1F2D3D;
}

.info-box.bg-warning .progress-bar,
.info-box.alert-warning .progress-bar,
.info-box.bg-warning-gradient .progress-bar {
  background-color: #1F2D3D;
}

.info-box.bg-danger,
.info-box.alert-danger,
.info-box.alert-error,
.info-box.bg-danger-gradient {
  color: #ffffff;
}

.info-box.bg-danger .progress-bar,
.info-box.alert-danger .progress-bar,
.info-box.alert-error .progress-bar,
.info-box.bg-danger-gradient .progress-bar {
  background-color: #ffffff;
}

.info-box.bg-light,
.info-box.bg-light-gradient {
  color: #1F2D3D;
}

.info-box.bg-light .progress-bar,
.info-box.bg-light-gradient .progress-bar {
  background-color: #1F2D3D;
}

.info-box.bg-dark,
.info-box.bg-dark-gradient {
  color: #ffffff;
}

.info-box.bg-dark .progress-bar,
.info-box.bg-dark-gradient .progress-bar {
  background-color: #ffffff;
}

.timeline {
  position: relative;
  margin: 0 0 30px 0;
  padding: 0;
  list-style: none;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ddd;
  left: 31px;
  margin: 0;
  border-radius: 0.25rem;
}

.timeline > li {
  position: relative;
  margin-right: 10px;
  margin-bottom: 15px;
}

.timeline > li::after {
  display: block;
  clear: both;
  content: "";
}

.timeline > li > .fa,
.timeline > li > .ion {
  width: 30px;
  height: 30px;
  font-size: 15px;
  line-height: 30px;
  position: absolute;
  background: #adb5bd;
  border-radius: 50%;
  text-align: center;
  left: 18px;
  top: 0;
}

.btn-default {
  background-color: #f4f4f4;
  color: #444;
  border-color: #ddd;
}

.btn-default:hover,
.btn-default:active,
.btn-default.hover {
  background-color: #e7e7e7;
}

.callout {
  border-radius: 0.25rem;
  background-color: #ffffff;
  padding: .5rem 1rem .5rem .5rem;
  border-left: 5px solid #eee;
}

.callout a {
  color: #ffffff;
  text-decoration: underline;
}

.callout a:hover {
  color: #eee;
}

.callout p:last-child {
  margin-bottom: 0;
}

.alert .icon {
  margin-right: 10px;
}

.alert .close,
.alert .mailbox-attachment-close {
  color: #000;
  opacity: .2;
}

.alert .close:hover,
.alert .mailbox-attachment-close:hover {
  opacity: .5;
}

.alert a {
  color: #ffffff;
  text-decoration: underline;
}

.alert-success {
  border-color: #23923d;
}

.alert-danger,
.alert-error {
  border-color: #d32535;
}

.alert-warning {
  border-color: #edb100;
}

.alert-info {
  border-color: #148ea1;
}

.nav-pills .nav-link {
  color: #6c757d;
}

.nav-pills .nav-link:not(.active):hover {
  color: #007bff;
}

.table.text-center,
.table.text-center td,
.table.text-center th {
  text-align: center;
}

.card-widget {
  border: none;
  position: relative;
}

.login-logo {
  font-size: 35px;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 300;
}

.login-logo a {
  color: #444;
}

.login-box {
  width: 360px;
  margin: 7% auto;
}

@media (max-width: 576px) {
  .login-box {
    width: 90%;
    margin-top: 20px;
  }
}

.post {
  border-bottom: 1px solid #adb5bd;
  margin-bottom: 15px;
  padding-bottom: 15px;
  color: #666;
}

.post:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

#add-new-event {
  transition: all linear .3s;
}

a.text-muted:hover {
  color: #007bff !important;
}

.bg-primary,
.bg-primary a {
  color: #ffffff !important;
}

.bg-secondary,
.bg-secondary a {
  color: #ffffff !important;
}

.bg-success,
.alert-success,
.bg-success a,
.alert-success a {
  color: #ffffff !important;
}

.bg-info,
.alert-info,
.bg-info a,
.alert-info a {
  color: #ffffff !important;
}

.bg-warning,
.alert-warning,
.bg-warning a,
.alert-warning a {
  color: #1F2D3D !important;
}

.bg-danger,
.alert-danger,
.alert-error,
.bg-danger a,
.alert-danger a,
.alert-error a {
  color: #ffffff !important;
}

.bg-light,
.bg-light a {
  color: #1F2D3D !important;
}

.bg-dark,
.bg-dark a {
  color: #ffffff !important;
}

.bg-gray {
  color: #000;
  background-color: #adb5bd;
}

.bg-gray-light {
  background-color: #f2f4f5;
  color: #1F2D3D !important;
}

.bg-black {
  background-color: #000;
  color: #ffffff !important;
}

.bg-white {
  background-color: #ffffff;
  color: #1F2D3D !important;
}

[class^="bg-"].disabled {
  opacity: .65;
}

.hide {
  display: none !important;
}

.list-unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flat {
  border-radius: 0 !important;
}

.bg-primary-gradient {
  background: #007bff;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #007bff), color-stop(1, #3395ff));
  background: -ms-linear-gradient(bottom, #007bff, #3395ff);
  background: -moz-linear-gradient(center bottom, #007bff 0%, #3395ff 100%);
  background: -o-linear-gradient(#3395ff, #007bff);
  color: #ffffff;
}

.bg-secondary-gradient {
  background: #6c757d;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #6c757d), color-stop(1, #868e96));
  background: -ms-linear-gradient(bottom, #6c757d, #868e96);
  background: -moz-linear-gradient(center bottom, #6c757d 0%, #868e96 100%);
  background: -o-linear-gradient(#868e96, #6c757d);
  color: #ffffff;
}

.bg-success-gradient {
  background: #28a745;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #28a745), color-stop(1, #34ce57));
  background: -ms-linear-gradient(bottom, #28a745, #34ce57);
  background: -moz-linear-gradient(center bottom, #28a745 0%, #34ce57 100%);
  background: -o-linear-gradient(#34ce57, #28a745);
  color: #ffffff;
}

.bg-info-gradient {
  background: #17a2b8;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #17a2b8), color-stop(1, #1fc8e3));
  background: -ms-linear-gradient(bottom, #17a2b8, #1fc8e3);
  background: -moz-linear-gradient(center bottom, #17a2b8 0%, #1fc8e3 100%);
  background: -o-linear-gradient(#1fc8e3, #17a2b8);
  color: #ffffff;
}

.bg-warning-gradient {
  background: #ffc107;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ffc107), color-stop(1, #ffce3a));
  background: -ms-linear-gradient(bottom, #ffc107, #ffce3a);
  background: -moz-linear-gradient(center bottom, #ffc107 0%, #ffce3a 100%);
  background: -o-linear-gradient(#ffce3a, #ffc107);
  color: #1F2D3D;
}

.bg-danger-gradient {
  background: #dc3545;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #dc3545), color-stop(1, #e4606d));
  background: -ms-linear-gradient(bottom, #dc3545, #e4606d);
  background: -moz-linear-gradient(center bottom, #dc3545 0%, #e4606d 100%);
  background: -o-linear-gradient(#e4606d, #dc3545);
  color: #ffffff;
}

.bg-light-gradient {
  background: #f8f9fa;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #f8f9fa), color-stop(1, white));
  background: -ms-linear-gradient(bottom, #f8f9fa, white);
  background: -moz-linear-gradient(center bottom, #f8f9fa 0%, white 100%);
  background: -o-linear-gradient(white, #f8f9fa);
  color: #1F2D3D;
}

.bg-dark-gradient {
  background: #343a40;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #343a40), color-stop(1, #4b545c));
  background: -ms-linear-gradient(bottom, #343a40, #4b545c);
  background: -moz-linear-gradient(center bottom, #343a40 0%, #4b545c 100%);
  background: -o-linear-gradient(#4b545c, #343a40);
  color: #ffffff;
}

.card-comments .card-comment img {
  float: left;
}

.card-comments .card-comment img {
  width: 30px !important;
  height: 30px !important;
}

.chart {
  position: relative;
  overflow: hidden;
}

@media print {
  .main-sidebar,
  .main-header,
  .content-header {
    display: none !important;
  }
  .content-wrapper,
  .main-footer {
    margin-left: 0 !important;
    min-height: 0 !important;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  .table-responsive {
    overflow: auto;
  }
  .table-responsive > .table tr th,
  .table-responsive > .table tr td {
    white-space: normal !important;
  }
}

.text-bold,
.text-bold.table td,
.text-bold.table th {
  font-weight: 700;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.25rem;
}

.text-xl {
  font-size: 2rem;
}

.elevation-1,
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.callout {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.elevation-4 {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.alert > p {
  margin-bottom: 0 !important;
}

.content-wrapper>.content {
  padding: 15px .5rem;
}

.form-background {
  min-height: 100%;
  overflow-x: hidden;
  background: url('../../dist/img/banner.jpg') bottom;
  background-size: cover;
}

.bg-cover {
  background: url(../../dist/img/bg-banner.jpg);
  background-size: cover;
}

.form-background {
  height : 100vh;
}

.login-logo a {
  color : #fff;
}

/* ── Welcome to TITAN: the guided tour (assets/titan/js/tour.js) ─────────────
   Coloured through the page tokens (--ui-*), so every theme dresses it and
   TITAN Original falls back to the colours below. Nothing here blocks the
   page: only the cards take clicks, so a "do" step's button stays clickable
   under the spotlight. */
.tt-root { position: fixed; inset: 0; z-index: 20000; pointer-events: none; display: none; }
.tt-root.tt-on { display: block; }
.tt-root.tt-dim { background: rgba(8, 12, 24, .55); pointer-events: auto; }
.tt-shade { position: fixed; border-radius: var(--ui-radius-sm, 10px); box-shadow: 0 0 0 9999px rgba(8, 12, 24, .55); outline: 2px solid var(--ui-accent, #6366f1); outline-offset: 2px; display: none; transition: left .2s ease, top .2s ease, width .2s ease, height .2s ease; }
.tt-shade.tt-lit { display: block; }
.tt-root.tt-dim .tt-shade { display: none; }

.tt-card, .tt-dialog, .tt-nudge {
  position: fixed; pointer-events: auto; font-size: .9rem; line-height: 1.5;
  background: var(--ui-surface, #ffffff); color: var(--ui-text, #1f2937);
  border: 1px solid var(--ui-border, rgba(15, 23, 42, .1)); border-radius: var(--ui-radius, 14px);
  box-shadow: var(--ui-shadow-lg, 0 24px 60px rgba(8, 12, 24, .35));
}
body.dark-mode .tt-card, body.dark-mode .tt-dialog, body.dark-mode .tt-nudge {
  background: var(--ui-surface, #1e1e2d); color: var(--ui-text, #e2e8f0); border-color: var(--ui-border, rgba(255, 255, 255, .1));
}

.tt-card { width: 340px; max-width: calc(100vw - 32px); padding: 14px 16px 14px; }
.tt-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.tt-card-count { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ui-muted, #64748b); }
body.dark-mode .tt-card-count { color: var(--ui-muted, #94a3b8); }
.tt-card-title { font-size: 1.02rem; font-weight: 800; margin: 0 0 4px; font-family: var(--ui-font-display, inherit); }
.tt-card-text { margin: 0; }
.tt-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.tt-card-wait { font-size: .78rem; font-weight: 700; color: var(--ui-accent, #6366f1); display: inline-flex; align-items: center; gap: 6px; }
body.dark-mode .tt-card-wait { color: var(--ui-accent, #818cf8); }
.tt-card-wait::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: tt-pulse 1.4s ease-in-out infinite; }
@keyframes tt-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.tt-btn { border: 1px solid transparent; border-radius: var(--ui-radius-sm, 9px); padding: 6px 14px; font-size: .84rem; font-weight: 700; cursor: pointer; line-height: 1.3; }
.tt-btn:disabled { opacity: .5; cursor: not-allowed; }
.tt-btn-primary { background: var(--ui-accent, #6366f1); color: var(--ui-accent-ink, #ffffff); }
.tt-btn-primary:hover:not(:disabled) { filter: brightness(1.08); }
.tt-btn-ghost { background: transparent; color: var(--ui-text-soft, #475569); border-color: var(--ui-border, rgba(15, 23, 42, .14)); }
body.dark-mode .tt-btn-ghost { color: var(--ui-text-soft, #cbd5e1); border-color: var(--ui-border, rgba(255, 255, 255, .14)); }
.tt-btn-ghost:hover { background: var(--ui-hover, rgba(99, 102, 241, .08)); }
.tt-btn-x { background: transparent; border: 0; padding: 0 4px; font-size: 1.3rem; line-height: 1; color: var(--ui-muted, #64748b); cursor: pointer; }
body.dark-mode .tt-btn-x { color: var(--ui-muted, #94a3b8); }
.tt-btn:focus-visible, .tt-track:focus-visible { outline: 2px solid var(--ui-accent, #6366f1); outline-offset: 2px; }

.tt-dialog { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 620px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); overflow: auto; padding: 0; }
.tt-dialog-head {
  display: flex; gap: 16px; align-items: center; padding: 22px 24px;
  background: var(--ui-hero, linear-gradient(135deg, #0f172a 0%, #111827 55%, #1e1b4b 100%)); color: var(--ui-hero-ink, #ffffff);
  border-radius: var(--ui-radius, 14px) var(--ui-radius, 14px) 0 0;
}
.tt-dialog-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--ui-radius-sm, 14px); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--ui-hero-icon, linear-gradient(135deg, #6366f1, #8b5cf6)); color: var(--ui-accent-ink, #ffffff); }
.tt-dialog-title { font-size: 1.35rem; font-weight: 800; margin: 0; color: var(--ui-hero-ink, #ffffff); font-family: var(--ui-font-display, inherit); }
.tt-dialog-sub { margin: 4px 0 0; color: var(--ui-hero-muted, rgba(255, 255, 255, .72)); font-size: .88rem; }
.tt-tracks { display: grid; gap: 8px; padding: 16px 20px 6px; }
.tt-track {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; cursor: pointer;
  background: var(--ui-surface-2, #f8fafc); color: inherit; border: 1px solid var(--ui-border, rgba(15, 23, 42, .08)); border-radius: var(--ui-radius-sm, 12px);
}
body.dark-mode .tt-track { background: var(--ui-surface-2, rgba(255, 255, 255, .03)); border-color: var(--ui-border, rgba(255, 255, 255, .08)); }
.tt-track:hover { border-color: var(--ui-accent, #6366f1); }
.tt-track-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--ui-radius-sm, 10px); display: flex; align-items: center; justify-content: center; background: var(--ui-accent-soft, rgba(99, 102, 241, .12)); color: var(--ui-accent, #6366f1); }
body.dark-mode .tt-track-icon { color: var(--ui-accent, #818cf8); }
.tt-track.is-done .tt-track-icon { background: var(--ui-success, #16a34a); color: var(--ui-sev-ink, #ffffff); }
.tt-track-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tt-track-name { font-weight: 800; }
.tt-track-blurb { font-size: .8rem; color: var(--ui-muted, #64748b); }
body.dark-mode .tt-track-blurb { color: var(--ui-muted, #94a3b8); }
.tt-track-meta { font-size: .74rem; font-weight: 700; color: var(--ui-muted, #64748b); white-space: nowrap; }
body.dark-mode .tt-track-meta { color: var(--ui-muted, #94a3b8); }
.tt-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 18px; flex-wrap: wrap; }
.tt-dialog-hint { font-size: .78rem; color: var(--ui-muted, #64748b); }
body.dark-mode .tt-dialog-hint { color: var(--ui-muted, #94a3b8); }

.tt-nudge { left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; max-width: calc(100vw - 32px); }
.tt-nudge > .fa-solid { font-size: 1.3rem; color: var(--ui-accent, #6366f1); }
.tt-nudge-text { display: flex; flex-direction: column; font-size: .82rem; }
.tt-nudge-text span { color: var(--ui-muted, #64748b); }
body.dark-mode .tt-nudge-text span { color: var(--ui-muted, #94a3b8); }

@media (prefers-reduced-motion: reduce) {
  .tt-shade { transition: none; }
  .tt-card-wait::before { animation: none; }
}
