@import url('demo.css');


.js .st-stack-raw {
	display: none;
}

.st-wrapper {
	width: 100%;
	position: relative;
	margin: 0 auto;
	-webkit-perspective: 1200px;
	-webkit-perspective-origin : 50% 100%;
	-moz-perspective: 1200px;
	-moz-perspective-origin : 50% 100%;
	-o-perspective: 1200px;
	-o-perspective-origin : 50% 100%;
	-ms-perspective: 1200px;
	-ms-perspective-origin : 50% 100%;
	perspective: 1200px;
	perspective-origin : 50% 100%;
	overflow: hidden;
	height: 475px;
}

.st-stack {
	position: absolute;
	height: 10px;
	bottom: 0px;
	width: 25% !important;
	background-image: url(../images/gradient.png);

	-webkit-background-size: 5px 5px;
	-moz-background-size: 5px 5px;
	background-size: 15px 5px;
	background-position: bottom center;
	margin-bottom: -7px;
}

.st-stack:before {
	content: '';
	position: absolute;
	width: 140%;
	left: -20%;
	bottom: -10px;
	height: 20px;
	z-index: -1;

}

.st-stack-left {
	left: 0px;
}

.st-stack-right {
	right: 0px;
}

.st-wrapper .st-title,
.st-wrapper nav {

	width: 40%;
	left: 0;
	bottom: 0;
	text-align: right;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	float: right;
}

.st-wrapper .st-title {
	padding: 0px;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.st-wrapper .st-title h2 {
	padding-right: 25px;
	font-size: 28px;
	font-weight: 400;
	line-height: 38px;
}

.st-wrapper .st-title h3 {
	font-size: 18px;
	padding-right: 25px;


}

.st-wrapper nav span {
	color: transparent;
	position: absolute;
	width: 42px;
	height: 42px;
	left: 50%;
	bottom: 0;
	cursor: pointer;
}

.st-wrapper nav span:first-child {
	margin-left: -45px;
}

.st-wrapper nav span:last-child {
	margin-left: 5px;
}

.st-wrapper nav span:before {
	font-family: Font Awesome\ 5 Free;
	font-style: normal;
	speak: none;
	font-weight: normal;
	line-height: 1;
	font-size: 50px;
	line-height: 40px;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	color: #d22f2f;
	cursor: pointer;

}

.st-wrapper nav span:first-child:before {
	content: "\f053";
	font-weight: 900;

}

.st-wrapper nav span:last-child:before {
	content: "\f054";
	font-weight: 900;
}

.st-wrapper nav span:hover:before {
	color: #333;
}

.st-wrapper .st-item {
	position: absolute;

}

.st-wrapper .st-item.st-center {
	-webkit-transform: rotateZ(0deg) rotateY(0deg);
	-moz-transform: rotateZ(0deg) rotateY(0deg);
	-o-transform: rotateZ(0deg) rotateY(0deg);
	-ms-transform: rotateZ(0deg) rotateY(0deg);
	transform: rotateZ(0deg) rotateY(0deg);
}

.st-wrapper .st-item.st-right,
.st-wrapper .st-item.st-rightflow {
	opacity: 0;
	-webkit-transform: rotateZ(90deg) rotateY(0deg);
	-moz-transform: rotateZ(90deg) rotateY(0deg);
	-o-transform: rotateZ(90deg) rotateY(0deg);
	-ms-transform: rotateZ(90deg) rotateY(0deg);
	transform: rotateZ(90deg) rotateY(0deg);
	pointer-events: none;
	width: 100%;
}

.st-wrapper .st-item.st-left,
.st-wrapper .st-item.st-leftflow {
	opacity: 0;
	-webkit-transform: rotateZ(-90deg) rotateY(0deg);
	-moz-transform: rotateZ(-90deg) rotateY(0deg);
	-o-transform: rotateZ(-90deg) rotateY(0deg);
	-ms-transform: rotateZ(-90deg) rotateY(0deg);
	transform: rotateZ(-90deg) rotateY(0deg);
	pointer-events: none;
	width: 100%;


}
.st-wrapper .st-item.st-rightflow,
.st-wrapper .st-item.st-leftflow,
.st-wrapper .st-item.st-center {
	width: 60%;
	position: relative;
	opacity: 1;
	float: right;
	margin-bottom: 50px;
}

.st-wrapper .st-item a,
.st-wrapper {
	border: none;
	max-width: 100%;
	display: block;


}


.st-item img {

	border: none;
	max-width: 100%;
	display: block;
	border: 10px solid white;
	box-shadow: 0px 0px 10px #888888;
	margin: 10px 10px 0 0;
}




.st-wrapper .st-item a {
	background: #fff;

}

@media screen and (max-width: 1310px){
	.st-wrapper .st-item {
		width: 300px;
	}

}

@media screen and (max-width: 1050px){
	.st-wrapper .st-item {
		width: 260px;
	}

}

@media screen and (max-width: 935px){
	.st-wrapper .st-item {
		width: 240px;
	}

}

@media screen and (max-width: 880px){
	.st-wrapper .st-item {
		width: 220px;
	}
	.st-wrapper .st-title {
		bottom: 280px;
	}

}

@media screen and (max-width: 740px){
	.st-wrapper .st-item {
		width: 200px;
	}
	.st-wrapper .st-title {
		bottom: 240px;
	}

}

@media screen and (max-width: 650px){
	.st-stack {
		display: none;
	}
	.st-wrapper nav {
		bottom: 220px;
	}
}

@media screen and (max-width: 450px){
	.st-wrapper .st-item {
		width: 200px;
	}
	.st-wrapper .st-title {
		bottom: 150px;
		padding-left: 0px;
		padding-right: 0px;
	}
	.st-wrapper .st-title h2 {
		font-size: 22px;
		line-height: 32px;
	}
	.st-wrapper nav {
		bottom: 140px;
	}

}
