﻿
/*图片弹窗样式*/
/*img {
    border: 0 none;
    width: 100%;
    max-width: 100%;
    vertical-align: top;
    height: auto;
}*/

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
}

    button, html input[type="button"], input[type="reset"], input[type="submit"] {
        -webkit-appearance: button;
        cursor: pointer;
    }

        button[disabled], input[disabled] {
            cursor: default;
        }

    input[type="checkbox"], input[type="radio"] {
        box-sizing: border-box;
        padding: 0;
    }

    input:focus {
        outline: none;
    }

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

audio, canvas, video, progress {
    display: inline-block;
}



[imglist=demo01] {
    width: 270px;
    height: 290px;
    box-sizing: border-box;
    background: #fff;
    position: relative;
    overflow: hidden;
}

[list=review] {
    height: 220px;
    position: relative;
    right: 0;
}

    [list=review] > li {
        width: 270px;
        height: 220px;
        float: left;
        cursor: pointer;
        position: relative;
    }

    [list=review] li img {
        width: 100%;
        height: 100%;
    }

    [list=review] li span {
        font-size: 14px;
        position: absolute;
        bottom: 5px;
        left: 5px;
        background: rgba(0,0,0,.8);
        color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
    }

[list=choose] {
    margin-top: 10px;
    height: 60px;
    position: relative;
}

    [list=choose] li {
        width: 75px;
        height: 60px;
        float: left;
        position: relative;
        cursor: pointer;
        margin-right: 5px;
    }

        [list=choose] li:not([type=active])::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(87, 81, 81, 0.7);
        }

        [list=choose] li img {
            width: 100%;
            height: 100%;
        }

[btn] {
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    color: #fff;
    background: rgba(0,0,0,.7);
    cursor: pointer;
}

[btn=left] {
    left: 0;
}

[btn=right] {
    right: 0;
}
/* 弹框 */
[hide] {
    display: none;
}

[dialog=img] {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.7);
    z-index: 9999;
}

    [dialog=img] > img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height:70%;
        width:auto;
        max-width:auto;
    }

    [dialog=img] [dialogbtn] {
        height: 100%;
        width: 300px;
        position: absolute;
        color: #fff;
        font-size: 70px;
        cursor: pointer;
        text-align: center;
        line-height: 100vh;
        background-color: transparent;
        border: 0;
    }

    [dialog=img] [dialogbtn=left] {
        left: 20px;
    }

    [dialog=img] [dialogbtn=right] {
        right: 20px;
    }

    [dialog=img] [close] {
        font-size: 40px;
        color: #fff;
        position: absolute;
        top: 20px;
        right: 30px;
        cursor: pointer;
    }

    [dialog=img] [title] {
        position: absolute;
        bottom: 140px;
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        font-size: 14px;
        background: rgba(0,0,0,.8);
        padding: 5px 10px;
        border-radius: 5px;
    }

    [dialog=img] [list] {
        position: absolute;
        height: 40px;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display:flex;
    }

        [dialog=img] [list] li {
            float: left;
            cursor: pointer;
            position: relative;
            margin-right: 5px;
        }

            [dialog=img] [list] li img {
                width: 50px;
                height: 40px;
            }

            [dialog=img] [list] li:not([type=active])::after {
                content: '';
                position: absolute;
                z-index: 1;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, .7)
            }
/*图片弹窗样式end*/

/*点击图片放大*/
.look_big_img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 20px 1px rgba(0,0,0,0.4);
    border: solid 1px #999;
}

/*相册*/
.XiangCe {
    width: 480px;
}
.detail-basic-info .pic-view {
    width: 480px !important;
    height: auto!important;
}
.XiangCe .swiper-slide, .XiangCe .swiper-container {
    height: 320px;
}
    .XiangCe .swiper-slide img {
        width: 100%;
        height: 100%;
        border-radius: 5px;
    }
.XiangCe .xiangce_pager {
    width: auto;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 0 5px;
    left: 10px;
    border-radius: 10px;
}
.XiangCe .xiangce_tabs {
    display:flex;
    justify-content:flex-start;
    margin-top:10px;
}
.XiangCe .xiangce_tab_item {
    /*width: 75px;*/
    width: calc((100% - 30px) / 6);
    height: 55px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 5px;
    cursor: pointer;
    margin-right:5px;
}
.XiangCe .xiangce_tab_item img {
    width:100%;
    height:100%;
}
.XiangCe .xiangce_name {
    width: 100%;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,.7);
    font-size:12px;
    padding:3px 0;
    position:absolute;
    left:0;
    bottom:0;
    white-space:nowrap;
}
.xiangce_tab_item.active .xiangce_name, .xiangce_tab_item:hover .xiangce_name {
    background-image: linear-gradient(to right,#5dd7ff 0,#47b3e3 100%);
}
.XiangCe .swiper-button-next.swiper-button-disabled {
    pointer-events: auto!important;
}
.swiper_pager{
    position:absolute;
    background:rgba(0,0,0,0.5);
    color:#fff;
    width:25px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    top:50%;
    transform:translateY(-50%);
    font-size:25px;
    z-index:9;
    cursor:pointer;
    line-height:1;
    opacity:0;
}
.swiper_pager_next{
    right:0;
}
.swiper_pager_prev{
    left:0;
}
.swiper-container:hover .swiper_pager{
    opacity:1;
}