/* Layout only. Perfex supplies fonts, buttons, tables, forms, dropdowns and content styles. */
body.become-sidebar-active { --become-sidebar-width: 248px; }
.become-mobile-header, .become-sidebar-backdrop { display: none; }
.become-sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--become-sidebar-width); height: 100vh !important;
  z-index: 1040; display: flex !important; flex-direction: column;
  border-right: 1px solid #e2e8f0;
}
#become-sidebar { background: var(--become-navigation-background, #fff) !important; }
.become-sidebar-brand { min-height: 85px; display: flex; align-items: center; padding: 20px; }
.become-sidebar-brand .navbar-brand { float: none; height: auto; padding: 0; margin: 0; line-height: 1.4; }
.become-sidebar-brand .navbar-brand img { max-width: 100%; max-height: 40px; width: auto; }
.become-sidebar-brand .logo-text { white-space: normal; font-size: 20px; font-weight: 600; }
.become-sidebar-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 16px 24px; }
.become-sidebar .navbar-nav { float: none; margin: 0; width: 100%; }
.become-sidebar .navbar-nav > li { float: none; }
.become-sidebar .navbar-nav > li > a {
  display: flex; align-items: center; gap: 10px; line-height: 20px;
  padding: 10px 12px; margin: 2px 0; border-radius: 6px; font-size: 14px;
}
.become-sidebar .navbar-nav > li > a > i { width: 18px; margin: 0; text-align: center; flex-shrink: 0; }
.become-sidebar .navbar-nav > li > a > svg { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.become-sidebar .become-sidebar-group { margin-top: 24px; }
.become-sidebar-group > h2 {
  font-size: 12px; font-weight: 600; line-height: 18px;
  margin: 0 12px 8px;
}
.become-sidebar-actions { padding: 16px; border-bottom: 1px solid #e2e8f0; }
.become-sidebar-request { margin: 0; }
.become-sidebar-request > .btn { width: 100%; }
.become-sidebar-request > .dropdown-menu { min-width: 100%; max-width: 100%; }
.become-sidebar-user { border-top: 1px solid #e2e8f0; padding: 12px 16px; }
.become-sidebar .become-sidebar-user .dropdown-toggle { display: flex; padding: 8px; border-radius: 6px; }
.become-sidebar-user .client-profile-image-small { width: 32px; height: 32px; margin: 0; flex-shrink: 0; }
.become-user-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.become-sidebar .become-sidebar-user .caret { margin: 0 3px 0 auto; align-self: center; flex-shrink: 0; }
.become-sidebar-user .dropdown-menu { left: 0; right: auto; min-width: 100%; }
.become-sidebar-user .dropdown-submenu > .dropdown-menu { left: 100%; right: auto; }
body.become-sidebar-active #wrapper { margin-left: var(--become-sidebar-width); min-width: 0; padding-top: 48px; }
body.become-sidebar-active #wrapper .container { width: 100%; max-width: 1440px; padding-left: 32px; padding-right: 32px; }
body.become-sidebar-active .section-heading-project + .tw-block { margin-left: 8px; }
body.become-sidebar-active > .footer { margin-left: var(--become-sidebar-width); width: calc(100% - var(--become-sidebar-width)); height: auto; min-height: 50px; }
body.become-sidebar-active > .footer > .container { width: 100%; }
@media (max-width: 767px) {
  .become-mobile-header.navbar { display: block; position: sticky; top: 0; z-index: 1050; margin-bottom: 0; height: 64px; min-height: 64px; }
  .become-mobile-header > .container { padding-left: 16px; padding-right: 16px; }
  .become-mobile-header .navbar-header { display: flex; align-items: center; justify-content: space-between; height: 64px; min-height: 64px; margin: 0; }
  .become-mobile-header .navbar-header::before, .become-mobile-header .navbar-header::after { display: none; }
  .become-mobile-header.navbar .navbar-brand { display: block; float: none; order: 1; max-width: calc(100% - 48px); padding: 0; margin: 0; font-size: 18px; line-height: 24px; }
  .become-mobile-header a.navbar-brand img { max-width: 100%; height: 24px; }
  .become-mobile-header.navbar .navbar-toggle { order: 2; float: none; margin: 0; padding: 10px; flex-shrink: 0; }
  .become-sidebar { top: 64px; height: calc(100dvh - 64px) !important; }
  .become-sidebar-brand { display: none; }
  .become-sidebar.collapse { display: none !important; }
  .become-sidebar.collapse.in { display: flex !important; }
  .become-sidebar.collapsing { display: flex !important; }
  .become-sidebar.in + .become-sidebar-backdrop {
    display: block; position: fixed; inset: 64px 0 0 var(--become-sidebar-width); width: calc(100% - var(--become-sidebar-width)); border: 0;
    background: rgba(15,23,42,.25); z-index: 1035;
  }
  body.become-sidebar-active #wrapper { margin-left: 0; padding-top: 32px; }
  body.become-sidebar-active #wrapper .container { padding-left: 16px; padding-right: 16px; }
  body.become-sidebar-active #wrapper dl.row > .col-sm-6.col-md-3 { width: 100%; }
  body.become-sidebar-active > .footer { margin-left: 0; width: 100%; }
  body.become-sidebar-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .become-sidebar.collapsing { transition: none; } }
