.horizontal>li,
.horizontal>li a {
    float: left;
}

.horizontal>li a,
.vertical>li a {
    background-position: 0 0;
    background-repeat: no-repeat;
    display: block
}
#detail-image_view {
    padding: 30px 0;
}
#detail-image_view ul {
    list-style: none;
    margin: 0;
}
#detail-image_view .image-list li img {
    max-height: -webkit-calc(100% - 90px);
    max-height: expression(100% - 90px);
    max-height: -moz-calc(100% - 90px);
    max-height: -o-calc(100% - 90px);
    max-height: calc(100% - 90px);
}
#detail-image_view .left {
    width: 232px;
    float: left;
}
.thumb-wrap .bx-wrapper .bx-viewport {
    height: 430px!important;
}
.thumb-view li {
    height: 100px;
    margin: 10px 10px 0 0;
    width: 100px;
    overflow: hidden;
    position: relative;
}
@media (min-width: 641px) {
    .thumb-view li:nth-child(2n) {
        margin-right: 0;
    }
    .thumb-view li:nth-child(1),
    .thumb-view li:nth-child(2) {
        margin-top: 0;
    }
}

.thumb-view li.current:after,
.thumb-view li.active:after {
    content: '';
    position: absolute;
    border: 3px solid #2b8ece;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.thumb-view li img {
    position: relative;
    z-index: 0;
    max-width: inherit;
    max-height: 100%;
    left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.thumb-wrap .thumb-view ul {
    height: 430px;
    width: 210px!important;
    overflow: hidden;
}
.thumb-wrap .bx-pager {
    display: none;
}
.thumb-wrap {
    border: 1px solid #dbe1e5;
    padding: 10px;
    overflow: hidden;
}
.thumb-func {
    padding-top: 10px;
    text-align: center;
}
.thumb-func p {
    display: inline-block;
    vertical-align: top;
    border: 1px solid #5c5c5c;
    border-radius: 4px;
    margin: 0;
}
.thumb-func p a {
    text-indent: -999em;
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
}
.thumb-func p a.bx-prev:before {
    content: '';
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid #5c5c5c;
}
.thumb-func p a.bx-next:before {
    content: '';
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #5c5c5c;
}
.thumb-func p a:before {
    position: absolute;
    left: 6px;
    top: 4px;
}

#detail-image_view .right {
    float: right;
    width: 560px;
}
.image-view ul {
    position: absolute;
    text-align: left;
}
.image-view {
    overflow: hidden;
    position: relative;
}

.image-wrap {
    position: relative;
}
.image-view ul .item {
    text-align: center;
}
.image-view ul .item h3 {
    font-size: 20px;
    padding: 5px 10px;
    background: #ebf1f5;
    text-align: left;
}
.image-view ul .item p {
    text-align: left;
}

.thumb-view {
    overflow: hidden;
}

.thumb-wrap .bx-wrapper .bx-viewport {
    margin-left: 0;
}



.image-wrap .btn {
    position: absolute;
    top: 35%;
    cursor: pointer;
}
.image-wrap .btn:before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%,-50%,0);
    -moz-transform: translate3d(-50%,-50%,0);
    -webkit-transform: translate3d(-50%,-50%,0);
    -ms-transform: translate3d(-50%,-50%,0);
    -o-transform: translate3d(-50%,-50%,0);
}
.image-wrap .btn.prev {
    text-indent: -999em;
    display: block;
    height: 60px;
    background: #fff;
    left: -15px;
    width: 30px;
    text-align: center;
    border:1px solid #5c5c5c;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}
.image-wrap .btn.prev:before {
    content: '';
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid #5c5c5c;
}
.image-wrap .btn.next {
    text-indent: -999em;
    display: block;
    height: 60px;
    background: #fff;
    right: -15px;
    width: 30px;
    text-align: center;
    border:1px solid #5c5c5c;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}
.image-wrap .btn.next:before {
    content: '';
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #5c5c5c;
}

@media (max-width: 640px) {
    #detail-image_view .right {
        width: 100%;
        float: none;
    }
    #detail-image_view .left {
        width: 100%;
        float: none;
    }
    .image-view {
        width: 100%!important;
    }
    .thumb-wrap .thumb-view ul {
        width: 280px!important;
        height: 125px;
    }
    .thumb-wrap .bx-wrapper .bx-viewport {
        height: 125px!important;
    }
    .thumb-wrap {
        width: 265px;
        padding: 5px;
        margin: 15px auto 0;
    }
    .thumb-view li {
        width: 60px;
        height: 60px;
        margin: 0 5px 5px 0;
    }
    .thumb-view li:nth-child(4n) {
        margin-right: 0;
    }
}