/* Ein Umlaut wie ä nötig für UTF-8 ohne BOM */

:root {
    /* Colors */
    --color-henrys: #807040; /*#CCB173;*/
    --color-henrys-rgb: 204, 177, 115;
    --color-black: #0D1321;
    --color-black-rgb: 13, 19, 33;
    --color-gray-dark: #344458; /*#546478;*/
    --color-gray-dark-rgb: 84, 100, 120;
    --color-gray: #DBE0E6;
    --color-gray-light: #F3F5F7;
    --color-red: #BD1E1E;
    --color-red-rgb: 189, 30, 30;
    --color-blue: #49598B;
    --color-blue-rgb: 73, 89, 139;
    --color-green: #008b1b;
    --color-white: #ffffff;

    /* Shadows */
    --shadow-color: 0deg 0% 0%;
    --shadow-md:
        0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.11),
        0.8px 1.6px 2px -0.8px hsl(var(--shadow-color) / 0.11),
        2.1px 4.1px 5.2px -1.7px hsl(var(--shadow-color) / 0.11),
        5px 10px 12.6px -2.5px hsl(var(--shadow-color) / 0.11);
    --shadow-lg:
        0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.1),
        1.5px 2.9px 3.7px -0.4px hsl(var(--shadow-color) / 0.1),
        2.7px 5.4px 6.8px -0.7px hsl(var(--shadow-color) / 0.1),
        4.5px 8.9px 11.2px -1.1px hsl(var(--shadow-color) / 0.1),
        7.1px 14.3px 18px -1.4px hsl(var(--shadow-color) / 0.1),
        11.2px 22.3px 28.1px -1.8px hsl(var(--shadow-color) / 0.1),
        17px 33.9px 42.7px -2.1px hsl(var(--shadow-color) / 0.1),
        25px 50px 62.9px -2.5px hsl(var(--shadow-color) / 0.1);
}

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('Fonts/inter-v18-latin-300.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('Fonts/inter-v18-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('Fonts/inter-v18-latin-500.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('Fonts/inter-v18-latin-600.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('Fonts/inter-v18-latin-700.woff2') format('woff2');
}

* {
    box-sizing: border-box;
}

html, body {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    line-height: 1.5;
    /* background: var(--color-gray); */
    margin: 0;
}

/* ========================================================================== */
header {
  position: relative;
  padding-bottom: 1rem;
  height: 140px;
}

header #HeaderLogo {
    position: relative;
    width: 210px;
    margin-left: 50%;
    transform: translate(-124px, 0px);
    text-align: center;
}

header #HeaderLogo img {
  width: 248px;
  height: 130px;
}

@media (max-width: 1600px) {
  header #HeaderLogo img {
    width: 229px;
    height: 120px;
  }
}

/* Meta Menu */
#HeaderTop {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

#HeaderTopLeft {
    display: flex;
    padding-bottom: 3rem;
    gap: .5rem;
    max-width: 300px;
}

#HeaderTopRight ul {
    display: flex;
    justify-content: center;
    margin: 1rem 0 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

#HeaderTopRight ul li {
    margin: 0;
}

#HeaderTopRight ul li a {
    color: var(--color-henrys);
    font-weight: 500;
    display: inline-block;
    padding: .25rem .5rem;
    border-radius: .25rem;
    margin-right: 1px;
}

#HeaderTopRight ul li a:hover {
    color: var(--color-white);
    text-decoration: none;
    background-color: var(--color-henrys);
}

#HeaderTopRight ul li button {
    color: var(--color-henrys);
    background: transparent;
    border: none;
    font-weight: 500;
    display: inline-block;
    padding: .45rem .5rem;
    border-radius: .25rem;
    margin-right: 1px;
}

#HeaderTopRight ul li button:hover {
    color: var(--color-white);
    text-decoration: none;
    background-color: var(--color-henrys);
}

#HeaderTopRight ul li #LoginError a,
#HeaderTopRight ul li .LoginSpanLoggedOut a {
    padding: .25rem 1rem;
    border-radius: 2rem;
    transition: all 120ms ease-in;
    margin-left: 5px;
}

#HeaderTopRight ul li #LoginError a {
    color: var(--color-red);
    background: rgba(var(--color-red-rgb),.3);
}

#HeaderTopRight ul li #LoginError a:hover {
    color: var(--color-white);
    background: rgba(var(--color-red-rgb),1);
}

#HeaderTopRight ul li #LoginSpanLoggedIn {
    display: inline-block;
    padding: .25rem .5rem;
    color: var(--color-white);
    background-color: var(--color-green);
    font-weight: 500;
    border-radius: .25rem;
}

#HeaderTopRight ul li .LoginSpanLoggedOut a {
    background: var(--color-black);
    color: var(--color-white);
}

#HeaderTopRight ul li .LoginSpanLoggedOut a:hover {
    background: var(--color-henrys);
    color: var(--color-white);
}

#HeaderTopRight #LoginDiv {
    display: none;
    width: 320px;
    font-size: .85rem;
    position: absolute;
    right: 0;
    z-index: 100;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-radius: 1rem;
    margin: 0 1rem;
    backdrop-filter: blur(7px);
    background-color: rgba(255, 255, 255, 0.9);
}

#HeaderTopRight #LoginDiv input[type="button"] {
    display: block;
    width: 100%;
}

/* Main Menu */
.HeaderBottom {
    display: flex;
    visibility: hidden;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;

}

#InstagramImg {
    height: 21px;
}

#PageWrapper {
    background: var(--color-white);
    padding: 2rem 0;
    margin: 0 1rem;
}

.MrktText {
    background-color: navy;
    color: lime;
}

/* --------------------------------------------------- */
#MainMenu {
    width: 100%;
}

#MainMenu a {
    padding: .5rem .75rem;
    display: inline-block;
}

#MainMenu a:hover {
    text-decoration: none;
}

#MainMenu span {
    font-size: .85em;
    display: block;
    padding: .75rem;
    font-weight: 700;
}

#MainMenu ul {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-direction: column;
}

#MainMenu ul ul {
    position: absolute;
    display: flex;
    flex-direction: column;
    opacity: 0;
    height: 0;
    transition: all 120ms ease-in;
    background: var(--color-henrys);
    box-shadow: none;
    overflow: hidden;
    z-index: 100;
    color: black;
}

#MainMenu ul li {
    margin: 0 0 .25rem 0;
    overflow: hidden;
}

#MainMenu ul ul li {
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}

#MainMenu ul ul li:last-child {
    padding-bottom: 0;
}

#MainMenu > ul > li > a {
    font-weight: 700;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: .5rem;
    transition: all 120ms ease-in;
    display: block;
}

#MainMenu > ul > li > a:hover,
#MainMenu > ul > li:hover > a {
    background-color: var(--color-henrys);
    border-radius: .5rem .5rem 0 0;
}

@media (min-width: 768px) {
    #MainMenu > ul > li:hover ul {
        opacity: 1;
        height: auto;
        box-shadow: var(--shadow-lg);
    }
}

/* --- Dropdown bei Klick (per Klasse .open) --- */
#MainMenu > ul > li.open ul {
    opacity: 1;
    height: auto;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

/* --- Kleine Formatierung für den Toggle-Button --- */
.MainMenuSubMenuToggle {
  background-color: black;
  border: none;
  color: var(--color-white);
  font-size: 0.8rem;
  margin-right: 0.2rem;
  cursor: pointer;
  display: none;
}

/* Smartphone-Modus aktiv? */
@media (max-width: 768px) {
  .MainMenuSubMenuToggle {
    display: inline;
  }
}

#MainMenu > ul ul a {
    font-size: .85em;
    /*opacity: .6;*/
    transition: all 120ms ease-in;
    margin-top: 1px;
    color: white;
}

#MainMenu > ul ul a:hover {
    font-size: .85em;
    background-color: rgba(255,255,255,0.1);
    color: var(--color-black);
    transition: all 120ms ease-in;
    margin-top: 1px;
    opacity: 1;
}

@media (max-width: 768px) {
  #MainMenu > ul > li {
    display: flex;
  }
  #MainMenu > ul > li > a {
    flex: 1;
  }
}

/* Search ------------------------------------------------------ */
#SearchDiv {
    color: var(--color-gray-dark);
    display: none;
}

#SearchDiv .SearchDivWrapper {
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 1rem;
    margin: 1rem 0;
}

#SearchDiv .SearchCatNumber,
#SearchDiv .SearchRegSearch {
    display: flex;
    font-size: .85rem;
    align-items: center;
}

#SearchDiv .SearchCatNumber > span {
    display: flex;
    align-items: center;
}

#SearchDiv .SearchCatNumber img {
    display: block;
    width: 24px;
    height: auto;
    margin: 0 4px;
}

#SearchDiv .SearchCatNumber input,
#SearchDiv .SearchRegSearch input {
    width: auto;
    font-size: 13px;
    padding: .125rem .25rem;
    margin: 0 2px;
}

#SearchDiv .SearchCatNumber .SearchEnter {
    cursor: pointer;
}

#SearchDiv .SearchCatNumber .SearchEnter:hover {
    opacity: .7;
}

#SearchDiv .SearchRegSearch img {
    display: block;
    width: 18px;
    height: auto;
    margin: 0 4px;
}

#SearchDiv .SearchRegSearch img:hover {
    opacity: .7;
}

#SearchDiv #SearchDivOptions {
    position: relative;
    display: none;
}

#SearchDiv #SearchDivOptions {
    position: absolute;
    right: 0;
    display: none;
    width: 320px;
    font-size: .85rem;
    z-index: 100;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-radius: 1rem;
    margin: 0 1rem;
    backdrop-filter: blur(7px);
    background-color: rgba(255, 255, 255, 0.9);
}

#SearchDiv #SearchDivOptions .SearchOptionGroup.flex {
    display: flex;
    align-items: center;
}

#SearchDiv #SearchDivOptions .SearchOptionGroup.flex span {
    white-space: nowrap;
}

/* ------------------------------------------- */
#LanguageDiv {
    text-align: left;
    margin-bottom: 10px;
}

#LanguageDiv + #IFrame {
    margin-top: -9px;
}

#LanguageDiv a {
    display: inline-block;
    background: #f3f5f7;
    border: 1px solid #dbe0e6;
    border-bottom: 0;
    padding: .5rem .75rem;
    color: #546578;
    font-size: .85rem;
    font-weight: 400;
    border-radius: .5rem .5rem 0 0;
    vertical-align: bottom;
    cursor: pointer;
}

#LanguageDiv a:hover {
    color: #0d1321;
    background: var(--color-white);
    text-decoration: none;
}

#LanguageDiv img {
    height: 12px;
    width: auto;
    margin-right: .25rem;
}

#MainBreadCrumb {
    padding: .25rem .5rem;
    background: var(--color-gray-light);
    font-size: .55rem;
    color: rgba(var(--color-gray-dark-rgb), 1);
    margin-bottom: 1rem;
    border-radius: 2rem;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

#MainBreadCrumb ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#MainBreadCrumb ul li {
    display: inline;
    padding: .25rem 0;
}

#MainBreadCrumb ul li a {
    font-weight: 600;
    color: var(--color-gray-dark);
    display: inline-block;
}

#MainBreadCrumb li:after {
    /*content: '›';*/
    content: '>';
    display: inline-block;
    font-size: 1.2em;
    margin-left: .5rem;
}

#MainBreadCrumb li:last-child:after {
    content: '';
}

.ArchiveGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--color-gray-light);
    padding: 1rem;
    border-radius: 0 0 1.75rem 1.75rem;
    border: 1px solid var(--color-gray);
}

.ArchiveGridBox {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.ArchiveGridBox table {
    width: 100%;
    border-collapse: collapse;
    margin: auto;
}
.ArchiveGridBox table.ArchiveGridBoxData {
    width: 90%;
    font-size: .95rem;
}

.ArchiveGridBoxImg a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 320px;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--color-gray);
}
img.ArchiveGridBoxImgImg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    box-shadow: var(--shadow-md);
}

td.NameCol.BorderBottom {}

td.ResultCol,
td.ResultCol {
    font-weight: 700;
}

div#BodyMain {
    display: flex;
    padding: 0 1rem;
}

div#DepartmentNavigation {

}

#DepartmentNavigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#DepartmentNavigation ul li {
    margin: 0;
    padding: 0;
}
#DepartmentNavigation ul li a {
    display: block;
    margin: 0;
    padding: 5px;
    text-decoration: none;
    background: #fff;
    display: block;
    padding:  .5rem 1rem;
    font-size: .95rem;
    color: var(--color-gray-dark);
    border-bottom: 1px solid #DBE0E6;
}
#DepartmentNavigation > ul > li > a {
    font-weight: 700;
    text-transform: uppercase;
}
#DepartmentNavigation ul li a:hover {
    text-decoration: none;
    background: var(--color-gray-light);
}
#DepartmentNavigation ul li a.Sel {
    font-weight: 700;
    background: var(--color-gray-light);
}
#DepartmentNavigation ul li li a {
    margin: 0;
    padding: .325rem;
    padding-left: 1.5rem;
    font-weight: 400;
}

ul#BottomSitemap {
    display: inline;
}

div#PageNaviUp {
    display: flex;
    flex-direction: column;
    gap: .5em;
    padding: .5rem 1.5rem;
    background: var(--color-gray-light);
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    border-left: 1px solid var(--color-gray);
    border-right: 1px solid var(--color-gray);
}

div#Filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--color-black);
    color: #fff;
    border-radius: 1rem 1rem 0 0;
    flex-wrap: wrap;
}

ul#BottomSitemap {
    display: flex;
    list-style: none;
    padding: 1rem;
    margin: 0;
}

ul#BottomSitemap .FirstLevel {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 25%;
}

ul#BottomSitemap .FirstLevel > a {
    display: block;
    border-bottom: 1px solid var(--color-gray);
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}
ul#BottomSitemap .FirstLevel ul {
    list-style: none;
    padding: 0;
    margin: .5rem 0 0 0;
}

div#BodyMainLeft {
    width: 250px;
    max-width: 250px;
    flex: 1 0 auto;
}

main#BodyMainRight {
    margin-left: 1rem;
}

div#FilterTitle {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    flex-basis: 100%;
}

div#PageNaviUpDirect {
    display: flex;
}

footer {
    background: #f4f5f7;
    margin-top: 2rem;
}
footer a {
    color: #000;
    text-decoration: none;
}
div#ArchiveSearchPanel {
    padding: 1rem;
    background: var(--color-gray-light);
    border-radius: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-gray);
}

#BodyMainLeft .ArchiveSearch {
    border-bottom: 1px solid #dbe0e6;
    padding: .5rem 0;
}
#BodyMainLeft .ArchiveSearch:last-child {
    border-bottom: none;
    padding: .5rem 0 0 0;
}
.ArchiveSearch label {
    font-size: 13px;
}
#BodyMainLeft .ArchiveSearch label {
    font-size: .85rem;
    font-weight: 400;
}
#BodyMainLeft .ArchiveSearch label.small {
    font-size: 12px;
    font-weight: 400;
}
#BodyMainLeft .SearchField {
    display: flex;
}
#BodyMainLeft .SearchField input#SearchAucNo {
    max-width: 20%;
}

#BodyMainLeft .SearchField input.SearchText.SearchCatNo {
    max-width: 50%;
    margin-left: 4px;
}

#BodyMainLeft #SearchTextInput{
  max-width: 70%;
}

#BodyMainLeft .SearchFieldTxt {
  -vertical-align: middle;
}

#BodyMainLeft #SearchTextImg {
    vertical-align: -6px;
}

#BodyMainLeft .ArchiveResultList a {
    display: block;
    background: var(--color-black);
    padding: 1rem;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0 0 1rem 1rem;
}
#BodyMainLeft .ArchiveResultList a:hover {
    background: var(--color-henrys);
}

label {}

td.TextCol a {
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: var(--color-black);
    margin-top: 1rem;
    display: block;
}
table.ArchiveGridBoxData tr td {
    border-bottom: 1px solid var(--color-gray-light);
    padding: 5px 0;
}
table.ArchiveGridBoxData tr td:nth-child(even) {
    text-align: right;
}
table.ArchiveGridBoxData tr:last-child td {
    border-bottom: none;
    padding: 5px 0 0 0;
}

div#PageNaviUpPager a,
div#PageNaviBottomPager a {
    display: inline-block;
    background: var(--color-black);
    text-decoration: none;
    font-size: .85rem;
    color: #fff;
    padding: .25rem .75rem;
    border-radius: .25em;
    transition: all 120ms ease-in-out;
}
div#PageNaviUpPager a:first-child,
div#PageNaviUpPager a:last-child,
div#PageNaviBottomPager a:first-child,
div#PageNaviBottomPager a:last-child {
    background: transparent;
    color: var(--color-black);
}
div#PageNaviUpPager a.Sel,
div#PageNaviUpPager a:hover,
div#PageNaviBottomPager a.Sel,
div#PageNaviBottomPager a:hover {
    background: var(--color-henrys);
    text-decoration: none;
}
div#PageNaviUpPager a:first-child:hover,
div#PageNaviUpPager a:last-child:hover,
div#PageNaviBottomPager a:first-child:hover,
div#PageNaviBottomPager a:last-child:hover {
    background: transparent;
    color: var(--color-henrys);
}

div#PageNaviBottomPager {
    margin-top: 2rem;
}

#BodyBreadCrumb {
    padding: .25rem .75rem;
    background: var(--color-gray-light);
    font-size: .75rem;
    color: rgba(var(--color-gray-dark-rgb), 1);
    margin: 1rem;
    border-radius: 2rem;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

#BodyBreadCrumb ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#BodyBreadCrumb ul li {
    display: inline;
    padding: .25rem 0;
}

#BodyBreadCrumb ul li a {
    font-weight: 600;
    color: var(--color-gray-dark);
    display: inline-block;
    text-decoration: none;
}

#BodyBreadCrumb li:after {
    content: '>';
    display: inline-block;
    font-size: 1.2em;
    margin-left: .5rem;
}

#BodyBreadCrumb li:last-child:after {
    content: '';
}

@media (min-width: 700px) {

}

@media (min-width: 1024px) {
    #MainBreadCrumb {
        padding: .25rem 1rem;
        font-size: .85rem;
    }
    .ArchiveGridBox {
        flex: 1 1 calc(50% - 1rem);
        box-sizing: border-box;
    }
    div#PageNaviUp {
        flex-direction: row;
        gap: 0;
    }
}

@media (min-width: 1280px) {

}

@media (min-width: 1440px) {

}

@media (min-width: 1600px) {
    html, body {
        font-size: 18px;
    }
    .ArchiveGridBox {
        flex: 1 1 calc(33% - 1rem);
    }
}

@media (min-width: 1920px) {
    .ArchiveGridBox {
        flex: 1 1 calc(25% - 1rem);
        border: 1px solid var(--color-gray);
    }
}

@media (min-width: 2200px) {

}

div#FilterMaxList {
    font-size: .85rem;
}

/* ==================================================== */
table.ArchiveTab {
    width: 100%;
}

table.ArchiveTab th {
    background-color: #d0d0d0;
    text-align: left;
    padding: 5px;
    vertical-align: top;
}

table.ArchiveTab td {
    color: #5d5b59;
    padding: 5px;
}

th span.ArchiveDepartment, th span.ArchivePos, th span.ArchiveResultPrice {
    font-size: 15px;
    color: black;
}

tr span.ArchiveDepartment, tr span.ArchivePos a, tr span.ArchiveResultPrice {
    font-size: 13px;
    color: #645637;
}

tr span.ArchivePos a:hover {
    color: black;
}

.FilterHeadLine span {
    color: #FFD100;
}

.ArchiveOddRow {
    background-color: #ffffff;
}

.ArchiveEvenRow {
    background-color: #f0f0f0;
}

.JSLink {
    cursor: pointer;
}

/* ==========================================================================
   Mobile Navigation (BodyMainLeft)
   ========================================================================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    top: .5rem;
    right: .5rem;
    z-index: 1001;
    padding: 10px;
    background-color: var(--color-black);
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.menu-toggle:hover {
    background-color: var(--color-henrys);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    position: relative;
    background-color: #fff;
    border-radius: 3px;
    transform-origin: center;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

.menu-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------- */
@media (max-width: 1023px) {
    #BodyMainLeft {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85% !important;
        max-width: 320px;
        height: 100vh;
        background-color: #fff;
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        padding: 1rem;
        padding-top: 3.5rem;
    }

    #BodyMainLeft.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active {
        position: fixed;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(4px);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }
}

/* -------------------------------------------------- */
#Alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999999;
}
#AlertDiv {
    background:white;
    color: black;
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid black;
    text-align: left;
    font-family: 'Courier new';
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
#AlertTxt {
    font-size: 16px;
    white-space: pre-wrap;
    text-align:left;
}
#AlertBtn {
    text-align: center;
}

.SearchEnter {
    margin-left: 4px;
}

/* --------------------------------------- */
.JSNoJSInfo {
    background: #ffe9e9;
    color: #900;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #c00;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (min-width: 768px) {
    html, body {
        font-size: 16px;
    }

    .flex {
        display: flex;
    }

    .flex > div {
        flex: 1;
        padding: 1rem;
    }

    #MainMenu ul {
        flex-direction: row;
        justify-content: center;
    }

    #MainMenu ul li {
        flex: 1;
        text-align: center;
        margin: 0 .25rem 0 0;
    }

    #MainMenu > ul > li > a {
        display: block;
    }

    .ListGridCell {
        width: 50%;
        padding: 0 0 2rem 0;
    }

    .ListGridCell:nth-child(odd) {
        padding: 0 2rem 2rem 0;
    }

    .ListGridImg {
        flex: 0 1 auto;
        display: flex;
        overflow: hidden;
        align-items: flex-start;
        justify-content: center;
    }

    .ListGridImg a {
        display: flex;
        flex: 1 1 auto;
    }

    .ListGridImg a img {
        flex: 1 1 auto;
        height: 360px;
        width: auto !important;
        max-width: 100%;
        object-fit: contain;
    }

    .ListTabPos {
        flex-direction: row;
    }

    .ListTabPosImg {
        width: 25%;
        max-width: 250px;
    }

    footer {
        text-align: left;
    }

    .ContentSectionCards.two,
    .ContentSectionCards.three,
    .ContentSectionCards.four {
        flex-direction: row;
    }

    .ContentSectionCards.two .ContentCard {
        flex: 1 1 calc(50% - 2rem);
    }

    .ContentSectionCards.three .ContentCard {
        flex: 1 1 calc(50% - 2rem);
    }

    .ContentSectionCards.four .ContentCard {
        flex: 1 1 calc(50% - 2rem);
    }

    .ContentSectionCards .ContentCard {
        display: flex;
    }

    .ContentSectionCards .ContentCard .CardImage {
        width: 200px;
    }

    .ContentSectionCards .ContentCard .CardImage img {
        height: 100%;
        object-fit: cover;
    }

    .ContentSectionCards .ContentCard .CardBody {
        flex: 1;
    }

    .ContentSectionCards.gallery {
        flex-direction: row;
    }

    .ContentSectionCards.gallery .CardImage {
        width: 100%;
    }

    .ContactPersons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ContactPersons > div {
        flex: 1 1 calc(50% - 1rem);
    }

    .HomeTileDiv .HomeTile {
        flex: 1 1 calc(50% - 1rem);
    }

    .TopResultsPos {
        flex-direction: row;
    }

    .TopResultsPosLeft {
        width: 300px;
    }

    .custom-slider .slide-content h1 {
        font-size: 2rem;
    }

    .custom-slider .slide-content p {
        font-size: 1rem;
    }
}

/* --------------------------------------------- */
@media (max-width: 1023px) {
    #LeftNavi {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-white);
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        padding: 1rem;
        padding-top: 3.5rem;
    }

    #LeftNavi.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active {
        position: fixed;
    }
}

/* --------------------------------------------- */
@media (min-width: 1024px) {

    header #HeaderLogo {
        position: absolute;
    }

    #MetaMenuWrapper {
        flex-direction: row-reverse;
        gap: 0;
        min-height: 130px;
    }

    #HeaderTopRight ul {
        margin: 0;
    }

    .HeaderBottom {
        flex-direction: row;
    }

    #MainMenu {
        width: auto;
    }

    #MainMenu ul li {
        flex: auto;
        text-align: left;
    }

    #SearchDiv .SearchDivWrapper {
        flex-direction: row;
        gap: 0;
        margin: 0;
    }

    #MainBreadCrumb {
        padding: .25rem 1rem;
        font-size: .85rem;
    }

    #MainContentRows {
        display: flex;
    }

    #RightContent {
        flex: auto;
        margin-left: 2rem;
    }

    #LeftNavi {
        min-width: 320px;
        width: 20%;
    }

    .PosInfoWrapper {
        flex-direction: row;
    }

    .PosInfoWrapper #PosThumbs {
        width: 400px;
    }

    .PosInfoWrapper #PosInfo {
        margin-left: 1rem;
        padding: 1rem;
    }

    #PosInfoMenu .OrderByPhone {
        text-align: left;
    }

    .ListHead,
    .PgHead {
        flex-direction: row;
    }

    #ListHeadCtrl,
    .PosPager {
        flex-direction: row;
        padding: .5rem 1.5rem;
    }

    .PosPagerUL {
        margin: 0;
    }

    .PageWrapper {
        width: 960px;
        margin: 0 auto;
    }

    #BottomSitemap.flex {
        flex-direction: row;
    }

    #BottomSitemap > div {
        padding-bottom: 0;
    }

    .FormField.inline {
        gap: 1rem;
        flex-direction: row;
    }

    .FormField.inline label {
        flex: 1 1 12rem;
        max-width: 12rem;
        padding-top: 0;
        text-align: right;
    }

    .newsletter-opt-in .FormField.inline {
        gap: 0;
        flex-direction: column;
        padding-left: 13rem;
        margin-bottom: 1rem;
    }
    .newsletter-opt-in .FormField.inline label {
        width: auto;
        text-align: left;
        flex: 1 1 auto;
    }

    .FormMarkup.inline {
        padding-left: 13rem;
    }
}

/* --------------------------------------------- */
@media (min-width: 1280px) {

    .PageWrapper {
        width: 1200px;
    }

    #MetaMenuWrapper {
        min-height: auto;
    }

    .ListGridCell {
        width: 33%;
        padding: 0 2rem 2rem 0;
    }

    .ContentSectionCards {
        flex-direction: row;
    }

    .ContentSectionCards.two .ContentCard {
        flex: 1 1 calc(50% - 2rem);
    }

    .ContentSectionCards.three .ContentCard {
        flex: 1 1 calc(33.33% - 2rem);
    }

    .ContentSectionCards.four .ContentCard {
        flex: 1 1 calc(25% - 2rem);
    }

    .ContentSectionCards .ContentCard {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .ContentSectionCards .ContentCard .CardImage {
        width: 100%;
    }

    .ContactPersons h3 {
        border-color: transparent;
    }

    .ContactPersons > div {
        flex-direction: row;
        gap: 1.5rem;
        border-radius: 0;
        border-top: 2px solid var(--color-gray);
        box-shadow: none;
    }

    .ContactPersons > div img {
        width: 220px;
    }

    .ContactPersons > div > div {
        flex: 1;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: space-between;
        padding: 0;
    }

    .HomeTileDiv .HomeTile {
        flex: 1 1 calc(25% - 1rem);
    }

    .TopResultsPosLeft {
        width: 500px;
    }
}

/* --------------------------------------------- */
@media (min-width: 1440px) {
    .PageWrapper {
        width: 1500px;
    }
}

/* --------------------------------------------- */
@media (min-width: 1600px) {
    html, body {
        font-size: 18px;
    }
    .PageWrapper {
        width: 1500px;
    }
}

/* --------------------------------------------- */
@media (min-width: 1920px) {
    .PageWrapper {
        width: 90%;
    }

    .ListTabPosImg {
        max-width: 400px;
    }

    .ListGridCell {
        width: 25%;
    }
}

/* --------------------------------------------- */
@media (min-width: 2200px) {
    .ListGridCell {
        width: 20%;
    }
    .ListGridImg a img {
        height: 460px;
    }
}

/* --------------------------------------------- */
@media (max-width: 992px) {
    .custom-slider .slide-content h1 {
        font-size: 2rem;
    }

    .custom-slider .slide-content h2 {
        font-size: 1.3rem;
    }

    .custom-slider .slide-content p {
        font-size: 1rem;
    }
}

/* --------------------------------------------- */
@media (max-width: 768px) {
    .custom-slider .slide-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .custom-slider .slide-content,
    .custom-slider .product-image {
        max-width: 100%;
        margin: 10px 0;
    }

    .custom-slider .product-image {
        order: -1;
        margin-bottom: 20px;
    }

    .custom-slider .slide-content h1 {
        font-size: 1.8rem;
    }

    .custom-slider .pagination {
        bottom: 10px;
    }

    .custom-slider .slide-content {
        padding: 15px;
        margin: 0;
    }

    .custom-slider .slide-content h1 br {
        display: inline;
    }
}

/*
@media (max-width: 480px) {
*/
@media (max-width: 1024px) {
    header {
        height: 220px;
    }

    #HeaderLogo {
        margin-bottom: 20px;
    }

    #HeaderTop {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin: 0;
        padding: 0;
    }

    #HeaderTopLeft {
        margin: 0;
        padding: 0;
        text-align: center;
    }

    #HeaderTopRight {
        margin: 0;
        padding: 0;
    }

    #HeaderTopRight ul {
        margin: 0;
        padding: 0;
        padding-bottom: 10px;
    }

    .custom-slider .slide-content h1 {
        font-size: 1.5rem;
    }

    .custom-slider .slide-content h2 {
        font-size: 1.1rem;
    }

    .custom-slider .slide-background {
        opacity: 0.7 !important;
    }

    .custom-slider .slide-content {
        padding: 12px;
    }

    .custom-slider .pagination {
        bottom: 5px;
    }

    footer {
    }

    #BottomSitemap {
        display: flex;
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    #BottomSitemap li{
        text-align: center;
    }
}
