/**
 * @file
 * Keeps the layout the site had before the Drupal 11 upgrade.
 *
 * Bootstrap theme 3.39 also loaded the Drupal 7 "drupal-bootstrap-styles"
 * overlay by mistake. Bootstrap 3.45 loads only the correct overlay, which
 * lacks these rules. They are copied verbatim from the Drupal 7 overlay
 * (drupal-bootstrap-styles 0.0.2, dist/3.3.1/7.x-3.x/drupal-bootstrap.css)
 * and loaded in the "base" group so the theme's own CSS still wins, as before.
 */
.navbar.container,
.navbar.container-fluid {
  margin-top: 20px;
}
p:last-child {
  margin-bottom: 0;
}
.form-group:last-child,
.panel:last-child {
  margin-bottom: 0;
}
input,
textarea,
select,
.uneditable-input {
  max-width: 100%;
  width: auto;
}
.form-actions {
  clear: both;
}
.nav-tabs {
  margin-bottom: 10px;
}

/**
 * Exclude Node Title 1.x left an empty h1.page-header above pages whose title
 * is hidden, and Bootstrap's .page-header styling gave it 29px of height.
 * Version 2.x omits the element, so the same space is added back here. In this theme the
 * empty heading was the first element of .region-content, so a transparent
 * spacer of the same height is added at that spot.
 */
body.exclude-node-title .region-content::before {
  content: "";
  display: block;
  height: 29px;
}
