/*
    
    DecBox 1.0
    
*/

.decbox {
    background: rgba(0,0,0,.8);
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}

.decbox .bg-close {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100%;
    z-index: -1;
}

.decbox .btn-close {
    background: url(../images/icons/close.png) no-repeat center;
    background-size: 100%;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 26px;
    height: 26px;
    z-index: 10;
    opacity: 1;
    transition: 0.33s;
}

.decbox .btn-close:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.decbox .content,
.decbox .video {
    display: table;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.decbox .content .wrapper {
    box-sizing: border-box;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% + 1px);
    margin: 0 auto;
}

.decbox .content .wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.decbox .image {
    position: relative;
    width: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.decbox .image img {
    max-width: 90vw;
    max-height: 90vh;
    margin: 0 auto;
}

.decbox .arrow-right,
.decbox .arrow-left {
    width: 60px;
    height: 100px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px;
    opacity: 0.8;
    transition: 0.33s;
    z-index: 1;
}

.decbox .arrow-left {
    background-image: url(../images/icons/left-arrow.png);
    left: 10px;
}

.decbox .arrow-right {
    background-image: url(../image/icon/right-arrow.png);
    right: 10px;
}

.decbox .arrow-left:hover,
.decbox .arrow-right:hover {
    cursor: pointer;
    opacity: 1;
}

.decbox .dbig {
    position: initial;
    width: 100%;
}

.decbox .current-image,
.decbox .next-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.decbox .current-image img,
.decbox .next-image img {
    max-width: 90vw;
    max-height: 90vh;
    margin: 0 auto;
}