/* ABC Web Link 2026-11-18: Framework (c5box) is a Bootstrap 3 theme, but Concrete 9
   core blocks output Bootstrap 5 classes. Give those classes their old Bootstrap 3 look. */

/* form layout: BS5 .mb-3 / .form-label replaced BS3 .form-group / .control-label */
.mb-3 { margin-bottom: 15px; }
.form-label { display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700; }
.form-select { display: block; width: 100%; height: 34px; padding: 6px 12px; font-size: 14px; line-height: 1.42857143;
  color: #555; background-color: #fff; border: 1px solid #ccc; border-radius: 4px; }
.form-text { display: block; margin-top: 5px; margin-bottom: 10px; color: #737373; }

/* checkboxes / radios: BS5 .form-check replaced BS3 .checkbox / .radio */
.form-check { position: relative; display: block; margin-top: 10px; margin-bottom: 10px; padding-left: 20px; min-height: 20px; }
.form-check .form-check-input { position: absolute; margin: 4px 0 0 -20px; } /* beats BS3 input[type=checkbox] margin */
.form-check-label { font-weight: 400; margin-bottom: 0; cursor: pointer; }

/* Express form "text" control: v8 printed <h3>, v9 prints <h6> */
.ccm-block-express-form h6 { font-size: 24px; margin-top: 20px; margin-bottom: 10px; }

/* images and lists */
.img-fluid { display: block; max-width: 100%; height: auto; }
.list-inline-item { display: inline-block; padding-left: 5px; padding-right: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.float-end { float: right !important; }
.float-start { float: left !important; }
.text-end { text-align: right; }
.text-start { text-align: left; }

/* social links: v9 core CSS makes the list inline-block with no padding; v8 look = block, 15px below, 0 5px per icon */
div.ccm-block-social-links ul.list-inline { display: block; padding: 0 0 15px; margin: 0; }
div.ccm-block-social-links ul.list-inline > li.list-inline-item { margin: 0; padding: 0 5px; }

/* Concrete 9 editing UI uses Bootstrap 5 state classes (.show); this theme loads Bootstrap 3, where
   .fade stays at opacity 0 without .in. Without this, the announcement/dialog boxes are invisible
   while their dark backdrop still shows and blocks clicks. */
.fade.show { opacity: 1; }
.collapse.show { display: block; }

/* Home slider: only the first slide keeps <h1>; the others are <h2 class="slide-h1"> (one main heading
   per page) styled exactly like the banner h1 (.master-container #banner h1 in main.less). */
.master-container #banner h2.slide-h1 { font-size: 55px; line-height: 110%; text-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
  font-family: Open Sans Condensed, sans-serif; padding: 0; margin: 0; font-weight: 400; color: inherit;
  text-transform: none; letter-spacing: normal; }
@media (max-width: 991px) { .master-container #banner h2.slide-h1 { font-size: 40px; } }
@media (max-width: 767px) { .master-container #banner h2.slide-h1 { font-size: 30px; } }

/* The theme draws list bullets, carousel/slider controls and next/previous arrows with the
   Font Awesome 4 font ("FontAwesome"), which Concrete 8 supplied and Concrete 9 does not
   (it ships Font Awesome 5 under another name) -> empty squares. Font copied from Concrete 8.5. */
@font-face { font-family: "FontAwesome"; font-weight: normal; font-style: normal; font-display: block;
  src: url("../fonts/fa4/fontawesome-webfont.woff2?v=4.7.0") format("woff2"), url("../fonts/fa4/fontawesome-webfont.woff?v=4.7.0") format("woff"); }

/* Solid header once scrolled (js/abc-header.js); over the banner it stays see-through as before. */
#header { transition: background-color .2s ease, box-shadow .2s ease; }
.master-container #header.abc-header-solid { background-color: rgb(241, 232, 214); box-shadow: 0 1px 0 rgba(95, 71, 22, .18); }

/* Home map (replaced 2026-11-23): link under the map */
.abc-map-link { margin: 8px 0 0; text-align: right; font-size: 14px; }
