﻿/*yu 2024.05.21 优泰科官网商城*/
body {
    font-family: Helvetica, Arial, "sans-serif";
    font-size: 14px;
    background: #f3f3f3;
}
.txt-align-center {
text-align:center;
}
.is-pc body {
height:100vh;
overflow:hidden;
}

.header {
    z-index: 999;
}
.login-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}
.login-wrap {
    width: 90%;
    max-width: 1246px;
    background: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.login-txt {
    text-align: center;
    background: linear-gradient(to bottom, #8d919d 0%, #33383e 100%);
    width:30%;
}

.m-form2 {
    padding: 20px;
    border:none;
    width:57%
}

.login-wrap .m-form2 .btn {
    width: 100%;
    max-width:226px;
    border-radius:6rem;
}

.login-wrap .m-form2 .layui-input {
    height: 4rem;
    line-height:4rem;
    padding-left:0;
   -webkit-box-shadow: 0 0 0px 1000px transparent inset !important; 
    background-color: transparent; /*去掉文本框记住用户名密码样式*/
    background-image: none;
    transition: background-color 50000s ease-in-out 0s;
}
    .login-wrap .m-form2 .layui-input::-webkit-input-safebox-button {
        display: none;/*去掉密码框键盘样式*/
    }
    .login-wrap .m-form2 .layui-input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
        color: #d3d2d2 !important;
        opacity: 1;
    }

    .login-wrap .m-form2 .layui-input:-moz-placeholder, textarea:-moz-placeholder {
        color: #d3d2d2 !important;
        opacity: 1;
    }

    .login-wrap .m-form2 .layui-input:-ms-input-placeholder, textarea:-ms-input-placeholder {
        color: #d3d2d2 !important;
        opacity: 1;
    }
.login-wrap .m-form2 .layui-form-item input::-webkit-input-placeholder { /* WebKit browsers 适配谷歌 */
    color: #d3d2d2
}

.login-wrap .m-form2 .layui-form-item input:-moz-placeholder { /* Mozilla Firefox 4 to 18 适配火狐 */
    color: #d3d2d2
}

.login-wrap .m-form2 .layui-form-item input::-moz-placeholder { /* Mozilla Firefox 19+ 适配火狐 */
    color: #d3d2d2
}

.login-wrap .m-form2 .layui-form-item input:-ms-input-placeholder { /* Internet Explorer 10+  适配ie*/
    color: #d3d2d2
}

.login-wrap .m-form2 .btn {
    height: 6rem;
    line-height: 6rem;
    margin-top: 3rem;
}
.m-form2 .layui-input {
    border:none;
}
.login-wrap .m-form2 .layui-form-item {
    border-bottom: #c1c1c1 solid 1px;
    margin-bottom:5rem;
    position:relative;
}
    .login-wrap .m-form2 .layui-form-item span {
        position: absolute;
        right: 0;
        top:0.5rem;
        display: block;
        width: 3rem;
        height: 3rem;
        line-height: 3rem;
        text-align: center;
        background: #e3e3e3;
        border-radius:3rem;        
    }
        .login-wrap .m-form2 .layui-form-item span i {
        color:#fff;
        font-size:2.5rem;
        }
        .login-wrap .m-form2 .layui-form-item:last-child {
        border-bottom: none;
    }
.pt4 {
padding-top:4rem!important;
}
.login-tit {
text-transform:uppercase;
color:#333;
font-weight:bold;
margin-bottom:7rem;
font-size:2rem;
}
.show-mobile {
display:none;
}
/*导航*/
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
}

.menu {
    min-width: 100px;
    width: 70%;
    max-width: 24rem;
    background-color: #fff;
    color: #fff;
    z-index: 99999;
    height: 100vh;
    overflow: hidden;
}

.content {
    width: 100%;
}

.menu-button-wrap {
    position: fixed;
    top: 2px;
    left: 24.2rem;
    z-index: 99999;
}

.cross-on {
    left: 5px;
}

.menu-button {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 8px;
    cursor: pointer;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    background-color: #E5E5E5;
}


    .menu-button .bar:nth-of-type(1) {
        margin-top: 0px;
    }

    .menu-button .bar:nth-of-type(3) {
        margin-bottom: 0px;
    }

.bar {
    position: relative;
    display: block;
    width: 20px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    border-radius: 3px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.menu-button:hover .bar:nth-of-type(1) {
    -webkit-transform: translateY(1.5px) rotate(-4.5deg);
    -ms-transform: translateY(1.5px) rotate(-4.5deg);
    transform: translateY(1.5px) rotate(-4.5deg);
}

.menu-button:hover .bar:nth-of-type(2) {
    opacity: 0.9;
}

.menu-button:hover .bar:nth-of-type(3) {
    -webkit-transform: translateY(-1.5px) rotate(4.5deg);
    -ms-transform: translateY(-1.5px) rotate(4.5deg);
    transform: translateY(-1.5px) rotate(4.5deg);
}

.menu-button.cross .bar:nth-of-type(1) {
    -webkit-transform: translateY(6px) rotate(-45deg);
    -ms-transform: translateY(6px) rotate(-45deg);
    transform: translateY(6px) rotate(-45deg);
}

.menu-button.cross .bar:nth-of-type(2) {
    opacity: 0 !important;
}

.menu-button.cross .bar:nth-of-type(3) {
    -webkit-transform: translateY(-10px) rotate(45deg);
    -ms-transform: translateY(-10px) rotate(45deg);
    transform: translateY(-10px) rotate(45deg);
}

.header {
    color: #fff;
    height:40px;
    overflow:hidden;
}

    .header .full-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 40px;
        line-height:40px;
    }

.htool {
    margin-top: 0;
    text-align: right;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    right: -24rem;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.header-on .htool {
    right: 0;
}

.htool a {
    border: none;
}

.sub-nav {
    text-align: left;
    width: calc(100% - 100px);
    overflow: hidden;
}

    .sub-nav a {
        color: #fff;
    }

.header-on .sub-nav {
    width: calc(100% - 20px);
}

    .header-on .sub-nav a {
        color: #fff;
    }

.left-nav {
    opacity: 0;
    width: 43px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 700;
    left: -43px;
    background: #264c90;
    -webkit-transition-property: left;
    -moz-transition-property: left;
    transition-property: left;
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.swiper-slide-active .left-nav {
    -webkit-transition: 0.3s;
    transition: 0.3s;
    opacity: 1;
    left: 24rem
}

.menu-box {
    width: 100%;
}

    .menu-box .menu-logo {
        margin-top: 8.5rem;
        text-align: center;
    }

        .menu-box .menu-logo img {
            margin: 0 auto;
            margin-bottom: 3rem;
        }

.menu-link a {
    display: block;
    width: 100%;
    height: 3.5rem;
    border-bottom: 1px solid #ddd;
    padding-top: 1.1em;
    padding-left: 1em;
    transition-duration: 0.5s;
    font-family: Arial;
}

    .menu-link a:hover {
        background: #f0f0f0;
    }

    .menu-link a.cur {
        background: rgba(190, 190, 190, 0.98);
        color: #fff;
    }

.main-box {
    margin: 3rem 0;
    margin-left: 3rem;
    height: 100%;
    width: calc(100% - 30rem);
}

.swiper-slide-active .main-box {
    width: calc(100% - 100px);
    margin-left: 70px;
}

.main-box-tit {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #ddd;
    min-height: 3rem;
    font-size: 18px;
}

    .main-box-tit i {
        font-size: 18px;
    }

    .main-box-tit .right-set {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

        .main-box-tit .right-set div {
            background: #264c90;
            color: #fff;
            width: 2.8rem;
            height: 2.8rem;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            text-align: center;
            margin: 2px;
        }

.main-box-content {
    max-height: calc(100vh - 14rem);
    /*overflow-y: scroll;*/
    background: #fff;
}
.is-pc .main-box-content {
    overflow-y: scroll;
}

.main-box-content .table {
    width: 100%;
}

        .main-box-content .table thead th {
            font-weight: bold;
        }

        .main-box-content .table tbody td {
        }

        .main-box-content .table tbody td,
        .main-box-content .table thead th {
            padding: 5px 0;
            padding-left: 5px;
            padding-right: 5px;
            text-align: left;
            word-break: keep-all;
            text-overflow: ellipsis;
            white-space: nowrap;
            border-bottom: 1px solid #ddd;
        }

        .main-box-content .table tbody tr td a {
            color: red;
        }

.cart-form .buy-sp:first-child {
    border: none;
}

.buy-sp .sp-tit span,
.buy-sp .price-wrap,
.order-xq .nbk-info .txt-zt1,
.order-bk1 .nbrow p {
    font-size: 14px;
}

.shop-car {
    padding-bottom: 3rem;
}

    .shop-car .wrap {
        width: 96%;
    }

.buy-tool {
    line-height: 40px;
}

    .buy-tool .pdot .sp-fh,
    .order-xq .jd-tit {
        font-size: 15px;
    }

.order-xq .jd-tit {
    line-height: 40px;
}

.buy-tool .btn-submit {
    font-size: 14px;
    max-width: 200px;
}

.order-bz {
    margin-bottom: 3rem;
}

    .order-bz .order-info {
        height: auto;
    }

.price-box .brow {
    margin-bottom: 5px;
}

.order-bk1 .nbrow {
    line-height: 35px;
}

.main-box-content .table tbody tr td .del-btn i {
    font-size: 17px;
}

.main-box-content .table tbody tr td .del-btn {
    color: #264c90
}

.product-group {
    margin-bottom: 1.8rem;
}

.search-box {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}


    .search-box .text1 {
        display: block;
        height: 3.3rem;
        line-height: 3.3rem;
        border: 1px solid #ddd;
        background-color: #fff;
        color: #666;
        width: 100%;
        box-sizing: border-box;
        padding: 0 2px;
    }
    .search-box .text-num {
    text-align:right;
    }
    .search-box .checkbox {
    clear:both;
    }
    .search-box button {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 25%;
        text-align: center;
        height: 4rem;
        line-height: 4rem;
        background: #cc2c2f;
        border: 0;
        color: #fff;
        font-size: 14px;
        vertical-align: middle;
        min-width: 75px;
    }

        .search-box button i {
            font-size: 18px;
            font-weight: normal;
            margin-right: 5px;
        }
.search-box-item {
display:flex;
flex-direction:row;
justify-content:space-between;
margin-bottom:5px;
}
    .search-box-item .search-box-item-left,
    .search-box-item .search-box-item-right {
        width: 49%;
    }

.long-item {
width:100%;
}
    .long-item div {
    height:18px;
    overflow:hidden;
    }
    .search-box-button {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }
    .search-box-button button {
    margin-right:5px;
    }
#proLeft {
    height: calc(100vh - 40px - 6rem);
    overflow-y: auto;
}
@media (max-width: 768px) {
    #proLeft {
        height: auto;
        overflow-y: initial;
    }
}
    .product-group-list {
        height: calc(100vh - 1560px/2);
        background: #fff;
        overflow-y: auto;
        border-bottom: 1px solid #ddd;
        min-height:80px;
    }


        .product-group-list li {
            border-bottom: 1px solid #ddd;
            padding: 5px 0;
        }

            .product-group-list li:last-child {
                border: none;
            }

        .product-group-list ul {
            margin: 0;
            padding: 0;
        }

        .product-group-list li ul {
            border-top: 1px solid #ddd;
        }

        .product-group-list ul > li > a {
            padding-left: 10px;
            cursor: pointer;
        }

        .product-group-list ul > li > ul > li a {
            padding-left: 30px;
            cursor: pointer;
        }

        .product-group-list ul > li > ul > li > ul > li a {
            padding-left: 40px;
            font-size: 13px;
        }

        .product-group-list ul.hide {
            display: none;
            transition-duration: 0.3s;
        }

        .product-group-list ul.show {
            display: block !important;
            transition-duration: 0.3s;
        }

        .product-group-list ul > li > ul > li > ul > li a {
        }

            .product-group-list ul > li > ul > li > ul > li a.on {
                color: #264c90;
            }

    .part-list {
        background: #fff;
        width: 100%;
    }

        .part-list .wrap2 {
            width: 100%
        }


    /*没有数据*/
    .nodata {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        color: #E5E5E5;
        width: 100%;
        margin: 20vh auto;
    }

        .nodata img {
            margin: 0 auto;
            max-width: 200px;
        }

        .nodata .txt {
            margin: 2rem auto;
        }

    #proRight {
        background: #fff;
    }

    .mask {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: rgba(0,0,0,.65);
        z-index: -100;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: opacity .4s ease;
        width: 100%;
        height: 100vh;
    }

    @media only screen and (max-width: 1300px) and (min-width: 640px) {
        .part-list .wrap2 {
            padding: 0;
        }

        .part-list .midd-12 {
            width: 100%;
            margin-right: 0;
        }
    }

    @media (max-width: 1024px) {
        .order-bk2 {
            line-height: 24px;
        }

        .je-tool,
        .order-bk1 .nbrow,
        .order-jdt .nbrow p {
            line-height: 24px;
        }

            .je-tool span {
                font-size: 13px;
            }

            .je-tool .istyle2 {
                font-size: 14px;
            }

        .order-bz .order-info {
            padding: 10px;
            font-size: 14px;
        }

        .login-tit {
            margin-bottom: 4rem;
        }

        .login-wrap .m-form2 .layui-form-item {
            margin-bottom: 3rem;
        }
    }

    @media (max-width: 990px) {
        .pnum input[type="button"] {
            font-weight: normal;
            font-size: 20px;
            width: 4rem;
            height: 38px;
            font-family: "";
            line-height: 36px;
        }

        .pnum input {
            width: 6rem;
        }
    }

    @media (max-width: 768px) {
        .pt4 {
            padding-top: 1rem;
        }

        .login-wrap .m-form2 .btn {
            margin-top: 0;
        }
        /*导航侧边栏*/
        .left-nav {
            width: 0;
        }

        .swiper-slide-active .left-nav {
            display: none;
        }

        .swiper-slide-active .main-box {
            width: 100%;
            margin-left: 0;
            margin: 1rem;
        }

        .menu {
            left: -70%;
            position: fixed;
        }

        .htool {
            right: 0;
            width: 50%;
        }

            .htool a {
                padding-right: 1rem
            }

        .menu-button-wrap {
            left: 1rem;
            top: 0.8rem;
        }

        .main-box-content {
            overflow-y: scroll;
        }

        .main-box {
            width: calc(100% - 2rem);
            margin: 3rem 1rem;
        }

        .product-group-list {
            height: auto;
        }

        #proRight {
            margin-top: 3rem;
        }

        .menu-wrapper-on .menu {
            left: 0;
            z-index: 9999
        }

        .menu-wrapper-on .mask {
            z-index: 9999;
            opacity: 1;
            visibility: visible;
            pointer-events: all;
        }

        .nodata {
            margin: 5rem auto;
        }

            .nodata img {
                max-width: 100px;
            }

        .pnum2 input {
            height: 36px;
            line-height: 36px;
        }

        .buy-sp .row {
            position: relative;
        }

        .buy-sp .sp-tit-2 span {
            margin-bottom: 0;
            display: initial;
        }

        .buy-sp .sp-tit-2 br {
            display: block;
            height: 1px;
        }

        .mod-cart-code {
            position: absolute;
            width: auto;
            width: 30%;
        }

        .mod-cart-price,
        .mod-cart-num {
            width: 60%;
            margin-left: 35%;
            margin-right: 0;
        }

        .mod-cart-remove {
            position: absolute;
            right: 0;
            bottom: 10%;
        }

        .menu-button {
            padding: 5px;
        }

        .order-brow .nbk-info .table-head {
            opacity: 1
        }
    }

    @media only screen and (max-width: 680px) {

        .login-wrap {
            flex-direction: column;
            padding-bottom: 10rem;
            background: none;
        }

        .login-txt {
            width: 100%
        }

        .m-form2 {
            width: 90%;
            background: #fff;
            margin-top: 0 !important;
        }

        .login-tit {
            text-align: center;
        }

        .show-mobile {
            display: block !important;
        }

        .show-pc {
            display: none;
        }

        .login-wrap .m-form2 .btn {
            margin: 0 auto;
        }
    }

    @media only screen and (max-width: 640px) {
        .part-list .wrap2 {
            padding: 0;
        }

        .mod-cart-code .m-sp-tit {
            font-size: 12px;
        }
    }