.bb-bookblock {
	font-family: 'DM Sans', sans-serif;
	color: #0C7990;
	width: 800px;
	height: 490px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
	-webkit-perspective: 1300px;
	perspective: 1300px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	text-align: center;
}
.bb-page {
	position: absolute;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transition-property: -webkit-transform;
	transition-property: transform;
}
#bb-nav-prev,
#bb-nav-next {
	width: 50%;
	height: 100%;
	position: relative;
	float: left;
	cursor: pointer;
}
.bb-vertical .bb-page {
	width: 50%;
	height: 100%;
	left: 50%;
	-webkit-transform-origin: left center;
	transform-origin: left center;
}
.bb-horizontal .bb-page {
	width: 100%;
	height: 50%;
	top: 50%;
	-webkit-transform-origin: center top;
	transform-origin: center top;
}
.bb-page > div,
.bb-outer,
.bb-content,
.bb-inner {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.bb-vertical .bb-content {
	width: 200%;
}
.bb-horizontal .bb-content {
	height: 200%;
}
.bb-page > div {
	width: 100%;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
.bb-vertical .bb-back {
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}
.bb-horizontal .bb-back {
	-webkit-transform: rotateX(-180deg);
	transform: rotateX(-180deg);
}
.bb-outer {
	width: 100%;
	overflow: hidden;
	z-index: 999;
}
.bb-overlay,
.bb-flipoverlay {
	background-color: rgba(0, 0, 0, 0.7);
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
}
.bb-flipoverlay {
	background-color: rgba(0, 0, 0, 0.2);
}
.bb-bookblock.bb-vertical > div.bb-page:first-child,
.bb-bookblock.bb-vertical > div.bb-page:first-child .bb-back {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}
.bb-bookblock.bb-horizontal > div.bb-page:first-child,
.bb-bookblock.bb-horizontal > div.bb-page:first-child .bb-back {
	-webkit-transform: rotateX(180deg);
	transform: rotateX(180deg);
}
/* Content display */
.bb-content {
	background: none;
}
.bb-vertical .bb-front .bb-content {
	left: -100%;
}
.bb-horizontal .bb-front .bb-content {
	top: -100%;
}
/* Flipping classes */
.bb-vertical .bb-flip-next,
.bb-vertical .bb-flip-initial {
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}
.bb-vertical .bb-flip-prev {
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
}
.bb-horizontal .bb-flip-next,
.bb-horizontal .bb-flip-initial {
	-webkit-transform: rotateX(180deg);
	transform: rotateX(180deg);
}
.bb-horizontal .bb-flip-prev {
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
}
.bb-vertical .bb-flip-next-end {
	-webkit-transform: rotateY(-15deg);
	transform: rotateY(-15deg);
}
.bb-vertical .bb-flip-prev-end {
	-webkit-transform: rotateY(-165deg);
	transform: rotateY(-165deg);
}
.bb-horizontal .bb-flip-next-end {
	-webkit-transform: rotateX(15deg);
	transform: rotateX(15deg);
}
.bb-horizontal .bb-flip-prev-end {
	-webkit-transform: rotateX(165deg);
	transform: rotateX(165deg);
}
.bb-item {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	display: none;
}
/* No JS */
.no-js .bb-bookblock,
.no-js ul.bb-custom-grid li {
	width: auto;
	height: auto;
}
.no-js .bb-item {
	display: block;
	position: relative;
}

.dedication-text {
	width: 45%;
	position: absolute;
	width: 100%;
	text-align: right;
	top: 45%;
	padding-right: 20px;
	z-index: 5000;

	font-size: 14px;
	line-height: 15px;
}

.prop-text {
	position: absolute;
	width: 100%;
	text-align: right;
	top: 50%;
	z-index: 5000;

	text-align: center;
	color: #0C7990;
}

.text_prop {
	width: 50%;
	float: right;
	font-size: 18px;
	color: #0C7990;
}

.prop-text img {
	width: 130px;
	margin-bottom: 10px;

}

.text_prop h6 {
	font-size: 34px;
	color: #0C7990;
}

.tale-piega {
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url(https://produzione.familyintale.com/img/str/piega.png);
	background-size: contain;
}

.tale-text {
	position: absolute;
	width: 100%;
	text-align: center;
	margin-top: 400px;
	z-index: 5000;
	font-size: 8px;
	line-height: 12px;
}
.text-tale-shadow {
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
	-moz-text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
	-webkit-text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.testoa,
.testob {
	width: 50%;
	float: left;
	padding: 6px;
	padding-left: 7px;
	padding-right: 7px;
}

.text_dedication{
	width: 45%;
	float: right;
	white-space: pre-wrap;
}

@media screen and (max-width: 991px) {
	 .bb-bookblock {
		width: 746px;
		height: 457px;
	}

	 .text_prop {
		width: 40%;
		float: right;
		font-size: 15px;
	}

	 .prop-text img {
		width: 120px;
		margin-bottom: 9px;
		margin-top: 8px;
	}

	 .tale-text {
		margin-top: 372px;
		font-size: 9px;
		line-height: 13px;
	}

	 .testoa,
	 .testob {
		padding: 6px;
		padding-left: 6px;
		padding-right: 6px;
	}

	 .bb-bookblock img {
		width: 746px;
	}
}

@media screen and (max-width: 767px) {
	 .bb-bookblock {
		width: 500px;
		height: 306.7px;
	}

	 .dedication-text {
		font-size: 10px;
		line-height: 11px;
		padding-right: 12px;
	}

	 .text_prop {
		width: 50%;
		float: right;
		font-size: 14px;
	}


	 .tale-text {
		margin-top: 247px;
		font-size: 6px;
		line-height: 8px;
	}

	 .testoa,
	 .testob {
		padding: 6px;
		padding-left: 9px;
		padding-right: 9px;
	}

	 .bb-bookblock img {
		width: 500px;
	}
}

@media screen and (max-width: 540px) {
	 .bb-bookblock {
		width: 310px;
		height: 190px;
	}

	 .dedication-text {
		font-size: 6px;
		line-height: 6.5px;
		padding-right: 5px;
	}
	 .text_prop {
		width: 50%;
		float: right;
		font-size: 9px;
	}

	 .prop-text img {
		width: 50px;
		margin-bottom: 5px;
		margin-top: -10px;
	}
	 .tale-text {
		margin-top: 152px;
		font-size: 3px;
		line-height: 5.1px;
	}
	 .testoa,
	 .testob {
		padding: 6px;
		padding-left: 6px;
		padding-right: 6px;
	}
	 .bb-bookblock img {
		width: 310px;
		height: 190px;
	}
}

@media screen and (max-width: 460px) {
	 .bb-bookblock {
		 
		 margin: -10px !important;
		width: 340px;
		height: 209px;
	}

	 .dedication-text {
		font-size: 7px;
		line-height: 7px;
		padding-right: 8px;
	}
	 .text_prop {
		width: 50%;
		float: right;
		font-size: 10px;
}
		.text_prop h6 {
		font-size: 18px;
	}
	 .prop-text img {
		width: 60px !important;
		height: auto !important;
		margin-bottom: 1px;

	}
	 .tale-text {
		margin-top: 169px;
		font-size: 4px;
		line-height: 4px;
	}
	 .testoa,
	 .testob {
		padding: 6px;
		padding-left: 6px;
		padding-right: 6px;
	}
	 .bb-bookblock img {
		width: 340px;
		height: 209px;
	}
}
