﻿
#submenu ul {
    list-style: none;
    padding: 0;
}

    #submenu ul li {
        background-color: #f0f0f0;
        margin: 1px;
        padding: 10px;
    }
.chat-box {
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 600px;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}

.input-field {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
}

.send-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    margin-left: 10px;
}

    .send-button:hover {
        background-color: #3e8e41;
    }


#image-container {
    position: fixed;
    bottom: 0;
    right: 200px;
}

    div.gallery {
        border: 0px solid #ccc;
        overflow:hidden;
    }
div.galleryx {
    border: 1px solid #ccc;
    overflow: hidden;
    object-fit:cover
}
        div.gallery:hover {
            border: 0px solid #777;
        }
div.galleryx:hover {
    border: 1px solid #777;
}
        /*div.gallery img {
            width: 100%;
            height: auto;
        }

        div.gallery ImageButton {
            width: 100%;
            height: auto;
        }*/

    div.descg {
        padding: 5px;
        text-align: center;
    }



    .buy {
        font-weight: normal;
        color: darkblue;
        font-size: 15px;
        text-align: center;
    }

    div.desc1 {
        padding: 0px;
        text-align: left;
        float: left;
        width: 49.99%;
    }

    div.desc11 {
        padding: 0px;
        text-align: left;
        float: left;
        width: 24.9%;
    }

    div.desc2 {
        padding: 0px;
        text-align: right;
        float: right;
        width: 49.9%;
    }
div.desc3 {
    padding: 0px;
    text-align: left;
    float: left;
    width: 49.9%;
}
    div.descnews {
        padding: 0px;
        text-align: right;
        float: right;
        width: 100%;
    }

    @media screen and (max-width: 600px) {
        div.desc1 {
            padding: 0px;
            text-align: left;
            float: left;
            width: 100%;
        }

        div.desc11 {
            padding: 0px;
            text-align: left;
            float: left;
            width: 49.99%;
        }


        div.desc2 {
            padding: 0px;
            text-align: right;
            float: right;
            width: 100%;
        }
        div.desc3 {
            padding: 0px;
            text-align:left;
            float: left;
            width: 100%;
        }
    }

    div.desc {
        padding: 5px;
        text-align: left;
    }

.responsiveLiuyan {
    padding: 0 6px;
    float: left;
    width: 90%;
}

    .responsive1 {
        padding: 0 6px;
        float: left;
        width: 24.99%;
    }
.responsive1x {
    padding: 0 0px;
    float: left;
    width: 23%;
}

    .responsive2 {
        padding: 0 3px;
        float: left;
        width: 16.66%;
    }

    .responsive8 {
        padding: 0 3px;
        float: left;
        width: 12.4%;
       
    }
.responsive8loja {
    padding: 0 3px;
    float: left;
    width: 11%;
}
.responsive16 {
    text-align:left;
    padding: 0 6px;
    float: left;
    width: 6.2%;
}
.responsiveCV {
    padding: 0 0px;
    float: left;
    width: 12.1%;
}

.leftarrow {
    position: fixed;
    left: 5px;
    top: 30%;
    width: 60px;
    height: 60px;
}
.rightarrow {
    position: fixed;
    right: 5px;
    top: 30%;
    width: 60px;
    height:60px;
}
@media only screen and (max-width: 900px) {
    .responsive8 {
        width:24.9%;
    }
}
    @media only screen and (max-width: 600px) {
        .responsive2 {
            width: 48%;
        }

        .responsive16 {
            width: 24.9%;
        }

        .responsive8 {
            width: 49%;
        }

        .responsive8loja {
            width: 48%;
        }

        .responsive1x {
            width: 49.99%;
        }

        .responsive1 {
            width: 49.99%;
        }

        .responsiveLiuyan {
            width: 90%;
        }

        .responsiveCV {
            float: left;
            width: 45%;
        }

        .leftarrow {
            position: fixed;
            left: 5px;
            top: 30%;
            width: 30px;
            height: 30px;
        }

        .rightarrow {
            position: fixed;
            right: 5px;
            top: 30%;
            width: 30px;
            height: 30px;
        }
    }

    .name {
        font-weight: bold;
        font-size: 16px;
        text-align: center;
    }

    .name1 {
        font-size: 13px;
        text-align: left;
    }

    .detail {
        font-weight: normal;
        font-size: 16px;
        text-align: center;
    }

    .neirong {
        font-weight: normal;
        font-size: 19px;
        text-align: center;
    }

    .detail1 {
        font-family: 'Times New Roman', Times, serif;
        font-weight: normal;
        font-size: 13px;
        text-align: center;
    }

    .detail2 {
        font-family: 'Times New Roman', Times, serif;
        font-weight: normal;
        font-size: 12px;
        text-align: left;
        color: blue;
    }

    .pic {
        width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
        transition: transform .5s ease;
        border-radius: 10%;
    }

    .picGood {
        width: 35px;
        height: 35px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        transition: transform .5s ease;
        border-radius: 10%;
    }

    .pic2 {
        width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .pic3 {
        width: 50px;
        height: 50px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .pic:hover {
        transform: scale(1.2);
    }

    .picsmall {
        width: 100px;
        height: auto;
    }

    body {
        color: black;
        font-family: Arial;
        font-size: 16px;
        background-color: white;
    }

    .topnav {
        overflow: hidden;
        background-color: darkblue;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

        .topnav a {
            float: left;
            display: block;
            color: #f2f2f2;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
            font-size: 17px;
        }

    .active {
        background-color: #4CAF50;
        color: white;
    }

    .topnav .icon {
        display: none;
    }

    .dropdown {
        float: left;
        overflow: hidden;
    }

        .dropdown .dropbtn {
            font-size: 17px;
            border: none;
            outline: none;
            color: white;
            padding: 14px 16px;
            background-color: inherit;
            font-family: inherit;
            margin: 0;
        }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }

        .dropdown-content a {
            float: none;
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            text-align: left;
        }

    .topnav a:hover, .dropdown:hover .dropbtn {
        background-color: #555;
        color: white;
    }

    .dropdown-content a:hover {
        background-color: #ddd;
        color: black;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    @media screen and (max-width: 600px) {
        .topnav a:not(:first-child), .dropdown .dropbtn {
            display: none;
        }

        .topnav a.icon {
            float: right;
            display: block;
        }
    }

    @media screen and (max-width: 600px) {
        .topnav.responsive {
            position: relative;
        }

            .topnav.responsive .icon {
                position: absolute;
                right: 0;
                top: 0;
            }

            .topnav.responsive a {
                float: none;
                display: block;
                text-align: left;
            }

            .topnav.responsive .dropdown {
                float: none;
            }

            .topnav.responsive .dropdown-content {
                position: relative;
            }

            .topnav.responsive .dropdown .dropbtn {
                display: block;
                width: 100%;
                text-align: left;
            }
    }

    .clearfix:after {
        content: "";
        display: table;
        clear: both;
    }

    /*购物车位置*/
    .navbar1 {
        position: fixed;
        bottom: 5px;
        right: 5px;
        width: 39%;
    }

    @media only screen and (max-width: 500px) {
        .navbar1 {
            width: 100%;
        }
    }

table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin: auto;
}
 .tableimg {
     width:60px;
     height:auto;
 }
.tableBTN {
    width: 80px;
    height: auto;
}
th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#quantipro {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #333;
}
th {
    background-color: #f2f2f2;
}

input[type="number"] {
    width: 80px;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    text-align:right
}
input[type="numberjinjia"] {
    width: 80px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    text-align: right
}
input[type="name"] {
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
 
