/* Steve jobs' book */
.modal-backdrop.fade.in{
	opacity: 0.5 !important;
}
/*
html {
	font-size: 14px;
}
#main-header {
	font-size: 16px;
}*/

.photobook-photobook #main-content {
	font-size: 14px;
}
.animated{
	-webkit-transition:margin-left 0.2s ease-in-out;
	-moz-transition:margin-left 0.2s ease-in-out;
	-o-transition:margin-left 0.2s ease-in-out;
	-ms-transition:margin-left 0.2s ease-in-out;
	transition:margin-left 0.2s ease-in-out;
}

.lds-roller {
	position: relative;
	width: 80px;
	height: 80px;
	display: inline-block;
}
.lds-roller div {
	animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	transform-origin: 40px 40px;
}
.lds-roller div:after {
	content: " ";
	display: block;
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #03a9f4;
	margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
	animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
	top: 63px;
	left: 63px;
}
.lds-roller div:nth-child(2) {
	animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
	top: 68px;
	left: 56px;
}
.lds-roller div:nth-child(3) {
	animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
	top: 71px;
	left: 48px;
}
.lds-roller div:nth-child(4) {
	animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
	top: 72px;
	left: 40px;
}
.lds-roller div:nth-child(5) {
	animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
	top: 71px;
	left: 32px;
}
.lds-roller div:nth-child(6) {
	animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
	top: 68px;
	left: 24px;
}
.lds-roller div:nth-child(7) {
	animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
	top: 63px;
	left: 17px;
}
.lds-roller div:nth-child(8) {
	animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
	top: 56px;
	left: 12px;
}
@keyframes lds-roller {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}


#canvas{
	width: 1000px;
	height: 500px;
	margin: 50px auto;
}

#book-zoom{
	-webkit-transition: -webkit-transform 1s;
	-moz-transition: -moz-transform 1s;
	-ms-transition: -ms-transform 1s;
	-o-transition: -o-transform 1s;
	transition: transform 1s;
}

.sj-book{
	width:1000px;
	height:500px;
}

.sj-book .book-content .center-pic{
	margin:0;
	text-indent:0;
	text-align:center;
}

.sj-book .zoom-this:hover{
	opacity:0.9;
	cursor:pointer;
}

.sj-book .book-content p{
	text-indent: 18px;
	margin: 20px 0;
	line-height: 22px;
}

.sj-book .left-pic{
	float:left;
	margin-top:15px;
	margin-right:15px;
	margin-bottom:15px;
}

.animated{
	-webkit-transition:margin-left 0.2s ease-in-out;
	-moz-transition:margin-left 0.2s ease-in-out;
	-o-transition:margin-left 0.2s ease-in-out;
	-ms-transition:margin-left 0.2s ease-in-out;
	transition:margin-left 0.2s ease-in-out;
}

.sj-book .shadow{
	-webkit-transition: -webkit-box-shadow 0.5s;
	-moz-transition: -moz-box-shadow 0.5s;
	-o-transition: -webkit-box-shadow 0.5s;
	-ms-transition: -ms-box-shadow 0.5s;

	-webkit-box-shadow:0 0 10px #999;
	-moz-box-shadow:0 0 10px #999;
	-ms-box-shadow:0 0 10px #999;
	-o-box-shadow:0 0 10px #999;
	box-shadow:0 0 10px #999;
}

.sj-book .page{
	-webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-o-box-shadow:0 0 20px rgba(0,0,0,0.2);
	box-shadow:0 0 20px rgba(0,0,0,0.2);
	background-size: 100% 100% !important;
	background-position: 0 0 ;
}

.zoom-pic{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.2);
	z-index:999;
}

.zoom-pic img{
	-webkit-box-shadow:0 0 20px #999;
	-moz-box-shadow:0 0 20px #999;
	-o-box-shadow:0 0 20px #999;
	-ms-box-shadow:0 0 20px #999;
	box-shadow:0 0 20px #999;
}

.sj-book .p1,
.sj-book .p2,
.sj-book .p3,
.sj-book .p9,
.sj-book .p10{
	background-color:white;
	/*background-image:url('/catalog/view/theme/default/image/photobook/book-covers.jpg') !important;*/
}

.sj-book .p1{
	background-position:0 0;
}

.sj-book .p1 .side{
	width:5px;
	height:600px;
	position:absolute;
	top:0;
	left:475px;

	background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #bbb), color-stop(0.5,  #ddd), color-stop(1,  #bbb));
	background-image:-webkit-linear-gradient(left, #bbb, #ddd, #bbb);
	background-image:-moz-linear-gradient(left, #bbb, #ddd, #bbb);
	background-image:-ms-linear-gradient(left, #bbb, #ddd, #bbb);
	background-image:-o-linear-gradient(left, #bbb, #ddd, #bbb);
	background-image:linear-gradient(left, #bbb, #ddd, #bbb);

	-webkit-transform:rotateY(-90deg);
	-moz-transform:rotateY(-90deg);
	-o-transform:rotateY(-90deg);
	-ms-transform:rotateY(-90deg);
	transform:rotateY(-90deg);

	-webkit-transform-origin:top right;
	-moz-transform-origin:top right;
	-o-transform-origin:top right;
	-ms-transform-origin:top right;
	transform-origin:top right;
	z-index: 600;

}

.sj-book-transform div[page="1"] > div, .sj-book-transform div[page="2"] > div{
	overflow:visible !important;
}



.sj-book .front-side .depth{
	left:4px;
	background-position:0 0;
}

.sj-book .back-side .depth{
	right:4px;
	background-position:right 0;
}


.sj-book .hard{
	width:500px;
	height:500px;
	background-color:white;
	-webkit-box-shadow:none;
	-moz-box-shadow:none;
	-ms-box-shadow:none;
	box-shadow:none;
}

.sj-book .page-wrapper{
	-webkit-perspective:2000px;
	-moz-perspective: 2000px;
	-ms-perspective: 2000px;
	perspective: 2000px;
}

.sj-book .own-size{
	width:490px;
	height:480px;
	background-color: #15a662;
	overflow:hidden;
}

@media all and (max-width: 768px) {
	#canvas{
		width:300px;
		height:150px;
		margin: 20px auto;
	}
	.sj-book{
		width:300px;
		height:150px;
	}

	.sj-book .hard{
		width:150px;
		height:150px;
	}
	.sj-book .own-size{
		width:145px;
		height:140px;
	}
}

.sj-book .even{
	background:-webkit-gradient(linear, left top, right top, color-stop(0.95, #fff), color-stop(1, #dadada));
	background-image:-webkit-linear-gradient(left, #fff 95%, #dadada 100%);
	background-image:-moz-linear-gradient(left, #fff 95%, #dadada 100%);
	background-image:-ms-linear-gradient(left, #fff 95%, #dadada 100%);
	background-image:-o-linear-gradient(left, #fff 95%, #dadada 100%);
	background-image:linear-gradient(left, #fff 95%, #dadada 100%);
}

.sj-book .odd{
	background:-webkit-gradient(linear, right top, left top, color-stop(0.95, #fff), color-stop(1, #cacaca));
	background-image:-webkit-linear-gradient(right, #fff 95%, #cacaca 100%);
	background-image:-moz-linear-gradient(right, #fff 95%, #cacaca 100%);
	background-image:-ms-linear-gradient(right, #fff 95%, #cacaca 100%);
	background-image:-o-linear-gradient(right, #fff 95%, #cacaca 100%);
	background-image:linear-gradient(right, #fff 95%, #cacaca 100%);
}

.sj-book .loader{
	background-image:url(../pics/loader.gif);
	width:22px;
	height:22px;
	position:absolute;
	top:280px;
	left:219px;
}

.sj-book .page-number{
	color:#999;
	width:100%;
	bottom:25px;
	position:absolute;
	display:block;
	text-align: center;
	line-height:30px;
	font-size:11px;
}

.sj-book .table-contents{
	font-size:16px;
	width:300px;
	margin:80px auto;
	color:#ccc;
}

.sj-book .table-contents li{
	list-style:none;
	line-height:25px;
}

.sj-book .table-contents span{
	float:right;
}

.sj-book .table-contents a{
	float:left;
	width:100%;
	clear:both;
	text-decoration:none;
	color:#333;
	margin:2px 0;
	padding:0 10px;
}

.sj-book .table-contents a:hover{
	background:#CAD1EE;
	float:left;
	width:100%;
	clear:both;
	text-decoration:none;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	-o-border-radius:10px;
	-ms-border-radius:10px;
	border-radius:10px;
}

.sj-book .book-content .capital,
.sj-book .book-content .no-indent{
	text-indent: 0;
}

.sj-book .capital:first-letter {
    display:block;
    float:left;
    font-size: 300%;
    line-height: 70%;
	margin-right: 6px;
	margin-top: 7px;
	margin-left:18px;
}

.ie8 .sj-book .even,
.ie9 .sj-book .even{
	background-image:url('../../image/photobook/gradient-page-left.jpg');
	background-position:right top;
	background-repeat:repeat-y;
}

.ie8 .sj-book .odd,
.ie9 .sj-book .odd{
	background-image:url('../../image/photobook/gradient-page-right.jpg');
	background-position:left top;
	background-repeat:repeat-y;
}


.products-gallery {
	position: relative;
	float: left;
	margin: 0;
	width: 100%;
	padding: 0 160px 0 400px;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-content: flex-start;
	-ms-flex-line-pack: start;
	align-content: flex-start;

	min-height: calc(100vh - 200px);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-user-drag: none
}

@media only screen and (max-width: 1279px) {
	.products-gallery {
		padding-left: 360px;
		padding-right: 130px
	}
}

@media only screen and (max-width: 900px) {
	.products-gallery {
		padding: 0 10px
	}
}

@media only screen and (max-device-width: 440px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
	.products-gallery {

	}
}

@media only screen and (max-device-width: 812px) and (max-device-height: 440px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	.products-gallery {
		padding-top: 210px
	}
}

.products-gallery .product {
	width: 24.5%;
	padding: 0 10px 20px;
	position: relative;
	z-index: 1;
}

@media only screen and (max-width: 1279px) {
	.products-gallery .product {
		padding-bottom: 10px
	}
}

@media only screen and (max-width: 1760px) {
	.products-gallery .product {
		width: 50%
	}
}

@media only screen and (max-width: 1360px) {
	.products-gallery .product {
		width: 100%
	}
}

@media only screen and (max-device-width: 812px) and (max-device-height: 440px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	.products-gallery .product {
		width: 50%;
		padding: 0 5px 10px
	}
}

.products-gallery .product_spec .product__inner {
	padding: 16px 13px 10px;
	border: 2px solid #2bbbad
}

.products-gallery .product__spec {
	position: absolute;
	top: 0;
	right: 10px;
	font-size: 13px;
	background-color: #2bbbad;
	color: #fff;
	padding: 0 5px;
	border-radius: 0 0 4px 4px
}

.products-gallery .product__wrap {
	width: 100%;
	margin: auto;
	height: auto;
	max-width: 500px;
	overflow: hidden;
	transition: all .2s ease-out;
	z-index: 2;
	position: relative;
	pointer-events: none;
	border: 1px solid #e7eaec;
}

.products-gallery .product__inner {
	position: relative;
	margin: auto;
	max-width: 900px;
	padding: 15px;
	background-color: #fff;
	border-radius: 4px;
	bottom: 0;
	pointer-events: all
}

@media only screen and (max-width: 640px) {
	.products-gallery .product__inner {
		min-width: inherit
	}
}

@media only screen and (max-device-width: 440px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
	.products-gallery .product__inner {
		min-width: 0
	}
}

@media only screen and (max-device-width: 812px) and (max-device-height: 440px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	.products-gallery .product__inner {
		min-width: 0
	}
}

.products-gallery .product__inner:before {
	font-family: u4u, sans-serif;
	content: "\e5cd";
	font-size: 32px;
	display: none;
	position: absolute;
	opacity: .8;
	transition: opacity .2s ease-out;
	pointer-events: none;
	top: 0;
	right: -35px;
	line-height: 30px;
	z-index: 1;
	color: #fff
}

@media only screen and (max-width: 1279px) {
	.products-gallery .product__inner:before {
		font-size: 24px;
		right: -26px
	}
}

.products-gallery .product__backdrop {
	position: fixed;
	display: none;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: .7;
	background-color: #212c3c;
	cursor: pointer;
	z-index: -1
}

.products-gallery .product__header {
	height: 22px;
	font-size: 18px
}

@media only screen and (max-width: 640px) {
	.products-gallery .product__header {
		font-size: 16px
	}
}

.products-gallery .product__name {
	font-weight: 500;
	text-align: center;
	height: 30px;
	overflow: hidden
}

.products-gallery .product__bg-btn {
	display: none;
	height: 32px;
	line-height: 32px;
	margin: 5px auto 0;
	max-width: 180px;
	border-radius: 4px;
	border: none;
	background-color: #2bbbad;
	color: #fff
}

.products-gallery .product__bg-btn:hover {
	background-color: #178cea
}

.products-gallery .product__bg-btn_pages {
	background-color: #ff8100
}

.products-gallery .product__bg-btn_pages:hover {
	background-color: #ff8e1a
}

.products-gallery .product__backbtn {
	display: none;
	position: absolute;
	top: 10px;
	left: 20px;
	height: 32px;
	line-height: 32px;
	font-size: 16px;
	margin: 5px auto 0;
	padding: 0 10px;
	max-width: 180px;
	border-radius: 4px;
	border: none;
	background-color: #cfdce6;
	z-index: 5;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none
}

.products-gallery .product__backbtn:hover {
	background-color: #dfe8ef
}

.products-gallery .product__preview {
	position: relative;
	padding: 0 20px;
	margin: 10px -5px
}

.products-gallery .product:hover .product__slider:after {
	opacity: .3
}

.products-gallery .product:hover .product__slider:hover:after {
	opacity: 1
}

.products-gallery .product__slider {
	cursor: pointer;
	transition: opacity .2s ease-out;
	white-space: nowrap;
	font-size: 0;
	margin: 0 10px;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	text-align: center;
}

.products-gallery .product__slider-arr {
	position: absolute;
	bottom: 50%;
	-webkit-transform: translateY(50%);
	transform: translateY(50%);
	padding: 30px 0;
	color: #7695b5;
	cursor: pointer
}

.products-gallery .product__slider-arr_left {
	left: 0;
	padding-right: 30px
}

.products-gallery .product__slider-arr_right {
	right: 0;
	padding-left: 30px
}

.products-gallery .product__slider-arr:hover {
	color: #2bbbad
}

.products-gallery .product__formats-wrap {
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin: 5px 0;
	flex-wrap: wrap;
}
.product__format.choose__item.disabled{
	margin-bottom: 5px;
}
.products-gallery .product__format {
	padding-top: 4px;
	position: relative;
	padding: .3rem .7rem;
	box-sizing: border-box;
	border: solid 2px #DDD;	
	border-radius: .125rem;
	margin-bottom: 5px
}
.products-gallery .product__format i, .topics .topics__item  i, .products-filter-format .choose__item i{
	background: #fff;
	width: 10px;
	height: 10px;
	position: absolute;
	color: #fff;
	font-size: 10px;
	right: 0;
	bottom: 0;
	padding: 10px;
	background: linear-gradient(to bottom right, #fff0 0%, #fff0 50%, #00838F 50%, #00838F 100%)!important;
}

.topics .topics__item  i{
	right: -3px;
}

.products-gallery .product__panel {
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: space-between;
	-moz-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	margin-top: 15px;
	-webkit-align-content: center;
	-ms-flex-line-pack: center;
	align-content: center
}

.products-gallery .product__pages {
	width: 33%;
	font-size: 14px;
	color: #6588ac
}

@media only screen and (max-width: 480px) {
	.products-gallery .product__pages {
		display: none
	}
}

.products-gallery .product__btn {
	padding: 0 12px;
	vertical-align: middle;
	display: inline-block;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	white-space: nowrap;
	text-decoration: none;
	transition: border-color .12s ease-out, color .12s ease-out, background-color .25s ease-out;
	cursor: pointer;
	height: 40px;
	line-height: 38px;
	background-color: #2bbbad;
	color: #fff;
	margin: 0 auto;
}

@media only screen and (max-width: 480px) {
	.products-gallery .product__btn {
		width: 100%
	}
}

@media only screen and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	.products-gallery .product__btn {
		padding: 0 5px
	}
}

.products-gallery .product__btn:hover {
	background-color: #008764
}



.products-gallery .product__price {
	line-height: 36px;
	text-align: right;
	font-size: 14px;
	font-weight: 500;
	display: inline-block;
}

@media only screen and (max-width: 480px) {
	.products-gallery .product__price {
		display: none
	}
}

.products-gallery .product__big-text {
	font-size: 18px;
	line-height: 26px
}

.products-gallery .product__pages-text {
	display: block;
	line-height: 8px
}

.products-gallery .product__infotext {
	height: 0;
	font-size: 15px;
	-webkit-align-items: center;
	-moz-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	overflow: hidden;
	width: 100%;
	display: none
}

.products-gallery .product .img-preview {
	height: 130px;
	text-align: center;
	line-height: 130px;
	margin: 4px;
	position: relative
}



@media only screen and (max-device-width: 812px) and (max-device-height: 440px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	.products-gallery .product .img-preview:before {
		bottom: 50px
	}
}

.products-gallery .product .img-preview__page {
	width: 50%;
	display: inline-block;
	height: inherit;
	vertical-align: middle
}



.products-gallery .product .img-preview__img {
	border: 1px solid rgba(33, 44, 60, .4);
	max-width: 100%;
	max-height: 100%;
	-webkit-user-drag: none
}

.products-gallery .product .img-preview_double .img-preview__page:first-child .img-preview__img {
	border-right: none
}

.products-gallery .product .img-preview_double .img-preview__page:last-child .img-preview__img {
	border-left: none
}

.products-gallery .product .create-album {
	display: none
}

.products-gallery .product .view-album {
	display: block
}

.products-gallery .product.show {
	z-index: 123;
	left: 0;
	right: 0;
	margin: auto
}

.products-gallery .product.show .create-album {
	display: block
}

.products-gallery .product.show .view-album {
	display: none
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .product__name {
		margin-top: 50px
	}
}

.products-gallery .product.show .product__slider {
	cursor: default
}

.products-gallery .product.show .product__slider:after {
	display: none
}

.products-gallery .product.show .product__slider:hover {
	opacity: 1
}

.products-gallery .product.show .product__wrap {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	padding: 0 30px;
	max-width: 100%;
	width: 100%;
	height: 628px;
	margin: auto
}

@media only screen and (max-width: 640px) {
	.products-gallery .product.show .product__wrap {
		height: 562px
	}
}

@media only screen and (max-height: 700px) and (orientation: landscape) {
	.products-gallery .product.show .product__wrap {
		height: 516px
	}
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .product__wrap {
		height: auto;
		padding: 0
	}
}

.products-gallery .product.show .product__inner {
	padding: 15px 30px
}

@media only screen and (max-width: 640px) {
	.products-gallery .product.show .product__inner {
		height: 556px
	}
}

@media only screen and (max-height: 700px) and (orientation: landscape) {
	.products-gallery .product.show .product__inner {
		height: 512px
	}
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .product__inner {
		height: 100%;
		border-radius: 0;
		overflow-x: hidden;
		overflow-y: auto
	}
}

.products-gallery .product.show .product__inner:before {
	display: block
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .product__inner:before {
		display: none
	}
}

.products-gallery .product.show .product__bg-btn {
	display: block
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .product__bg-btn {
		position: absolute;
		top: 10px;
		right: 20px
	}
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .product__backbtn {
		display: -webkit-inline-flex;
		display: -moz-inline-box;
		display: -ms-inline-flexbox;
		display: inline-flex
	}
}

.products-gallery .product.show .product__backdrop {
	display: block
}

.products-gallery .product.show .product__spec {
	display: none
}

.products-gallery .product.show .product__slider-arr {
	padding: 150px 10px
}

@media only screen and (max-width: 640px) {
	.products-gallery .product.show .product__slider-arr {
		padding: 110px 10px
	}
}

@media only screen and (max-height: 700px) and (orientation: landscape) {
	.products-gallery .product.show .product__slider-arr {
		padding: 80px 10px
	}
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .product__slider-arr {
		padding: 45px 10px
	}
}

.products-gallery .product.show .product__slider-arr i.x2 {
	font-size: 36px
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .product__slider-arr i.x2 {
		font-size: 24px
	}
}

.products-gallery .product.show .product__slider-arr_left {
	left: -20px;
	padding-right: 60px
}

.products-gallery .product.show .product__slider-arr_right {
	right: -20px;
	padding-left: 60px
}

.products-gallery .product.show .product__preview {
	padding: 0 40px;
	margin: 20px -20px 15px
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .product__preview {
		padding: 0;
		margin: 0 -15px 10px
	}
}

.products-gallery .product.show .product__header {
	font-size: 21px;
	height: 65px
}

@media only screen and (max-width: 640px) {
	.products-gallery .product.show .product__header {
		height: 50px;
		font-size: 18px
	}
}

.products-gallery .product.show .product__panel {
	margin-top: 10px
}

.products-gallery .product.show .product__infotext {
	height: 86px;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	margin: 10px 0 0
}

@media only screen and (max-width: 640px) {
	.products-gallery .product.show .product__infotext {
		height: 70px;
		margin-top: 8px;
		font-size: 14px
	}
}

@media only screen and (min-width: 1280px) {
	.products-gallery .product.show .product__btn {
		width: 20%
	}
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .product__btn.show-bgs {
		display: none
	}
}

.products-gallery .product.show .img-preview {
	height: 320px;
	line-height: 320px
}

.products-gallery .product.show .img-preview:before {
	bottom: 0;
	top: 20px;
	height: 20px;
	margin: auto
}

@media only screen and (max-width: 640px) {
	.products-gallery .product.show .img-preview {
		height: 280px;
		line-height: 280px
	}
}

@media only screen and (max-height: 700px) and (orientation: landscape) {
	.products-gallery .product.show .img-preview {
		height: 210px;
		line-height: 210px
	}
}

@media only screen and (max-width: 480px) {
	.products-gallery .product.show .img-preview {
		height: calc(100vh - 320px);
		line-height: calc(100vh - 320px)
	}
}

.products-gallery .product-background {
	width: 100%;
	height: 320px;
	padding: 10px;
	border-radius: 5px;
	background-color: #eff1f7;
	box-shadow: inset 0 1px 14px 1px rgba(33, 44, 60, .2);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch
}

@media only screen and (max-width: 640px) {
	.products-gallery .product-background {
		height: 290px
	}
}

@media only screen and (max-width: 480px) {
	.products-gallery .product-background {
		padding: 10px;
		height: calc(100vh - 320px)
	}
}

.products-gallery .product-background__loading {
	text-align: center;
	height: 175px;
	padding-top: 125px
}

.products-gallery .product-background__item {
	display: inline-block;
	vertical-align: top;
	margin: 0 5px 10px
}

.products-gallery .product-background__item img {
	border: 1px solid rgba(33, 44, 60, .4);
	opacity: 0;
	transition: opacity .5s;
	max-width: 182px
}

@media only screen and (max-width: 900px) {
	.products-gallery .product-background__item img {
		max-width: 92px
	}
}

.products-gallery .product-background__item img.theme-show {
	opacity: 1
}

.clearfix:after, .clearfix:before, .morebody .moreImg:after, .morebody .moreImg:before {
	content: " ";
	display: table
}

.clearfix:after, .morebody .moreImg:after {
	clear: both
}

.products-filter-format:after, .products-filter-format:before, .products-filter-onlytext:after, .products-filter-onlytext:before, .products-filter-type:after, .products-filter-type:before {
	content: " ";
	display: table
}

.products-filter-format:after, .products-filter-onlytext:after, .products-filter-type:after {
	clear: both
}

.book-bg {
	position: relative;
	width: 200px;
	height: 200px;
	margin: 20px auto;
	background-color: #a2aaa4;
	background-size: contain;
	background-position: center;
	transform-style: preserve-3d;
	perspective: 500px;
	cursor: pointer;
	box-shadow: 3px 5px 16px rgba(19,24,37,0.33);
	z-index: 700;
}
.book-cover {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #cadbd1;
	background-size: cover;
	transform-origin: 0 50%;
	transition: all 0.3s ease;
	background-position-x: -7px;
}

.book-cover:after{
	left: 0;
	top: 0;
	bottom: 0;
	width: 2%;
	z-index: 2;
	box-shadow: 3px 0 10px 1px rgba(0,0,0,0.15);
	position: absolute;
	content: "";
	display: block;
}
.book-bg:hover .book-cover {
	transform: rotateY(-60deg);
}

.swal2-styled.swal2-confirm{
	font-size: 1.5em;
}

.swal2-title{
	font-size: 2.5em;
}
.template-preview .preview-size{
	font-size: 16px;
	margin-top: 10px;
}

.template-preview .error-message{
	text-align: center;
	font-size: 13px;
	color: #ff6156;
	margin-bottom: 15px;
	display: none;
}

fieldset.book-params {
	margin: 0;
	padding: 1rem;
	box-sizing: border-box;
	display: inline-block;
	border: solid 1px #E3F0F2;
	min-width: 0;
	background-color: #FFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
fieldset.book-params legend {
	margin: 0 0 1.5rem;
	padding: 0;
	width: 100%;
	float: left;
	display: table;
	font-size: 1.3rem;
	line-height: 140%;
	font-weight: 600;
	color: #333;
}
fieldset.book-params legend + * {
	clear: both;
}

body:not(:-moz-handler-blocked) fieldset.book-params {
	display: table-cell;
}

/* TOGGLE STYLING */
fieldset.book-params .toggle {
	margin: 0 0 1.5rem;
	box-sizing: border-box;
	font-size: 0;
	display: -webkit-box;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	flex-flow: row nowrap;
	-webkit-box-pack: start;
	justify-content: center;
	-webkit-box-align: stretch;
	align-items: stretch;
}
fieldset.book-params .toggle input {
	width: 0;
	height: 0;
	position: absolute;
	left: -9999px;
	display: none;
}
fieldset.book-params .toggle input + label {
	margin: 0;
	padding: .75rem 2rem;
	box-sizing: border-box;
	position: relative;
	display: inline-block;
	border: solid 1px #DDD;
	background-color: #FFF;
	font-size: 1rem;
	line-height: 140%;
	font-weight: 600;
	text-align: center;
	box-shadow: 0 0 0 rgba(255, 255, 255, 0);
	-webkit-transition: border-color .15s ease-out,  color .25s ease-out,  background-color .15s ease-out, box-shadow .15s ease-out;
	transition: border-color .15s ease-out,  color .25s ease-out,  background-color .15s ease-out, box-shadow .15s ease-out;
	cursor: pointer;
	border-left: none;
}
fieldset.book-params .toggle input + label.disabled{
	background-color: #d3dbd5;
	cursor: not-allowed;
}
fieldset.book-params .toggle input + label:first-of-type {
	border-radius: 6px 0 0 6px;
	border-left: solid 1px #DDD;
}
fieldset.book-params .toggle input + label:last-of-type {
	border-radius: 0 6px 6px 0;
}
fieldset.book-params .toggle input + label:only-child{
	border-radius: 6px !important;
}
fieldset.book-params .toggle input:hover + label {
	border-color: #2f5f90;
}
fieldset.book-params .toggle input:checked + label {
	background-color: #4B9DEA;
	color: #FFF;
	box-shadow: 0 0 10px rgba(102, 179, 251, 0.5);
	border-color: #4B9DEA;
	z-index: 1;
	outline: none !important;
}
fieldset.book-params .toggle input:focus + label {
	outline: dotted 1px #CCC;
	outline-offset: .45rem;
}
@media (max-width: 800px) {
	fieldset.book-params{
		display: block;
		margin-top: 10px;
		padding: .5rem 0 0;
	}
	fieldset.book-params legend{
		font-size: 1em;
	}
	fieldset.book-params .toggle input + label {
		padding: .75rem 1rem;
		-webkit-box-flex: 0;
		display: -webkit-box;
		display: flex;
		-webkit-box-pack: center;
		justify-content: space-around;
		-webkit-box-align: center;
		align-items: center;
	}
	fieldset.book-params .toggle.formats{
		flex-wrap: wrap;

	}
	fieldset.book-params .toggle.formats input + label{
		padding: .75rem;
		border-radius: 0 !important;
	}

	fieldset.book-params .toggle{
		justify-content: center;
	}
	.template-preview .error-message{
		font-size: 11px;
	}
}
.products-filter-format .choose {
    flex-wrap: wrap;
}
.products-filter-format .choose__item{
	margin: 0 10px 10px 0!important
}
@media (max-width: 767px){
	fieldset.book-params .toggle{
		flex-wrap: wrap;
	}
	fieldset.book-params .toggle input + label.disabled{
		    margin-right: 5px;
    margin-bottom: 5px;
	}
}
.page-footer .col-md-4{
	width: auto;
}
