body {
  background: url("../images/backgroundbig.jpg") no-repeat center center fixed;
  background-size: cover;
}

.navbar {
  background: var(--bg-navbar);
  border: none;
  border-radius: 0;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
  box-shadow: none;
  border: none;
}

.line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed var(--border-color-dashed);
  margin: 40px 0;
}

.wrapper-margin {
  margin-bottom: 10px;
}

#sidebar {
  width: 250px;
  background: var(--bg-sidebar);
  color: var(--sidebar-text);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--sidebar-scroll-thumb) var(--sidebar-scroll-track);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar::-webkit-scrollbar {
  width: 8px;
}

#sidebar::-webkit-scrollbar-track {
  background: var(--sidebar-scroll-track);
}

#sidebar::-webkit-scrollbar-thumb {
  background: var(--sidebar-scroll-thumb);
  border-radius: 4px;
}

#sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--sidebar-scroll-thumb-hover);
}

#sidebar .offcanvas-header {
  padding: 20px;
  background: var(--bg-sidebar);
}

#sidebar ul.components {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-primary);
}

#sidebar ul p {
  color: var(--sidebar-text);
  padding: 10px;
}

#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
  color: var(--sidebar-text);
  text-decoration: none;
  transition: all 0.3s;
}

#sidebar ul li a:hover {
  color: var(--color-primary);
  background: var(--bg-sidebar-hover);
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
  color: var(--color-white);
  background: var(--color-primary);
}

a[data-bs-toggle="collapse"] {
  position: relative;
  padding-right: 40px;
}

a[data-bs-toggle="collapse"]::after {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

a[data-bs-toggle="collapse"][aria-expanded="false"]::after {
  content: '';
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
}

a[data-bs-toggle="collapse"][aria-expanded="true"]::after {
  content: '';
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-40%) rotate(-135deg);
}

ul ul a {
  font-size: 0.9em !important;
  padding-left: 30px !important;
  background: var(--bg-sidebar-submenu);
}

ul.CTAs {
  padding: 20px;
}

ul.CTAs a {
  text-align: center;
  font-size: 0.9em !important;
  display: block;
  border-radius: 5px;
  margin-bottom: 5px;
  text-decoration: none;
}

a.download {
  background: var(--bg-sidebar-hover);
  color: var(--sidebar-download);
}

a.article,
a.article:hover {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
}

.btn-close {
  filter: none !important;
}

.btn-warning {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-warning:hover,
.btn-warning:focus {
  color: var(--color-white);
  background-color: var(--text);
  border-color: var(--text);
}

.btn-warning:active {
  color: var(--color-white);
  background-color: var(--text);
  border-color: var(--text);
}

@media (min-width: 768px) {
  body {
    padding-top: 0;
    padding-bottom: 70px;
  }
}

@media (max-width: 767.98px) {
  body {
    background: url("../images/background.jpg") no-repeat center center fixed;
    background-size: cover;
  }

  .modal-dialog {
    max-width: 90vw;
    margin: var(--spacing-sm) auto;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 0;
    padding-bottom: 100px;
  }
}
