.footerDiv {
    height: 4rem;
}

#componentsNav, #jumpToNav {
    height: calc(100vh - (4rem + 16px)) !important;
    top: calc(3rem + 16px) !important;
}

.alist-scroll-to-top {
    bottom: 4.5rem !important;
    margin-bottom: env(safe-area-inset-bottom);
}

.navbar.fixed-top {
    z-index: 1050; /* override default of 1031 */
}

.glightbox-open {
     overflow: initial;  /* https://github.com/biati-digital/glightbox/issues/22#issuecomment-2175380060 */ 
}

.sticky-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

footer.sticky-bottom {
    flex-shrink: 0;
    background-color: var(--si-body-bg);
    z-index: 1050;
}

img.feed-cover {
    width: min(612px, 100%);
    aspect-ratio: 612 / 640;
    object-fit: cover;
}

img.profile-cover {
    aspect-ratio: 612 / 640;
    object-fit: cover;
}

/* jquery.validate */

form label.error, label.error {
  margin-top: 0.5rem;
	color: red;
	font-style: italic
}

form label.error:empty, form label.error:empty:before, form label.error:empty:after {
  display: none;
}

[data-tc-dropdown-container="true"] {
  z-index: 2500 !important;
}

.center-line-text {
   width: 100%;
   text-align: center;
   border-bottom: 1px solid var(--si-body-color);
   line-height: 0.1em;
   margin: 10px 0 20px;
}

.center-line-text span {
    background: var(--si-body-bg);
    padding:0 10px;
}
