/* Fashionactive — kabal (kb-*) custom styles */

:root {
    --bs-body-bg: #e8e8de;
}

html,
body {
    background-color: #e8e8de;
}

html:lang(zh) body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

.kb-tile { text-align: center; }
.kb-fram { border: 1px solid #222; display: inline-block; }
.kb-fram img { width: 100px; height: 150px; object-fit: cover; display: block; }
.kb-hero { background: #333; color: #fff; padding: 1rem; border-radius: .25rem; }
.kb-hero .text-muted { color: #aaa !important; }
.kb-lbl { font-weight: 600; margin: 1rem 0 .5rem; font-size: 1rem; }
.kb-cap { font-size: .875rem; color: #333; margin-top: .25rem; }
.kb-grid img { max-width: 100%; height: auto; }

.kb-tab { font-weight: bold; padding: 4px 8px; }
.kb-igrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}
.kb-igrid img { max-width: 100%; height: auto; }

table.kb-dgrid {
    border-collapse: collapse;
    width: 100%;
    max-width: 380px;
    font-size: 12px;
}
table.kb-dgrid tr:nth-child(even) { background: #fafafa; }
table.kb-dgrid tr:nth-child(odd) { background: #f5f5f5; }
table.kb-dgrid td { padding: 2px 4px; }
table.kb-dgrid a { color: #333; text-decoration: none; }
table.kb-dgrid a:hover { text-decoration: underline; }

table.kb-find-grid {
    max-width: 500px;
}
table.kb-find-grid th {
    padding: 2px 4px;
    font-size: 12px;
}

.kb-designers-list {
    border-collapse: collapse;
    font-size: 11px;
    color: #666;
}
.kb-designers-col {
    padding-left: 10px;
    vertical-align: top;
}
.kb-designers-col:first-child {
    padding-left: 0;
}
.kb-designers-link {
    color: #003366;
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
}
.kb-designers-link:hover {
    text-decoration: underline;
    color: #4682b4;
}

.kb-toc { font-size: .875rem; color: #666; }

.kb-itemview-grid { max-width: 1800px; }
.kb-itemview-cell { padding: 4px; }

.kb-fram {
    border: 2px solid #000;
    display: inline-block;
    box-shadow: 2px 5px 10px #666;
    margin: 2px;
    cursor: pointer;
}
.kb-fram img {
    display: block;
    width: 120px;
    height: 180px;
    object-fit: cover;
}
.kb-fram-h img {
    width: 180px;
    height: 120px;
}
.kb-fram-default { border-color: #000; background-color: #000; }
.kb-fram-selected { border-color: #006600; background-color: #006600; }
.kb-fram-purchased { border-color: #cc0033; background-color: #cc0033; }

.kb-legend {
    width: 10px;
    height: 14px;
    padding: 0;
}
.kb-legend-default { background-color: #000; }
.kb-legend-selected { background-color: #006600; }
.kb-legend-purchased { background-color: #cc0033; }

.kb-oos-overlay {
    min-height: 280px;
    background: rgba(255, 255, 255, 0.92);
}
.kb-oos-panel {
    max-width: 500px;
    background-color: #f0f0cc;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.kb-imageview-sidebar { max-width: 280px; }

.kb-imageview-fram {
    border: 4px solid #000;
    display: inline-block;
    box-shadow: 2px 5px 10px #666;
    margin: 2px;
    cursor: pointer;
}
.kb-imageview-fram.kb-fram-default { border-color: #000; background-color: #000; }
.kb-imageview-fram.kb-fram-selected { border-color: #006600; background-color: #006600; }
.kb-imageview-fram.kb-fram-purchased { border-color: #cc0033; background-color: #cc0033; }

.kb-imageview-fram.kb-imageview-v img {
    display: block;
    width: 500px;
    height: 753px;
    object-fit: contain;
}
.kb-imageview-fram.kb-imageview-h img {
    display: block;
    width: 753px;
    height: 500px;
    object-fit: contain;
}

/* Legacy header and breadcrumb */
.fa-site-width,
.fa-layout-main {
    width: 100%;
    max-width: 1366px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.fa-header {
    opacity: 0.95;
    background: linear-gradient(to bottom, rgba(201, 108, 108, 1) 0%, rgba(155, 0, 0, 1) 100%);
}

.fa-header-inner {
    padding: 20px 0;
}

.fa-header-brand {
    float: left;
}

.fa-header-logo-link {
    text-decoration: none;
}

.fa-header-logo-link h1 {
    font-family: league-gothic, sans-serif;
    font-size: 26px;
    margin: -1px 10px 0 0;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1em;
    float: left;
}

.fa-header .Home {
    color: #ffffff;
    text-shadow: none;
    text-transform: uppercase;
    font-family: league-gothic, sans-serif;
    margin: 0;
    font-size: 26px;
    line-height: 1.1em;
    font-weight: normal;
    clear: both;
}

.fa-header-tagline {
    color: #ffffff;
    font-size: 14px;
    max-width: 830px;
    clear: both;
}

html:lang(zh) .fa-header-tagline {
    font-size: 15px;
    max-width: 790px;
}

.Banner {
    padding: 2px 6px 2px 0;
    width: auto;
    background-color: #666666;
    color: #ebebeb;
    font-size: 11px;
}

.A4 {
    font-family: league-gothic, sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    text-decoration: none;
}

.A4:hover {
    text-decoration: underline;
    color: #ffffff;
}

.LinkSmallWhite {
    font-size: 12px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-weight: normal;
    line-height: 15px;
    text-decoration: none;
}

.LinkSmallWhite:hover {
    text-decoration: underline;
    color: #ffffff;
}

.LinkLargeWhite {
    font-size: 14px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-weight: normal;
    text-decoration: none;
}

.LinkLargeWhite:hover {
    text-decoration: underline;
    color: #ffffff;
}

.LinkLarge {
    font-size: 12px;
    color: #003366;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

#ItemList td {
    padding: 5px;
    text-align: center;
    vertical-align: top;
    width: 120px;
    border-style: solid;
    border-width: 1px;
    border-color: #666666;
}

#ItemList a {
    font-size: 12px;
    color: #003366;
    font-family: Arial, sans-serif;
    font-weight: normal;
}

.breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: inline;
    margin: 0;
}

.breadcrumb li + li:before {
    content: " >>  ";
    font-size: 16px;
    color: #ffffff;
}

.fa-breadcrumb-home {
    margin: -2px 0 0;
    vertical-align: middle;
}

#navbar {
    overflow: hidden;
    background-color: #666666;
    width: 100%;
    z-index: 1000;
}

#navbar .Banner,
#navbar .fa-navbar-inner {
    margin-left: 0;
    background-color: transparent;
}

#navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    padding-top: 0;
    margin-bottom: 30px;
}

.hideheader {
    display: none;
}

#navspace.navspace {
    display: block;
    height: 40px;
}

.fa-navbar-main {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.fa-navbar-breadcrumb {
    float: left;
    margin-right: 40px;
    flex: 1 1 auto;
    min-width: 0;
}

.fa-navbar-tools {
    text-align: right;
    white-space: nowrap;
    flex: 0 0 auto;
}

.fa-navbar-divider {
    color: #999999;
}

.fa-navbar-lang {
    padding-left: 10px;
}

.fa-navbar-toggle {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    padding: 8px;
    margin: 0;
    cursor: pointer;
    line-height: 0;
}

.fa-navbar-toggle-icon {
    display: inline-block;
    width: 22px;
    height: 16px;
    position: relative;
}

.fa-navbar-toggle-icon::before,
.fa-navbar-toggle-icon::after,
.fa-navbar-toggle-icon {
    background: transparent;
}

.fa-navbar-toggle-icon::before,
.fa-navbar-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #ffffff;
}

.fa-navbar-toggle-icon::before {
    top: 0;
    box-shadow: 0 7px 0 #ffffff;
}

.fa-navbar-toggle-icon::after {
    bottom: 0;
}

.fa-navbar-tools-mobile .nav-link {
    color: #ffffff;
    padding: 0.75rem 0;
    font-size: 14px;
}

.fa-navbar-tools-mobile .nav-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .fa-navbar-main {
        min-height: 44px;
        height: auto;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .fa-navbar-breadcrumb {
        margin-right: 8px;
        overflow: hidden;
    }
}
