@use "sass:map";
@import "bootstrap/scss/functions";
@import "variables";

// Import all of Bootstrap's CSS
@import "bootstrap/scss/bootstrap";

.form-label {
  font-size: $font-size-base; // Fixes crispy-bootstrap5 legend labels being too big
  font-weight: bold;
}

$theme-colors: map.merge(
  $theme-colors,
  (
    "primary": $primary
  )
);

@media all and (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: none;
    margin-top: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
    left: 0;
  }
}

.table .col-auto {
  width: 1%;
  white-space: nowrap;
}

.offcanvas-size-xl {
  --#{$prefix}offcanvas-width: min(95vw, 700px) !important;
}

.offcanvas-size-xxl {
  --#{$prefix}offcanvas-width: min(95vw, 90vw) !important;
}

.offcanvas-size-md { /* add Responsivenes to default offcanvas */
  --#{$prefix}offcanvas-width: min(95vw, 400px) !important;
}

.offcanvas-size-sm {
  --#{$prefix}offcanvas-width: min(95vw, 250px) !important;
}

.dropdown-toggle.dropdown-toggle-no-icon::after {
  display:none;
}
