/** 自定义样式 **/
:root, page {
    --panel-menu-text-color-hover: #96989a;
    --tw-ring-offset-color: #96989a;
    --color-text: #1c1c1c;
    --color-primary: #1c1c1c;
    --color-muted: #00448d
}
img {
    max-width: 100%;
    max-height: 100%;
}

html, body {
    scroll-behavior: smooth;
}

body {
    font-family: '微软雅黑';
    -webkit-font-smoothing: antialiased; /* 或 subpixel-antialiased */
}

.wryh-bold {
    font-family: '微软雅黑';
    font-weight: Bold;
}

.ub-header-b {
    height: 3.95rem;
}
.ub-header-b .logo a {
    height: 3rem;
}
.ub-header-b .logo a img {
    height: 2.5rem;
    margin-left: 1.7rem;
    margin-top: 0.35rem;
}

.ub-header-b .nav {
    padding: 0;
    text-align: right;
    padding-top: 0.95rem;
    transition: all 0.4s  linear;
    opacity: 1;
}
.ub-header-b .nav .nav-item, .ub-header-b .nav a {
    font-size: 0.75rem;
}
.ub-header-b .nav .nav-item .sub-title a, .ub-header-b .nav a .sub-title a {
    color: #1c1c1c;
}
.ub-header-b .nav .nav-item .sub-nav .sub-nav-item {
    text-align: left;
}
.ub-header-b .nav .nav-item.active, .ub-header-b .nav a.active,
.ub-header-b .nav .nav-item .sub-title a.active {
    color: #96989a;
}
.ub-header-b .nav a:hover,
.ub-header-b .nav .nav-item .sub-title a:hover, .ub-header-b .nav a .sub-title a:hover,
.ub-header-b .nav .nav-item .sub-nav .sub-nav-item:hover {
    color: #96989a;
}

.ub-header-b .menu.nav {
    padding-right: 1.4rem;
    text-align: left;
}
.ub-header-b .menu.search {
    /* transform: scaleX(-1); */
    color: #00448d;
    font-size: 1.25rem;
    margin: 1rem 1.2rem 0 0;
    padding: 0;
}
.ub-header-b .menu.sample {
    height: 2.15rem;
    margin: 0.8rem 1.15rem 0 0;
    background-color: #00448d;
}
.ub-header-b .menu.sample a{
    line-height: 1.3rem;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 400;
    margin-right: 0.5rem;
}

.nav-box {
    /* position: relative; */
}
.nav-box .search-box {
    position: absolute;
    top: -2.55rem;
    right: 0;
    z-index: 2;
    /* width: 50%; */
    height: 2.7rem;
    background-color: #ffffff;
    transition: all 0.5s  linear;
}
/* .ub-header-b .menu.search:active ~ .search-box{
    top: 0;
} */
#search-input {
    width: 90%;
    height: 100%;
    float: right;
    border: 0;
}
#search-input::placeholder {
    color: #1c1c1c;
    font-size: 0.75rem;
}
.nav-box .search-box i {
    font-size: 1.5rem;
    float: right;
    margin-right: 0.25rem;
}
footer {
    border-bottom: 2px solid #ffffff;
}
footer .row {
    margin: 0;
}
footer .logo {
    padding: 0 1.4rem;
}
footer .desc {
    font-size: 15px;
    font-weight: 100;
    color: #ffffff;
 }
 footer .contact-info {
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.7rem;
    opacity: 0.75;
 }
 footer .contact-icon a {
    padding: 0.5rem;
 }

 footer .down.ub-container {
    padding-top: 3rem;
    max-width: 1272px;
    font-size: 15px;
 }
 footer .down.ub-container h2.title {
    font-weight: bold;
    color: #ffffff;
 }
 footer .down.ub-container a {
    color: #afaeae;
    font-weight: 400;
 }


 
header .after {
    content: '';
    width: 100%;
    height: 0;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    display: block;
    position: absolute;
    background-color: #ffffff;
    top: 3.95rem;
    transition: all 0.2s  linear;
    overflow: hidden;
}
header .after .row {
    max-width: 100%;
    /* padding-left: 14rem; */
}

header:hover .after,
header .after.active {
    overflow: auto;
    /* height: 11rem; */
    transition-delay: 0.1s;
}


header .after .ub-list-items .item-p .title {
    font-family: '微软雅黑 Light';
    font-size: 0.7665rem;
    color: #5a5a5a;
}

header .cat-desc {
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    padding-left: 30px;
}
header .summary {
    font-size: 15px;
    line-height: 26px;
    color: #504e4e;
}
header .after .title{
    color: #313131;
    font-weight: bold;
    font-size: 37px;
}
header .after .more {
    width: 148px;
    height: 42px;
    display: block;
    background-color: #00448d;
    font-weight: bold;
    font-size: 12px;
    color: #ffffff;
    line-height: 42px;
    text-align: center;
}
header .nav-sub-cat {
    padding-left: 3.125vw;
    line-height: 59px;
}
header .nav-sub-cat a{
    font-size: 18px;
    font-weight: bold;
    color: #1d1d1d;
}
header .nav-sub-cat a:hover {
    color: #00448d;
}
header .nav-sub-cat a::before {
    content: '';    
    display: none;
    width: 0;
    height: 0;
    border-width: 0.25rem;
    border-style: solid;
    border-color: var(--color-muted) transparent transparent transparent;
    transform: rotate(-90deg);
    transform-origin: left;
    vertical-align: middle;
    margin-left: 0.1rem;
    margin-top: 0.25rem;
}
header .nav-sub-cat a:hover::before {
    display: inline-block;
}
header .nav-products,
header .nav-cover {
    display: none;
}
header .nav-products-box {
    line-height: 41px;
    font-size: 16px;
    font-weight: 100;
}
header .nav-products-box a {
    color: #303030;
}

header .cat-desc,
header .nav-cat-right {
    padding: 2rem;
}

.index-contact {
    background: url('/vendor/CmsThemeHjflet/images/bg1.webp');
    min-height: 6rem;
    display: flex;
    align-items: center;
}
.index-contact .row {
    margin: 0 auto;
    width: 100%;
}
.index-contact .desc {
    font-size: 1rem;
    color: #ffffff;
    font-weight: bold;
    /* line-height: 6rem; */
}
.index-contact form {
    height: 100%;
    display: flex;
    align-items: center;
}
.index-contact input {
    background-color: rgba(255, 255, 255, 0.7) !important;
    width: 80%;
    height: 2.1rem;
    color: #736f6f !important;
    font-family: 'Adobe 黑体 Std';
    border-radius: 0;
}
.index-contact button {
    width: 9rem;
    height: 2.1rem;
    background-color: #ffffff;
    font-weight: bold;
    font-size: 0.7rem;
    color: #00448d;
    border-radius: 0;
    margin-left: 1rem;
}

.index-contact input::placeholder {
    color: #736f6f !important;
 }


 .fixed-service-panel{
    width: 53px;
    height: 0px;
    position: sticky;
    transition: top .3s;
    z-index: 2000;
    top: 20rem;
    float: right;
    background-color: #00448d;
}

.fixed-service-panel li {
    width: 53px;
    height: auto;
    border-bottom: 1px solid #ffffff;
    background-color: #00448d;
}
.fixed-service-panel li {
    text-align: center;
}
.fixed-service-panel li:nth-child(2) {
    padding: 10px 0;
}
.fixed-service-panel li:nth-child(4) {
    position: relative;
}
.fixed-service-panel li:nth-child(4) div {
    position: absolute;
    right: 54px;
    bottom: -52px;
    display: none;
    border: 3px solid #000000;
}
.fixed-service-panel li:nth-child(4):active div,
.fixed-service-panel li:nth-child(4):hover div{
    display: block;
}
.fixed-service-panel li:last-child {
    height: 54px;
    padding-top: 12px;
    border: 0;
    background-color: #00448d;
}


 @media screen and (max-width: 40rem) {
    .ub-header-b .menu.sample {
        margin: 0.3rem 3.5rem 0 0;

    }
    .ub-header-b .menu.search {
        margin-top: 0.45rem;
    }
    .ub-header-b {
        height: 2.95rem;
    }
 }

