/*!
 * bs3-grid.css - BS3 grid shim (col-xs-* + offset/push/pull) for the Collaterals app
 * --------------------------------------------------------------------------
 * MUST load BEFORE assets/bootstrap/4.6.2/css/bootstrap.min.css.
 *
 * Why before: BS3's responsive grid relies on SOURCE ORDER - col-xs (no media
 * query, all widths) comes first, then col-sm/md/lg override it at their
 * breakpoints. BS4 renamed the xs tier to the no-infix col-*, so col-xs-* is
 * undefined in BS4. We re-add it and load it FIRST, so BS4's own col-sm/md/lg-*
 * (later in the cascade) still win at larger breakpoints. Loading this AFTER
 * bootstrap.min.css would make col-xs win at every width and collapse layouts.
 *
 * Also re-adds the BS3 OFFSET / PUSH / PULL classes: BS4 renamed
 * col-{bp}-offset-N -> offset-{bp}-N and REMOVED push/pull (it uses flex
 * order-* now), which broke layouts like the login page's col-md-offset-2 /
 * col-md-push-4 / col-md-pull-4 column-swap. BS4 cols are position:relative, so
 * push (left) / pull (right) work.
 *
 * RETIRE as markup migrates to native BS4 grid utilities.
 */
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,
.col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-xs-1  { -ms-flex: 0 0 8.333333%;  flex: 0 0 8.333333%;  max-width: 8.333333%; }
.col-xs-2  { -ms-flex: 0 0 16.666667%; flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-xs-3  { -ms-flex: 0 0 25%;        flex: 0 0 25%;        max-width: 25%; }
.col-xs-4  { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-xs-5  { -ms-flex: 0 0 41.666667%; flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-xs-6  { -ms-flex: 0 0 50%;        flex: 0 0 50%;        max-width: 50%; }
.col-xs-7  { -ms-flex: 0 0 58.333333%; flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-xs-8  { -ms-flex: 0 0 66.666667%; flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-xs-9  { -ms-flex: 0 0 75%;        flex: 0 0 75%;        max-width: 75%; }
.col-xs-10 { -ms-flex: 0 0 83.333333%; flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-xs-11 { -ms-flex: 0 0 91.666667%; flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-xs-12 { -ms-flex: 0 0 100%;       flex: 0 0 100%;       max-width: 100%; }

.col-xs-offset-0  { margin-left: 0; }
.col-xs-offset-1  { margin-left: 8.333333%; }
.col-xs-offset-2  { margin-left: 16.666667%; }
.col-xs-offset-3  { margin-left: 25%; }
.col-xs-offset-4  { margin-left: 33.333333%; }
.col-xs-offset-5  { margin-left: 41.666667%; }
.col-xs-offset-6  { margin-left: 50%; }
.col-xs-offset-7  { margin-left: 58.333333%; }
.col-xs-offset-8  { margin-left: 66.666667%; }
.col-xs-offset-9  { margin-left: 75%; }
.col-xs-offset-10 { margin-left: 83.333333%; }
.col-xs-offset-11 { margin-left: 91.666667%; }

.col-xs-push-0  { left: auto; }
.col-xs-push-1  { left: 8.333333%; }
.col-xs-push-2  { left: 16.666667%; }
.col-xs-push-3  { left: 25%; }
.col-xs-push-4  { left: 33.333333%; }
.col-xs-push-5  { left: 41.666667%; }
.col-xs-push-6  { left: 50%; }
.col-xs-push-7  { left: 58.333333%; }
.col-xs-push-8  { left: 66.666667%; }
.col-xs-push-9  { left: 75%; }
.col-xs-push-10 { left: 83.333333%; }
.col-xs-push-11 { left: 91.666667%; }
.col-xs-push-12 { left: 100%; }

.col-xs-pull-0  { right: auto; }
.col-xs-pull-1  { right: 8.333333%; }
.col-xs-pull-2  { right: 16.666667%; }
.col-xs-pull-3  { right: 25%; }
.col-xs-pull-4  { right: 33.333333%; }
.col-xs-pull-5  { right: 41.666667%; }
.col-xs-pull-6  { right: 50%; }
.col-xs-pull-7  { right: 58.333333%; }
.col-xs-pull-8  { right: 66.666667%; }
.col-xs-pull-9  { right: 75%; }
.col-xs-pull-10 { right: 83.333333%; }
.col-xs-pull-11 { right: 91.666667%; }
.col-xs-pull-12 { right: 100%; }

/* Breakpoints below use BS3 values (sm 768 / md 992 / lg 1200) to match bootstrap.min.css,
   recompiled with BS3 $grid-breakpoints. (Stock BS4 sm/md/lg would be 576/768/992.) */
@media (min-width: 768px) {
  .col-sm-offset-0  { margin-left: 0; }
  .col-sm-offset-1  { margin-left: 8.333333%; }
  .col-sm-offset-2  { margin-left: 16.666667%; }
  .col-sm-offset-3  { margin-left: 25%; }
  .col-sm-offset-4  { margin-left: 33.333333%; }
  .col-sm-offset-5  { margin-left: 41.666667%; }
  .col-sm-offset-6  { margin-left: 50%; }
  .col-sm-offset-7  { margin-left: 58.333333%; }
  .col-sm-offset-8  { margin-left: 66.666667%; }
  .col-sm-offset-9  { margin-left: 75%; }
  .col-sm-offset-10 { margin-left: 83.333333%; }
  .col-sm-offset-11 { margin-left: 91.666667%; }
  .col-sm-push-0  { left: auto; }
  .col-sm-push-1  { left: 8.333333%; }
  .col-sm-push-2  { left: 16.666667%; }
  .col-sm-push-3  { left: 25%; }
  .col-sm-push-4  { left: 33.333333%; }
  .col-sm-push-5  { left: 41.666667%; }
  .col-sm-push-6  { left: 50%; }
  .col-sm-push-7  { left: 58.333333%; }
  .col-sm-push-8  { left: 66.666667%; }
  .col-sm-push-9  { left: 75%; }
  .col-sm-push-10 { left: 83.333333%; }
  .col-sm-push-11 { left: 91.666667%; }
  .col-sm-push-12 { left: 100%; }
  .col-sm-pull-0  { right: auto; }
  .col-sm-pull-1  { right: 8.333333%; }
  .col-sm-pull-2  { right: 16.666667%; }
  .col-sm-pull-3  { right: 25%; }
  .col-sm-pull-4  { right: 33.333333%; }
  .col-sm-pull-5  { right: 41.666667%; }
  .col-sm-pull-6  { right: 50%; }
  .col-sm-pull-7  { right: 58.333333%; }
  .col-sm-pull-8  { right: 66.666667%; }
  .col-sm-pull-9  { right: 75%; }
  .col-sm-pull-10 { right: 83.333333%; }
  .col-sm-pull-11 { right: 91.666667%; }
  .col-sm-pull-12 { right: 100%; }
}
@media (min-width: 992px) {
  .col-md-offset-0  { margin-left: 0; }
  .col-md-offset-1  { margin-left: 8.333333%; }
  .col-md-offset-2  { margin-left: 16.666667%; }
  .col-md-offset-3  { margin-left: 25%; }
  .col-md-offset-4  { margin-left: 33.333333%; }
  .col-md-offset-5  { margin-left: 41.666667%; }
  .col-md-offset-6  { margin-left: 50%; }
  .col-md-offset-7  { margin-left: 58.333333%; }
  .col-md-offset-8  { margin-left: 66.666667%; }
  .col-md-offset-9  { margin-left: 75%; }
  .col-md-offset-10 { margin-left: 83.333333%; }
  .col-md-offset-11 { margin-left: 91.666667%; }
  .col-md-push-0  { left: auto; }
  .col-md-push-1  { left: 8.333333%; }
  .col-md-push-2  { left: 16.666667%; }
  .col-md-push-3  { left: 25%; }
  .col-md-push-4  { left: 33.333333%; }
  .col-md-push-5  { left: 41.666667%; }
  .col-md-push-6  { left: 50%; }
  .col-md-push-7  { left: 58.333333%; }
  .col-md-push-8  { left: 66.666667%; }
  .col-md-push-9  { left: 75%; }
  .col-md-push-10 { left: 83.333333%; }
  .col-md-push-11 { left: 91.666667%; }
  .col-md-push-12 { left: 100%; }
  .col-md-pull-0  { right: auto; }
  .col-md-pull-1  { right: 8.333333%; }
  .col-md-pull-2  { right: 16.666667%; }
  .col-md-pull-3  { right: 25%; }
  .col-md-pull-4  { right: 33.333333%; }
  .col-md-pull-5  { right: 41.666667%; }
  .col-md-pull-6  { right: 50%; }
  .col-md-pull-7  { right: 58.333333%; }
  .col-md-pull-8  { right: 66.666667%; }
  .col-md-pull-9  { right: 75%; }
  .col-md-pull-10 { right: 83.333333%; }
  .col-md-pull-11 { right: 91.666667%; }
  .col-md-pull-12 { right: 100%; }
}
@media (min-width: 1200px) {
  .col-lg-offset-0  { margin-left: 0; }
  .col-lg-offset-1  { margin-left: 8.333333%; }
  .col-lg-offset-2  { margin-left: 16.666667%; }
  .col-lg-offset-3  { margin-left: 25%; }
  .col-lg-offset-4  { margin-left: 33.333333%; }
  .col-lg-offset-5  { margin-left: 41.666667%; }
  .col-lg-offset-6  { margin-left: 50%; }
  .col-lg-offset-7  { margin-left: 58.333333%; }
  .col-lg-offset-8  { margin-left: 66.666667%; }
  .col-lg-offset-9  { margin-left: 75%; }
  .col-lg-offset-10 { margin-left: 83.333333%; }
  .col-lg-offset-11 { margin-left: 91.666667%; }
  .col-lg-push-0  { left: auto; }
  .col-lg-push-1  { left: 8.333333%; }
  .col-lg-push-2  { left: 16.666667%; }
  .col-lg-push-3  { left: 25%; }
  .col-lg-push-4  { left: 33.333333%; }
  .col-lg-push-5  { left: 41.666667%; }
  .col-lg-push-6  { left: 50%; }
  .col-lg-push-7  { left: 58.333333%; }
  .col-lg-push-8  { left: 66.666667%; }
  .col-lg-push-9  { left: 75%; }
  .col-lg-push-10 { left: 83.333333%; }
  .col-lg-push-11 { left: 91.666667%; }
  .col-lg-push-12 { left: 100%; }
  .col-lg-pull-0  { right: auto; }
  .col-lg-pull-1  { right: 8.333333%; }
  .col-lg-pull-2  { right: 16.666667%; }
  .col-lg-pull-3  { right: 25%; }
  .col-lg-pull-4  { right: 33.333333%; }
  .col-lg-pull-5  { right: 41.666667%; }
  .col-lg-pull-6  { right: 50%; }
  .col-lg-pull-7  { right: 58.333333%; }
  .col-lg-pull-8  { right: 66.666667%; }
  .col-lg-pull-9  { right: 75%; }
  .col-lg-pull-10 { right: 83.333333%; }
  .col-lg-pull-11 { right: 91.666667%; }
  .col-lg-pull-12 { right: 100%; }
}
