
.content-wrapper > section.content {
  position: relative;
  padding-bottom: 20px;
}

body.sidebar-collapse:not(.sidebar-mini-xs):not(.sidebar-mini-md):not(.sidebar-mini) {
  .form-footer {
    &,
    &::before {
      margin-left: 0;
    }
  }
}


body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav), .sidebar-mini-md, .sidebar-mini-xs {
  .form-footer {
    @include media-breakpoint-up(md) {
      @include transition(margin-left $transition-speed $transition-fn);

      margin-left: $sidebar-width;

      .sidebar-collapse & {
        margin-left: $sidebar-mini-width;
      }
    }
    @include media-breakpoint-down(md) {
      margin-left: $sidebar-mini-width;
    }
    @include media-breakpoint-down(sm) {
      margin-left: 0;
    }
  }
}

// Sidebar Mini Breakpoints
.sidebar-mini, .sidebar-mini-md, .sidebar-mini-xs {
  // When the sidebar is collapsed...
  &.sidebar-collapse {
    // Apply the new margins to the main content and footer
    .form-footer {
      margin-left: $sidebar-mini-width !important;
    }
  }
}


.form-footer {
  position: fixed;
  left: 0;
  right: 0;
  height: 60px;
  bottom: 0px;
  z-index: 10;
  background-color: #fff;
  border-top: 1px solid #dee2e6;
  color: #869099;
  padding: 10px;

  .btn-list {
    .float-right, .float-sm-right {
      margin-left: 10px;
    }
  }
}
