#image-block {
    /*background: url(../images/loading.gif) no-repeat center;*/
    /*height: 650px;*/
    height: 608px;
    overflow: hidden;
    /* border: 1px solid #DDDDDD; */
    /*text-align: center;*/
    text-align:right;
    width: 760px;
}

#image-block a.mod-imagezoom {
    display: inline-block;
    position: relative;
}

#image-block img {
    height: 592px;
    width: auto;
    display: block;
}

.mod-thumbnails {
    margin-top: -557px;
    width: 100%;
    float: left;
    margin-left: 880px;
}

.mod-thumbnails .tempWrap {
    /*height: 552px;*/
    height: 450px!important;
    float: left;
}

.mod-thumbnails .btn-prev,
.mod-thumbnails .btn-next {
    display: block;
    float: left;
    width: 15px;
    height: 78px;
    margin: 0 3px 0 0;
    display: inline;
    border: 1px solid #ddd;
    text-align: center;
    line-height: 78px;
    font-size: 11px;
    color: #888;
    cursor: pointer;
}

.mod-thumbnails .btn-prev i,
.mod-thumbnails .btn-next i {
    cursor: pointer;
}

/* 
.mod-thumbnails .btn-next {
    float: right;
    margin: 0 0 0 3px;
    display: inline;
} */

.mod-thumbnails .btn-prev:hover,
.mod-thumbnails .btn-next:hover {
    background-color: #f8f8f8;
    color: #1D6DBD;
}

.mod-thumbnails ul {
    float: left;
    padding-left: 0;
    margin-top: 0;
    overflow: hidden;
}

.mod-thumbnails ul li {
    margin: 0 5px;
}

.mod-thumbnails ul li,
.mod-thumbnails ul li img {
    float: left;
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.mod-thumbnails ul li img {
    width: 76px;
    height: 76px;
    padding: 1px;
    border: 1px solid #ddd;
}

.mod-thumbnails ul li.cover img {
    /* border-color:#1D6DBD; */
    padding: 0;
    border-width: 2px;
}

/* .mod-thumbnails {
    margin-top: 15px;
    width: 100%;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
} */

.mod-thumbnails .thumbnails-container {
    order: 2;
    width: 100%;
    overflow: hidden;
}

.mod-thumbnails ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
}

.mod-thumbnails ul li {
    margin: 5px 0;
    list-style: none;
}

.mod-thumbnails ul li img {
    width: 76px;
    height: 76px;
    padding: 1px;
    border: 1px solid #ddd;
}

.mod-thumbnails .btn-prev {
    display: block;
    width: 76px;
    height: 20px;
    /* margin: 5px 0; */
    margin: -15px 0px;
    border: 1px solid #ddd;
    text-align: center;
    line-height: 20px;
    font-size: 11px;
    color: #888;
    cursor: pointer;
}

.mod-thumbnails .btn-next {
    display: block;
    width: 76px;
    height: 20px;
    /* margin: 5px 0; */
    margin-left: -80px;
    margin-top: 442px;
    border: 1px solid #ddd;
    text-align: center;
    line-height: 20px;
    font-size: 11px;
    color: #888;
    cursor: pointer;
}

.mod-thumbnails .btn-prev {
    order: 1;
}

.mod-thumbnails .btn-next {
    order: 3;
}

.mod-thumbnails .btn-prev:hover,
.mod-thumbnails .btn-next:hover {
    background-color: #f8f8f8;
    color: #1D6DBD;
}

/* Colorbox */
#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
}

#cboxWrapper {
    max-width: none;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
    -ms-interpolation-mode: bicubic;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

#cboxOverlay {
    background: #000;
}