:root {
    --main-color1: #282828;
    --main-color2: #f83e01;
    --main-color3: #fbcd22;
    /* --main-color4:; */
    /* --main-color5:; */
    --background-color: var(--bs-body-bg);
    --border-color: #a8a8a8;
    --navbar-height: 60px;
    --dark-over-gb: rgba(0, 0, 0, 0.2);
    --light-over-gb: rgba(255, 255, 255, 0.2);
    --header-bar-bg-color: var(--main-color1);
    --dropdown-menu-color: var(--main-color1);
    --mobile-menubtn-height: 2.6rem;
    --icon-menu: url('data: image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"></path></svg>');
    --icon-arrowR: url('data: image/svg+xml, <svg version="1.1" viewBox="0 0 752 752" xmlns="http://www.w3.org/2000/svg"><path d="m277.02 600.95c-6.6289 0-13.734-2.3672-18.941-7.5781-10.418-10.418-10.418-26.992 0-37.414l179.48-179.96-179.49-179.48c-10.418-10.418-10.418-26.992 0-37.414 10.422-10.418 26.996-10.418 37.414-0.47266l198.43 198.43c5.2109 5.2109 7.5781 11.84 7.5781 18.941 0 7.1055-2.8398 13.734-7.5781 18.941l-198.43 198.43c-5.207 5.2109-11.84 7.5781-18.469 7.5781z" /></svg>');
    --icon-search: url('data: image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"></path></svg>');
}
body {
    position: relative;
    background-color: var(--background-color);
}
h1, h2, h3, h4, h5, h6 {font-weight: bold;}
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
}
main {
    margin-bottom: 2rem;
}
.btn {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    border-width: 1px;
    cursor: pointer;
    line-height: normal;
    padding: .375rem .75rem;
    text-transform: capitalize;
    transition: all 0.3s ease-in-out;
}
.btn-group {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}
.btn-group>.btn-group:not(:first-child),
.btn-group>.btn:not(:first-child) {
    margin-left: -1px;
}
.btn-group-vertical>.btn, .btn-group>.btn {
    position: relative;
    flex: 1 1 auto;
}
.btn-group>.btn-group:not(:last-child)>.btn,
.btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.btn-group>.btn-group:not(:first-child)>.btn,
.btn-group>.btn:nth-child(n+3),
.btn-group>:not(.btn-check)+.btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.btn-radius {
    padding: 12px 35px;
    border-radius: 40px;
}
.nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.w-100 {width: 100%;}
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#toTop {
    display: block;
    width: 48px;
    height: 48px;
    text-align: center;
    position: fixed;
    right: 30px;
    bottom: 20px;
    border-radius: 1rem;
    background-color: #333;
    color: #fff;
    opacity: 0.8;
    padding: 0.7rem;
    z-index: 10;
}
/* Header */
#main-nav {
    background-color: var(--header-bar-bg-color);
    overflow: visible;
    color: #ffffff;
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
}
#main-nav + * {
    margin-top: var(--navbar-height);
}
#sub-nav {
    margin-bottom: 1rem;
}
@media (min-width: 992px) {
    .navbar {padding: 0 30px;}
}
.navbar.fixed-navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}
.fixed-navbar ~ #wrapper {
    margin-top: 70px;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.standard-logo {
    min-width: 100%;
    width: auto;
    height: 40px;
}
.supplier-title {
    display: flex;
}
.supplier-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.supplier-name {
    color: #fff;
    margin: 0 0.5rem;
    display: flex;
    align-items: center;
    font-size: calc(0.75rem + .9vw);
}
.mobile-icons {
    flex: 1 0 80px;
    text-align: right;
}
#main-nav>.container-fluid {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
#sub-nav>.container-fluid {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}
#sub-nav .nav {
    flex: 0 1 auto;
}
#marquee {
    flex: 1 1 auto;
    position: relative; 
    overflow: hidden;
}
#marquee p {
    animation: scroll-left 20s linear infinite;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}
.navbar-nav {
    margin: 0;
    padding: 0;
    z-index: 5;
}
.nav-link {
    display: flex;
    align-items: center;
    line-height: 1;
    height: 40px;
    padding: 12px;
    padding-right: 30px;
    position: relative;
    white-space: nowrap;
}
.navbar-nav, .dropdown-menu, .dropdown-menu ul {
    padding: 0;
    list-style-type: none;
}
.dropdown-menu {
    padding-left: 1rem;
}

.dropdown {
}
.dropdown.show .dropdown-menu .nav-item > a {
    height: var(--mobile-menubtn-height);
}
.product-menu .nav-item {
}
.dropdown-item {
    color: #fff;
    padding: 0 12px;
    display: block;
    position: relative;
}
.nav-item:hover, .nav-item > a:hover {
    background-color: var(--dark-over-gb);
    transition-property: color,background-color,border-color;
    transition-duration: .2s;
    transition-timing-function: linear;
}
.dropdown-toggle::after {
    content: "";
    position: absolute;
    right: 5px;
    -webkit-mask-image: var(--icon-arrowR);
    mask: var(--icon-arrowR);
    background-color: #fff;
    height: 1.3rem;
    width: 1.3rem;
    display: block;
    transition: transform;
    transition-duration: 0.1s;
}
#sub-nav .dropdown-toggle::after {
    background-color: #000;
}
.dropdown-toggle.show::after {
    transform: rotate(90deg);
}
/* .dropdown.open > a::after {
    transform: translateY(-50%) rotate(90deg);
} */
.product-nav {
    display: none;
}
.mobile-icons .icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-left: 10px;
    background-color: #fff;
}
.pc-icons .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    background-color: #fff;
}
.mobile-icons .icon:first-child {
    margin-left: 0;
}
.icon-bars {
    -webkit-mask-image: var(--icon-menu);
    mask: var(--icon-menu);
}
.icon-search {
    -webkit-mask-image: var(--icon-search);
    mask: var(--icon-search);
}
#search-wrapper {
    visibility: hidden;
}
#search-wrapper.open {
    visibility: visible;
}
.overlay-search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: -100vh;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(88 88 88 / 88%);
    z-index: 10;
    transition: top 0.3s;
    --text-color: #fff; 
}
.open .overlay-search {
    animation-name: fixedin;
    animation-duration: .5s;
}
@keyframes fixedin {
    from {top:-100%} to {top:0%}
}

/* search bar */
.search-form-content {
    border-bottom: 2px solid #fff;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.search-title {
    color: var(--text-color);
}
.search-form {
    width: 90%;
}
.search-input {
    background-color: transparent;
    border: none;
    height: 40px;
    flex: 0 0 calc(100% - 50px);
    color: var(--text-color);
}
.search-submit {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
}
.close-search {
    position: absolute;
    top: 10%;
    right: 10%;
    --icon-size: 50px;
    width: var(--icon-size);
    height:var(--icon-size);
}
.close-search::after , .close-search::before {
    content: "";
    display: block;
    width:var(--icon-size);
    height: 3px;
    background-color: #fff;
    position: absolute;
    top: 50%;
}
.close-search::after {
    transform: rotateZ(-45deg);
}
.close-search::before {
    transform: rotateZ(45deg);
}

/* subordinate page */
#suboBanner {
    --border-height: 12px;
    width: 100%;
    height: calc(30vh + var(--border-height));
    color: #fff;
    background-color: var(--main-color1);
    background-position: center center;
    background-size: cover;
    border-bottom: var(--border-height) solid transparent;
    border-image: linear-gradient(to bottom right, var(--main-color2) 0%, var(--main-color3) 100%);
    border-image-slice: 1;
    margin-bottom: 1.5rem;
}
#suboBanner .d-flex {
    height: 100%;
    flex-direction: column;
    justify-content: center;
}
#suboBanner h1 {
    font-size: calc(2.2rem + .9vw);
    font-weight: bold;
    text-shadow: 3px 3px 0 black;
}
@media (min-width: 768px) {
    #suboBanner h1 {
        font-size: calc(3rem + .9vw);
    }
}
#suboBanner .breadcrumb {
    text-shadow: 1px 1px 0 black;
}
ul.breadcrumb {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
ul.breadcrumb li:nth-last-child(n+2):after {
    content: '/';
    padding: 0 0.25rem;
}
/* Product Button */
.pdBuGroup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.pd-btn {
    display: inline-block;
    font-size: 0.9rem;
    text-align: center;
    padding: 0.75rem 0.5rem;
    box-shadow: 0px 0px 2px var(--border-color);
}
.btnInquire, .btnmain {
    background-color: var(--main-color2);
    color: #fff;
    border: 1px solid;
    border-color: transparent;
    transition-duration: .3s;
    transition-timing-function: ease;
    transition-property: background-color, color, border-color;
}
.btnInquire:hover, .btnmain:hover {
    background-color: #fff;
    color: var(--main-color2);
    border-color: var(--main-color2);
}
.btnAddCart, .btnsub {
    background-color: #f0f1ee;
    border: 1px solid var(--border-color);
}
/**/
@media (max-width: 991.98px) {
    .navbar {
        height: var(--navbar-height);
    }
    .navbar-collapse {
        position: absolute;
        width: 100%;
        top: var(--navbar-height);
        left: 0;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform;
        transition-duration: .1s;
        z-index: 10;
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
    }
    .navbar-collapse {
        background-color: var(--header-bar-bg-color);
    }
    .navbar-collapse.show {
        transform: scaleY(1);
    }
    .dropdown-menu > li {
        height: 0;
        visibility: hidden;
        transition: height;
        transition-duration: 0.3s;
    }
    .dropdown-menu.show > li ,.dropdown-menu[aria-labelledby="moreAbout"] > li {
        height: 40px;
        visibility: visible;
    }
    .dropdown-item {
        /* height: 0; */
        /* transition: height; */
        transition: padding, transform;
        transition-duration: 0.1s;
        font-size: 0;
        transform: translateY(-20px);
        transform-origin: top;
    }

    .dropdown-menu.show .dropdown-item,
    .dropdown-menu[aria-labelledby="moreAbout"] .dropdown-item {
        /* height: var(--mobile-menubtn-height); */
        /* line-height: var(--mobile-menubtn-height); */
        padding: 8px 12px;
        font-size: 1em;
        transform: translateY(0);
    }
    #moreAbout {display: none;}
    .dropdown-menu[aria-labelledby="moreAbout"] {padding-left: 0;}
    .pc-icons {
        display: none;
    }
    .supplier-name {
        font-size: calc(0.55rem + 1vw);
    }
}
@media (min-width: 992px) {
    :root{
        --navbar-height: 70px;
    }
    #navbarSupportedContent {
        display: flex;
    }
    #suboBanner {
        height: calc(400px + var(--border-height));
        margin-bottom: 0;
    }
    #suboBanner.minebanner {
        height: calc(200px + var(--border-height));
    }
    #sub-nav {
        position: relative;
    }
    #sub-nav {z-index: 9; margin-bottom: 2rem;}
    .supplier-logo {
        float: left;
    }
    .navbar-nav {
        display: flex;
    }
    .navbar-collapse {
        display: flex;
    }
    .navbar-toggler {
        display: none;
    }
    .nav-link {
        padding: 0 12px;
    }
    #main-nav .nav-link {
        height: 70px;
    }
    .nav-item:hover > .dropdown-menu {
        visibility: visible;
        opacity: 1;
    }
    .dropdown-menu {
        background-color: var(--dropdown-menu-color);
        visibility: hidden;
        padding: 0;
        position: absolute;
        opacity: 0;
        transition: opacity 0.3s;
        box-shadow: 0px 4px 4px var(--dropdown-menu-color);
    }
    .dropdown-toggle {
        padding: 0 30px 0 12px;
    }
    .dropdown-toggle::after {
        transform: rotate(90deg);
        right: 5px;
    }
    .dropdown:hover .dropdown-menu .nav-item > a {
        min-height: var(--mobile-menubtn-height);
        display: flex;
        align-items: center;
        margin: 0.25rem 0;
    }
    .mobile-icons {display: none;}
    .pc-icons {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin: 0 1rem;
        height: 70px;
        flex: 1 1;
    }

    .fullwidth-menu {
        width: 100%;
        position: absolute;
        padding: 0;
        padding-top: 20px;
        left: 0;
    }

    .fullwidth-menu ul {
        width: 20vw;
        min-height: calc(460px + 20px);
        position: relative;
    }

    .menu-direction-control {
        display: flex;
        flex-direction: row-reverse;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .product-nav {
        background-color: var(--dropdown-menu-color);
        position: fixed;
        top: 90px;
        width: 78vw;
        left: 0;
        padding: 0 20px;
        border-right: 1px solid;
        display: none;
    }
    .product-nav.active {
        display: block;
    }

    .product-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 10px;
    }

    .pg-item {
        display: flex;
        flex-direction: row;
    }
    .pg-img {
        width: 130px;
        height: 100px;
        margin-right: 1rem;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .pg-item img {
        flex: 0 0;
        max-height: 100%;
    }
    .pg-text {
        overflow: hidden;
        flex: 1 1;
        word-break: break-word;
    }
}
/* footer */
#page-footer {
    background-color: var(--main-color1);
    color: #fff;
}
.footer-1 {
}
.footer-2 {}
.footer-3 {
    background-image: linear-gradient(180deg, #00000088 0%, #00000088 100%), url(../img/footer-3.jpg);
    background-size: cover;
}
.footer-parts1 {
    padding: 15px 1rem 50px;
}
.footer-parts2 {
    padding: 75px 1rem 50px;
}
.footer-social {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.footer-social-item {
    list-style-type: none;
}
.footer-social-item svg {
    margin-right: 0.5rem;
}
@media (min-width: 768px) {
    .footer-parts1 {
    padding: 65px 1rem 100px;
    }

    .footer-parts2 {
        padding: 125px 1rem 100px;
    }
}
.single-widget + .footer-social-group {
    border-top: 1px solid #fff;
    margin-top: 3rem;
    padding-top: 1rem;
}
#copyright {
    margin: 0;
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.8rem;
}
.footerCN {
    font-size: 1.75rem;
    margin: 1.75rem 1rem 0;
}
.footer-btngroup {
    text-align: right;
}
.btn-footer-submit {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-size: 1.25rem;
    padding: .375rem 1.75rem;
}
#toTop {
    display: block;
    width: 48px;
    height: 48px;
    text-align: center;
    position: fixed;
    right: 30px;
    bottom: 20px;
    border-radius: 1rem;
    background-color: #333;
    color: #fff;
    opacity: 0.9;
    padding: 0.7rem;
    z-index: 10;
}
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}