
.pop-wrap {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 1200px;
}
.pop-wrap.show { display: block; }
.pop-list-wrap {position: relative; padding: 100px 10px;}
.pop { width: 100%; /*height: 100%; min-height: 100vh;*/ position: relative; display: flex; justify-content: center; margin-top:50px; }
.pop-in {
    width: 1200px;
    display: -ms-grid;
    display: grid;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-grid-columns:(minmax(-webkit-min-content, -webkit-max-content))[3];
    -ms-grid-columns:(minmax(min-content, max-content))[3];
    grid-template-columns:repeat(3, minmax(-webkit-min-content, -webkit-max-content));
    grid-template-columns:repeat(3, minmax(min-content, max-content));
}

.pop-in > li {position: relative; padding: 10px 10px; box-sizing: border-box; font-size: 0; }
.pop-in > li:nth-child(3n+1) { clear:both; }
.pop-in.strch .pop-img-wrap { height:100%; }
.pop-in.strch .pop-img-wrap img { height:100%; }
.pop-img-wrap { display: inline-block; max-height: calc(100% - 44px); }
.pop-img-wrap img { width:100%; max-width: 480px; max-height: 480px; }
.pop-bottom {display: flex; justify-content: flex-end; align-items: center; height: 44px; background: #333; font-size: 14px; color: #fff;}
.pop-bottom.today{ justify-content: space-between; }
.pop-close {
    height: 100%;
    text-align: center;
    display: table;
    cursor: pointer;
    padding: 0 20px;
    user-select: none;
}
.pop-close > span {
    display: table-cell;
    vertical-align: middle;
}
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow-y: scroll; }
.all-close {position: absolute; right: 30px; top: 30px; width: 92px; margin: 0 10px 20px 0; padding: 10px 0; font-size: 15px; text-align: center; color: #fff; cursor: pointer; z-index: 999; /*display: flex;*/ justify-content: space-between;}
.all-close img {margin-right: 5px; vertical-align: middle;}
.all-close:after {content: ""; display: block; clear: both;}

.pop-slider { display: none; width: 100%; height:100%; max-width: 480px; max-height: 480px; }

@media all and (max-width: 767px){

    .all-close{ display: none; }
    .pop-wrap { width: 100%; min-width: unset; }
    .pop-in { display: none; }
    .pop-slider { display: inline-block; position: relative; }
    .slick-list div { font-size: 0; }
    .pop-img-wrap { position: relative; display: block; max-height: unset; padding-top: 100% }
    .pop-img-wrap img { position: absolute; top:0; width:100%; height: 100%; max-width: 480px; max-height: 480px; }

    /* Dots */
    .pop-wrap .pagination {
        position: relative;
        width: 100%;
        bottom: 10px;
    }
    .pop-wrap .slick-dots
    {
        position: absolute;
        bottom: 0px;

        display: block;

        width: 100%;
        height: 30px;
        padding: 0;
        margin: 0;

        list-style: none;

        text-align: center;
    }
    .pop-wrap .slick-dots li
    {
        position: relative;

        display: inline-block;

        width: 12px;
        height: 12px;
        margin: 0 4px;
        padding: 0;

        cursor: pointer;
    }
    .pop-wrap .slick-dots li button
    {
        font-size: 0;
        line-height: 0;

        display: block;

        width: 12px;
        height: 12px;
        padding: 5px;

        cursor: pointer;

        color: transparent;
        border: 0;
        outline: none;
        background: transparent;
    }
    .pop-wrap .slick-dots li button:hover,
    .pop-wrap .slick-dots li button:focus
    {
        outline: none;
    }
    .pop-wrap .slick-dots li button:hover:before,
    .pop-wrap .slick-dots li button:focus:before
    {
        opacity: 1;
    }
    .pop-wrap .slick-dots li button:before
    {
        position: absolute;
        top: 0;
        left: 0;

        width: 8px;
        height: 8px;
        border-radius: 100px;
        //border: 1px solid #ccc;

        content: "";
        background: #000000;
        opacity: 0.5;

        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .pop-wrap .slick-dots li.slick-active button:before
    {
        background: #000000;
        opacity: 0.95;
    }

}
