* {
	margin: 0;
	padding: 0;
}

html {
	width: 100%;
	height: 100%;
}

body {
	width: 100%;
	height: 100%;
	line-height: 100%;
	overflow: hidden;
	background-image: url('../img/bg01.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	text-align: center;
	position: relative;
}

@media only screen and (max-width: 768px) {
	body {
    	background-position: left center;
  	}
}

.card-wrap {
	width: 100%;
	height: 100%;
	line-height: 100%;
	overflow: hidden;
	padding-top: 2%;
}

.flipper-wrap {
	height: 80%;
	width: 80%;
	display: inline-block;
}

@media only screen and (max-width: 768px) {
	.flipper-wrap {
		height: 95%;
		width: 95%;
	}
}

.flipper {
	display: block;
  	width: 100%;
  	height: 100%;
  	position: relative;

}

.helper {
	height: 50%;
	display: inline-block;
}

.card-pg1, .card-pg2 {
	height: 100%;
	width: 100%;
	display: inline-block;
	position: absolute;
	left: 0;
	top: 0;
	line-height: 100%;
}

.card-pg1 img {
	transform: rotateY(0deg);
}

.card-pg2 img {
	transform: rotateY(180deg);
}

/* .flipper:hover .card-pg1 img.flippable,  */
.flipper.flipped .card-pg1 img.flippable {
	transform: rotateY(180deg);
}

/* .flipper:hover .card-pg2 img.flippable,  */
.flipper.flipped .card-pg2 img.flippable {
	transform: rotateY(0deg);
}



img.card {
	vertical-align: middle;
	max-width: 100%;
	max-height: 100%;
	backface-visibility: hidden;
}

img.card.flippable {
	transition: 0.6s;
	transform-style: preserve-3d;
}

.flurry-container {
	height: 100% !important;
	text-align: justify;
}

.page-turn {
	display: none;
}


@media only screen and (max-width: 768px) {
	.page-turn {
		margin-top: -2em;
	}
}


.page-turn svg {
	width: 2.5em;
	height: 2.5em;
	color: white;
}


.bg-switch-wrap {
	position: absolute;
  	bottom: 0;
  	left: 0.3em;
  	height: 8%;
  	width: 70%;
  	text-align: left;
  	overflow: hidden;
}

@media only screen and (max-width: 1024px) {
	.bg-switch-wrap {
		display: none;
	}
}

.bg-switch-wrap a {
	display: inline-block;
	height: 100%;
	margin-right: 0.2em;
	margin-left: 0.2em;
}

.bg-switch-wrap a img {
	border-width: 1px;
	border-style: solid;
	border-color: #ffffff;
	border-radius: 8px;
	max-height: 85%;
}

.bg-switch-wrap a.active img {
	border-color: #db5c5c;
}

