/* input(526,1): run-time error CSS1019: Unexpected token, found '}' */
body {
    --menu-height: 80px;
}

header {
    min-height: var(--menu-height);
    background-color: white;
}

/*ma part*/
.ma-link,
.mb-link,
.mc-link {
    font-size: 1.2rem;
    white-space: nowrap;
    text-decoration: none;
    color: black;
    text-transform: capitalize;
}

.pad {
    display: none;
}

.menu-switch {
    display: none;
}

.ma {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 991;
    color: black;
    background-color: rgba(255, 255, 255, .6);
    transition: all .4s;
}

#mlogo {
    display: block;
    float: left;
    line-height: var(--menu-height);
}

.ma-list {
    float: right;
}

#mlogo img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
}

.ma-item {
    float: left;
    margin: 0 2rem;
    position: relative;
}

.ma-link {
    color: black;
    display: inline-block;
    line-height: var(--menu-height);
    transition: all .4s;
}

.ma-item > .item-box > b {
    display: block;
    height: 3px;
    width: 0;
    background-color: var(--darkblue);
    transition: all .4s;
    opacity: 0;
}

.ma-pad {
    position: absolute;
    top: 100%;
    left: 0;
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: all .4s;
    z-index: 999;
}

.mc-list {
    padding-left: 2rem;
}

.ma-item:hover > .item-box > b {
    width: 100%;
    opacity: 1;
}

.ma-item:hover .ma-pad {
    max-height: 760px;
}

.ma.active {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .ma.active .ma-link {
        color: black;
    }

/*mb part*/
.ma-pad {
    border-radius: .5rem / 0 0 .5rem .5rem;
    box-shadow: 2px 2px 0px var(--lightgrey);
}

.mb-list {
    padding: 1rem;
}

.mb-item {
    float: none;
    line-height: 2.5;
}

.mb-list a:hover {
    color: var(--darkblue);
}
.mb-list a.ma-link{
line-height:2.5;
}
@media screen and (max-width:992px) {
    .menu-switch {
        display: block !important;
        float: right;
    }

    .ma {
        background-color: white;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .ma-list {
        display: none;
        background-color: var(--lightgrey);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        height: 100vh;
    }

    .menu-context.active .ma-list {
        display: block;
    }

    .ma-item {
        float: none;
    }

    .ma-pad {
        position: static;
        max-height: initial;
    }


    .mb-item {
        position: relative;
    }

    b {
        position: absolute;
        top: 1.3rem;
        right: 1rem;
        width: 1rem !important;
        height: 1rem !important;
        opacity: 1 !important;
        background: none !important;
    }

        b::before,
        b::after {
            content: '';
            position: absolute;
            transition: all .4s;
            background: rgba(var(--darkgrey-rgb), .7);
        }

        b::before {
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 1px;
            height: 1em;
        }

        b::after {
            top: 50%;
            transform: translateY(-50%);
            width: 1rem;
            height: 1px;
        }

    .ma-pad,
    .mb-pad {
        display: none;
        background-color: var(--lightgrey);
    }

    .ma-link,
    .mb-link,
    .mc-link {
        line-height: 3;
    }

    .item-box {
        border-bottom: 1px solid rgba(var(--darkgrey-rgb), .7);
    }

    .ma-pad.active,
    .mb-pad.active {
        display: block;
    }

    .mb-list {
        padding-top: 0%;
        padding-bottom: 0%;
    }
}

/*header background*/
.header-banner {
    width: 100%;
}

    .header-banner picture {
        display: block;
    }

    .header-banner .banner-text {
        margin-top: -400px;
        font-size: 1.5rem;
        text-align: center;
        color: white;
    }

    .header-banner picture {
        width: 100%;
        height: auto;
    }

@media screen and (max-width:992px) {
    .ma-link {
        color: black;
    }

    .header-banner .banner-text {
        font-size: 1.2rem;
        margin-top: -350px;
    }

    .header-banner picture img {
        max-height: 500px;
    }
}

#menuswitch span {
    width: 30px;
    height: 2px;
    background: var(--logo-dark);
    border-radius: 1px;
    display: block;
    transition: -webkit-transform 0.5s, width 0.3s;
    transition: transform 0.5s, width 0.3s;
}

#menuswitch>span:nth-child(2) {
    margin: 7px 0;
}

#menuswitch:hover span:nth-child(2) {
    width: 24px;
    transition: -webkit-transform 0.5s, background 0.5s, width 0.3s;
    transition: transform 0.5s, background 0.5s, width 0.3s;
}

#menuswitch.active>span:nth-child(1) {
    -webkit-transform: translateX(-12px) rotate(-45deg) translateY(12px);
    -ms-transform: translateX(-12px) rotate(-45deg) translateY(12px);
    transform: translateX(-12px) rotate(-45deg) translateY(12px);
    transition: -webkit-transform 0.5s, background 0.5s, width 0.3s;
    transition: transform 0.5s, background 0.5s, width 0.3s;
}

#menuswitch.active>span:nth-child(2) {
    opacity: 0;
}

#menuswitch.active>span:nth-child(3) {
    -webkit-transform: translateX(-12px) rotate(45deg) translateY(-12px);
    -ms-transform: translateX(-12px) rotate(45deg) translateY(-12px);
    transform: translateX(-12px) rotate(45deg) translateY(-12px);
    transition: -webkit-transform 0.5s, background 0.5s, width 0.3s;
    transition: transform 0.5s, background 0.5s, width 0.3s;
}

/*certifications*/
#certifications {
    position: relative;
    background-color: var(--lightgrey);
    margin-top: 2rem;
    margin-bottom: 0%;
    padding-top: calc(4rem + 105px);
    padding-bottom: 2rem;
}

    #certifications::before {
        content: "";
        position: absolute;
        top: 0;
        background-image: url("/media/products/category-bottom-pattern.webp?v=yxRklgqGnk5EfhZsH4Xmc_yIL8o");
        background-size: cover;
        height: 104px;
        width: 100%;
    }

.certSwiper .left {
    width: 50%;
    float: left;
    padding: 1.5rem;
}

    .certSwiper .left h3 {
        margin-top: 0;
    }

    .certSwiper .left p {
        line-height: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.certSwiper .right {
    width: 50%;
    float: right;
}

.certSwiper .swiper-slide {
    border-radius: 1rem;
    background-image: url("/media/products/category-bg.webp?v=lQgMKjDR6F7CtmNpOCgVqCLxwO8");
    background-size: contain;
}

    .certSwiper .swiper-slide img {
        width: 100%;
        padding: 1.5rem;
    }

@media screen and (max-width:992px) {
    #certifications {
        display: none;
    }
}

footer {
    padding-top: 2rem;
    padding-bottom: 1rem;
    background-color: var(--lightgrey);
}

footer .container {
    display: flex;
    justify-content: space-around;
}

footer .segment-body > img {
    margin-bottom: 1rem;
    margin-top: 1rem;
    height: 60px;
}

footer li {
    line-height: 2.5;
}

footer li img {
    margin-right: .5rem;
}

footer .segment > .title {
    color: var(--logo-dark);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}


footer a {
    color: var(--black);
    text-decoration: none;
}

footer a:hover {
    color: var(--logo-dark);
}

footer .smt-channels {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(6,1fr);
}

footer .smt-channels > a {
    width: 2.5rem;
    height: 2.5rem;
    padding: .5rem;
    margin-top: .5rem;
    margin-bottom: 8px;
    border: 1px solid #333;
    border-radius: 50%;
}

@media screen and (max-width:992px) {
    footer .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    footer li.companyTitle {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
    }

    footer {
        padding-top: 1rem;
    }

    footer .segment:first-child {
        grid-column: 1 /span 2;
    }

    footer .segment:last-child {
        display: none;
    }

    footer .half {
        display: inline-block;
        width: 50%;
    }

    footer .support {
        float: left;
    }

    footer .smt-channels {
        grid-template-columns: repeat(3,1fr);
    }
}

.brand-banner {
    background: linear-gradient(90deg, var(--logo-dark) 50%, var(--logo-light) 70%);
    background-color: var(--logo-dark);
    color: white;
    padding: 2em 0;
    font-style: italic;
}

    .brand-banner .container {
        display: flex;
        align-items: center;
    }

    .brand-banner p {
        display: inline-block;
        color: white;
        margin: auto;
        line-height:2;
    }

    .brand-banner .btn-main {
        margin: auto;
    }

    .brand-banner a {
        display: inline-block;
        padding: .25rem .5rem;
        background-color: var(--logo-dark);
        border-radius: .2em;
        line-height: 2.5;
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        transition: all .4s;
        border: 1px solid #fff;
    }

/***********header p,,rt**********/
* {
    box-sizing: border-box;
    font-weight:600;
    font-family: "montserrat","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}

:root {
    /*primary color*/
    /*color name is Mauveine Color*/
    --logo-dark: #0D47A1;
    --logo-dark-rgb: 13, 71, 161;
    --logo-light: #1976D2;
    --logo-light-rgb: 25, 118, 210;
    /*secondary colors*/
    --darkgrey: #333;
    --darkgrey-rgb: 49, 50, 132;
    --lightgrey: #E9ECEF;
    --lightgrey-rgb: 230, 230, 230;
}
}
.clearfix::after {
    clear: both;
}

.clearfix::after,
.clearfix::before {
    content: '';
    display: table;
}

/*keep swiper style same with theme*/
.swiper-pagination-bullet-active {
    background-color: var(--logo-dark) !important;
}

.swiper-pagination-bullet {
    width: 1rem !important;
    height: 1rem !important;
    background-color: transparent;
    border: 1px solid var(--logo-dark);
    opacity: 1;
}
#contactSticker {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    animation: scale 2s ease-in-out infinite;
    z-index: 9999;
    background-color:white;
    border-radius:50%;
}

/*partner*/
#partners {
    background-color: var(--lightgrey);
    margin-top: 0%;
    margin-bottom: 0%;
    padding-top: 4rem;
    padding-bottom: 2rem;
}
.partnerSwiper > .swiper-wrapper {
    transition-timing-function: linear;
}

.partnerSwiper .swiper-slide img {
    width: 100%;
    margin: 20px;
    box-shadow: 0px 8px 23px 6px rgba(213, 226, 245, 0.5);
}


