#ignitebox {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	-webkit-overflow-scrolling: touch;
	background: rgba(1, 27, 48, 0.95);
	transition: opacity 0.5s;
	z-index: 10;
}

#ignitebox, #ignitebox * {
	/* turn on GPU */
	/*-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;*/
}
#ignitebox:before {
	opacity: 0;
	content: "";
	position: absolute;
	width: 48px;
	height: 48px;
	top: 50%;
	left: 50%;
	margin-top: -24px;
	margin-left: -24px;
	background: url("../png/loader-light.png");
	background-position: top left;
	background-size: cover;
	-webkit-animation: play 1s steps(8) infinite;
       -moz-animation: play 1s steps(8) infinite;
        -ms-animation: play 1s steps(8) infinite;
         -o-animation: play 1s steps(8) infinite;
            animation: play 1s steps(8) infinite;

    transition: opacity 0.5s;
}
#ignitebox.loading:before {
	opacity: 1;
}
/* generated by http://www.css3animationgenerator.com */
@-webkit-keyframes play {
   from { background-position-x:    0px; }
     to { background-position-x: -384px; }
}

@-moz-keyframes play {
   from { background-position-x:    0px; }
     to { background-position-x: -384px; }
}

@-ms-keyframes play {
   from { background-position-x:    0px; }
     to { background-position-x: -384px; }
}

@-o-keyframes play {
   from { background-position-x:    0px; }
     to { background-position-x: -384px; }
}

@keyframes play {
   from { background-position-x:    0px; }
     to { background-position-x: -384px; }
}
#ignitebox-images-cont {
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	transition: right 0.5s;
}
#ignitebox-images {
	width: 100%;
	height: 100%;
	white-space: nowrap;
	position: absolute;
	top: 0;
	left: 0;
	transition: left 0.5s, transform 0.5s;
	transform: translate3d(0, 0, 0);
}
#ignitebox.swiping #ignitebox-images {
	transition: all 0 ease 0;
}
.ignitebox-image {
	display: inline-block;
	width: 100%;
	height: 100%;
	vertical-align: top;
	text-align: center;
	padding: 50px 100px;
}
.ignitebox-image:before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.ignitebox-image-container {
	max-width: 100%;
	max-height: 100%;
	display: inline-block;
	vertical-align: middle;
	background: white;
	padding: 10px;
	margin-bottom: 50px;
	position: relative;
}

.ignitebox-image-container > img {
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
}

.ignitebox-image-bars {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	z-index: 10;
}

.ignitebox-image-bars .ignitebox-action-prev,
.ignitebox-image-bars .ignitebox-action-next {
	position: absolute;
	top: 100%;
	margin-top: 5px;
}
.ignitebox-image-bars .ignitebox-action-prev {
	left: 0px;
}
.ignitebox-image-bars .ignitebox-action-next {
	right: 0px;
}
.ignitebox-action-close,
.ignitebox-action-comments {
	z-index: 10;
}
.ignitebox-action-close {
	position: absolute;
	top: 0px;
	left: 0px;
}

.ignitebox-action-comments {
	position: absolute;
	top: 0px;
	left: 0px;
	margin-left: -30px;
	width: 30px;
	text-align: right;

	overflow: hidden;
	transition: width 1s, margin-left 1s, opacity 1s;
	z-index: 40;
}

.ignitebox-comment-area {
	position: absolute;
	top: 0px;
	right: 0px;
	height: 100%;
	width: 0px;
	background-color: white;
	transition: width 1s;
	z-index: 20;
}
.ignitebox-comment-area-inner-wrap {
	width: 0px;
	height: 100%;
}
.ignitebox-comment-close-cont {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: white;
	z-index: 20;
}
.ignitebox-comment-container {
	padding: 30px 20px;
}

#ignitebox.comments-closing .ignitebox-comment-area-inner-wrap,
#ignitebox.comments-open .ignitebox-comment-area-inner-wrap,
#ignitebox.comments-open .ignitebox-comment-area {
	width: 630px;
}
#ignitebox.comments-open .ignitebox-comment-area-inner-wrap {
	overflow-y: scroll;
}

#ignitebox.comments-open #ignitebox-images-cont {
	/*right: 300px;*/
}

#ignitebox > .ignitebox-area-caption {
	position: absolute;
	z-index: 10;
	bottom: 0;
	left: 0;
	right: 0;
	color: white;
	padding: 10px 20px;
	text-align: center;
}
.ignitebox-area-caption {
	white-space: normal;
}

#ignitebox.comments-open .ignitebox-action-comments {
	width: 0px;
	margin-left: 0px;
	opacity: 0;
}
.ignitebox-action-close-comments {
	left: -1.28571429em;
	opacity: 0;
	position: relative;
	display: inline-block;
	transition: opacity 1s, left 1s;
}
#ignitebox.comments-open .ignitebox-action-close-comments {
	left: 0;
	opacity: 1;
}

body.ignitebox-open {
	overflow: hidden;
}

@media screen and (max-width: 768px){
	.ignitebox-image {
		padding: 50px 30px;
	}
}