h2{
	text-align: center;
}
.btn-manual {
    color: #333;
    background-color: #e6e6e6;
    border-color: transparent;
    text-transform: none;
	font-size: 16px !important;
    margin: 0 0 16px 16px;
}
.btn-manual:hover {
	background-color: #f9f9f9;
}
.char-theme {
    float: left;
}
.char-theme.tags{
	padding: 0 15px;
/*	justify-content: space-between;*/
}
.char-theme.sidebar{
    margin: 0 25px 0 0;
    padding: 8px 0 0;
    width: 180px;
}
.char-theme.tags  li{
    width: max-content;
}
.char-theme.sidebar  li{
	line-height: 36px;
    width: 100%;
	font-size: 16px;
}
.char-theme li {
    line-height: 32px;
    cursor: pointer;
    float: left;
    padding: 0 15px;
}

.char-theme div {
    float: left;
    font-size: 16px;
}
.char-theme output {
    float: right;
    font-size: 14px;
}
.char-theme.tags output {
	margin: 2px 0 0 8px;
}
.sidebar,
.templates{
	float: left;
}
.sidebar li.view{
	color: #444;
	background-color: inherit;
}
.children ul,
.children.view > output,
.themes:not(.view) .tags,
.themes:not(.view) .sidebar,
.themes:not(.view) .template{
	display: none;
}
.themes.mobile .sidebar{
	display: none;
}
.sidebar a{
	width: 100%;
    min-height: 36px;
    display: block;
    line-height: 20px;
    height: max-content;
    padding-top: 6px;
    padding-bottom: 6px;
}
.themes .tags {
	width: 100%;
}
.children.view ul{
	display: block;
	margin: 0 -15px;
}
.children.view li{
	padding-left: 40px;
}
.themes:not(.view){
	min-width: 100%;
    min-height: 90vh;
	background: url(/image/pods/loaderer.gif) center no-repeat;
}
.themes .preview{
	clear: both;
	margin-top: -14px;
/*	justify-content: flex-start; /* space-around */
}
.themes .tags .preview{
	margin-top: 0;
}
.tags output{
	padding-top: 5px;
}
.sidebar output{
	padding-top: 7px;
}
/* превью макетов */
.preview.tags{
	clear: both;
	justify-content: center;/*space-between;*/
}
.template{
	position: relative;
}
.template.mobile{
	width: 340px!important;
/*    height: 440px!important;*/
}
.template.mobile .image{
	height: 360px;
}
.template.mobile .name{
    height: max-content;
	font-size: 28px;
}
.template.mobile .popup-select{
	top: 25%;
	line-height: 44px;
	padding: 0 0 6px;
}
.category-list.photobooks .mobile .image::before{
	width: 600px;
	height: 600px;
}
.template{
    cursor: pointer;
    text-align: center;
    position: relative;
    border: solid 5px #fff;
    padding: 10px 0 5px;
    margin: 0 5px 25px 0;
 /*   background: url(/redactor/images/loaderer.gif) center no-repeat;*/
    background-position-y: 80px;
}
.template.shadow.active,
.template.shadow:hover {
    box-shadow: 0 5px 10px 0 rgba(204, 204, 204, 0.6);
}
.template .img {
    margin: 0 auto;
	background: center no-repeat;
	background-size: cover;
}

.template .bg-1::before {
    content: '';
    display: block;
    background: url(/image/pods/photobook-bg-1.png) no-repeat 0 0 / cover;
    position: absolute;
    left: 10px;
    top: 10px;
}
.template.mobile .bg-1::before {
    left: 52px;
}
.template .bg-2::before {
    content: '';
    display: block;
    background: url(/image/pods/photobook-bg-2.png) no-repeat 0 0 / cover;
    position: absolute;
    left: 4px;
    top: 4px;
}
.template.mobile .bg-2::before {
    left: 48px;
}
.template .bg-3{
	border-right: 1px solid #cccccc;
}
.template .bg-3::before {
    content: '';
    display: block;
    background: url(/image/pods/photobook-bg-3.png) no-repeat 0 0 / cover;
    position: absolute;
    left: 10px;
    top: 0;
}
.template.mobile .bg-3::before {
    left: 52px;
}
.template .name {
    font-size: 16px;
    color: #242424;
    margin-top: 15px;
}
/*
.template:hover .img {
    opacity: 0.6;
}
*/
.custom-layout .img{
    font-size: 24px;
    padding-top: 40%;
	line-height: 24px;
}
.hidden {
    display: none;
}
/* всплывашка при наведении на превью макета фотокниги */
.popup-select{
	opacity: 0;
	padding: 6px 0;
	font-size: 14px;
	background: #fff;
	overflow: hidden;
    line-height: 30px;
	position: absolute;
	left: 13%;
    width: 75%;
    top: 54%;
	z-index: 1;
}
.template.mobile .popup-select{
	top: 100%;
    height: 0;
	height: 0;
}
.template.mobile.active .popup-select{
	top: 25%;
    opacity: 1;
	height: auto;
}
.popup-select .select-theme,
.popup-select .zoom-theme{
	clear: both;
	float: left;
	cursor: pointer;
	text-align: left;
	margin-left: 10px;
	position: relative;
    text-transform: uppercase;
}
.mobile .popup-select .select-theme,
.mobile .popup-select .zoom-theme{
	margin-left: 20px;
}
.popup-select .select-theme span,
.popup-select .zoom-theme span{
	float: left;
}
.popup-select .select-theme .painted,
.popup-select .select-theme .unpainted,
.popup-select .zoom-theme .painted,
.popup-select .zoom-theme .unpainted{
	font-size: 18px;
	margin-right: 8px;
}
.popup-select .select-theme .painted,
.popup-select .zoom-theme .painted{
	display: none;
}
.popup-select .theme-title{
	display: none;
}
.template:hover .popup-select {
    opacity: 1;
}
.mobile .popup-select .select-theme{
    margin-top: 14px;
}
.template:not(.mobile) .popup-select .select-theme:hover .painted,
.popup-select .zoom-theme:hover .painted{
	display: block;
}
.popup-select .select-theme .painted,
.template:not(.mobile) .popup-select .select-theme:hover .unpainted,
.popup-select .zoom-theme .painted,
.popup-select .zoom-theme:hover .unpainted{
	display: none;
}
/******  стилизвация всплывашки *********/
.popup {
    width: 60%;
    height: 60vh;
    border: 1px solid #e6e6e6;
    background-color: #e6e6e6;
    display: inline-block;
    top: 45%;
    left: 50%;
    opacity: 0;
    position: fixed;
    z-index: 999999;
    display: none;
    visibility: hidden;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}
.popup_title {
    font-size: 28px;
    margin: 10px 0;
    width: 100%;
    text-align: center;
}
.popup_title .btn{
    position: absolute;
}
.popup .btn{
	display: block;
    cursor: pointer;
    position: absolute;
    bottom: -4px;
    right: 2px;
    z-index: 99;
}
.popup .close_window {
    color: #9b9b9b;
    display: block;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
	z-index: 99;
}
.flipBook {
    width: 100%;
    height: calc(100% - 55px);
    border: 0;
}
.flex {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 100%;
    max-width: 100%;
}
.radius_3 {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    behavior: url(ie-css3.htc);
}
.radius_3r {
    -webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
    -moz-border-top-right-radius: 3px;
	-moz-border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
    behavior: url(ie-css3.htc);
}
.trans-0_3s {
    -webkit-transition: .3s ease-out;
    -moz-transition: .3s ease-out;
    -ms-transition: .3s ease-out;
    -o-transition: .3s ease-out;
    transition: .3s ease-out;
}
.trans-op-0_3s {
    -webkit-transition: opacity .3s ease-out;
    -moz-transition: opacity .3s ease-out;
    -ms-transition: opacity .3s ease-out;
    -o-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
}
.trans-op-0_5s {
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}

@-moz-document url-prefix() {
    .cboxIframe {
        margin-left: -8px;
        margin-top: -8px;
    }
}

@media (max-width: 680px) {
	.preview.tags {
		justify-content: space-around;
	}
}

@media (max-width: 420px) {
	.char-theme.tags {
		justify-content: space-between;
	}
	.preview.tags {
		justify-content: center;
	}
}