/**
 * @file
 * Subtheme specific CSS.
 */

h1,
h2,
h3,
h4,
h5 {
  color: #002d72;
}

h2,
h3,
h4,
h5 {
  font-weight: normal;
}

html,
body,
p,
.node__content {
  font-size: 1em;
  color: #002d72;
}

table tr th {
  background: #FFB71B;
  color: #002d72;
}

tr {
  background: #fff;
}

a,
a:link,
a:hover,
a:focus,
a:visited {
  color: #c25131;
}

.card ul {
  list-style: none;
  /* Remove default bullets */
}

.card ul li::before {
  content: "\2022";
  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #c25131;
  /* Change the color */
  font-weight: bold;
  /* If you want it to be bold */
  display: inline-block;
  /* Needed to add space between the bullet and the text */
  width: 1em;
  /* Also needed for space (tweak if needed) */
  margin-left: -1em;
  /* Also needed for space (tweak if needed) */
}

.card li {
  margin-bottom: 20px;
}

.btn,
.lead {
  font-family: 'PT Sans', sans-serif;
}

.navbar-toggler {
  padding: .4rem .5rem 0.1rem 0.5rem;
}

.fa,
.fas {
  color: #002d72;
}

.quote-symbol {
  line-height: .5rem;
  display: inline-block;
  margin-right: .5rem;
  color: #c25131;
}

.quote-symbol-left {
  margin-left: -2rem;
}

.badge-info {
  color: #fff;
  background-color: #002d72;
}

#navbar-main {
  border: none;
}

#navbar-main>.container {
  border-bottom: 11px solid #fed500
}

.navbar-toggler {
  background: #c25131;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #002d72;
}

#header div#CollapsingNavbar a {
  color: #002d72;
  display: block;
}

#header div#CollapsingNavbar a.active {
  color: #fff;
}

#header div#CollapsingNavbar a:hover,
#header div#CollapsingNavbar a:visited:hover {
  color: #fff;
}

#header .dropdown-item:hover,
#header .dropdown-item:focus {
  border-radius: 0;
  background: #c25131
}

#header div#CollapsingNavbar .dropdown-item:hover a,
#header div#CollapsingNavbar .dropdown-item:focus a {
  color: #fff;
}

#header .navbar .container,
#header .navbar .container-fluid,
#header .navbar .container-sm,
#header .navbar .container-md,
#header .navbar .container-lg,
#header .navbar .container-xl {
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: flex-end;
  -ms-flex-pack: justify;
}

.dropdown-item.active a,
.dropdown-item:active a,
.dropdown-item.active a:active,
.dropdown-item:active a:active {
  color: #fff;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background: #C25131;
}

#header .navbar-nav .nav-link:hover,
#header .navbar-nav .nav-link:focus {
  background: #C25131;
  color: #fff;
}

.lead {
  color: #002d72;
  font-weight: normal;
}

.views-field-field-tags a {
  color: #fff;
  font-size: .8rem;
}

.card-header {
  background: #002d72;
  color: #fff;
}

.card-header a,
.card-header .btn-link {
  color: #fff;
}

.card-header a:hover,
.card-header .btn-link:hover {
  color: #fed500;
}

h5.card-header.card-header-linked {
  padding: 0;
  border: 1px solid #dfdfdf;
  border-radius: .25rem .25rem 0 0;
}

.card-header-linked a {
  padding: .75rem 1.25rem;
  display: block;
  border-radius: .1rem .1rem 0 0;
}

.card-header-linked a:hover {
  color: #fff;
  background: #c25131;
}

.table th,
.table td {
  border: none;
  border-top: 1px solid #eee;
}

.btn:hover,
.btn-link:hover,
a:hover {
  text-decoration: none;
}

.alert {
  border-top: 1px solid #eee;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-top: 5px;
  max-width: 660px;
  box-shadow: 4px 4px 4px #eee;
}

.dropdown-item {
  padding: 15px 25px;
}

.img-thumbnail {
  background: #fd0;
}

.page-item.active .page-link {
  z-index: unset;
}


/* Theme layout */

main#content {
  padding-bottom: 20px;
  min-height: 500px;
}

.nav,
.breadcrumb,
.pagination {
  font-size: 1em;
}

.main-content nav.tabs {
  margin-top: 15px;
}

.sidebar .block {
  border: none;
}

.site-footer {
  padding: 0;
  min-height: 250px;
  font-size: 1em;
}

.site-footer .sr-only {
  color: #fff;
}

.site-footer .block {
  margin: 20px 0;
  border: none;
  border-color: transparent;
  padding: 10px;
}

.site-footer #block-actions {
  margin-top: 30px;
}

.site-footer .menu-item--expanded>a {
  font-size: 1.5rem;
  color: #fed500;
}

.site-footer .menu-item--expanded ul.menu {
  padding-left: 0;
}

/* Content customizations */
.block-views-blockstorytime-commons-block-2 .content > div {
  height: 100%;
}

#header div#CollapsingNavbar a.active {
  padding: 10px 15px;
}

.orange-color-font {
  color: #c25131;
}

.blue-color-font {
  color: #002d72;
}

.card-orange,
.orange-bg {
  background: #c25131;
  color: #fff;
}

.card-blue,
.blue-bg {
  color: #fff;
  background: #002d72;
}

.btn-orange {
  color: #fff;
  background-color: #c25131;
  border-color: #c25131;
}

a.btn-orange,
a:link.btn-orange {
  color: #fff;
}

.btn-orange:hover {
  color: #fff;
  background-color: #c25131;
  border-color: #c25131;
}

/* Sitewide footer */

.site-footer a {
  color: #fff;
  font-weight: bold;
}

.site-footer a:hover {
  color: #002d72;
}

.site-footer #block-services a:hover,
.site-footer #block-helpandfaqs a:hover {
  color: #fed500;
}

.site-footer__top h2 {
  color: #222;
  margin-left: 16px;
  font-size: 1.2em;
  border-bottom: none;
}

.site-footer li>ul li.ml-4 {
  margin-left: 0 !important;
}


/* Home page */

#homepage-top-right .field--type-image img {
  margin: 0;
}

.block-views-blockstorytime-commons-block-1 .view-content.row {
  margin: 0 20px 20px;
}

#views-bootstrap-storytime-commons-block-1,
#views-bootstrap-demos-list-block-1 {
  width: 100%;
}

#views-bootstrap-demos-list-block-1 .card .storytime-d {
  max-width: 290px;
  overflow: hidden;
}

#views-bootstrap-demos-list-block-1 .card .storytime-d img {
  max-width: 400px;
  margin-left: -30px;
}

#views-bootstrap-storytime-commons-block-1 .views-field-title {
  white-space: nowrap;
  overflow: hidden;
}

#views-bootstrap-storytime-commons-block-1 audio {
  max-width: 270px;
}

.view-demos-list {
  width: 100%;
}

.view-demos-list .card {
  border-radius: 0;
  border-bottom: none;
}

#views-bootstrap-demos-list-block-1:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.demo-cta-card {
  text-align: center;
}

.view-demos-list .class-header .btn-link:focus,
.view-demos-list .class-header .btn-link.focus {
  text-decoration: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.view-demos-list .card .cta-image {
  max-width: 350px;
}

.path-frontpage .card .card-header h4 {
  font-size: 1em;
  white-space: nowrap;
}


/* Content customizations */

/* Services Pages */

#svcs-first-row .block,
#svcs-first-row .content,
#svcs-first-row .field--name-body,
#svcs-first-row .card,
#svcs-first-row .views-element-container,
#svcs-second-row .block,
#svcs-second-row .content,
#svcs-second-row .field--name-body,
#svcs-second-row .card {
  height: 100%;
}

#svcs-first-row .card .card-body,
#svcs-first-row .card .view-content {
  min-height: inherit;
}

.coming-soon {
  margin: -60px 0 14px;
  padding: 10px 20px;
  background: #c25131;
  color: #fff;
  z-index: 100;
  position: relative;
}

.card-img-wrapper {
  max-height: 207px;
}

.svcs-screenshots .card-body {
  height: 90px;
  padding: 1rem 1.25rem;
}

#svc-screenshots-wrapper {
  background: #ffefa7;
  padding: 30px;
}

.block-field-blocknodepagefield-cta {
  margin-bottom: 30px;
  margin-top: -20px;
  font-weight: bold;
}

#add-widget-panel h2 {
  color: #c25131;
}


/* Storytime Commons Views */

#views-bootstrap-storytime-commons-block-2 h6 {
  height: 40px;
}

div#views-bootstrap-storytime-commons-page-1 .modal {
  top: 10%;
}

.st-grid-row {
  min-width: 223px;
}

.expandicard {
  position: relative;
  display: block;
  flex: 1 1 0px;
  transition: transform 1500ms;
  background: #ffefa7;
  border: 3px solid #ffefa7;
}

.expandicard:focus,
.expandicard:hover {
  transform: scale(2);
  z-index: 1;
  border: 3px solid #ddd;
}

.st-commons-grid-view .expandicard a {
  color: #002d72
}

.more-info-toggle {
  display: none !important;
}

.expandicard:focus .more-info-toggle,
.expandicard:hover .more-info-toggle {
  display: block !important;
}

.st-commons-grid-view .views-field-field-story-submitter,
.st-commons-grid-view .views-field-field-story-submitter .field-content,
.st-commons-grid-view .views-field-field-story-submitter .expandicard {
  height: 100%;
}

.st-commons-grid-view .expandicard:focus,
.st-commons-grid-view .expandicard:hover {
  transform: scale(1.1);
  z-index: 1;
  position: absolute;
  width: 120%;
  left: -10%;
  background: #ffed50;
  border: 3px solid #ddd;
  height: auto;
}

.st-commons-grid-view .expandicard:focus img,
.st-commons-grid-view .expandicard:hover img {
  width: 100%;
}

.expandicard .card-title {
  padding: 7px;
  text-align: center;
  height: 55px;
  font-size: 1.1em;
}

.st-grid-meta {
  min-height: 250px;
}

.audiofield-player label {
  display: none;
}


/* Storytime Commons Entry Pages */

.block-field-blocknodecatalog-entrytitle {
  font-size: 2.5rem;
}

.block-field-blocknodecatalog-entrybody .content {
  padding: 30px 30px 15px 0;
}

.block-field-blocknodecatalog-entryfield-story-submitter h2 {
  font-size: 1em;
  font-weight: bold;
}

.block-field-blocknodecatalog-entryfield-audio-preview,
.block-field-blocknodecatalog-entryfield-audio-preview a.btn-lg {
  font-size: 1.25em;
}

.block-field-blocknodecatalog-entryfield-audio-preview a.btn-lg .fa-2x {
  font-size: 1.25em;
}

.field--name-field-audio-preview-url .field__label {
  display: inline-block;
  width: 110px;
  margin: 0;
  vertical-align: top;
  padding: 3px 10px 0px 15px;
  background: #FFDD00;
  height: 54px;
}

.field--name-field-audio-preview-url .field__item {
  display: inline-block;
  margin-left: -27px;
}

.views-field-field-audio-preview-url {
  display: none;
}

.node--type-catalog-entry .field__label {
  font-weight: bold;
  margin: 20px 0 0px 0;
}

.node--type-catalog-entry .field--name-field-audio-preview-url .field__label {
  margin-top: 0;
}

.field--name-field-catalog-entry-tags .field__item {
  display: inline-block;
}

.field--name-field-catalog-entry-tags .field__item:after {
  content: ", ";
}

.field--name-field-catalog-entry-tags .field__item:last-child:after {
  content: "";
}

/* Storytime Commons Table Page */

.view-id-storytime_commons.view-display-id-page_1 .view-header {
  width: 63%;
  margin: 5px 5% 20px 0;
  display: inline-block;
}

.view-id-storytime_commons.view-display-id-page_1 .view-filters {
  display: inline-block;
  width: 31%;
}

.view-id-storytime_commons.view-display-id-page_1 .view-filters form {
  margin-top: -40px;
}

.view-display-id-page_2 .audiofield {
  display: inline-block;
}

.st-table-more-info {
  margin-top: -40px;
}

/* Features List */

.features-list p {
  margin: 1.5rem 0;
}

.features-list.with-icon p {
  margin-left: 2.5em;
}

.features-list.with-icon p .leading-icon {
  margin-left: -2.3em;
}

.leading-icon {
  display: inline-block;
  width: 32px;
  text-align: center;
}

.card-img-wrapper img {
  width: 100%;
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
}


/* Web Forms */

.block-webform-block h2 {
  font-size: 1.5945rem;
  font-weight: bold;
}

.page-node-2 .block-webform-block h2 {
  font-size: 1.32875rem;
}

.webform-required {
  text-align: right;
}

#edit-required-indicator p {
  color: #c25131;
}

.webform-required .form-required::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f069";
  color: #f783ac;
  display: inline-block;
  margin-right: 10px;
}

.form-group .form-required::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f069";
  color: #f783ac;
  display: inline-block;
  margin-left: 10px;
  background-image: none;
  font-size: .8em;
}

.required_indicator i {
  font-weight: 900;
  color: #f783ac;
}

/* Misc Layout */

.block-layout-builder>h2 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 1em;
}

.block-layout-builder>h2.card-header {
  margin-top: 0;
}

.card-header .btn-link {
  font-weight: 700;
  font-size: 1.32875rem;
}

.lc-card {
  background: #c25131;
}

.fa-ul>li {
  position: relative;
  margin: 15px 0 20px 0;
  align-items: center;
  display: inline-flex;
}

.fa-ul>li a {
  display: inline-flex;
  align-items: center;
}

.fa-li {
  left: -3.25em;
  position: absolute;
  text-align: center;
  width: 3.25em;
  line-height: inherit;
}

/* Demo pages and blocks */

#views-bootstrap-demos-list-block-1-collapse-0 {
  min-height: 362px;
}

.page-node-7 figcaption {
  background: #c25131;
  padding: 10px 20px;
  width: 265px;
  display: inline-block;
  color: #fff;
  top: -72px;
  position: relative;
  font-weight: bold;
  text-align: center;
  font-size: 1.5rem
}

.page-node-3 .card-body ul {
  padding-left: 20px;
}

.view-demos-list .card .card-header {
  border-radius: 0;
}

.block-views-blockstorytime-commons-block-1 h5.card-title {
  margin-bottom: 0;
  margin-top: 1px;
  line-height: 32px;
}

.block-views-blockstorytime-commons-block-1 h5.card-title a {
  display: block;
  padding: 0.5rem 1.1rem;
}

.view-demos-list .card:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

#views-bootstrap-demos-list-block-1 .card .cta-image {
  max-width: 250px;
}

.view-demos-list .card .cta-image {
  max-width: 225px;
  margin-right: -1.25rem;
  margin-top: -1.25rem;
}

#views-bootstrap-demos-list-block-1 .card-footer,
.block-views-blockdemos-list-block-2 .card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: none;
}

#block-librarycall2021-main-menu a {
  font-size: 1.1rem;
}

.dropdown-item {
  padding: 15px 25px;
}

#block-actions .btn-light {
  background-color: #fed500;
  border-color: #fed500;
  color: #002d72;
  font-size: 1.75rem;
}

.toc-js.sticky.is-sticked ul[role=menubar] {
  max-width: 350px;
}

.toc-js ul[role=menubar] {
  max-width: 350px;
  border: 1px solid #ddd;
  padding: 30px 20px;
}

.toc-js ul[role=menubar] li {
  list-style: none;
  padding: 10px;
}

.toc-js ul[role=menubar] li.toc-h2 {
  background: #c25131;
  font-weight: 700;
  margin-bottom: 10px;
}

.toc-js ul[role=menubar] li.toc-h3 {
  margin: 0 10px 10px
}

.toc-js .toc-active {
  background: #4582ec
}

.toc-js .toc-active a {
  color: #fff;
}

.page-node-487 .field--name-body h2,
.page-node-12 .field--name-body h2 {
  font-size: 1.75rem;
  background: #002d72;
  padding: 20px;
  margin: 50px 0 25px 0;
}

.page-node-487 .field--name-body h2:first-child,
.page-node-12 .field--name-body h2:first-child {
  margin-top: 0;
}

.page-node-12 .field--name-body h2 {
  background: #002d72;
  border-radius: 20px;
  padding: 10px 20px
}

.page-node-487 .field--name-body h3 {
  margin: 35px 20px 15px;
  font-size: 1.4rem
}

.page-node-12 .field--name-body h3 {
  margin: 35px 20px 10px;
  font-size: 1.25rem;
  font-weight: bold;
  color: #c25151;
}

.page-node-487 .field--name-body p {
  margin: 0 20px 20px;
}

.page-node-12 .field--name-body p {
  margin: 0 20px 20px;
}


/* Quotes */

.blockquote-footer {
  color: #002d72;
}

.blockquote-footer.text-align-right::before {
  content: "";
}


/* Sign-Up Forms */

.block-field-blocknodeeventfield-signup-form {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  margin-left: 25px;
}

.block-field-blocknodeeventfield-signup-form .field__label {
  background: #c25131;
  font-size: 18px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.block-field-blocknodeeventfield-signup-form .field__item {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}


/* Features Table */

.features-table-layout {
  height: 100%;
}

.features-table-layout tbody tr:hover {
  color: #fff;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.features-table-layout th,
.features-table-layout td {
  border: 1px solid #fff;
}

.features-table-layout thead th {
  padding: 15px 10px 0;
}

.features-table-layout thead th:hover {
  background: #c25131;
}

.features-table-layout thead th.no-rollover-highlight:hover {
  background: #002d72;
}

.features-table-layout td .btn-primary {
  padding: 2px 5px;
  border-radius: 4px;
}

table tr th a {
  color: #365782;
}

.table-row-noborder td,
.table-row-noborder th {
  background: none;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}

.features-table-layout .table-row-features-header td,
.features-table-layout .table-row-features-header th {
  background: #002d72;
  color: #fff;
  padding: 0;
}

.features-table-layout .table-row-features-header th>h4 {
  font-size: 1.5rem;
  margin: 15px 10px 0;
  line-height: normal;
  font-weight: 500;
  color: #fff;
}

.features-table-layout .table-row-features-header th h5 {
  font-size: 1rem;
  margin: 22px 10px 10px;
  line-height: normal;
  font-weight: 500;
}

.features-table-layout .table-row-features-header th h5 a {
  color: #fff;
  font-weight: 500;
}

.features-table-layout .row-header {
  background: #406DB2;
  color: #fff;
}

.features-table-layout thead>tr {
  border-bottom: none;
}

.features-table-layout thead th {
  vertical-align: bottom;
  border-bottom: none;
}

.features-table-layout .table-row-noborder .row-header h5 {
  color: #002d72;
  padding-top: 15px;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 500;
}

.table-warning,
.table-warning th,
.table-warning td,
.table-warning thead th,
.table-warning tbody+tbody {
  background-color: #F8BD9B;
  color: #002d72;
}

.table-primary,
.table-primary th,
.table-primary td,
.table-primary thead th,
.table-primary tbody+tbody {
  background-color: #ffefa7;
  color: #002d72;
}

.table-success,
.table-success th,
.table-success td,
.table-success thead th,
.table-success tbody+tbody {
  background-color: #c25131;
  color: #fff;
}

.table-info,
.table-info th,
.table-info td,
.table-info thead th,
.table-info tbody+tbody {
  background-color: #B4B8D3;
  color: #002d72;
}

.table-hover .table-info:hover,
.table-hover .table-info:hover>th,
.table-hover .table-info:hover>td,
.table-hover .table-warning:hover,
.table-hover .table-warning:hover>th,
.table-hover .table-warning:hover>td,
.table-hover .table-success:hover,
.table-hover .table-success:hover>th,
.table-hover .table-success:hover>td,
.table-hover .table-primary:hover,
.table-hover .table-primary:hover>th,
.table-hover .table-primary:hover>td {
  background-color: #406DB2;
  color: #fff;
}

.features-table-layout tbody tr.table-row-noborder:hover {
  background: #fff;
  color: #002d72;
}

.table p.table-desc {
  position: relative;
  margin: 0;
  padding: 5px 10px;
  height: 100%;
  width: 100%;
  color: #fff;
  font-weight: normal;
}

.hidden-desc {
  display: none;
}

.table p.table-desc:hover {
  cursor: help;
}

.table p.table-desc:hover+.hidden-desc {
  display: block;
  position: absolute;
  left: 35%;
  color: #002d72;
}

a.btn-info, 
a.btn-info:link, 
.btn-info,
.badge-info, 
a.btn-info:visited  {
  color: #fff;
  background-color: #002d72;
  border-color: #002d72;
}


.badge-info, 
.btn-outline-dark:not(:disabled):not(.disabled):active, 
.btn-outline-dark:not(:disabled):not(.disabled).active, 
.show>.btn-outline-dark.dropdown-toggle, 
a.btn-info:hover, 
a.btn-info:focus, 
.badge-info:hover,
.badge-info a:hover,
.btn-outline-dark:hover {
  color: #fff;
  background-color: #c25131;
  border-color: #c25131;
}  

.badge-info:hover a,
.btn-outline-dark:hover a {
    color: #fff;
}

.block-field-blocknodeeventfield-signup-form .field__label {
  background: #c25131;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.site-footer #block-aboutus a:hover,
.site-footer #block-services a:hover,
.site-footer #block-helpandfaqs a:hover {
  color: #fed500;
}

.site-footer #block-aboutus {
  display: flex;
  width: 100% !important;
  flex-direction: row-reverse;
}

.site-footer #block-services {
  display: flex;
  width: 100% !important;
  justify-content: center;
}

a[href^=tel] {
   text-decoration:inherit;
   color: inherit;
}


/* Media queries */

@media (min-width: 1200px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1340px !important;
  }
}

@media (max-width: 1250px) and (min-width: 1059px) {
  #views-bootstrap-storytime-commons-block-2 h6 {
    height: 65px;
  }
  #header .container,
  #main.container {
    max-width: 1250px;
  }
}
@media (max-width: 1058px) and (min-width: 992px) {
  #views-bootstrap-storytime-commons-block-2 h6 {
    height: 90px;
  }
  #header .container,
  #main.container {
    max-width: 1200px;
  }
}
@media (min-width: 560px) {
  .node .field--type-image {
    float: none;
    margin: 0;
  }
}

@media (max-width: 1010px) {

  #views-bootstrap-demos-list-block-1 .card-footer,
  .block-views-blockdemos-list-block-2 .card-footer {
    position: relative;
    width: auto;
    margin: 10px -20px -20px -20px;
  }

  #views-bootstrap-demos-list-block-1 .card-body .field-content,
  .block-views-blockdemos-list-block-2 .card-body .field-content {
    min-height: 275px;
  }

  .view-demos-list .card .cta-image {
    max-width: 180px;
  }

  #block-emptyblock {
    display: none;
  }
}

@media (max-width: 851px) {
  .site-footer__top .region {
    width: 36%;
    padding: 0 0.65%;
  }
}

@media (max-width: 850px) and (min-width: 560px) {
  .site-footer__top .region:nth-child(2n) {
    padding-left: 0;
  }
}

@media (max-width: 991px) {
  .dropdown-menu {
    display: block;
    float: none;
    border: none
  }
  .navbar-collapse {
    border-top: 0;
    flex-basis: auto;
  }
  .navbar-collapse .navbar-nav {
    margin-right: 0;
    margin-left: 0;
  }
  .navbar-collapse [class*="container"] {
    background-color: inherit;
    border-color: inherit;
  }
  .navbar-collapse .navigation {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    width: 240px;
    height: 100%;
    margin: 0;
    overflow: auto;
    background-color: white;
    border-right: 1px solid;
    border-right-color: inherit;
    padding-left: 1rem;
  }
  .bg-dark .navbar-collapse .navigation {
    background-color: #17141f !important;
  }
  .navbar-collapse .navigation .navbar-nav .dropdown-menu li a {
    width: 100%;
    white-space: normal;
  }
  .navbar-collapse .navbar-form {
    width: 100%;
    margin: 8px 0;
    overflow: hidden;
    text-align: center;
  }
  #views-bootstrap-storytime-commons-block-2 h6 {
    height: auto;
  }
  .view-display-id-block_2 .views-field-field-story-image {
    margin-bottom: 25px;
  }
  #header .container,
  #main.container {
    max-width: 990px;
  }
  #header .navbar .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
  }
  #header .navbar-brand {
    width: 100%;
  }
  #header .navbar-brand img {
    max-height: 130px;
  }
}

@media screen and (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    margin-left: .5rem;
    margin-right: .5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #navbar-main .navbar-nav {
    flex-wrap: nowrap;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 995px) {
  #views-bootstrap-demos-list-block-1 .card img {
    display: none;
  }
}

@media (max-width: 767px) {
  .card {
    margin-bottom:15px;
    height: auto !important;
  }
  #svcs-first-row.pb-5 {
    padding-bottom: 0 !important;
  }
  .content img {
    width: 100%;
  }
}

@media screen and (max-width: 474px) {
  a.navbar-brand {
    max-width: 295px;
  }

  #header .navbar .container {
    flex-wrap: nowrap;
    align-items: center;
  }

  body.page-node-571 {
    width: fit-content;
  }

  .demo-cta-card {
    text-align: left;
  }
  .view-id-storytime_commons.view-display-id-page_1 .view-header,
  .view-id-storytime_commons.view-display-id-page_1 .view-filters {
    width: 100%;
  }

  .view-id-storytime_commons.view-display-id-page_1 .view-filters .form-row {
    justify-content: space-evenly;
    flex-wrap: nowrap;
  }
  .page-node-7 .caption {
    display: flex;
    flex-direction: column;
    margin-bottom: -34px;
  }
  .view-id-storytime_commons.view-display-id-page_1 .view-filters form {
    margin-top: 0;
  }
  .table p.table-desc:hover+.hidden-desc {
    left: 5%;
    width: 375px;
  }
  .site-footer .block {
    margin: 0;
  }

  .site-footer .menu-item--expanded {
    margin-top: .5rem;
  }

  .site-footer #block-actions {
    margin-top: 10px;
  }

  .site-footer .block .nav-link {
    padding: .35rem .75rem;
  }

  .site-footer #block-aboutus {
    flex-direction: row;
  }

  .site-footer #block-services {
    justify-content: normal;
  }

  .site-footer__top .region {
    width: 100%;
  }

  .page-node-10 .node__content .lc-card {
    margin: .25rem 0 1.25rem !important;
  }

  .page-node-10 .node__content .lc-card h4 span {
    display: inline-block;
  }
}

@media screen and (max-width: 375px) {
  a.navbar-brand {
    max-width: 260px;
  }
}
