.photostack {
	background: #222;
	position: relative;
	text-align: center;
	overflow: hidden;
}

.js .photostack {
	height: 120px;
}

.photostack-start {
	cursor: pointer;
}

/* Wrapper and figures */

/* The size of this wrapper can be smaller if the items should not be scattered across the whole container */ 
.photostack > div {
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

.photostack figure {
	width: 100px;
	min-height: 100px;
	position: relative;
	display: inline-block;
	background: #fff;
	padding: 10px;
	text-align: center;
	margin: 5px;
}

.presentation {
    margin-top: 15px;
}

.maintitle {
	width: 60%;
	border-bottom: 1px solid #696E74;
	margin-bottom: 50px;
}

@media screen and (max-width: 480px) {

    .presentation {
        margin-top: 0;
    }

    .presentation h1 {
        font-size: 42px !important;
        margin-top: 3px;
    }

    .photostack figure {
        width: 100%;
        /*min-height: 380px;*/
        height: 100%;
        position: relative;
        display: inline-block;
        background: #fff;
        /*padding: 40px 0 0 0;*/
        text-align: center;
        margin: 5px;
    }
    
    .maintitle {
		width: 85%;
	}
}



.js .photostack figure {
	position: absolute;
	display: block;
	margin: 0;
	margin-top: 8px;
}

/* set up the captions */
.photostack figcaption p {
	background-color: #a59b75;
	margin-top: 0px;
	color: #222222;
	font-size: 12px;
	display: none;
}

/* display caption on central image only - this is the one QA users see */
.photostack-current figcaption p {
    position: absolute; 
    width: 120px;
	background-color: #222222;
	margin-top: 0px;
	margin-left: 30px;
	padding-left: 20px;
	color: #dddddd;
	font-size: 11px;
	font-family: sans-serif;
	font-weight: 200;
	display: block;
}

.photostack-img {
	outline: none;
	display: block;
	width: 120px;
	height: 150px;
	background: #f9f9f9;
}

.photostack nav {
    display: none;
	position: absolute;
	width: 100%;
	bottom: 30px;
	z-index: 90;
	text-align: center;
	left: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.photostack-start nav {
	opacity: 0;
}
 
.photostack nav span {
	position: relative;
	display: inline-block;
	margin: 0 5px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background: #aaa;
	border-radius: 50%;
	text-align: center;
	-webkit-transition: -webkit-transform 0.6s ease-in-out, background 0.3s;
	transition: transform 0.6s ease-in-out, background 0.3s;
	-webkit-transform: scale(0.48);
	transform: scale(0.48);
}

.photostack nav span:last-child {
	margin-right: 0;
}

.photostack nav span::after {
	content: "\e600";
	font-family: 'icons';
	font-size: 80%;
	speak: none;
	display: inline-block;
	vertical-align: top;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 30px;
	color: #fff;
	opacity: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.photostack nav span.current {
	background: #888;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.photostack nav span.current.flip {
	-webkit-transform: scale(1) rotateY(-180deg) translateZ(-1px);
	transform: scale(1) rotateY(-180deg) translateZ(-1px);
	background: #555;
}

.photostack nav span.flippable::after {
	opacity: 1;
	-webkit-transition-delay: 0.4s;
	transition-delay: 0.4s;
}
