@charset "utf-8";

div {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    overflow: auto !important
}

.wrap {
    position: relative;
    z-index: 98;
}

.zoomViewport {
    margin: 0;
    padding: 0%;
    width: 100%;
    height: 100%;
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    position: relative;
    z-index: 9;
}

.zoomContainer {
    margin: 0;
    /*padding:5% !important;*/
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}

#prev {
    position: fixed;
    top: 48%;
    left: 1%;
}

#next {
    position: fixed;
    top: 48%;
    right: 1%;
}

#prev,
#next {
    position: fixed;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: white;
    z-index: 99;
    text-align: center;
    border-radius: 8px;
}

#prev:hover,
#next:hover {
    background-color: #666;
}

#prev i,
#next i {
    font-size: 30px;
}

.allbtn {
    display: none;
}

.list {
    position: relative;
    width: 23%;
    height: auto;
    min-height: 260px;
    background: #ccc;
    margin: 0% 1% 2%;
    border-radius: 10px;
    overflow: hidden;
}

.list .img-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.list .img-box::before {
    content: '';
    width:100%;
    height:100%;
    position: absolute;
    top:0px;
    left:0px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.3) 75%, rgba(0,0,0,0.7) 100%);
    opacity: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.list:hover .img-box::before {
    content: '';
    width:100%;
    height:100%;
    position: absolute;
    top:0px;
    left:0px;
    background: #0558d5;
    opacity: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/* .list:hover .img-box {
    background: #0558d5;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
} */

/* .list:hover .img-box::before {
    content: '';
    opacity: 0;
} */

.list .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1.0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/* .list:hover .img-box img {
    opacity: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
} */

.list .txt-box {
    position: absolute;
    top: 10%;
    left: 5%;
    color: #fff;
    width: 90%;
    height: 100%;
    max-height: 220px;
}

.list .txt-box h3 {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 5px;
    display: inline-block;
    background: #f5f5f5;
    padding: 2px 15px 3px;
    border-radius: 50px;
    color: #222;
}

.list .txt-box p {
    font-size: 13px;
    line-height: 22px;
    font-weight: 500;
    /* text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.9); */
}

.list .txt-box>div {
    position: absolute;
    left: 0%;
    bottom: 5%;
}

.list .txt-box>div>p {
    /* text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.9); */
    font-weight: 500;
    font-size: 16px;
}

.list .txt-box>div>progress {
    width: 100%;
    appearance: none;
    height: 6px;
}

.list .txt-box>div>progress::-webkit-progress-bar {
    background: #999;
    border-radius: 50px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.list .txt-box>div>progress::-webkit-progress-value {
    background: #0558d5;
    border-radius: 50px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.list:hover .txt-box>div>progress::-webkit-progress-bar {
    background: #999;
    border-radius: 50px;
}

.list:hover .txt-box>div>progress::-webkit-progress-value {
    background: #fff;
    border-radius: 50px;
}

.list .btn-box {
    position: absolute;
    bottom: 10%;
    right: 5%;
}

.list .btn-box>div {
    display: block;
    margin-top: 10px;
}

.list .btn-box>div a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 2px 15px;
    height: 26px;
    line-height: 26px;
    display: block;
}

.list .btn-box>div a:hover {
    color: #333;
    background: #fff;
}

.pop-wrap {
    display: none;
    position: fixed;
    top: 5%;
    left: 0%;
    width: 80%;
    height: calc(100vh - 100px);
    margin: 0% 10%;
    z-index: 999;
}

.pop-wrap::after {
    content: '';
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.pop-wrap .inner {
    background: #fff;
    width: 100%;
    height: 100%;
    overflow: auto;
    border-radius: 10px;
}

.pop-wrap .inner img {
    width: 100%;
}

.pop-wrap .close {
    position: absolute;
    right: -5%;
    top: 0%;
}

.pop-wrap .close button {
    color: #fff;
    font-size: 40px;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.7);
}

@media only screen and (max-width:1180px) {
    .zoomContainer {
        height: calc(100vh - 0px);
    }

    .list {
        width: 48%;
    }

    .list .txt-box h3 {
        font-size: 16px;
        letter-spacing: -0.5px;
        padding: 0px 10px;
    }

    .list .txt-box p {
        font-size: 14px;
        line-height: 16px;
        padding: 0% 0%;
        word-break: keep-all;
    }

    .list .txt-box>div>p {
        text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.9);
        font-weight: 500;
        font-size: 12px;
        white-space: nowrap;
    }

    .list .btn-box>div {
        display: block;
        margin-top: 10px;
    }

    .list .btn-box>div a {
        padding: 0;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
    }

    .list:hover {
        outline: 0px solid #1fb968;
    }

    #navigation {
        display: flex;
        justify-content: space-between;
        position: fixed;
        bottom: 2%;
        left: 0%;
        width: 90%;
        margin: 0% 5%;
        z-index: 99;
    }

    .allbtn {
        position: static;
        display: inline-block;
        width: 32%;
        height: 50px;
        background-color: #333;
        color: white;
        z-index: 10;
        text-align: center;
        border-radius: 8px;
        font-size: 30px;
    }

    #prev,
    #next {
        position: static;
        display: inline-block;
        width: 32%;
        height: 50px;
        background-color: #666;
        color: white;
        z-index: 10;
        text-align: center;
        border-radius: 8px;
        text-align: center;
    }

    #navigation button {
        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.7);
    }

    .pop-wrap {
        width: 90%;
        margin: 0% 5%;
        top: 10%;
        height: calc(100vh - 200px);
    }

    .pop-wrap .close {
        right: 5%;
        top: 3%;
    }
}