﻿
html {
    overflow-y: scroll;
}

.leftnav-link {
    padding: 6px 8px;
    border-radius: 4px;
}

.leftnav-link .bi {
    display: inline-block;
    width: 1em;
}

.leftnav-parent {
    color: #000 !important;
    font-weight: 400;
}

.leftnav-child {
    color: #0079af !important;
    font-weight: 400;
    padding-top: 5px;
    padding-bottom: 5px;
}

.leftnav-link:hover {
    background-color: #f2f2f2;
    text-decoration: none;
}

.leftnav-link.is-selected {
    background-color: #e6e6e6;
}
a{color:#0079af;}
a span {
    font-family: verdana,helvetica,arial,sans-serif;
    font-size: 0.9rem;
}

.related-news-container .news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-news-card {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    height: 100%;
}

.news-image-wrapper {
    width: 140px;
    height: 120px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.related-news-title {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    margin-top: 0.25rem;
}

.related-news-title:hover {
    text-decoration: underline;
}

.related-news-container a {
    text-decoration: none;
    color: inherit;
}

@media (min-width: 992px) {
    .related-news-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .news-image-wrapper {
        width: 100%;
        height: 160px;
    }
}

.remove-bg-sm-md {
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .remove-bg-sm-md {
        background-color: transparent;
    }
}

.pricing {
    transition: all 0.3s ease-in-out;
}

    .pricing:hover {
        transform: translateY(-10px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
        border-color: rgba(0, 0, 0, 0.2) !important;
    }

.error-page-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error-icon {
    font-size: 5rem;
    color: #0079af;
    margin-bottom: 1rem;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: #0079af;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.error-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1rem;
    color: #666;
    max-width: 480px;
    margin: 0 auto 2rem;
}

.error-actions .btn {
    min-width: 140px;
    margin: 4px;
}

.error-request-id {
    font-size: 0.8rem;
    color: #999;
    margin-top: 2rem;
}

.error-divider {
    width: 60px;
    height: 4px;
    background-color: #0079af;
    margin: 1rem auto;
    border-radius: 2px;
}

.error-links {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.error-links h6 {
    color: #999;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.error-links a {
    display: inline-block;
    color: #0079af;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.error-links a:hover {
    text-decoration: underline;
}

#mountingTree.tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    #mountingTree.tree ul ul {
        margin-left: 0.5em;
        padding-left: 0.75em;
        border-left: 1px dotted #aaa;
    }

#mountingTree.tree li {
    position: relative;
    margin: 0.35em 0;
    padding-left: 0.25em;
}

    #mountingTree.tree li::before {
        content: '';
        position: absolute;
        top: 0.85em;
        left: -0.75em;
        width: 0.75em;
        border-top: 1px dotted #aaa;
    }

a[href*="SkipLink"] img {
    display: none;
}

.anchor_head {
    border-bottom-style: none !important;
}

li label {
    font-family: var(--bs-body-font-family);
    font-size: 12px;
}

@media (min-width: 1200px) {
    .halfBorder {
        margin-left: 200px !important;
    }
}

@media (min-width: 771px) {
    .search-box {
        margin-top: -60px !important;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .search-box-row {
        margin-top: 10% !important;
    }
}
@media (min-width: 992px) {
    .search-box-row {
        margin-top: -10% !important;
    }
}

.ErrorMsg { font-family: Arial; font-size: smaller; color: orangered; }
.textbox-dark {
    background-color: #f7f7f7 !important;
    border: none;
    pointer-events: none;
}
td { vertical-align: middle !important; }
th {
    vertical-align: bottom !important;
}

.hvls-dark-input { background-color: #f7f7f7 !important; border: none; pointer-events: none; }
.hvls-hero { background: #111; }

.main-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.return-home {
    text-decoration: none;
    color: #6c757d;
}

    .return-home:hover {
        text-decoration: underline;
        color: #495057;
    }

.breadcrumb-container {
    max-width: 79%;
    margin: 0 auto;
}

.content-area {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.pagination .page-link {
    color: #0079af;
    border: 1px solid #dee2e6;
    padding: 0.375rem 0.75rem;
    margin: 0 2px;
    border-radius: 0.25rem;
}

    .pagination .page-link:hover {
        background-color: #e7f3f8;
        border-color: #0079af;
        color: #005a82;
    }

.pagination .page-item.active .page-link {
    background-color: #0079af;
    border-color: #0079af;
    color: white;
    font-weight: bold;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination {
    flex-wrap: wrap;
    gap: 4px;
}

.banner-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #e5eef8;
}

p {
    line-height: 1.5em;
}

ol li {
    line-height: 1.5em !important;
}

@media (max-width: 576px) {
    .news-img-wrapper {
        all: unset !important;
    }
}

.news-img-wrapper {
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 5%;
    flex-shrink: 0;
}

.news-img-wrapper img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.news-item {
    overflow: hidden;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-item a {
    color: inherit;
    text-decoration: none;
}

.news-item a:hover {
    color: #0079af;
}

.form-check label {
    margin-right: 2rem;
    margin-left: 0.5rem;
}

.validator {
    display: block;
    margin-top: 0;
    font-size: 0.875em;
    color: #dc3545 !important;
    padding-left: 2px;
}

.ErrorMsg,
.field-validation-error {
    color: #dc3545 !important;
    font-size: 0.875rem;
    display: block;
}

.calc-wrapper { font-size: 11px; color: #333; }
.calc-weight-display { padding: 15px 0; margin-bottom: 20px; border-bottom: 1px solid #ddd; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.calc-weight-text { font-size: 18px; font-weight: bold; color: #000; }
.calc-weight-value { font-size: 24px; font-weight: bold; color: #000; }
.calc-print-link { display: inline-flex; align-items: center; gap: 5px; color: #0079af; text-decoration: none; font-size: 11px; }
.calc-print-link:hover { text-decoration: underline; }
.calc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 20px; }
.calc-section { background: #fff; border: 1px solid #ddd; margin-bottom: 15px; }
.calc-section-header { background: #f5f5f5; border-bottom: 1px solid #ddd; padding: 6px 10px; font-size: 12px; font-weight: bold; color: #21355f; }
.calc-section-body { padding: 10px; }
.calc-diameter-body { min-height: 270px; }
.calc-impeller-body { min-height: 220px; }
.calc-motor-body { min-height: 340px; }
.calc-ancillary-body { min-height: 240px; }
.calc-option { margin-bottom: 8px; }
.calc-option input { margin-right: 6px; }
.calc-option label { font-size: 11px; cursor: pointer; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.calc-table th { background: #D9E9F5; color: #000; padding: 4px 6px; text-align: center; border: 1px solid #ccc; font-weight: bold; }
.calc-table td { padding: 3px 6px; border: 1px solid #ddd; text-align: center; }
.calc-table tr:hover { background: #f9f9f9; }
.calc-note { color: #cc0033; }
.calc-ancillary { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.calc-ancillary label { flex: 1; font-size: 11px; }
.calc-ancillary input[type="number"] { width: 58px; padding: 2px; font-size: 11px; }
.calc-input-small { width: 60px; padding: 2px 4px; font-size: 11px; border: 1px solid #ccc; }
#ancillariesContainer { column-count: 2; column-gap: 24px; }
#ancillariesContainer .calc-ancillary { break-inside: avoid; page-break-inside: avoid; }
.calc-loading-copy { color: #666; font-size: 11px; }
.calc-loading-stack { display: grid; gap: 8px; }
.calc-loading-line { height: 18px; border-radius: 4px; background: linear-gradient(90deg, #eef3f7 25%, #f8fbfd 50%, #eef3f7 75%); background-size: 200% 100%; animation: calcShimmer 1.2s linear infinite; }
.calc-loading-line.short { width: 55%; }
.calc-loading-line.medium { width: 72%; }
.calc-loading-line.long { width: 92%; }
@keyframes calcShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (max-width: 768px) {
    .calc-layout { grid-template-columns: 1fr; }
    .calc-weight-display { flex-direction: column; align-items: flex-start; }
    #ancillariesContainer { column-count: 1; }
    .calc-diameter-body,
    .calc-impeller-body,
    .calc-motor-body,
    .calc-ancillary-body { min-height: 0; }
}
@media print {
    body > * { display: none !important; }
    #printModal { display: block !important; position: static !important; background: #fff !important; }
    #printModal > div { position: static !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 20px !important; }
    #printModal button { display: none !important; }
}

.simple-project { max-width: 100%; width: 350px; }
.simple-project img { width: 100%; height: auto; display: block; }
.project-title-link { text-decoration: none; }
.project-title-link:hover { text-decoration: underline; }
.project-blurb { color: #555; margin: 0.5rem 0; }
.project-detail { margin: 0; font-size: 0.9rem; color: #444; }

.banner-container {
    width: calc(100% - 50%);
    max-width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    padding: 0 25%;
}


#site-header-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 40px;
    pointer-events: none;
}

:root {
    --bar-logo-h: 56px;
    --bar-pad-full: 0.9rem;
    --bar-h: calc(var(--bar-logo-h) + 2 * var(--bar-pad-full) + 1px);
}

html {
    scroll-padding-top: 4rem;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
}

body > main:has(> .bg-light, > * > .bg-light) {
    background-color: rgba(var(--bs-light-rgb), 1);
}

.page-panel {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
}

#site-header-spacer {
    height: var(--bar-h);
}

.site-header {
    --logo-h: var(--bar-logo-h);
    --logo-w: 180px;
    --bar-pad: var(--bar-pad-full);
    --search-h: 44px;
}

.site-bar {
    background: #fff;
    border-bottom: 1px solid #e3ebef;
    transition: box-shadow 0.2s ease;
}

.site-header.is-condensed .site-bar {
    box-shadow: 0 4px 16px rgba(28, 54, 67, 0.16);
}

.navbar-inner {
    position: relative;
    padding-top: var(--bar-pad);
    padding-bottom: var(--bar-pad);
    transition: padding 0.2s ease;
}

.site-logo-link {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 0;
}

.site-logo-img {
    width: var(--logo-w);
    height: var(--logo-h);
    max-width: 100%;
    transition: width 0.2s ease, height 0.2s ease;
}

.site-logo-link:focus-visible,
.navbar-search-close:focus-visible,
.brand-search-trigger:focus-visible,
.site-nav-search-mobile:focus-visible,
.site-menu-toggle:focus-visible {
    outline: 3px solid rgba(0, 121, 175, 0.55);
    outline-offset: 3px;
}

.navbar-search-magnifier:focus-visible {
    outline: 3px solid rgba(0, 121, 175, 0.3);
    outline-offset: 3px;
}

.brand-search-trigger {
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #000;
    background: none;
    border: 1px solid #ccd7de;
    border-radius: 50%;
    transition: width 0.2s ease, height 0.2s ease, color 0.15s ease,
                background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.brand-search-trigger:hover {
    color: #fff;
    background: #0079af;
    border-color: #0079af;
}


.site-nav-search-mobile {
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    color: #000;
    background: none;
    border: 0;
}

.navbar-search-form {
    position: absolute;
    top: 50%;
    height: var(--search-h);
    margin-top: calc(var(--search-h) / -2);
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0 0.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 0 100%);
    transition: clip-path 0.32s cubic-bezier(0.33, 1, 0.44, 1), opacity 0.18s ease,
                height 0.2s ease, margin-top 0.2s ease, visibility 0s linear 0.32s;
}

.navbar-search-form.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.32s cubic-bezier(0.33, 1, 0.44, 1), opacity 0.18s ease,
                height 0.2s ease, margin-top 0.2s ease, visibility 0s;
}

#navbar.search-expanded .site-nav-list,
#navbar.search-expanded .brand-search-trigger,
#navbar.search-expanded .site-nav-search-mobile,
#navbar.search-expanded .navbar-toggler {
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 991.98px) {
    #navbar.search-expanded .site-logo-link {
        opacity: 0;
        visibility: hidden;
    }
}

.navbar-search-box {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
    background: #fff;
    border: 1px solid #d3dde3;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(28, 54, 67, 0.14);
}

.navbar-search-magnifier {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    align-self: stretch;
    color: #0079af;
    background: transparent;
    border: 0;
    border-radius: 6px 0 0 6px;
    transition: color 0.15s ease;
}

.navbar-search-magnifier:hover {
    color: #005f89;
}

.navbar-search-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.55rem 0.75rem 0.55rem 0;
    color: #263238;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 1rem;
}

.navbar-search-input::placeholder {
    color: #718087;
    opacity: 1;
}

.navbar-search-input::-webkit-search-cancel-button {
    cursor: pointer;
}

.navbar-search-close {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    color: #000;
    background: transparent;
    border: 0;
    border-radius: 6px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.navbar-search-close:hover {
    color: #0079af;
    background: #e7f1f7;
}

@media (min-width: 992px) {
    #navbar .navbar-search-form {
        left: calc(3rem + var(--logo-w) + 1.5rem);
        right: 3rem;
        padding: 0;
        transition: clip-path 0.32s cubic-bezier(0.33, 1, 0.44, 1), opacity 0.18s ease,
                    height 0.2s ease, margin-top 0.2s ease, left 0.2s ease,
                    visibility 0s linear 0.32s;
    }

    #navbar .navbar-search-form.is-open {
        transition: clip-path 0.32s cubic-bezier(0.33, 1, 0.44, 1), opacity 0.18s ease,
                    height 0.2s ease, margin-top 0.2s ease, left 0.2s ease, visibility 0s;
    }

    .navbar-search-results .search-overlay-results {
        padding-left: calc(var(--logo-w) + 1.5rem);
        transition: padding-left 0.2s ease;
    }
}

.search-overlay-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1010;
    background: rgba(28, 54, 67, 0.32);
    -webkit-backdrop-filter: blur(7px) saturate(85%);
    backdrop-filter: blur(7px) saturate(85%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.search-overlay-backdrop.is-open {
    opacity: 1;
}

.navbar-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 3;
    background: #fff;
    border-bottom: 3px solid #0079af;
    box-shadow: 0 22px 40px -14px rgba(28, 54, 67, 0.3);
    max-height: 70vh;
    max-height: 70dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: search-suggest-in 0.18s ease-out;
}

.navbar-search-results > .container {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

.search-overlay-results {
    position: relative;
    min-height: 0;
}

.search-suggest-panel {
    max-height: 100%;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    text-align: left;
    scrollbar-width: thin;
    animation: search-suggest-in 0.16s ease-out;
}

@keyframes search-suggest-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.search-suggest-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0 2.5rem;
}

.search-suggest-group {
    min-width: 0;
    padding: 0.25rem 0 0.6rem;
}

.search-suggest-heading {
    margin-bottom: 0.35rem;
    padding: 0.35rem 0;
    color: #222;
    border-bottom: 1px solid #eeeeee;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15pt;
    font-weight: 400;
}

.search-suggest-item {
    display: block;
    overflow: hidden;
    margin: 0 -0.5rem;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.search-suggest-item strong {
    color: #0079af;
    font-weight: 700;
}

.search-suggest-item.has-thumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    overflow: visible;
}

.search-suggest-thumb {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    background: #f2f6f8;
    border: 1px solid #e4edf1;
    border-radius: 6px;
}

.search-suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-suggest-item.has-thumb .search-suggest-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggest-item:hover,
.search-suggest-item.is-active {
    background: #e7f3f9;
    color: #004f74;
    text-decoration: none;
}

.search-suggest-empty {
    padding: 1.1rem 0;
    color: #718087;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.search-suggest-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.35rem;
    padding: 0.65rem 0;
    border-top: 1px solid #eeeeee;
    color: #0079af;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.12s ease;
}

.search-suggest-footer::after {
    content: "\2192";
    font-size: 0.95rem;
    line-height: 1;
}

.search-suggest-footer:hover,
.search-suggest-footer.is-active {
    background: #e7f3f9;
    color: #004f74;
    text-decoration: none;
}

.search-suggest-spinner {
    position: absolute;
    top: 50%;
    right: 62px;
    width: 17px;
    height: 17px;
    margin-top: -8.5px;
    color: #0079af;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease 0.12s, visibility 0s linear 0.27s;
}

.navbar-search-form.is-suggest-loading .search-suggest-spinner {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.15s ease 0.12s, visibility 0s linear 0.12s;
}

.navbar-search-form.is-suggest-loading .navbar-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.search-suggest-spinner svg {
    display: block;
    width: 100%;
    height: 100%;
    animation: search-suggest-spin 0.9s linear infinite;
}

@keyframes search-suggest-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .search-suggest-panel {
        animation: none;
    }

    .navbar-search-form,
    #navbar .navbar-search-form,
    #navbar .navbar-search-form.is-open,
    .navbar-search-results,
    .search-overlay-backdrop,
    .navbar-inner,
    .site-logo-img,
    .brand-search-trigger,
    #navbar .nav-item.dropdown > .nav-link {
        transition: none;
        animation: none;
    }

    .search-suggest-spinner svg {
        animation-duration: 2.5s;
    }
}

@media (max-width: 767.98px) {
    .search-suggest-grid {
        grid-auto-flow: row;
        grid-auto-columns: unset;
        gap: 1px 0;
    }
}

.site-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #000;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-menu-toggle:hover,
.site-menu-toggle:focus {
    color: #0079af;
}

@media (min-width: 992px) {
    #navbar .navbar-collapse {
        align-self: stretch;
        align-items: stretch;
        justify-content: center;
    }

    #navbar .site-nav-list {
        align-items: stretch !important;
        gap: 0.1rem;
        margin: 0;
        padding: 0;
    }

    #navbar .site-nav-list .nav-item {
        display: flex;
        align-items: stretch;
    }

    #navbar .nav-item.dropdown > .nav-link {
        position: relative;
        display: flex;
        align-items: center;
        padding: 0 0.85rem !important;
        color: #000 !important;
        background-color: transparent;
        font-weight: 600;
        white-space: nowrap;
        transition: color 0.2s ease;
    }

    #navbar .nav-item.dropdown:hover > .nav-link,
    #navbar .nav-item.dropdown.show > .nav-link {
        background-color: transparent !important;
        color: #0079af !important;
        border-radius: 0;
        text-decoration: none;
    }

    #navbar .nav-item.dropdown > .nav-link::after {
        content: "";
        display: block !important;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: calc(var(--bar-pad) + 2px);
        margin: 0 !important;
        border: 0 !important;
        background: none;
    }

    #navbar .dropdown-menu {
        left: 50% !important;
        top: 100% !important;
        margin-top: 0 !important;
        display: block !important;
        visibility: hidden;
        content-visibility: hidden;
        opacity: 0;
        width: auto;
        background: #fff;
        border: 0 !important;
        border-top: 3px solid #0079af !important;
        border-radius: 0 0 10px 10px !important;
        box-shadow: 0 22px 38px -16px rgba(28, 54, 67, 0.34);
        text-decoration: none;
        transform: translateX(-50%) !important;
        transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s,
                    content-visibility 0s linear 0.3s;
        transition-behavior: allow-discrete;
    }

    #navbar .dropdown:hover > .dropdown-menu,
    #navbar .dropdown.show > .dropdown-menu {
        visibility: visible;
        content-visibility: visible;
        opacity: 1;
        transition-delay: 0s;
    }

    #navbar .nav-item.position-relative > .dropdown-menu {
        top: calc(100% + var(--bar-pad)) !important;
        width: max-content;
    }

    #navbar .custom-dropdown {
        left: 3rem !important;
        right: 3rem !important;
        width: auto;
        min-width: 0;
        transform: none !important;
    }

    #navbar .list-unstyled.small li {
        border-bottom: 1px dotted rgba(150, 150, 150, 0.4);
    }

    #navbar .list-unstyled.small li:first-child {
        border-top: 1px dotted rgba(150, 150, 150, 0.4);
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #navbar .custom-dropdown .category-item {
        flex: 0 0 auto;
        width: 33.3333%;
    }
}

@media (max-width: 991.98px) {
    :root {
        --bar-logo-h: 42px;
        --bar-pad-full: 0.4rem;
    }

    .site-header {
        --logo-w: 135px;
        --search-h: 40px;
    }

    #navbar .navbar-collapse {
        position: static !important;
        width: 100%;
        margin-top: 0.4rem;
        background: #fff;
        border-top: 1px solid #e3ebef;
        padding: 0.5rem 0;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        z-index: 1;
    }

    #navbar .navbar-nav {
        width: 100%;
        padding: 0.75rem 1rem;
        color: #555;
    }

    #navbar .navbar-nav .nav-link {
        color: #333 !important;
        display: block;
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid #eee;
        font-size: 1rem;
        white-space: normal;
    }

    #navbar .navbar-nav .dropdown-menu,
    #navbar .navbar-nav .dropdown-menu[data-bs-popper] {
        display: none !important;
        position: relative !important;
        inset: auto !important;
        transform: none !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        padding: 0;
        background: #fff;
        border: 0;
        max-height: 60vh;
        overflow-y: auto;
    }

    #navbar .navbar-nav .dropdown.show > .dropdown-menu,
    #navbar .navbar-nav .dropdown-menu.show {
        display: block !important;
    }

    #navbar .dropdown-toggle::after {
        display: inline-block !important;
    }

    #navbar .navbar-nav .dropdown-toggle {
        position: relative;
        padding-right: 2.5rem;
    }

    #navbar .navbar-nav .dropdown-toggle::after {
        position: absolute !important;
        top: 50%;
        right: 1rem;
        margin-left: 0;
        transform: translateY(-50%);
    }

    #navbar .navbar-nav .dropdown.show > .dropdown-toggle::after {
        transform: translateY(-50%) rotate(180deg);
    }

    #navbar .dropdown-menu .row {
        display: block !important;
        margin: 0 !important;
    }

    #navbar .dropdown-menu .col-auto,
    #navbar .dropdown-menu .col-lg-2,
    #navbar .dropdown-menu .col-lg-6,
    #navbar .dropdown-menu .col-lg-12,
    #navbar .dropdown-menu .category-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 1rem !important;
    }

    #navbar .dropdown-menu .category-item {
        align-items: flex-start !important;
        text-align: left !important;
    }

    #navbar .dropdown-item {
        color: #555;
        border-bottom: 1px solid #eee;
        white-space: normal;
    }

    #navbar .navbar-toggler {
        border-color: transparent;
        box-shadow: none;
    }

    #navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    }
}

.ProductImage {
    width: 100%;
    background: url(../images/Products/product_bg.jpg) no-repeat;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.EcoRange {
    box-sizing: content-box;
}

