main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

/* Poppins as the global font (loaded via common\assets\PoppinsAsset) */
:root {
    --bs-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--bs-body-font-family);
}

/* UiDefaults: BS5 cells paint their own background, so a row-level
   bg-dark is invisible; set the table vars on the cells instead */
tr.th-dark > th {
    --bs-table-bg: #212529;
    --bs-table-color: #fff;
    color: #fff;
}

/* 100vw-based full-bleed elements (hero) include scrollbar width; clip the excess */
body {
    overflow-x: clip;
}

/* ExtendedNavBar renders external items before the collapse block in the DOM;
   reorder flex children so the menu sits next to the brand and LANG/CART go right */
.navbar > .container > .navbar-collapse {
    order: 1;
}
.navbar > .container > .navbar-external {
    order: 2;
}
.navbar > .container > .navbar-toggler {
    order: 3;
}

/* Product list view mode */
.product-list-mode > .product-item-col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
}
.product-list-mode .card {
    flex-direction: row;
}
.product-list-mode .card > a:first-child {
    flex: 0 0 220px;
    max-width: 220px;
}
.product-list-mode .card > a:first-child .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--bs-card-border-radius) 0 0 var(--bs-card-border-radius);
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* Hero section */
.hero-section {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    min-height: 70vh;
    margin-top: -70px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

.card-img-placeholder {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #adb5bd;
    font-size: 2.5rem;
    font-weight: 700;
}