.bg {
    margin: 0 auto;
    padding: 20px;
    background: #f7f7f7;
    position: relative;
    min-height: 550px;
}

.buttonbox {
    text-align: left;
    padding-left: 10px;
    margin-top: 38px;

}

.buttonbox a {
    opacity: 1;
}

.buttonbox .buttonleft {
    margin-right: 20px;
    width: 104px;
    height: 37px;
    border: none;
    color: white;
    background: #FD544E;
    border-radius: 4px;
}

.buttonbox .buttonleft:focus {
    border: 0 none;
    outline: none;

}
.buttonbox .buttonleft:hover{
    opacity: 0.8    ;
}

.bg_left {
    width: 430px;
    height: auto;
    position: absolute;
    left: 0;
}

.bg_right {
    position: absolute;
    left: 440px;
    z-index: 10;
}

.posright {
    width: 50%;
    position: absolute;
    left: 550px
}

.posright .righttit {
    border-left: 5px solid rgb(254, 20, 47);
    text-align: left;
    padding-left: 10px;
}

.posright .pinpai {
    height: 50px;
    padding: 10px;
    background: rgb(244, 244, 244);
    text-align: left;
}

.posright .pinpai .pinpaikey {
    font-size: 18px;
    color: rgb(99, 99, 99);
}

.posright .pinpai .pinpaivalue {
    color: red;
    font-size: 25px;
}

.posright .jianjie {
    font-size: 18px;
    text-align: left;
}

.chanpinneirong {
    border-top: 1px solid rgb(192, 192, 192);
    margin-top: 550px;
    padding-top: 30px;
}

.chanpinneirong #details img {
    max-width: 100%;
}

.chanpinneirong .chanpinneirongtit {
    text-align: left;
    border-left: 5px solid red;
    padding-left: 10px;
    margin-bottom: 50px;
}

.show {
    width: 430px;
    height: 430px;
    margin-bottom: 10px;
    position: relative;
    border: 1px solid #E8E8E8;
    cursor: move
}

.show img {
    width: 100%;
    height: 100%;
}

.mask {
    width: 215px;
    height: 215px;
    background: #000;
    filter: Alpha(opacity=50);
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.bigshow {
    width: 430px;
    height: 430px;
    overflow: hidden;
    margin-left: 10px;
    display: none;
    border: 1px solid #E8E8E8;
}

.bigshow img {
    width: 860px;
    height: 860px;
    margin-right: 10px;
}

.smallshow {
    width: 100%;
    /* height: 70px; */
    position: relative
}

.smallshow img {
    width: 100%;
    border: 1px solid #e8e8e8;
    box-sizing: border-box;
    transition: all 0.5s
}

.smallshow>.middle_box {
    overflow: hidden;
    /* height: 70px; */
}

.smallshow .middle {
    overflow: hidden;
    transition: all 0.5s;
    margin: 0 auto;
    /* height: 70px; */
    padding: 0;
    width: 100% !important;
    display: flex;
    justify-content: space-between;
}

.smallshow .middle>li {
    width: 100px;
    height: 100px;
    float: left;
    cursor: pointer;
    /* padding: 0 5px; */
}

.smallshow>p {
    position: absolute;
    top: 50%;
    width: 22px;
    height: 32px;
    margin-top: -16px;
}

.smallshow>.prev {
    left: 0;
    background: url(../img/productsdetails/hover-prev.png) no-repeat;
    transition: all 0.5s
}

.smallshow>.next {
    right: 0;
    background: url(../img/productsdetails/hover-next.png) no-repeat;
    transition: all 0.5s
}

.smallshow>.prev.prevnone {
    left: 0;
    background: url(../img/productsdetails/prev.png) no-repeat;
    cursor: not-allowed
}

.smallshow>.next.nextnone {
    right: 0;
    background: url(../img/productsdetails/next.png) no-repeat;
    cursor: not-allowed
}

@media (max-width: 768px) {
    .bg {
        margin: 50px auto;
        padding: 0;
    }

    .bg_left {
        width: 100%;
    }

    .show {
        width: 100%;
        height: 100%;
    }

    .show img {
        width: 100%;
        height: 100%;
    }

    .posright {
        width: 100%;
        position: static;
        margin-top: 430px;
    }

    .posright .pinpai {
        height: 50px;
        padding: 10px;
    }

    .posright .pinpai .pinpaikey {
        font-size: 13px;
    }

    .posright .pinpai .pinpaivalue {
        font-size: 20px;
    }

    .posright .jianjie {
        font-size: 13px;
    }

    .posright .righttit {
        font-size: 20px;
    }



    .chanpinneirong {
        margin-top: 10px;
        padding-top: 10px;
    }


    .chanpinneirong .chanpinneirongtit {
        font-size: 20px;
        margin: 0 auto 20px;
    }
}