﻿/*--------------------------------------------------------------*/
/* General HTML overrides for Spydus OPAC                       */
/*--------------------------------------------------------------*/

html {
  -ms-overflow-x: hidden;
  -ms-overflow-style: scrollbar;
  -webkit-overflow-scrolling: touch;
}

body {
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  height: 100%;
  background-color: #fff;
  color: #58595b;
  word-break: break-word;
}

a {
  color: #367d8a;
  text-decoration: none;
  font-weight: 400;
}

  a:hover {
    color: #367d8a;
    text-decoration: underline;
  }

.container {
  max-width: 1200px;
}

h1, .h1 {
  font-size: 1.75rem;
}

h2, .h2 {
  font-size: 1.5rem;
}

h3, .h3 {
  font-size: 1.375rem;
}

h4, .h4 {
  font-size: 1.25rem;
}

h5, .h5 {
  font-size: 1.125rem;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a {
  font-weight: inherit;
}

.is-checked {
  background-color: #ffecd3;
  border: 1px solid rgba(0,0,0,.05);
}

/* Header */

header {
  position: relative;
  margin: 0;
  background-image: url('../images/books.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

  header:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.7);
  }

#header-main {
  height: 150px;
  background-color: transparent;
  padding-top: 20px;
}

@media (min-width: 768px) {
  #header-main.header-large {
    height: 350px;
    padding-top: 50px;
  }
}

.header-logo {
  text-align: center;
}

  .header-logo img {
    width: 189px;
  }

/* navbar */

.navbar {
  background-color: #083e52;
}

.navbar-toggler {
  display: block;
  position: absolute;
  overflow: hidden;
  border: none;
  outline: none;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  border-radius: 0;
  top: .5rem;
}

  .navbar-toggler:focus {
    outline: 0;
  }

  .navbar-toggler .navbar-toggler-icon {
    display: block;
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 5px;
    background-image: none !important;
    background-color: transparent;
  }

    .navbar-toggler .navbar-toggler-icon:after,
    .navbar-toggler .navbar-toggler-icon:before {
      position: absolute;
      left: 0;
      width: 100%;
      height: 5px;
      background-color: #fff;
      content: "";
      transition: all 250ms ease-out;
    }

    .navbar-toggler .navbar-toggler-icon:before {
      top: 0;
      transform: rotate(45deg);
    }

    .navbar-toggler .navbar-toggler-icon:after {
      bottom: 0;
      transform: rotate(-45deg);
    }

  .navbar-toggler.collapsed .navbar-toggler-icon {
    background-color: #fff;
  }

    .navbar-toggler.collapsed .navbar-toggler-icon:before {
      top: -10px;
      transform: none;
    }

    .navbar-toggler.collapsed .navbar-toggler-icon:after {
      bottom: -10px;
      transform: none;
    }

.navbar-brand img {
  width: 83px;
  height: 24px;
}

#toggleLogin {
  margin-top: .5rem;
  background-color: transparent;
  color: #fff;
  border: 0;
  position: absolute;
  right: .5rem;
  top: 0;
}

#toggleSearch {
  margin-top: .5rem;
  background-color: transparent;
  color: #fff;
  border: 0;
  position: absolute;
  right: 3rem;
  top: 0;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-weight: 400;
}

.navbar-nav .nav-link:hover {
  color: #fff;
  text-decoration: none;
}

/* header search */

#header-search-advanced {
  display: block;
  margin-bottom: .5rem;
  margin-right: .125rem;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

  #header-search-advanced:hover {
    color: #fff;
    text-decoration: underline;
  }

#header-search input {
  background-color: transparent;
  color: #fff;
  border: 0;
  border-bottom: 1px solid #fff;
}

  #header-search input::placeholder {
    color: rgba(255,255,255,.7);
  }

#header-search .form-control:focus {
/*  box-shadow: none;*/
}

#header-search button {
  background-color: transparent;
  color: #fff;
  border: 0;
  border-bottom: 1px solid #fff;
}

  #header-search button:active,
  #header-search button:focus {
    border-color: rgba(255,255,255,.7);
    border-bottom-color: #fff;
  }

#header-search select {
  background-color: rgba(255,255,255,.3);
  color: #fff;
}

  #header-search select option,
  #header-search select optgroup {
    color: #58595b;
  }

  #header-search select:active,
  #header-search select:focus {
    border-color: rgba(255,255,255,.7);
  }

/* autocompleter */

ul.autocompleter-choices {
  position: absolute;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #bbbdbf;
  background-color: #fff;
  text-align: left;
  z-index: 50;
  overflow-x: auto;
}

  ul.autocompleter-choices li {
    position: relative;
    display: block;
    cursor: pointer;
    white-space: nowrap;
    padding: .25rem 1rem;
  }

    ul.autocompleter-choices li.autocompleter-selected {
      background-color: #f1624e;
      color: #fff;
    }

/* navbar dropdown login form */

.navbar-login {
  padding: 1rem;
  background-color: #f1f2f2;
}

.navbar-login-saml p {
  margin-top: 1rem;
}

.navbar-login-footer {
  text-align: center;
}

@media (min-width: 992px) {
  .navbar-login {
    min-width: 350px;
  }
}

/* Footer */

footer {
  background-color: #083e52;
  color: #fff;
  padding-top: 50px;
  padding-bottom: 50px;
}

  footer h3 {
    white-space: nowrap;
  }

.footer-lang-row {
  margin-bottom: 1rem;
}

.footer-lang-header {
  display: inline;
  margin-right: .5rem;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

  footer a:hover {
    color: #fff;
    text-decoration: underline;
  }

/* floating current savedlist */

#mylist-floating a {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  border-radius: 10rem !important;
  padding: .7rem 1rem;
  z-index: 9999;
  box-shadow: 2px 1px 1px rgba(0,0,0,.4);
  border: 1px solid #e6e7e8;
  color: #58595b;
}

#mylist-floating .badge {
  position: absolute;
  top: -5px;
  left: 0;
}

/* Contents */

main {
  min-height: 20rem;
}

.main-container {
  padding-top: .5rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .main-container {
    padding-top: 1.5rem;
  }
}

/* search result header */

.search-result-header {
  padding-bottom: .25rem;
  border-bottom: 1px solid #e6e7e8;
}

  .search-result-header h1 {
    font-size: 1.25rem;
  }

.change-query-buttons {
  margin-right: 1.5rem;
  max-width: 2.5rem;
  margin-bottom: .5rem;
}

@media (min-width: 576px) {
  .change-query-buttons {
    max-width: none;
  }
}

.change-query-link {
  margin-bottom: .5rem;
}

.change-query-buttons .btn {
  padding: .5rem
}

@media (min-width: 768px) {
  .search-result-header {
    margin-bottom: 1rem;
  }

    .search-result-header h1 {
      font-size: 1.75rem;
    }

  .change-query-buttons .btn {
    padding: 1rem;
  }
}

/* search result header for full display */

.search-result-header-full {
  padding-top: 1rem;
}

  .search-result-header-full h1 {
    font-size: 1.25rem;
  }

.change-query-buttons-full {
  margin-right: 1.5rem;
  max-width: 2.5rem;
  margin-bottom: .5rem;
}

@media (min-width: 576px) {
  .change-query-buttons-full {
    max-width: none;
  }
}

.change-query-link-full {
  margin-top: -0.5rem;
  margin-bottom: .25rem;
}

.change-query-buttons-full .btn {
  padding: 0.5rem
}

.tab-containers {
  margin-top: 1rem;
}

.main-content-header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  color:#367d8a;
  border-bottom: 1px solid #e6e7e8;
}

/* result */

.result-header {
  border-bottom: 1px solid #e6e7e8;
}

.result-header-options {
  border-top: 1px solid #e6e7e8;
  background-color: #f1f2f2;
  min-height: 37px;
}

.result-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid #e6e7e8;
}

.prvnxt {
  color: #bbbdbf;
}

  .prvnxt .prv {
    margin-right: .5rem;
  }

  .prvnxt .nxt {
    margin-left: .5rem;
  }

/* breadcrumbs */

#breadcrumbs {
  background-color: #367d8a;
}

  #breadcrumbs a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
  }

    #breadcrumbs a:hover {
      color: #fff;
      text-decoration: underline;
    }

.breadcrumb {
  margin-bottom: 0;
  background-color: transparent;
  padding: .75rem 0;
}

.breadcrumb-item + .breadcrumb-item:before {
  content: ">";
  color: #fff;
}

.breadcrumb-item.active {
  color: rgba(232,255,255,1);
}

@media (max-width: 767px) {
  .breadcrumb-item {
    white-space: nowrap;
  }

  .breadcrumb-item {
    display: inline-block;
  }

  .breadcrumb {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
}

/* buttons */

.btn {
  border-radius: 0 !important;
}

  .btn:focus,
  .btn:active {
    outline: none !important;
/*    box-shadow: none;*/
  }

.btn-primary {
  color: #fff;
  background-color: #367d8a;
  border-color: #367d8a;
}

  .btn-primary:hover,
  .btn-primary:focus,
  .btn-primary.focus,
  .btn-primary:active,
  .btn-primary.active,
  .btn-primary:disabled,
  .btn-primary.disabled,
  .show > .btn-primary.dropdown-toggle {
    background-color: #5c98a1 !important;
    border-color: #5c98a1 !important;
    color: #fff;
  }

.btn-outline-primary {
  color: #367d8a;
  border-color: #367d8a;
}

  .btn-outline-primary:hover,
  .btn-outline-primary:focus,
  .btn-outline-primary.focus,
  .btn-outline-primary:active,
  .btn-outline-primary.active {
    color: #fff;
    background-color: #367d8a !important;
    border-color: #367d8a !important;
  }

.btn-secondary {
  background-color: #f1f2f2;
  border-color: #f1f2f2;
  color: #58595b;
}

  .btn-secondary:hover,
  .btn-secondary:active,
  .btn-secondary.active,
  .show > .btn-secondary.dropdown-toggle {
    background-color: #e6e7e8;
    border-color: #bbbdbf;
    color: #58595b;
  }

/* alerts */

.alert {
  border-radius: 0;
}

.alert-info {
  color: #0c5460;
  background-color: #c5e6da;
  border-color: #8bceb6;
}

  .alert-info a {
    color: #062c33;
  }

.alert-update {
  color: #000;
  background-color: #fdf5f4;
  border-color: #e89f93;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

  .alert-warning a {
    color: #533f03;
  }

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

  .alert-danger a {
    color: #491217;
  }

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

  .alert-success a {
    color: #0b2e13;
  }

.alert a {
  font-weight: 700;
}

/* panels */

.panel {
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
  background-color: #f1f2f2;
  border: 1px solid #367d8a;
}

.panel-header {
  padding: .75rem 1rem;
  border: none;
  background-color: #367d8a;
}

  .panel-header h2 {
    margin: 0;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
  }

.panel-body {
  margin: 0;
  padding: .75rem 1rem;
}

  .panel-body ol,
  .panel-body ul {
    margin: 0 0 0 1.5rem;
    padding: 0;
  }

  .panel-body li {
    padding-left: .25rem;
    margin-bottom: .125rem;
  }

.panel-alert {
  border: 1px solid #b11030;
}

  .panel-alert .panel-header {
    background-color: #b11030;
  }

/* list-group */

.list-group-item {
  padding: .5rem 1rem;
  border-radius: 0 !important;
}

.list-group-item-action:focus,
.list-group-item-action:hover {
  background-color: #e6e7e8;
}

.list-group-item.active {
  background-color: #367d8a;
  border-color: #367d8a;
}

/* dropdowns */

.dropdown-item.active,
.dropdown-item:active {
  background-color: #f1f2f2;
  color: #000;
}

/* list-group and dropdown icons */

.dropdown-item .fa-fw,
.list-group-item .fa-fw {
  margin-right: .5rem;
}

/* modal */

.modal-header {
  padding: .5rem 1rem;
  background-color: #fbb041;
  border-radius: 0;
}

  .modal-header button.close {
    color: #fff;
    opacity: 1;
    text-shadow: 0 0 0 transparent;
  }

.modal-title {
  color: #fff;
  line-height: 1.4;
  font-size: 1.25rem;
}

.modal-content {
  border-radius: 0;
}

/* pagination */

.page-link {
  color: #367d8a;
}

  .page-link:hover {
    color: #367d8a;
  }

.page-item.active .page-link {
  background-color: #367d8a;
  border-color: #367d8a;
}

.page-item.disabled .page-link {
  color: #bbbdbf;
}

/* forms */

.form-group {
  margin-bottom: .5rem;
}

.form-horizontal .form-control,
.form-horizontal .form-control:focus {
  background-color: #f1f2f2;
}

.form-horizontal .form-control,
.form-control {
  border-radius: 0;
}

select.form-control {
  padding-top: .25rem;
}

.form-buttons .btn-secondary {
  border-color: rgba(0,0,0,.15);
}

.form-options legend {
  padding-bottom: .5rem;
  margin-bottom: 1rem;
  color: #367d8a;
  border-bottom: 1px solid #e6e7e8;
}

  .form-options legend h2 {
    font-weight: 400;
  }

.legend-sm {
  font-size: 1.1rem;
  font-weight: 500;
  padding-bottom: .5rem;
  margin-bottom: 1rem;
  color: #367d8a;
  border-bottom: 1px solid #e6e7e8;
}

  .legend-sm h2 {
    font-size: inherit;
  }

.form-static-text {
  display: block;
  padding-top: .5rem;
  padding-bottom: .5rem;
  line-height: 1.25;
}

.form-static-text-alert {
  font-weight: 600;
  color: #b11030;
}

@media (max-width: 575px) {
  .form-row-mb {
    margin-bottom: 1rem;
  }
}

@media (min-width: 768px) {
  .extend-margin-right {
    /*margin-right: -100%;*/
    white-space: nowrap;
  }
}

.label-required:before {
  content: "*";
  font-weight: 700;
  color: #b11030;
  display: inline-block;
  margin-right: .25rem;
}

.label-selected:before {
  content: "*";
  font-weight: 700;
  color: #367d8a;
  display: inline-block;
  margin-right: .25rem;
}

.form-check-label {
  width: 100%;
  color: inherit !important;
}

.form-check.radio-inline {
  padding: 0;
  border: 1px solid rgba(0,0,0,.05);
  transition: background-color 0.3s ease, border 0.3s ease;
  -moz-transition: background-color 0.3s ease, border 0.3s ease;
  -webkit-transition: background-color 0.3s ease, border 0.3s ease;
  -o-transition: background-color 0.3s ease, border 0.3s ease;
}

  .form-check.radio-inline .form-check-input {
    margin-top: .85rem;
    margin-left: .75rem;
  }

  .form-check.radio-inline .form-check-label {
    width: 100%;
    padding: .5rem .75rem .5rem 2rem;
  }

  .form-check.radio-inline:hover {
    border: 1px solid rgba(0,0,0,.15);
    background-color: #f1f2f2;
  }

.form-check.checkbox-shrink {
  padding: 0;
  border: 1px solid rgba(0,0,0,.15);
  /*background-color: #f1f2f2;*/
  width: 100%;
}

  .form-check.checkbox-shrink .form-check-input {
    margin-top: .85rem;
    margin-left: .75rem;
  }

  .form-check.checkbox-shrink .form-check-label {
    width: 100%;
    padding: .5rem .75rem .5rem 2rem;
  }

/* form validation */

.was-validated .form-check.is-invalid ~ .invalid-feedback {
  display: block;
}

.was-validated .form-check.is-valid ~ .invalid-feedback {
  display: none;
}

.was-validated .form-check.checkbox-shrink.is-invalid {
  border-color: #dc3545;
}

.was-validated .form-check.checkbox-shrink.is-valid {
  border-color: #28a745;
}

/* alert checkbox */

.alert .form-check {
  padding: 0;
  border: 1px solid rgba(0,0,0,.05);
  transition: background-color 0.3s ease, border 0.3s ease;
  -moz-transition: background-color 0.3s ease, border 0.3s ease;
  -webkit-transition: background-color 0.3s ease, border 0.3s ease;
  -o-transition: background-color 0.3s ease, border 0.3s ease;
}

  .alert .form-check:hover {
    border: 1px solid rgba(0,0,0,.15);
    background-color: rgba(255,255,255,.3);
  }

  .alert .form-check.is-checked {
    border: 1px solid rgba(0,0,0,.15);
    background-color: rgba(255,255,255,.3);
  }

.alert .form-check-input {
  margin-top: .6rem;
  margin-left: .75rem;
}

.alert .form-check-label {
  width: 100%;
  padding: .25rem .75rem .25rem 2rem !important;
}

/* general styles */

.Style1 {
  font-weight: 600;
}

.Style4 {
  color: #b11030;
  font-weight: 700;
}

.hidden {
  display: none;
}

.bold {
  font-weight: 700;
}

.highlight {
  color: inherit;
  font-weight: inherit;
}

.rating {
  font-size: 1.25rem;
  color: #fbb041 !important;
  font-family: "Font Awesome 5 Pro";
}

.badge-spydus {
  background-color: #f1624e;
  color: #fff !important;
}

.top {
  text-align: right;
}

.p {
  display: block;
  margin-bottom: 1rem;
}


/* record displays */

.recfrmt {
  margin-top: .5rem;
  font-size: .875rem;
}

/* add/remove svl bookmark */

.btn-bookmark {
  display: none;
}

  .btn-bookmark.is-active {
    display: inline-block;
  }

/* default book cover/image - height and width overridden by specific containers below */

.noimgsc {
  height: 150px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 120px;
  background-color: #083e52;
  line-height: 1.3rem;
  box-shadow: 4px 4px 5px rgba(0,0,0,.25);
  font-size: .875rem;
}

  .noimgsc p {
    height: 85%;
    width: 100%;
    text-align: right;
    position: relative;
    margin-bottom: 0;
    background-color: #f1624e;
    color: #fff;
    overflow: hidden;
  }

  .noimgsc span {
    font-weight: bold;
    display: block;
    padding: .5rem;
  }
  .noimgsc span:not(.deficon) {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
  }

/* default image colours - based on length of title */

  .noimgsc .bc1 {
    background-color: #b62b60;
    color: #fff;
  }

  .noimgsc .bc2 {
    background-color: #f1624e;
    color: #fff;
  }

  .noimgsc .bc3 {
    background-color: #fbb041;
    color: #000;
  }

  .noimgsc .bc4 {
    background-color: #2b926d;
    color: #fff;
  }

  .noimgsc .bc5 {
    background-color: #842394;
    color: #fff;
  }

  .noimgsc .bc6 {
    background-color: #4caf50;
    color: #000;
  }

  .noimgsc .bc7 {
    background-color: #fbb041;
    color: #000;
  }

  .noimgsc .bc8 {
    background-color: #2b926d;
    color: #fff;
  }

  .noimgsc .bc9 {
    background-color: #842394;
    color: #fff;
  }

  .noimgsc .bc10 {
    background-color: #b62b60;
    color: #fff;
  }

.imgsc {
  position: relative;
  opacity: 0;
  transform: scale(0);
}

.img-loaded {
  opacity: 1 !important;
  transform: scale(1) !important;
  transition: opacity 150ms, transform 200ms ease-out;
  min-width: 0;
}

/* brief display */

.result-header-brief {
  border-top: 1px solid #e6e7e8;
}

@media (min-width: 768px) {
  .result-header-brief {
    border-top: 0;
  }
}

.col-records-brief {
  border-left: 1px solid #e6e7e8;
}

@media (min-width: 992px) {
  .col-records-brief {
    padding-left: 3rem;
  }
}

.change-display-buttons .btn {
  padding: .5rem;
}

@media (min-width: 768px) {
  .change-display-buttons {
    margin-top: -1rem;
  }

    .change-display-buttons .btn {
      padding: 1rem;
    }
}

.current-sort {
  text-decoration: underline;
}

.dropdown-item.sort-selected {
  color: #f8f9fa !important;
  background-color: #6c757d !important;
}

#result-content-list {
  display: none;
}

  #result-content-list.is-active {
    display: block;
  }

#result-content-grid {
  display: none;
}

  #result-content-grid.is-active {
    display: block;
  }

.form-check-brief {
  padding: 0;
}

  .form-check-brief .form-check-input {
    margin-top: .7rem;
    margin-left: .5rem;
  }

  .form-check-brief .form-check-label {
    padding: .25rem .25rem .25rem 1.75rem;
  }

  .form-check-brief .item-num {
    font-size: .875rem;
  }

.availability {
  margin-top: .25rem;
}

  .availability a {
    color: #367d8a;
    text-decoration: none;
    font-weight: 600;
  }

  .availability a:hover {
    color: #367d8a;
    text-decoration: underline;
  }

/* list display card */

.card-list {
  margin-top: 1rem;
  border: 1px solid #e6e7e8;
  box-shadow: .25rem .25rem .5rem #e6e7e8;
  border-top: 0;
  display: block;
}

.card-list-image {
  max-width: 120px;
}

.card-list-image-header {
  background-color: #f1624e;
  color: #fff;
}

  .card-list-image-header .is-checked {
    background-color: inherit;
    border: none;
  }

.card-list-image-body {
  margin-top: .25rem;
}

  .card-list-image-body a:hover {
    text-decoration: none;
  }

.card-list-buttons {
  margin-bottom: .5rem;
  margin-right: 1rem;
}

  .card-list-buttons .btn-bookmark {
    line-height: 1.25;
    /*margin-right: .5rem;*/
  }

.card-list .card-body {
  padding: 0 1rem 1rem 1.25rem;
  overflow: hidden;
}

.card-list .card-title {
  margin-bottom: 0;
}

.card-list .summary {
  margin-top: 1rem;
  font-size: .875rem;
  display: none;
}

.card-list .card-list-header-message {
    margin-bottom: 0.25rem;
    padding-left: 1.25rem;
}

@media (min-width: 768px) {
  .card-list .summary {
    display: block;
  }
}

/* grid display card */

.col-grid {
  margin-bottom: 1rem;
}

.card-grid {
  height: 100%;
}

.card-grid-image-header {
  background-color: #f1624e;
  color: #fff;
  margin: -1px -1px 0 -1px;
}

    .card-grid-image-header .is-checked {
        background-color: inherit;
        border: none;
    }

.card-grid-buttons .btn {
  background-color: transparent;
  color: #fff;
}

.card-grid-buttons .btn-bookmark {
  padding-left: .25rem;
  padding-right: .25rem;
  line-height: 1.25;
}

.card-grid-image-body {
  margin-top: .25rem;
}

  .card-grid-image-body .recfrmt-icon {
    margin-left: .25rem;
    padding: .25rem .5rem;
    border-radius: .25rem;
    position: absolute;
    background-color: #000;
    color: #fff;
    z-index: 999;
  }

  .card-grid-image-body .imgsc {
    max-height: 150px;
  }

  .card-grid-image-body a:hover {
    text-decoration: none;
  }

.card-grid .card-body {
  padding: .5rem;
  overflow: hidden;
}

.card-grid .card-title {
  margin-bottom: 0;
}


/* current filters */

@media (min-width: 768px) {
  .current-filters {
    margin-top: .5rem;
    margin-bottom: .5rem;
  }
}

.current-filters .btn {
  margin: 0 .5rem .5rem 0;
}

.current-filters .fa {
  margin-left: .5rem;
}

/*record options dropdown menu */
.record-options {
    margin-left: 0.5rem;
}

.record-options .dropdown-toggle:after {
  content: none;
}

.record-options .dropdown-toggle {
  display: block;
  position: relative;
  overflow: hidden;
  border: none;
  outline: none;
  width: 30px;
  height: 27px;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

  .record-options .dropdown-toggle:focus {
    outline: 0;
  }

    .record-options:not(.record-options-table) .dropdown-toggle span {
        display: block;
        position: absolute;
        width: 12px;
        height: 2px;
        background-color: #fff;
        left: 9px;
        top: 13px;
    }

        .record-options:not(.record-options-table) .dropdown-toggle span:after,
        .record-options:not(.record-options-table) .dropdown-toggle span:before {
            display: block;
            position: absolute;
            width: 12px;
            height: 2px;
            background-color: #fff;
            content: "";
            transition: all 250ms ease-out;
        }

        .record-options:not(.record-options-table) .dropdown-toggle span:before {
            top: -5px;
        }

        .record-options:not(.record-options-table) .dropdown-toggle span:after {
            bottom: -5px;
        }

    .record-options.show:not(.record-options-table) .dropdown-toggle span {
        background: transparent;
    }

        .record-options.show:not(.record-options-table) .dropdown-toggle span:before {
            top: 0;
            transform: rotate(45deg);
        }

        .record-options.show:not(.record-options-table) .dropdown-toggle span:after {
            bottom: 0;
            transform: rotate(-45deg);
        }

/* full display */

.fd-feature {
  margin-top: .25rem;
  background-color: #367d8a;
}

  .fd-feature .card {
    color: #fff;
    background-color: transparent;
    border: 0;
  }

    .fd-feature .card .row {
      min-height: 120px;
    }

    .fd-feature .card a {
      color: #fff;
    }

  .fd-feature .card-title {
    margin-bottom: 0;
  }

.fd-feature-image {
  max-width: 200px;
}

@media (min-width: 768px) {
  .fd-feature-image-thumbnail .img-feature-large, .fd-feature-image-thumbnail .noimgsc {
    position: relative;
    bottom: -30px;
  }
}

.fd-feature-image-thumbnail .imgsc {
  border: 1px solid #e6e7e8;
}

.fd-feature-text {
  padding-top: .5rem;
}

.fd-availability .card {
  margin-bottom: .5rem;
  border-radius: 0;
  box-shadow: .25rem .25rem .5rem #e6e7e8;
}

.fd-availability .card-header {
  color: #fff;
  text-align: center;
  background-color: #083e52;
  border: 0;
  border-radius: 0;
}

.fd-availability-buttons {
  float: right;
}

  .fd-availability-buttons .btn {
    padding: 0;
    color: #fff;
  }

@media (min-width: 768px) {
  .fd-availability {
    margin-top: -150px;
  }

    .fd-availability.fd-availability-video {
      margin-top: -450px;
    }

    .fd-availability.fd-availability-audio {
      margin-top: -210px;
    }

    .fd-availability .card {
      border: 0;
      box-shadow: .25rem .25rem 1rem rgba(59,136,149,.6);
      margin-bottom: 1.5rem;
    }
}

.fd-availability .card-body .btn-block:first-child {
  margin-top: 0 !important;
}

.fd-prvnxt-header {
  margin-top: .5rem;
  margin-bottom: 1rem;
}

.fd-prvnxt-footer {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.fd-caption {
  min-width: 11.25rem;
  font-weight: 600;
}

.fd-share {
  margin-top: 1rem;
}

.jssocials {
  font-size: .825rem;
}

.openinghours-day {
  display: inline-block;
  font-weight: 700;
  width: 40%;
  max-width: 10rem;
  padding-bottom: .5rem;
}

.holiday {
  margin-left: 0;
  margin-right: 0;
  padding-top: .5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid #e6e7e8;
}

  .holiday:first-of-type {
    padding-top: 0;
  }

.holiday-dates {
  font-weight: 700;
  padding-left: 0;
  padding-right: 0;
}

.holiday-desc {
  padding-right: 0;
  padding-left: .5rem;
}

.bookmark-link {
  /*font-size: .875rem;*/
}

.name-details {
  font-size: .875rem;
  font-style: italic;
  color: #58595b;
}

#imageViewer {
  height: 200px;
}

@media (min-width: 768px) {
  #imageViewer {
    height: 400px;
  }
}

/* headings list and index list */

.form-headings-list article {
  border-top: 1px solid #e6e7e8;
}

.headlist-link,
.index-link,
.headlist-works {
  padding-top: .25rem;
  padding-bottom: .25rem;
}

.headlist-works {
  text-align: center;
}

  .headlist-works span {
    padding-left: .25rem;
    padding-right: .25rem;
  }

.heading-list-note {
  padding: 0;
  margin: 0 0 .5rem 1rem;
  font-size: .875rem;
}

.works-header span {
  font-weight: 600;
}

.index-link {
  margin-left: 1.5rem;
}

/* generic brief display */

.briefdisp-item {
  padding-top: .5rem;
  padding-bottom: .5rem;
  border-top: 1px solid #e6e7e8;
}

.briefdisp-item-counter {
  max-width: 100px;
}

.briefdisp-item-body {
  margin-left: 1.5rem;
}

.counter .form-check {
  padding: 0;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border 0.3s ease;
  -moz-transition: background-color 0.2s ease, border 0.3s ease;
  -webkit-transition: background-color 0.2s ease, border 0.3s ease;
  -o-transition: background-color 0.2s ease, border 0.3s ease;
}

.counter .form-check-input {
  margin-top: .6rem;
  margin-left: .75rem;
}

.counter .form-check-label {
  padding: .25rem .75rem .25rem 2rem;
  width: 100%;
  min-height: 1.5rem;
}

.counter .form-check:hover {
  background-color: #e6e7e8;
  border: 1px solid rgba(0,0,0,.05);
}

.counter .form-check.is-checked {
  background-color: #ffecd3;
  border: 1px solid rgba(0,0,0,.05);
}

.counter .item-num,
.item-num-wrapper .item-num {
  font-size: .875rem;
  vertical-align: text-bottom;
}

.item-num-wrapper {
  padding: .25rem .75rem;
}

/* wordcloud */

.wordCloud-container {
  padding: 10px;
}

.wordCloud-container span { 
  margin: 0 10px 0 0;
}

.wc1 a { 
  font-size: 0.8rem; 
  font-weight: 400; 
}
.wc2 a { 
  font-size: 0.8rem; 
  font-weight: 700; 
}
.wc3 a { 
  font-size: 0.95rem; 
  font-weight: 400; 
}
.wc4 a { 
  font-size: 0.95rem; 
  font-weight: 700; 
}
.wc5 a { 
  font-size: 1.1rem; 
  font-weight: 400; 
}
.wc6 a { 
  font-size: 1.1rem; 
  font-weight: 700; 
}
.wc7 a { 
  font-size: 1.25rem; 
  font-weight: 400; 
}
.wc8 a { 
  font-size: 1.25rem; 
  font-weight: 700; 
}
.wc9 a { 
  font-size: 1.4rem; 
  font-weight: 400; 
}
.wc10 a { 
  font-size: 1.4rem; 
  font-weight: 700; 
}

.wc1 a, .wc3 a, .wc5 a, .wc7 a, .wc9 a {
  color: rgba(8,62,82,1);
}
 
.wc2 a, .wc4 a, .wc6 a, .wc8 a, .wc10 a {
  color: rgba(54,125,138,1);
}

/* gallery container */

.gallery-container {
  padding: 1rem 1.25rem 1.25rem;
}

.thumb-container {
  overflow: hidden;
  margin: 0 2rem 1rem;
  padding: 5px;
  width: auto;
  background: #f1f2f2;
  border: 1px solid #e6e7e8;
  min-height: 100px;
  font-size: .875rem;
}

.thumbs {
  width: 6000px;
  left: 0;
}

.gallery-container-item {
  max-width: 160px;
  min-width: 160px;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 0;
}

  .gallery-container-item:not(:first-child) {
    margin-left: 5px;
  }

  .gallery-container-item .thumblink {
    padding-top: .25rem;
  }

  .gallery-container-item .imgsc {
    max-height: 150px;
    padding: 0 .25rem;
  }

  .gallery-container-item .card-body {
    padding: .5rem .5rem 0;
  }

  .gallery-container-item .card-title {
    margin-bottom: 0;
    font-size: 1rem;
  }

  .gallery-container-item .card-footer {
    padding: 0 .5rem .5rem;
    background-color: transparent;
    border: 0;
  }

/* forward-backward buttons for gallery */

.gallery-container .addfwd {
  display: block;
  float: right;
  margin: -96px -10px 0 0;
  cursor: pointer;
  width: 37px;
  height: 37px;
  background: transparent url(../images/bg-btn-next.png) no-repeat scroll 50% 50%;
}

.gallery-container .addbkwd {
  display: block;
  float: left;
  margin: -96px 0 0 -10px;
  cursor: pointer;
  width: 37px;
  height: 37px;
  background: transparent url(../images/bg-btn-prev.png) no-repeat scroll 50% 50%;
}

.gallery-container .addfwd:hover {
  background: transparent url(../images/bg-btn-next.png) no-repeat scroll 50% 50%;
}

.gallery-container .addbkwd:hover {
  background: transparent url(../images/bg-btn-prev.png) no-repeat scroll 50% 50%;
}

/* default image overrides for specific containers */

.img-gallery .noimgsc,
.fd-feature .noimgsc {
  height: 200px;
  max-width: 140px;
  border: 1px solid #e6e7e8;
}

/* brw dropdown menu from navbar */

#navbarLoginMenuLink:focus,
#navbarLoginMenuLinkName:focus {
  outline: 0;
}

.brw-loggedin .dropdown-menu a {
  padding-left: 1rem;
  padding-right: .5rem;
  white-space: normal;
}

@media (min-width: 992px) {
  .brw-loggedin {
    width: 14rem;
  }

    .brw-loggedin.show {
      background-color: #f1624e;
      color: #fff;
      margin-top: -.5rem;
      padding-top: .5rem;
    }

    .brw-loggedin.show #navbarLoginMenuLinkName {
      color: #fff;
    }

    .brw-loggedin .dropdown-menu {
      background-color: #f1624e;
      border-radius: 0;
      width: 14rem;
      border-color: #f1624e;
      margin-top: 0;
    }

      .brw-loggedin .dropdown-menu a {
        color: #fff;
      }

    .brw-loggedin .dropdown-header {
      color: #fff;
      padding-left: 1rem;
      padding-right: 1rem;
    }

    .brw-loggedin .dropdown-menu a:hover,
    .brw-loggedin .dropdown-menu a:focus,
    .brw-loggedin .dropdown-menu a:active {
      color: #fff;
      background-color: #f48169;
    }

  #navbarLoginMenuLinkName:after {
    content: '\f0d7';
    display: block;
    position: absolute;
    top: .5rem;
    right: 1rem;
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    border: 0;
  }

  .brw-loggedin.show #navbarLoginMenuLinkName:after {
    top: 1rem;
  }

  #navbarLoginMenuLinkName {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brw-loggedin .dropdown-divider {
    border-top: 1px solid #f48169;
  }
}

/* my account dashboard */

.brw-welcome-header {
  padding-bottom: .5rem;
  border-bottom: 1px solid #e6e7e8;
  margin-bottom: 1rem;
}

  .brw-welcome-header h1 {
    font-size: 1.25rem;
  }

@media (min-width: 768px) {
  .brw-welcome-header h1 {
    font-size: 1.75rem;
  }
}

.brw-dashboard-row {
  margin: 1rem -.25rem;
}

.brw-dashboard-col {
  padding: .25rem;
}

.brw-dashboard-item {
  text-align: center;
  color: #fff;
  background-color: #083e52;
  height: 8rem;
  padding: .75rem .5rem;
  text-decoration: none;
}

  .brw-dashboard-item:hover {
    text-decoration: none;
    background-color: rgba(8,62,82,.8) !important;
    color: #fff;
  }

  .brw-dashboard-item .badge {
    font-size: 1rem;
  }

.brw-dashboard-item-header {
  text-align: right;
  padding: 0 .75rem;
}

.brw-dashboard-item-body {
  font-size: 2.5rem;
  line-height: 1.1;
}

  .brw-dashboard-item-body.loading {
    margin-top: 1.5rem;
  }

.brw-dashboard-item-footer {
  font-size: .875rem;
}

.brw-dashboard-alert-danger {
  background-color: #b62b60;
}

.brw-dashboard-alert-success {
  background-color: #0e4e0e;
}

/* brw message */

.is-new .brw-message-text {
  font-weight: 700;
}

/* my account record displays */

.loan-overdue {
  font-weight: 700;
  color: #f00;
}

.loan-due-today {
  font-weight: 700;
  color: #f00;
}

.loan-due-soon {
  font-weight: 700;
  color: #f00;
}

.loan-reserved {
  font-weight: 700;
  color: #f00;
}

/* stacked tables */
.table-stacked .item-num {
  word-break: normal;
}

@media (max-width: 767px) {
  .table-stacked thead {
    display: none;
  }

  .table-stacked tr {
    border: 1px solid #e6e7e8;
    box-shadow: .25rem .25rem .5rem #e6e7e8;
    border-top: 0;
    margin-top: 1rem !important;
    display: block;
    padding: .75rem;
  }

  .table-stacked td {
    border: 0;
    display: block;
    position: relative;
    padding: 0 0 0 7.75rem;
  }

    .table-stacked td.counter {
      float: left;
      padding-left: 0;
    }

      .table-stacked td.counter.counter-select,
      .table-stacked td.counter.counter-noselect {
        float: none;
        margin-bottom: .5rem;
      }

    .table-stacked td[data-caption]:before {
      content: attr(data-caption) ":";
      display: table-cell;
      font-weight: 700;
      height: 100%;
      left: 3rem;
      margin: auto;
      position: absolute;
      vertical-align: middle;
      white-space: nowrap;
      width: 9rem;
      text-align: right;
      left: 0;
      width: 7rem;
    }

  .table-stacked span[data-caption]:before {
    content: attr(data-caption) ": ";
    font-weight: 700;
  }

  .table-stacked td.col-result {
    padding-left: 0;
    margin-top: 1rem;
  }
}

.table-stacked .item-num {
  font-size: .875rem;
  vertical-align: text-bottom;
}

.item-num:after {
  content: ".";
}

@media (max-width: 767px) {
  .table-stacked-image td {
    padding-left: 7.75rem;
  }

    .table-stacked-image td.col-image {
      float: left;
      padding-left: 0;
      margin-top: .125rem;
      margin-bottom: 1rem;
    }

    .table-stacked-image td.clear-float {
      clear: both;
    }

    .table-stacked-image td.border-top {
      margin-top: .5rem;
      padding-top: .5rem;
      border-top: 1px solid #e6e7e8;
    }
}

.table-stacked td.counter-select {
  padding-left: 0;
  padding-right: 0;
  padding-top: .5rem;
}

  .table-stacked td.counter-select.noselect {
    padding-top: .75rem;
  }

.table-stacked h5 {
  font-size: 1rem;
}

.table-stacked .alert {
  padding: .75rem;
}

.table-stacked .dropdown-item {
  color: #58595b !important;
}

/* table record options dropdown menu */

.record-options-table .dropdown-toggle {
  height: auto;
  width: auto;
  background-color: transparent;
}

  .record-options-table .dropdown-toggle .fa {
    padding: .25rem .75rem;
    transition: all 250ms ease-in-out;
    color: #000;
  }

    .record-options-table .dropdown-toggle .fas:hover,
    .record-options-table.show .dropdown-toggle .fas,
    .record-options-table .dropdown-toggle .far:hover,
    .record-options-table.show .dropdown-toggle .far,
    .record-options-table .dropdown-toggle .fal:hover,
    .record-options-table.show .dropdown-toggle .fal,
    .record-options-table .dropdown-toggle .fad:hover,
    .record-options-table.show .dropdown-toggle .fad,
    .record-options-table .dropdown-toggle .fab:hover,
    .record-options-table.show .dropdown-toggle .fab {
      background-color: #e6e7e8;
      border-radius: 0;
    }

/* tab containers */

.tab-container-body {
  word-break: break-word;
}

  .tab-container-body .alert {
    margin-top: 1rem;
  }

.tab-container-body-inner > span.d-block:last-of-type > .p {
  margin-bottom: 0;
}

/* collapsible containers */

.tab-container-collapse {
  margin-bottom: .5rem;
}

.tab-container-head h2 {
  font-size: 1.25rem;
}

  .tab-container-collapse .tab-container-head h4 {
    margin-bottom: 0;
    border-bottom: 1px solid #e6e7e8;
  }

  .tab-container-collapse .tab-container-head span {
    color: #367d8a;
    padding-bottom: .5rem;
  }

a.header-collapse {
  display: block;
  position: relative;
  color: #367d8a;
  text-decoration: none;
  padding: .5rem 1.5rem .5rem 0;
}

  a.header-collapse:hover {
    color: #367d8a;
    text-decoration: none;
  }

  a.header-collapse:after {
    content: '\f078';
    display: block;
    position: absolute;
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    top: .5rem;
    right: 0;
  }

  a.header-collapse.collapsed:after {
    content: '\f054';
    display: block;
    position: absolute;
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    top: .5rem;
    right: 0;
  }

.tab-container-collapse .tab-container-body-inner {
  padding-top: .5rem;
  padding-bottom: .5rem;
}

/* fixed containers */

.tab-container-fixed {
  margin-bottom: 1.25rem;
  box-shadow: .125rem .125rem .75rem rgba(0,0,0,.125);
}

  .tab-container-fixed .tab-container-head h2 {
    padding: .75rem 1rem;
    background-color: #083e52;
    color: #fff;
    margin-bottom: 0;
  }

.noboxshadow .tab-container-fixed {
  box-shadow: none !important;
}

.tab-container-RT .tab-container-body-inner {
    padding: .5rem;
}

/* facets */

.facet-operators {
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.facet-oper-and {
  background-color: #367d8a;
  border-color: #367d8a;
  color: #fff;
}

.facet-oper-not {
  background-color: #083e52;
  border-color: #083e52;
  color: #fff;
}

#tabFacets #facets {
  border-top: 1px solid #e6e7e8;
}

.facet-group {
  border-bottom: 1px solid #e6e7e8;
}

  .facet-group h3 {
    font-size: inherit;
    margin-bottom: 0;
    line-height: 1.5;
  }

.facet-group-header:hover {
  background-color: #e6e7e8;
}

.facet-group-header a {
  color: #58595b;
  font-weight: 600;
  padding-left: .5rem;
}

  .facet-group-header a:hover {
    color: #58595b;
  }

  .facet-group-header a.collapsed {
    font-weight: 400;
  }

  .facet-group-header a.header-collapse:after {
    right: .5rem;
  }

.facet-group .list-group-item,
.tab-container-collapse .facet-list .list-group-item {
  border: 0;
}

.tab-container-fixed .facet-group-header a {
  padding-left: 1rem;
}

.tab-container-fixed .facet-group .list-group-item {
  padding-left: 1.5rem;
}

.tab-container-fixed #facets {
  border: 1px solid rgba(0,0,0,.125);
}

.tab-container-fixed .facet-group {
  border-bottom: 1px solid rgba(0,0,0,.125);
}

/* collapsing menus */

.menu-group {
  border-bottom: 1px solid #e6e7e8;
}

.menu-group-header:hover {
  background-color: #e6e7e8;
}

.menu-group-header h3 {
  margin: 0;
  font-size: 1rem;
}

.menu-group-header a {
  color: #58595b;
  font-weight: 600;
  padding-left: .5rem;
}

  .menu-group-header a:hover {
    color: #58595b;
  }

  .menu-group-header a.collapsed {
    font-weight: 400;
  }

  .menu-group-header a.header-collapse:after {
    right: .5rem;
  }

.menu-group .list-group-item {
  border: 0;
}

/* image gallery */

.img-gallery {
  margin-top: .5rem;
/*  margin-bottom: 2rem;*/
  padding: 1rem 1rem 1.25rem 1rem;
}

.img-gallery-body {
  margin-bottom: 1rem;
}

.img-gallery-item {
  padding: .25rem;
}

  .img-gallery-item .imgsc {
    padding: .25rem;
    border: 1px solid #e6e7e8;
  }

/* xrecord display */

.xrecord {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e6e7e8;
}

  .xrecord .card {
    border: 0;
  }

  .xrecord .card-body {
    padding-top: 0;
    padding-bottom: 0;
  }

  .xrecord .card-title {
    margin-bottom: 0;
    font-size: 1rem;
  }

/* small image wrapper */

.image-wrapper-small {
  width: 6.25rem;
  height: 6.25rem;
  min-width: 6.25rem;
  min-height: 6.25rem;
}

  .image-wrapper-small .noimgsc {
    height: 100%;
    max-width: 5rem;
  }

    .image-wrapper-small .noimgsc span {
      font-size: .6rem;
      line-height: 1.3;
      top: 0;
    }

  .image-wrapper-small .imgsc {
    max-height: 100%;
  }

/* print */

@media print {
  a {
    text-decoration: none !important;
  }

  header, footer, #mylist-floating, #breadcrumbs {
    display: none !important;
  }

 .container {
    width: auto;
  }

  @page {
    size: auto;
  }
}

/* events */

/* session status */

.event-inprogress {
  font-weight: 700;
  color: #0e4e0e;
}

.event-cancelled {
  font-weight: 700;
  color: #f00;
}

.event-closed {
  font-weight: 700;
  color: #f00;
}

.event-complete {
  font-weight: 700;
  color: #f00;
}

.event-full {
  font-weight: 700;
  color: #f00;
}

.event-registrationreq {
    font-weight: 700;
    color: #083e52;
}

.event-noregistration {
    font-weight: 700;
    color: #083e52;
}

.event-venueregistration {
  font-weight: 700;
  color: #083e52;
}

.event-fee {
  font-weight: 700;
  color: #083e52;
}

.event-free {
  font-weight: 700;
  color: #0e4e0e;
}

.event-postponed-brief {
  font-weight: 700;
  color: #f00;
}

.event-postponed-full {
  font-weight: 700;
  color: #fff3cd;
}

/* registration status */

.evreg-confirmed {
  font-weight: 700;
  color: #0e4e0e;
}

.evreg-pendingpayment {
  font-weight: 700;
  color: #f00;
}

.evreg-onwaitlist {
  font-weight: 700;
  color: #083e52;
}

.evreg-cancelled {
  font-weight: 700;
  color: #f00;
}

.evreg-eventcancelled {
  font-weight: 700;
  color: #f00;
}

.evreg-eventcomplete {
  font-weight: 600;
  color: #58595b;
}

/* event display card */

.card-event {
  margin-bottom: 1.5rem;
  border-radius: 0;
  height: calc(100% - 1.5rem);
  box-shadow: .25rem .25rem .5rem #e6e7e8;
}

  .card-event img {
    border-radius: 0;
    min-height: 100px;
  }

  /* fixed header type */

  .card-event .card-header {
    border-radius: 0;
    padding: 0;
    border-bottom: 0;
  }

a.card-event-header-fixed {
  display: block;
  padding: .75rem 1.25rem;
  text-decoration: none;
  background-color: #083e52;
  color: #fff;
}

  a.card-event-header-fixed:hover {
    text-decoration: none;
    color: #fff;
  }

/* overlay header type */

.card-event .card-img-overlay {
  padding: 0;
  bottom: auto;
}

a.card-event-header-overlay {
  display: block;
  padding: .75rem 1.25rem;
  text-decoration: none;
  background-color: rgba(8,62,82,.8);
  color: #fff;
}

a.card-event-header-overlay:hover {
  text-decoration: none;
  color: #fff;
}

/* bookings table */

.bookings td, .bookings th {
  text-align: center;
  vertical-align: middle;
  line-height: 1.25;
  word-break: normal;
}

.bookings th {
  font-size: .875rem;
  padding: .25rem .5rem;
}

  .bookings th > div {
    min-width: 3rem;
  }

  .bookings th.bookings-item-title {
    text-align: left;
    white-space: nowrap;
    font-weight: 400;
  }

    .bookings th.bookings-item-title span {
      display: block
    }

.bookings .bookings-header-daymonth {
  background-color: #083e52;
  color: #fff;
}

.bookings .bookings-header-daytime {
  background-color: #367d8a;
  color: #fff;
}

.bookings .bookings-item.odd {
  background-color: rgba(0,0,0,.05);
}

.bookings .bookings-item.even {
  background-color: transparent;
}

.bookings .form-check {
  padding-left: 0;
}

.bookings .form-check-input {
  position: static;
  margin-left: 0;
}

/* booking slot unavailable icons */

.booking-unavail {
  color: #f00;
}

.booking-mybooking {
  color: #842394;
}

.booking-booked {
  color: #2b926d;
}

.booking-alert {
  color: #f00;
}

.text-html {
  display: inline;
}

.dbTrial {
    display: inline-block;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    font-style: normal;
    margin-left: 5px;
    background-color: #000;
}

.onlineResource-allowed {
  color: #2b926d;
}

.onlineResource-blocked {
  color: #f00;
}

/* qrcodes */

.qrcodeWrap {
  text-align: center;
  padding: 10px;
}

.qrcode {
  padding: 10px;
}

.qrcode img {
  display: block;
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
  height: auto;
}

.qrcode table {
  margin-right: auto !important;
  margin-left: auto !important;
  max-width: 100%;
  height: auto;
}

#libraryThingLink img {
  padding-bottom: 0.25rem;
}

#divtabHLD {
  padding-top: 0;
}
#divtabHLD table {
  border-top-style: hidden;
}

@media screen and (prefers-reduced-motion: reduce) {
    .fa-pulse,
    .fa.spin {
        animation: none !important;
    }

    span.fas.fa-spinner.fa-pulse:before,
    span.fad.fa-spinner-third.fa-spin:before {
        content: 'Loading';
    }
}

.max-lines {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.max-lines-1 {
    -webkit-line-clamp: 1;
}

.max-lines-2 {
    -webkit-line-clamp: 2;
}

.max-lines-3 {
    -webkit-line-clamp: 3;
}

.max-lines-4 {
    -webkit-line-clamp: 4;
}

.max-lines-5 {
    -webkit-line-clamp: 5;
}

.max-lines-6 {
    -webkit-line-clamp: 6;
}

.max-lines-7 {
    -webkit-line-clamp: 7;
}

.max-lines-8 {
    -webkit-line-clamp: 8;
}

.max-lines-9 {
    -webkit-line-clamp: 9;
}

.max-lines-10 {
    -webkit-line-clamp: 10;
}

#divtabGOALS li::marker {
  font-weight: bold;
}

.media-audio {
  height:  60px;
}