/*
 * Bootstrap 5.3 compatibility bridge for Pawtucket/CollectiveAccess legacy markup.
 * Bootstrap itself is loaded from the official 5.3.8 distribution. This file
 * only preserves classes still emitted by older Pawtucket views and helpers.
 */

/* Bootstrap 3 accessibility/float aliases. */
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.pull-left { float:left!important; }
.pull-right { float:right!important; }
.text-left { text-align:left!important; }
.text-right { text-align:right!important; }
.center-block { display:block; margin-left:auto; margin-right:auto; }

/* Bootstrap 3 extra-small grid aliases. Bootstrap 5 uses .col-* at xs. */
.col-xs-1{flex:0 0 auto;width:8.33333333%}.col-xs-2{flex:0 0 auto;width:16.66666667%}.col-xs-3{flex:0 0 auto;width:25%}.col-xs-4{flex:0 0 auto;width:33.33333333%}.col-xs-5{flex:0 0 auto;width:41.66666667%}.col-xs-6{flex:0 0 auto;width:50%}.col-xs-7{flex:0 0 auto;width:58.33333333%}.col-xs-8{flex:0 0 auto;width:66.66666667%}.col-xs-9{flex:0 0 auto;width:75%}.col-xs-10{flex:0 0 auto;width:83.33333333%}.col-xs-11{flex:0 0 auto;width:91.66666667%}.col-xs-12{flex:0 0 auto;width:100%}
.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-11{margin-left:91.66666667%}
@media (min-width:768px){.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-11{margin-left:91.66666667%}}
@media (min-width:992px){.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-11{margin-left:91.66666667%}}
@media (min-width:1200px){.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-11{margin-left:91.66666667%}}

/* Common component aliases still emitted by Pawtucket helpers. */
.form-group { margin-bottom:1rem; }
.help-block { display:block; margin-top:.25rem; color:var(--bs-secondary-color); }
.has-error .form-control { border-color:var(--bs-danger); }
.has-error .help-block,.has-error .control-label { color:var(--bs-danger); }
.input-group-addon { display:flex; align-items:center; padding:.375rem .75rem; font-size:1rem; font-weight:400; line-height:1.5; color:var(--bs-body-color); text-align:center; white-space:nowrap; background:var(--bs-tertiary-bg); border:var(--bs-border-width) solid var(--bs-border-color); }
.well { min-height:20px; padding:19px; margin-bottom:20px; background:var(--bs-tertiary-bg); border:1px solid var(--bs-border-color); border-radius:var(--bs-border-radius); }
.panel { margin-bottom:20px; background:var(--bs-body-bg); border:1px solid var(--bs-border-color); border-radius:var(--bs-border-radius); }
.panel-body { padding:15px; }
.panel-heading { padding:10px 15px; border-bottom:1px solid var(--bs-border-color); }
.panel-footer { padding:10px 15px; background:var(--bs-tertiary-bg); border-top:1px solid var(--bs-border-color); }
.panel-title { margin:0; font-size:1rem; }
.btn-default { --bs-btn-color:#212529; --bs-btn-bg:#fff; --bs-btn-border-color:#ced4da; --bs-btn-hover-color:#212529; --bs-btn-hover-bg:#f8f9fa; --bs-btn-hover-border-color:#adb5bd; }
.label { display:inline-block; padding:.35em .65em; font-size:.75em; font-weight:700; line-height:1; text-align:center; white-space:nowrap; vertical-align:baseline; border-radius:.375rem; }
.label-default { color:#fff; background:#6c757d; }.label-primary{color:#fff;background:#0d6efd}.label-success{color:#fff;background:#198754}.label-info{color:#fff;background:#0dcaf0}.label-warning{color:#000;background:#ffc107}.label-danger{color:#fff;background:#dc3545}

/* Legacy navbar hooks. Active 2026 CSS supplies the museum-specific appearance. */
.navbar-toggle { padding:.25rem .55rem; background:transparent; border:1px solid currentColor; border-radius:.375rem; }
.navbar-toggle .icon-bar { display:block; width:22px; height:2px; margin:4px 0; border-radius:1px; background:currentColor; }
.navbar-right { margin-left:auto; }
.navbar-form { display:flex; align-items:center; }
.navbar-nav > li > a { display:block; text-decoration:none; }
.dropdown-menu > li > a { display:block; width:100%; clear:both; text-decoration:none; white-space:nowrap; }
.dropdown-header { display:block; padding:.5rem 1rem; margin-bottom:0; font-size:.875rem; color:var(--bs-secondary-color); white-space:nowrap; }
.dropdown-menu .divider,.nav-divider { height:0; margin:.5rem 0; overflow:hidden; border-top:1px solid var(--bs-border-color); }
.caret { display:inline-block; width:0; height:0; margin-left:2px; vertical-align:middle; border-top:4px dashed; border-right:4px solid transparent; border-left:4px solid transparent; }
.open > .dropdown-menu { display:block; }
.collapse.in { display:block; }

/* Bootstrap 3 visibility helpers. */
.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none!important}
@media (max-width:767.98px){.visible-xs{display:block!important}.hidden-xs{display:none!important}}
@media (min-width:768px) and (max-width:991.98px){.visible-sm{display:block!important}.hidden-sm{display:none!important}}
@media (min-width:992px) and (max-width:1199.98px){.visible-md{display:block!important}.hidden-md{display:none!important}}
@media (min-width:1200px){.visible-lg{display:block!important}.hidden-lg{display:none!important}}

/* Glyphicon compatibility using the Font Awesome 5 Free font already loaded by Pawtucket. */
.glyphicon { position:relative; top:1px; display:inline-block; font-family:"Font Awesome 5 Free"; font-style:normal; font-weight:900; line-height:1; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
.glyphicon-user:before{content:"\\f007"}.glyphicon-search:before{content:"\\f002"}.glyphicon-sort-by-attributes:before{content:"\\f160"}.glyphicon-sort-by-attributes-alt:before{content:"\\f161"}.glyphicon-remove-circle:before{content:"\\f057"}.glyphicon-comment:before{content:"\\f075"}.glyphicon-share-alt:before{content:"\\f1e0"}.glyphicon-file:before{content:"\\f15b"}.glyphicon-picture:before{content:"\\f03e"}.glyphicon-th:before{content:"\\f00a"}.glyphicon-th-list:before{content:"\\f00b"}.glyphicon-time:before{content:"\\f017"}.glyphicon-globe:before{content:"\\f0ac"}.glyphicon-zoom-in:before{content:"\\f00e"}.glyphicon-download-alt:before{content:"\\f019"}.glyphicon-chevron-left:before{content:"\\f053"}.glyphicon-chevron-right:before{content:"\\f054"}.glyphicon-chevron-up:before{content:"\\f077"}.glyphicon-chevron-down:before{content:"\\f078"}.glyphicon-plus:before{content:"\\f067"}.glyphicon-minus:before{content:"\\f068"}.glyphicon-ok:before{content:"\\f00c"}.glyphicon-remove:before{content:"\\f00d"}.glyphicon-pencil:before{content:"\\f303"}.glyphicon-trash:before{content:"\\f2ed"}.glyphicon-info-sign:before{content:"\\f05a"}.glyphicon-warning-sign:before{content:"\\f071"}

/* Additional Bootstrap 3 helper aliases used by stock Pawtucket fallback views. */
.control-label { margin-bottom:.5rem; font-weight:600; }
.form-control-static { min-height:calc(1.5em + .75rem + 2px); padding-top:.375rem; padding-bottom:.375rem; margin-bottom:0; }
.input-sm { min-height:calc(1.5em + .5rem + 2px); padding:.25rem .5rem; font-size:.875rem; border-radius:.25rem; }
.btn-xs { --bs-btn-padding-y:.125rem; --bs-btn-padding-x:.25rem; --bs-btn-font-size:.75rem; --bs-btn-border-radius:.2rem; }
.thumbnail { display:block; padding:4px; margin-bottom:20px; line-height:1.42857143; background:var(--bs-body-bg); border:1px solid var(--bs-border-color); border-radius:var(--bs-border-radius); transition:border .2s ease-in-out; }
.thumbnail > img,.thumbnail a > img { display:block; max-width:100%; height:auto; margin-left:auto; margin-right:auto; }
.panel-default { border-color:var(--bs-border-color); }
.panel-default > .panel-heading { color:var(--bs-body-color); background:var(--bs-tertiary-bg); border-color:var(--bs-border-color); }
.close { float:right; font-size:1.5rem; font-weight:700; line-height:1; color:#000; text-shadow:0 1px 0 #fff; opacity:.5; background:transparent; border:0; }
.close:hover,.close:focus { color:#000; text-decoration:none; opacity:.75; cursor:pointer; }

/* Additional Glyphicon names found in stock Pawtucket fallback views. */
.glyphicon-list:before{content:"\f03a"}.glyphicon-th-large:before{content:"\f009"}.glyphicon-arrow-right:before{content:"\f061"}.glyphicon-arrow-left:before{content:"\f060"}.glyphicon-arrow-up:before{content:"\f062"}.glyphicon-cog:before{content:"\f013"}.glyphicon-edit:before{content:"\f044"}.glyphicon-expand:before{content:"\f065"}
