.zoombox-box {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(34, 34, 34, .8);
    -webkit-transition-duration: '.2s';
    transition-duration: '.2s';
    -webkit-animation-duration: '.2s';
    animation-duration: '.2s';
    z-index: 100;
    font-weight: 300;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

.zoombox-close-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0
}

.zoombox-image {
    position: absolute;
    max-height: 90%;
    max-width: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    opacity: 1
}

.slide {
    -webkit-animation: in ease;
    animation: in ease
}

.zoombox-controls {
    height: 30px;
    width: auto;
    cursor: pointer
}

.zoombox-close {
	position: absolute;
	top: 5%;
	right: 5%;
	height: 23px;
	height: 40px;
	width: 40px;
	padding: 12px;
	background: #ffffff80;
	border-radius: 50%;
    transition: all 0.4s ease;
}
.zoombox-close:hover{
    background-color: rgb(240, 56, 56);
}

.zoombox-next,
.zoombox-prev {
    position: absolute;
    bottom: 50%;
    left: 5%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    text-align: center;
    background: #ffffff2b;
    border-radius: 50%;
    font-size: 10px;
    padding:15px;
    transition: all 0.4s ease;
}
.zoombox-next:hover,
.zoombox-prev:hover{
    background: #ffffff69;
}
.zoombox-next {
    right: 5%;
    left: auto
}

.zoombox-play {
    position: absolute;
    top: 5%;
    left: 5%
}

.zoombox-zoom-out,
.zoombox-zoom-in {
    position: absolute;
    bottom: 15%;
    right: 5%;
    height: 40px
}

.zoombox-zoom-in {
    bottom: 25%
}

.zoombox-caption {
    text-align: center;
    font-size: 19px;
    color: #fff;
    position: absolute;
    bottom: 10%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-shadow: 1px 1px 3px #000;
    display: none !important;
}

.zoombox-count {
    color: #aaa;
    position: absolute;
    top: 2%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}

.zoombox-load {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 80px
}

.zoombox-zoomValue {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, .6);
    color: #fff;
    font-weight: 200;
    -webkit-transition-duration: .7s;
    transition-duration: .7s;
    opacity: 0
}

.zoombox-about {
    position: absolute;
    top: 0;
    left: 0;
    color: #555;
    font-size: .7rem;
    display: none !important;
}

.zoombox-preview {
    position: absolute;
    bottom: 1%;
    left: 47.5%;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transform: translateX(1);
    transform: translateX(1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.preview-box {
    height: 60px;
    width: 60px;
    margin: 0 5px;
    opacity: .3;
    -webkit-transition-duration: .3s;
    transition-duration: .3s
}

.preview-box[zoombox-active=yes] {
    opacity: 1
}

.preview-image {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border:2px solid #fff;
    cursor: pointer;
    border-radius: 5px;
}

@media only screen and (min-width:2000px) {
    .zoombox-controls {
        height: 55px
    }
}

@media only screen and (max-width:500px) {
    .zoombox-caption {
        font-size: 15px
    }

    .zoombox-preview {
        left: 40%
    }

    .preview-box[zoombox-active=yes] {
        -webkit-transform: scale(1);
        transform: scale(1);
        margin: 0 5px
    }
}

@-webkit-keyframes in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-webkit-keyframes out {
    from {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@keyframes out {
    from {
        opacity: 1
    }

    to {
        opacity: 0
    }
}