.itmpre {
    position: relative;
    display: block;
    box-sizing: border-box; 
    width: auto;
}
.itmpre.preview-changing:after {
    content: '';
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .1);
}
.itmpre.preview-changing .itmpre__image {
    pointer-events: none;
}
.itmpre * {
    box-sizing: inherit;
}
.itmpre .itmpre__block {
    position: relative; 
    display: block;
}
.itmpre .itmpre__inline-block {
    display: inline-block;
    vertical-align: top;
}
.itmpre .itmpre__image {
    position: relative;
    margin-bottom: 20px; 
    text-align: center;
}
.itmpre .itmpre__image img {
    position: relative;
    z-index: 1;
    box-sizing: content-box;
    max-width: 100%;
}
.itmpre ul.itmpre__thumbs,
.itmpre li.itmpre__thumb {
    list-style: none;
}
.itmpre .itmpre__thumbs:before,
.itmpre .itmpre__thumbs:after {
    content: ' ';
    display: table;
}
.itmpre .itmpre__thumbs-holder {
    position: relative;
    display: block;
    text-align: center;
    z-index: 2;
}
.itmpre .itmpre__thumbs {
    min-width: 70px;
    margin-right: -6px; 
    margin-left: -6px;
}
.itmpre .itmpre__thumbs:after {
    content: '';
    display: block;
    clear: both; 
    height: 0;
}
.itmpre .itmpre__thumb {
    float: left;
    width: 70px;
    margin: 6px; 
    cursor: pointer;
    border: 1px solid #eaecee;
}
.itmpre .itmpre__thumb.active-item-preview {
    border-color: rgba(0, 0, 0, .3);
}
.no-mobile .itmpre .itmpre__thumb:hover,
.itmpre .itmpre__thumb.active-item-preview {
    box-shadow: 0 0 10px 0 #7ac3d4;
}
.itmpre .itmpre__thumb-video {
    background: transparent url(pic/youtube.png) center no-repeat;
}
.itmpre .itmpre__thumb-3dview {
    background: transparent url(pic/3d-icon.jpg) center no-repeat;
}

.itmpre__3dview-inpopup,
.itmpre__video-inpopup {
    position: relative;
    z-index: 4; 
    display: none;
    padding: 30px;
    background-color: #fff;
}
.itmpre__3dview-inpopup.deg-inpopup,
.itmpre__3dview-inpopup.source-inpopup,
.itmpre__video-inpopup.deg-inpopup,
.itmpre__video-inpopup.source-inpopup {
    display: block;
}
.itmpre__3dview-inpopup.deg-inpopup ~ div,
.itmpre__3dview-inpopup.source-inpopup ~ div,
.itmpre__video-inpopup.deg-inpopup ~ div,
.itmpre__video-inpopup.source-inpopup ~ div {
    display: none;
}
.itmpre__3dview-inpopup .itmpre__sample-holder,
.itmpre__video-inpopup .itmpre__sample-holder {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    background: #000 url(pic/load.gif) center no-repeat;
}
.itmpre__3dview-inpopup .itmpre__sample-holder iframe,
.itmpre__video-inpopup .itmpre__sample-holder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mfp-item-previewer .mfp-content {
    min-height: 90%;
}

.itmpre-mfp {
    position: relative;
    box-sizing: border-box;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px; 
    background-color: #fff;
}
.itmpre-mfp .itmpre-mfp__header {
    position: relative; 
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    margin-bottom: 20px;
}
.itmpre-mfp .itmpre-mfp__footer {
    position: relative; 
    margin-top: 20px;
}
.itmpre-mfp .itmpre-mfp__title {
    line-height: 1em;
    overflow: hidden;
    padding-bottom: .5em;
    font-size: 2rem;
    font-family: "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
    color: #3e5870;
}

/* normalize-image */
.normalize-image-1x1,
.normalize-image-2x1,
.normalize-image-1x2 {
    position: relative;
    height: 0;
}
.normalize-image-1x1 img,
.normalize-image-2x1 img,
.normalize-image-1x2 img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; 
    width: auto !important;
    max-width: 90%;
    height: auto !important;
    max-height: 90%;
    margin: auto;
}

.normalize-image-1x1 {
    padding-top: 100%;
}

.normalize-image-2x1 {
    padding-top: 50%;
}

.normalize-image-1x2 {
    padding-top: 150%;
}

/* zoomsl */
.zoomsl-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0; 
    left: 0;
    visibility: hidden;
}

.zoomsl-holder {
    position: relative;
    height: 0;
}

.zoomsl-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
}

.zoomsl-magnifier {
    position: relative;
    width: 100%; 
    height: 100%;
}

.magnifier {
    background-color: #fff;
}

.magnifier img {
    right: 0 !important;
}

.itmpre-mfp__header:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

.itmpre-mfp .itmpre-mfp__left {
    margin-bottom: 8px;
    text-align: center;
}

.itmpre .product-label {
    position: absolute;
    z-index: 10;
    top: 2.5rem;
    left: 0;
    pointer-events: none;
}

@media only screen and (min-width: 720px) {
    .itmpre-mfp {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media only screen and (min-width: 980px) {
    .itmpre-mfp .itmpre .itmpre__block {
        overflow: hidden;
        min-height: 320px;
        margin: 0 106px 0 0;
    }
    .itmpre-mfp .itmpre .itmpre__inline-block {
        display: block;
        overflow-x: visible;
        overflow-y: auto; 
        max-height: 100%;
        padding: 0 24px 0 0;
    }
    .itmpre-mfp .itmpre .itmpre__thumbs {
        position: relative;
        overflow: auto;
        width: 88px; 
        padding-left: 6px;
        max-height: 100%;
    }
    .itmpre-mfp .itmpre .itmpre__thumb {
        float: none;
    }
    .itmpre-mfp .itmpre .itmpre__thumbs-holder {
        position: absolute;
        top: 20px;
        right: 20px;
        bottom: 20px;
    }
    .itmpre .itmpre__thumb {
        width: 100px;
    }
    .itmpre-mfp .itmpre .itmpre__thumbs {
        width: 118px;
    }
    .itmpre-mfp .itmpre .itmpre__block {
        margin-right: 150px;        
    }

    .itmpre-mfp .itmpre-mfp__right {
        float: right;
        width: 280px;
    }

    .itmpre-mfp .itmpre-mfp__title {
        font-size: 3rem;
    }

    .itmpre-mfp .itmpre-mfp__left {
        text-align: left;
        float: left;
        width: 60%;
        width: calc(100% - 300px);
    }
}

.product .itmpre .itmpre__block {
    border: 1px solid #eee;
    background-color: transparent;
}


.product .itmpre .itmpre__image {
    height: 530px;
    position: relative;
}

.product .itmpre .itmpre__image img {
    position: absolute;
    top: 0%;
    left: 0%;

    right: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}