.palace-product {
    background: #fff;
    overflow: hidden;
}
.wap_top .index{display:none;}
.pageBox {
    text-align: center;
    margin: 4% 0 0 !important;
}

.pageBox .page {
    text-align: center;
}

.page p {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    margin: 0 0.4%;
    display: inline-block;
    color: #171717
}

.page p a {
    color: #171717;
    display: inline-block;
    height: 28px;
    width: 28px;
    letter-spacing: normal;
}

.page p.prev {
    width: 50px;
    color: #171717
}

.page p.prev a {
    width: auto;
}

.page p:hover {
    background: #d8bd83;
}

.page p:hover a {
    color: #fff
}

.page p.active {
    background: #d8bd83;
}

.page p.active a {
    color: #fff
}

.page p.noHover:hover {
    background: none;
}

.page p.noHover:hover a {
    color: #171717
}

.page p.noHover {
    width: auto
}

.page p.noHover a {
    width: auto;
}

.page p.noHover input {
    width: 50px;
    height: 28px;
    border: 1px solid #d2d2d2;
    background: #fff;
    margin-left: 10px;
    text-align: center;
}

/* palace-product section1 */

.palace-product .section1 {
    margin-top: 129px;
}

.palace-product .section1 .banner {
    width: 100%;
    height: 0;
    padding-bottom: 31.25%;
}

.palace-product .section1 .banner .mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #000;
    opacity: 0.3;
}

.palace-product .section1 .container {
    opacity: 0;
}

.palace-product .section1 .container .description p {
    color: #fff;
    margin-bottom: 2%;
}

/* palace-product section2 */

.palace-product .section2 {
    padding: 1.5% 0;
    border-bottom: 1px solid lightgray;
    box-shadow: 0px 1px 1px lightgray;
}

.palace-product .section2 .dreadcrumbNavigation p {
    color: rgb(119, 119, 119);
}

/* palace-product section3 */

.palace-product .section3 {
    background-image: url(../images/main-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 6% 0;
}

.palace-product .section3 .container .selection .icon-1 {
    width: 15.625%;
    height: 0;
    padding-bottom: 14.0625%;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.palace-product .section3 .container .selection .icon-2 {
    width: 17.1875%;
    height: 0;
    padding-bottom: 12.8906%;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.palace-product .section3 .container .selection .icon-3 {
    width: 16.40625%;
    height: 0;
    padding-bottom: 13.6719%;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.palace-product .section3 .container .selection .icon-4 {
    width: 15.2344%;
    height: 0;
    padding-bottom: 15.625%;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.palace-product .section3 .container .selection table {
    width: 100%
}

.palace-product .section3 .container .selection table tr td {
    padding: 2% 0;
    width: 20%;
    text-align: center;
    background: #3e2d10;
}

.palace-product .section3 .container .selection .type td {
    color: #fff;
    text-align: right;
}

.palace-product .section3 .container .selection .type td span {
    color: #fff;
    margin-right: 30%;
}

.palace-product .section3 .container .selection .type td:hover {
    background: #d4af5f;
}

.palace-product .section3 .container .selection .type .actived {
    background: #d4af5f;
}

.palace-product .section3 .container .selection .type td:nth-child(1) {
    width: 10%;
    background: rgba(212, 175, 95, 0.3);
}

.palace-product .section3 .container .selection .type td:nth-child(2) {
    border-right: 2px solid #8b8987;
    cursor: pointer;
}

.palace-product .section3 .container .selection .type td:nth-child(3) {
    border-right: 2px solid #8b8987;
    cursor: pointer;
}

.palace-product .section3 .container .selection .type td:nth-child(4) {
    border-right: 2px solid #8b8987;
    cursor: pointer;
}

.palace-product .section3 .container .selection .type td:nth-child(5) {
    cursor: pointer;
}

.palace-product .section3 .container .selection .type td:nth-child(6) {
    width: 10%;
    background: rgba(212, 175, 95, 0.3);
}

.palace-product .section3 .container .selection .style {
    display: none;
}

.palace-product .section3 .container .selection .style td {
    border: 1px solid #cac3be;
}

.palace-product .section3 .container .selection .style a {
    margin: 0 1%;
    color: #000;
    display: inline-block;
}

.palace-product .section3 .container .selection .style a:hover {
    color: #d4af5f;
}

.palace-product .section3 .container .selection .style .actived {
    color: #d4af5f;
}

.palace-product .section3 .container .selection .style td:nth-child(1) {
    width: 10%;
    padding: 2% 0;
    background: rgb(247, 245, 245);
}

.palace-product .section3 .container .selection .style td:nth-child(2) {
    width: 90%;
    padding: 2% 0;
    background: #fff;
    text-align: left;
}

.palace-product .section3 .container .selection .area td {
    border: 1px solid #cac3be
}

.palace-product .section3 .container .selection .area a {
    margin: 0 1%;
    color: #000;
}

.palace-product .section3 .container .selection .area a:hover {
    color: #d4af5f;
}

.palace-product .section3 .container .selection .area .actived {
    color: #d4af5f;
}

.palace-product .section3 .container .selection .area td:nth-child(1) {
    width: 10%;
    padding: 2% 0;
    background: rgb(247, 245, 245);
}

.palace-product .section3 .container .selection .area td:nth-child(2) {
    width: 90%;
    padding: 2% 0;
    background: #fff;
    text-align: left;
}

.palace-product .section3 .container .product-img .part-a {
    margin-top: 5%;
}

.palace-product .section3 .container .product-img .img {
    width: 19%;
    height: 0;
    padding-bottom: 20.078%;
    margin: 2% 5px;
    cursor: pointer;
}

.palace-product .section3 .container .product-img .center {
    margin-left: 2%;
    margin-right: 2%;
}

.palace-product .section3 .container .product-img img:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.palace-product .full-bg {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #7d7d7d;
    opacity: 0.5;
    display: none;
    position: fixed;
    z-index: 99999;
}

.palace-product .dialog {width: 50%;z-index: 99999;background: #fff; position: fixed;top: 50%;left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    display: none;
    overflow: hidden;
}

.palace-product .dialog .close {
    color: #fff;
    border-radius: 12px;
    line-height: 20px;
    text-align: center;
    height: 20px;
    width: 20px;
    font-size: 30px;
    padding: 1px;
    top: 5px;
    right: 15px;
    position: absolute;
    cursor: pointer;
}

.palace-product .dialog .close:before {
    content: "\2716";
}

.palace-product .dialog .close:hover {
    color: #d4af5f;
}
.palace-product .dialog .container .img { width: 40%; height: 0; padding-bottom: 30.023%;  margin: auto;  position: absolute; top: 50%;
    transform:translateY(-50%);
    -webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform:translateY(-50%);
-o-transform:translateY(-50%);
}

.palace-product .dialog .container .desc { width: 50%;  padding: 63px 4%;  background:#3e2d10; color: #fff;}
.beauty-product .dialog .container .desc{
	 background:#333;
}
.palace-product .dialog .container .desc p {
    margin-bottom: 2%;
}

.palace-product .dialog .container .desc a {
    display: inline-block;
    color: #d4af5f;
    padding: 1% 3%;
    border: 1px solid #d4af5f;
    margin-top: 4%;
}

@media screen and (max-width:950px) {
    .palace-product .dialog .container .img {
        width: 100%;
        height: 0;
        padding-bottom: 62.5304%;
        position: relative;
        top: 0;
        transform: translateY(0);
    }
    .palace-product .dialog .container .desc{
        width:80%;
        padding:5% 10%;
     
    }
    .palace-product .dialog{width: 65%;}
    .palace-product .dialog .close{color: #7d7d7d;z-index: 2;}
    
}

@media screen and (max-width:769px) {
    .palace-product .section1 .banner .wrap-mid{display:none;}
    .palace-product .section2{display:none;}
    .palace-product .section3 .container .product-img .img {
        width: 49%;
        height: 0;
        padding-bottom: 30.632%;
        margin: 2% 0% 0% 0% !important;
    }
    .palace-product .section3 .container .product-img .img:nth-child(even) {
        float: right !important;
    }
}

@media screen and (max-width:580px) {
    .page p.prev {
        display: none
    }
    .page p.noHover {
        display: none
    }
    .page p.active {
        display: none
    }
    .palace-product .section3 .container .selection .type td span {
        margin: 0%;
    }
    .palace-product .section3 .container .selection .type td {
        text-align: center;
    }
    .palace-product .section3 .container .selection .type td div {
        display: none;
    }
    .palace-product .section3 .container .selection .type td:first-child {
        display: none;
    }
    .palace-product .section3 .container .selection .type td:last-child {
        display: none;
    }
   
}

@media screen and (max-width:479px) {
    .palace-product .section3 .container .product-img .img {
        width: 100%;
        height: 0;
        padding-bottom: 62.530%;
    }
}