﻿body {
    background-color: #FFF;
    color: #333;
}

.maxwidth {
    max-width: 1300px;
    margin: auto;
}

.margin-top5 {
    margin-top: 5px;
}

.margin-top10 {
    margin-top: 10px;
}

.margin-top20 {
    margin-top: 20px;
}

.margin-top50 {
    margin-top: 50px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-warning {
    color: #ff9900 !important;
}

.text-success {
    color: #19be6b !important;
}

.text-info {
    color: #2d8cf0 !important;
}

.text-muted {
    color: #909090 !important;
}

.small {
    font-size: 12px;
}

.money:before {
    content: '\00a5';
}

.ismust:before {
    content: "*";
    color: red;
    font-size: 12px;
}

.btn-towish {
    border: none;
    background-color: transparent;
    padding: 0px;
    cursor: pointer;
    float: right;
    padding: 5px 10px;
}

    .btn-towish .layui-icon-star-fill {
        color: #FF5151;
    }

.top-fixed {
    line-height: 50px;
    font-size: 16px;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 99;
}

    .top-fixed.layui-bg-cyan a {
        color: #fff !important;
    }

.layui-badge:empty {
    display: none;
}

.nflag {
    border: 1px solid #ccc;
    margin: 2px;
}


.home-more .layui-nav {
    background-color: #fff;
    padding: 0px;
}

.home-more .layui-nav .layui-nav-item a {
    padding: 0px 10px;
}

.home-more .layui-nav-more {
    display: none;
}
.home-more .layui-nav .layui-nav-child dd.layui-this a, .layui-nav-child dd.layui-this
{
    background-color:#fff;
    color:#333
}
.home-more .layui-nav-child {
    right: 0;
    left: initial;
    text-align:left;
}

.home-more .more {
    background-color: #333333;
    color: #fff;
    font-size: 16px;
    float: right;
    margin-top: 10px;
}

.home-more .more:hover {
    background-color: #333333;
}




.header-menu {
    text-align: center;
    border-bottom: 1px solid #ddd;
}

    .header-menu .layui-nav-item a {
        text-transform: capitalize;
        cursor: pointer;
    }

    .header-menu .layui-nav-item:hover:after {
        content: '';
        height: 5px;
        position: absolute;
        background-color: #5FB878;
        left: 0px;
        bottom: 0px;
        width: 0%;
        animation: layui-nav-item-animal 0.5s forwards;
    }

@keyframes layui-nav-item-animal {
    from {
        width: 0%;
        left: 50%;
    }

    to {
        width: 100%;
        left: 0px;
    }
}


.layui-bg-other {
    background-color: #fff;
    display: inline-block;
    padding: 0px;
}

    .layui-bg-other a {
        color: #474747 !important;
        font-size: 1.2em;
    }

.header-menu .layui-nav-child {
    text-align: left;
}

    .header-menu .layui-nav-child dd a {
        font-size: 12px !important;
        cursor: pointer;
    }

.header-menu .child-header-menu {
    min-height: 300px;
    width: 1300px;
    background-color: #fff;
    border-top: 2px solid #009688;
    z-index: 5;
    -moz-box-shadow: 2px 2px 5px #ccc;
    -webkit-box-shadow: 2px 2px 5px #ccc;
    box-shadow: 2px 2px 5px #ccc;
    position: absolute;
    left: 50%;
    margin-left: -650px;
    display: none;
}

    .header-menu .child-header-menu .text-menu {
        padding: 20px 30px;
        line-height: 35px;
    }

        .header-menu .child-header-menu .text-menu .text-menu-title {
            width: 100%;
            background-color: #009688;
            color: #fff;
            text-transform: uppercase;
            font-weight: bold;
        }

        .header-menu .child-header-menu .text-menu ul li {
            border-bottom: 1px solid #e2e2e2;
            text-align: left;
            transition-duration: 0.5s;
        }

            .header-menu .child-header-menu .text-menu ul li:hover {
                padding-left: 5px;
            }

            .header-menu .child-header-menu .text-menu ul li a {
                color: #55585B;
                font-weight: 600;
                text-transform: capitalize;
            }

    .header-menu .child-header-menu .pic-menu .layui-col-xs3 {
        overflow: hidden;
        padding: 20px;
    }

        .header-menu .child-header-menu .pic-menu .layui-col-xs3 .pic-menu-img {
            position: relative;
            width: 100%;
            overflow: hidden;
            height: 0px;
            transition-duration: 0.5s;
            padding-top: 100%;
        }

            .header-menu .child-header-menu .pic-menu .layui-col-xs3 .pic-menu-img img {
                position: absolute;
                width: 100%;
                height: 100%;
                top: 0px;
                left: 0px;
            }

            .header-menu .child-header-menu .pic-menu .layui-col-xs3 .pic-menu-img:hover {
                margin-top: -10px;
            }

    .header-menu .child-header-menu .pic-menu .pic-menu-label {
        padding: 7px;
        background-color: rgba(191, 158, 176, 0.7);
        color: #fff;
    }

        .header-menu .child-header-menu .pic-menu .pic-menu-label a {
            color: #fff;
            font-size: 14px;
            text-transform: capitalize;
        }

.more {
    background-color: #333333;
    color: #fff;
    font-size: 16px;
    float: right;
    margin-top: 10px;
}

    .more:hover {
        background-color: #fff;
    }
/*图片新闻标题*/
.carousel-title {
    position: absolute;
    bottom: 55px;
    line-height: 35px;
    text-align: left;
    background-color: rgba(148, 134, 149, 0.6);
    color: #fff;
    left: 20%;
    right: 20%;
    font-size: 1.6em;
    padding: 20px;
    border-radius: 5px;
}

.carousel-title-mob {
    position: absolute;
    bottom: 0px;
    line-height: 18px;
    text-align: left;
    background-color: rgba(148, 134, 149, 0.4);
    color: #fff;
    left: 0px;
    right: 0px;
    font-size: 14px;
    padding: 5px;
    border-radius: 5px;
}
/*登录*/
.usermodal {
    padding: 40px 30px 20px;
    display: none;
}

.user-cirle {
    background-color: #009688;
    color: #fff;
    padding: 5px;
    border-radius: 100%;
}
/*移动端*/
.mob-menu-bg {
    cursor: pointer;
    z-index: 9999;
    position: fixed;
    right: 0px;
    top: 0px;
    bottom: 0px;
    left: 0px;
    display: none;
}

.mob-menu {
    right: -50%;
    position: absolute;
    overflow: hidden;
    top: 0px;
    bottom: 0px;
    width: 50%;
    background-color: #fdfdfd;
    font-size: 16px;
    line-height: 35px;
    -moz-box-shadow: -1px 0px 2px #ccc;
    -webkit-box-shadow: -1px 0px 2px #C1C1C1;
    box-shadow: -1px 0px 2px #ccc;
    overflow-y: auto;
}

    .mob-menu ul {
        padding: 10px;
    }

        .mob-menu ul:first-child {
            width: 100%;
            background-color: #2F4056;
            line-height: 30px;
        }

            .mob-menu ul:first-child a {
                color: #fff !important;
            }

        .mob-menu ul:nth-child(2) li a {
            color: #333 !important;
        }

            .mob-menu ul:nth-child(2) li a:after {
                content: '\003e';
                position: absolute;
                right: 20px;
                color: #ccc;
            }
/*首页*/
.col-img > div > div:first-child {
    position: relative;
    overflow: hidden;
    height: 0px;
    padding-top: 100%;
}

.col-img > div > div > a > img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    transition: all 0.5s linear;
}

    .col-img > div > div > a > img:hover {
        transform: scale(1.1,1.1);
        transition: all 0.5s linear;
    }

.col-img > div .col-img-text {
    text-align: center;
    padding: 20px 0px;
    line-height: 30px;
}

    .col-img > div .col-img-text .col-img-text-title {
        color: #EA3138;
        font-size: 18px;
    }

    .col-img > div .col-img-text .col-img-text-body {
        font-size: 16px;
        white-space: nowrap; /* 保持文本在一行内显示 */
        overflow: hidden; /* 隐藏超出div大小的内容 */
        text-overflow: ellipsis; /* 超出部分显示为省略号 */
    }

.col-img .operate-option {
    position: absolute;
    z-index: 1;
    bottom: -40px;
    width: 100%;
    text-align: center;
    background-color: rgba(132, 142, 134, 0.20);
    padding: 5px 0px;
    transition-duration: 0.3s;
}

.col-img > div:hover .operate-option {
    bottom: 0px;
}

.country-card {
    margin: 30px auto;
    padding: 20px;
    min-height: 450px;
    position: relative;
}

.country-card-mob {
    margin: 10px auto;
    padding: 2px !important;
}

.country-card .card-main {
    border: 2px solid #000;
    padding: 30px 50px;
    z-index: 1;
}

.card-main-mob {
    padding: 30px 10px !important;
}

.country-card .card-main .header {
    font-size: 50px;
    font-weight: bold;
    padding: 20px 0px;
}

.country-card .card-main .body {
    font-size: 16px;
    color: #6E6E6E;
    line-height: 30px;
}

.country-card .card-main .footer {
    padding: 30px;
}

.country-card .card-img {
    position: relative;
    min-height: 350px;
}

    .country-card .card-img img {
        position: absolute;
        border: 15px solid #fff;
        border-radius: 5px;
        -moz-box-shadow: 2px 2px 5px #ccc;
        -webkit-box-shadow: 2px 2px 5px #ccc;
        box-shadow: 2px 2px 5px #ccc;
        width: 80%;
    }

        .country-card .card-img img.right {
            transform: rotate(15deg);
            left: 0px;
        }

        .country-card .card-img img.left {
            transform: rotate(-15deg);
            right: 0px;
        }

.country-select {
    margin-top: 10px;
}

    .country-select .layui-card-header {
        padding-left: 50px;
    }

    .country-select span {
        line-height: 50px !important;
    }

.part2-panel div {
    transition-duration: 0.5s;
}

.part2-panel:hover .part2-txt-left, .part2-panel:hover .part2-txt-right {
    bottom: 0px;
}

.part2-panel .part2-txt-left {
    position: absolute;
    bottom: -50px;
    right: 0px;
    width: 100%;
    max-width: 430px;
    z-index: 1;
    text-align: center;
    background-color: rgba(174, 181, 181, 0.80);
    padding: 10px 0px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.part2-panel .part2-txt-right {
    position: absolute;
    bottom: -50px;
    left: 0px;
    width: 100%;
    max-width: 430px;
    z-index: 1;
    text-align: center;
    background-color: rgba(174, 181, 181, 0.80);
    padding: 10px 0px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

/*商品详情页*/
.product-detail-tabs {
    width: 100%;
}

    .product-detail-tabs .tab {
        line-height: 60px;
        padding: 20px 5px;
        font-size: 16px;
        font-weight: bold;
        margin: 0 10px;
    }

    .product-detail-tabs .page {
        display: none;
        min-height: 500px;
        width: 100%;
    }

    .product-detail-tabs .product-detail-tab-content {
        border-top: 1px solid #ccc;
    }

    .product-detail-tabs a.active {
        border-bottom: 2px solid #FF5151;
        color: #FF5151;
    }

/*列表*/
.hot {
    color: #FF5151;
    font-weight: bold;
}

.search-condition {
    border: 1px #f2f2f2 solid;
    padding: 10px;
    border-radius: 5px;
}

.category-filter {
    margin-top: 10px;
    text-transform: capitalize;
}

    .category-filter ul li:not(:first-child) {
        line-height: 35px;
        border-bottom: 1px solid #eaeaea;
        transition-duration: 0.5s;
    }

        .category-filter ul li:not(:first-child):hover {
            padding-left: 10px;
        }

            .category-filter ul li:not(:first-child):hover a {
                color: #AB72A4;
            }

    .category-filter ul li h5 {
        background-color: #AB72A4;
        color: #fff;
        display: inline-block;
        padding: 10px;
        font-size: 1.2em;
        margin-top: 5px;
        margin-bottom: 5px;
    }

.mob-category-filter-panel {
    border: 1px solid #ddd;
    margin: 5px 10px;
    padding: 5px;
    line-height: 25px;
}

    .mob-category-filter-panel:empty {
        background: #ff0000;
    }

.mob-category-filter {
    padding: 5px;
}

    .mob-category-filter h5 {
        font-size: 14px;
        font-weight: bold;
    }

    .mob-category-filter span {
        margin: 5px;
        text-wrap: none;
    }
/*购物车*/
.cart-mob-row {
    margin-top: 5px;
}

    .cart-mob-row .thumbnail {
        position: relative;
        overflow: hidden;
        height: 0px;
        padding-top: 100%;
    }

        .cart-mob-row .thumbnail img {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0px;
            left: 0px;
        }

    .cart-mob-row .right-detail {
        padding: 5px 15px;
        line-height: 30px;
    }

        .cart-mob-row .right-detail .qtybtn {
            font-size: 22px;
            padding: 0px 15px;
        }

        .cart-mob-row .right-detail .qtyinput {
            width: 40px;
            line-height: 25px;
            text-align: center;
            padding-bottom: 3px;
            border: 1px solid #ccc;
            background-color: #eee;
        }

.cart {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

    .cart td, .cart th {
        border: 1px solid #eee;
        text-align: center;
    }

    .cart th {
        line-height: 50px;
    }

    .cart td {
        height: 142px;
        vertical-align: middle;
    }

        .cart td img {
            width: 110px;
            height: 110px;
        }

        .cart td input {
            width: 60px;
            padding: 5px;
        }

/*news*/
.news-list-row {
    line-height: 30px;
    /*margin-top:25px;*/
}

.news-list-row-date {
    border-right: 2px solid #D9DAD6;
    padding-right: 25px;
}

    .news-list-row-date > div {
        line-height: 15px;
        text-align: right;
        color: #C2C3BE
    }

        .news-list-row-date > div:first-child {
            font-size: 18px;
            font-weight: bold;
        }

.news-list-row-title {
    text-wrap: none;
    white-space: nowrap; /* 保持文本在一行内显示 */
    overflow: hidden; /* 隐藏超出div大小的内容 */
    text-overflow: ellipsis; /* 超出部分显示为省略号 */
}

    .news-list-row-title a {
        /*   padding:0px 25px;*/
        line-height: 35px;
        font-size: 16px;
        color: #585858;
    }

        .news-list-row-title a:before {
            content: "\25ba";
            color: #A7A7A7;
            font-size: 10px;
            margin-right: 10px;
        }

.newsdetail-rlist {
    border: 1px solid #eee;
    margin-bottom: 20px;
    margin-left: 5px;
}

    .newsdetail-rlist .rtitle {
        background-color: #EBF1F1;
        padding: 10px 15px;
        font-weight: bold;
        font-size: 1.2em;
    }

    .newsdetail-rlist .rdetails {
        padding: 10px 15px;
        line-height: 30px;
    }

        .newsdetail-rlist .rdetails ul li {
            text-wrap: none;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
        }

            .newsdetail-rlist .rdetails ul li :before {
                /*content:'\2022';*/
                margin-right: 5px;
            }

.top-menu a {
    margin: 0px 20px;
    cursor: pointer;
}

.breadcrumb {
    padding: 10px 15px;
    margin-bottom: 20px;
    margin-top: 20px;
    list-style: none;
    background-color: #f5f5f5;
    border-radius: 4px;
}

    .breadcrumb > li {
        display: inline-block;
    }


.huahao-toolbar {
    /*background-color: #7A6E6E;*/
    width: 6px;
    position: fixed;
    z-index: 9999;
    top: 0px;
    bottom: 0px;
    right: 0px;
}

    .huahao-toolbar ul {
        position: fixed;
        top: 30%;
        right: 25px;
        width: 35px;
        right: 0px;
    }

    .huahao-toolbar li {
        cursor: pointer;
        position: relative;
        line-height: 35px;
        text-align: center;
        border: 1px solid transparent;
        color: #FFF;
        background-color: #7A6E6E;
        font-size: 16px;
        margin-top: 1px;
        right: 0px;
        border-radius: 4px;
    }

        .huahao-toolbar li:hover:not(:last-child) {
            position: relative;
            background-color: #FFF;
            color: #FF002E !important;
            transition-duration: .5s;
            border: 1px solid #FFF;
        }

        .huahao-toolbar li:hover > .hidden-menu {
            display: block;
        }

    .huahao-toolbar .hidden-menu {
        position: absolute;
        right: 35px;
        width: 100px;
        display: none;
        top: 0px;
        margin-top: -1px;
        background-color: #FF002E;
        border: 1px solid #FF002E;
        color: #FFF;
        border-radius: 5px 0px 0px 5px;
        font-size: 16px;
        text-align: center;
        padding: 0px;
        z-index: -1;
    }

.index-product-title {
    white-space: nowrap; /* 保持文本在一行内显示 */
    overflow: hidden; /* 隐藏超出div大小的内容 */
    text-overflow: ellipsis; /* 超出部分显示为省略号 */
}
