/* FrameWork R11.4 — bottom-align the operator logo, FrameWork wordmark and credit.
   Applied AFTER the R11.1 and R11.3 stylesheets. Scoped to CUSTOM-logo
   layouts so the default composite FrameWork logo is unchanged. */

/* App Designer and all other authenticated/public R11 branded screens. */
#fw-r11-header .fw-r11-brand.fw-r11-has-custom,
.topbar.fw-r11-designer .topbar-logo-wrap.fw-r11-has-custom {
  align-items: flex-end !important;
}
#fw-r11-header .fw-r11-brand.fw-r11-has-custom > img:first-child,
.topbar.fw-r11-designer .topbar-logo-wrap.fw-r11-has-custom > img.topbar-logo-img,
#fw-r11-header .fw-r11-brand.fw-r11-has-custom > img.fw-r11-wordmark,
.topbar.fw-r11-designer .topbar-logo-wrap.fw-r11-has-custom > img.fw-r11-wordmark {
  align-self: flex-end !important;
  object-position: left bottom !important;
  margin-bottom: 0 !important;
}
#fw-r11-header .fw-r11-brand.fw-r11-has-custom > .fw-r11-credit,
.topbar.fw-r11-designer .topbar-logo-wrap.fw-r11-has-custom > .fw-r11-credit,
.topbar.fw-r11-designer .topbar-logo-wrap.fw-r11-has-custom > .header-sub {
  align-self: flex-end !important;
  margin-bottom: 1px !important;
}

/* My Account branding preview uses the exact same alignment. */
.fw-r11-brand-preview.fw-r11-has-custom { align-items: flex-end !important; }
.fw-r11-brand-preview.fw-r11-has-custom > img:first-child,
.fw-r11-brand-preview.fw-r11-has-custom > img.fw-r11-wordmark {
  align-self: flex-end !important;
  object-position: left bottom !important;
  margin-bottom: 0 !important;
}
.fw-r11-brand-preview.fw-r11-has-custom > .fw-r11-credit {
  align-self: flex-end !important;
  margin-bottom: 1px !important;
}

/* In-app print branding (e.g. Wind & Strength).  The separate generated
   report/technical drawing documents are addressed in the report stylesheet
   strings in framework-app.js by the matching installer. */
@media print {
  .fw-r11-print-brand.fw-r11-has-custom { align-items: flex-end !important; }
  .fw-r11-print-brand.fw-r11-has-custom > img:first-child,
  .fw-r11-print-brand.fw-r11-has-custom > img.fw-r11-wordmark {
    align-self: flex-end !important;
    object-position: left bottom !important;
    margin-bottom: 0 !important;
  }
  .fw-r11-print-brand.fw-r11-has-custom > .fw-r11-credit {
    align-self: flex-end !important;
    margin-bottom: 1px !important;
  }
}
