.zoom {
    height: auto;
    position: relative;
}

.zoom-main {
    height: 400px;
    position: relative;
    text-align: center;
    margin-bottom: 25px;
}

.zoom-main .prevArrow,
.zoom-main .nextArrow {
    position: absolute;
    top: 45%;
    background-color: rgba(0,0,0,0.1);
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    padding: 5px;
    border-radius: 10px;
}
.zoom-main .prevArrow {
    left: 10px;
}
.zoom-main .nextArrow {
    right: 10px;
}
/*.zoom-thumb-hide .zoom-main {*/
/*    height: 300px;*/
/*}*/

.zoom-main span {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    overflow: hidden;
    /*background-size: 150%;*/
    /*cursor: zoom-in;*/
    position: relative;
    display: inline-block;
    max-height: 100%;
    width: 100%;
    height: 100%;
}

.zoom-right .zoom-main span {
    left: 0;
}

.zoom-main img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    transition: opacity .5s;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/*.zoom-main img:hover {*/
/*    opacity: 0;*/
/*}*/

.zoom-right .zoom-main {
    height: 100%;
    float: left;
    padding-right: 5px;
}

.zoom-thumb {
    height: 20%;
    text-align: center;
    padding: 5px;
    white-space: nowrap;
    overflow: hidden;
}

.zoom-right .zoom-thumb {
    display: inline;
}

.zoom .zoom-thumb a {
    margin: 0 5px 5px 0;
    height: 60px;
    display: inline-block;
    cursor: pointer;
}

.zoom-right .zoom-thumb a {
    float: left;
    height: 20%;
    display: inline-block;
}

.zoom .zoom-thumb a img {
    height: 100%;
}

.zoom-left .zoom-main, .zoom-left .zoom-thumb a {
    float: right;
    width: auto;
}

@media all and (max-width: 1100px) {
    .zoom-main,
    .zoom-thumb-hide .zoom-main {
        height: calc(100vw / 2.75);
    }
}

@media all and (max-width: 767px) {
    .zoom img {
        max-width: 100%;
        height: auto;
    }

    .zoom .zoom-thumb a img {
        width: auto;
    }

    .zoom-main, .zoom-thumb a {
        float: none !important;
    }

    .zoom-main,
    .zoom-thumb-hide .zoom-main {
        height: calc(100vw /1.6);
    }

    .zoom .zoom-thumb {
        display: block;
        text-align: center !important;
        padding: 5px;
        overflow-x: auto;
        height: 70px;
    }

    .zoom-thumb a {
        display: inline-block !important;
    }
    .zoom-main .prevArrow,
    .zoom-main .nextArrow {
        display: none !important;
    }
}