html, body {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background: url("../../image/photobook/bg-lightl-889.jpg");
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

#wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url("../../image/photobook/bg-lightl-889.jpg");

}

#wrapper #sidebar {
    width: 350px;
    float: left;
}

#wrapper #main-content {
    margin-left: 350px;

    position: relative;
}

#wrapper #main-content #host {
    position: relative;
    padding-top: 15px;
    height: calc(100vh + 0px) !important;
    /* height: 100%;*/
    /* position: absolute;
     left: 50%;
     transform: translate(-50%, 0);
     top: 50px;*/
}

#wrapper #main-content #host > div{
    vertical-align: top;
}

#wrapper #main-content #tools {
    position: relative;
    margin: 10px auto 0;
    text-align: center;
    display: inline-block;
}

#book-cover {
    border-radius: 5px;
    background: #474747;
    width: 100%;
    height: 100%;
    z-index: 999;
    position: absolute;
    top:0;
    left: 0;
}

#book-cover-inner .outer-cover-backbone {
    width: 14px;
    position: absolute;
    left: 50%;
    height: 100%;
    z-index: 1000;
    margin-left: -7px;
}

#book-cover-inner .outer-cover-backbone-part {
    position: absolute;
    height: 100%;
    max-width: 100%;
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    background-repeat: repeat-y;
    width: 10px;
}

#book-cover-inner .cover-backbone-left {
    background-image: url('../../image/photobook/outer-cover-backbone-left.png');
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 0;
}

#book-cover-inner .cover-backbone-right {
    background-image: url('../../image/photobook/outer-cover-backbone-right.png');

    -webkit-transform: translateX(50%);

    -moz-transform: translateX(50%);

    -ms-transform: translateX(50%);

    transform: translateX(50%);

    right: 0;
}

#book-cover-inner {
    padding: 0px;
    background: #474747;
    width: auto;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 4px 0px #000;
    height: 100%;
}

#book-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
    position: relative;
    box-shadow: 0px 0px 5px 2px #272727;
    background-size: contain;
    background-repeat: repeat;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: 0;

}



#book-content .grid {
    background: url('../../image/photobook/grid.png');
    background-size: 10px;
    z-index: 10;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    display: none;
}

#pages-content{
    display: block !important;
}

#pages-content .page {
    background-color: #ffffff;
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center !important;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
}

#pages-content .page.current-page {
    display: block;
}

#pages-content .element {
    display: inline-block;
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    z-index: 100;
    transform: rotate(0deg);
}

#pages-content .element.draggable, .ui-draggable {
    cursor: all-scroll;
}

#pages-content .element .image {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#pages-content .element .image img {
    /* object-fit: cover;*/
    overflow: hidden;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    min-width: 100%;
    max-width: none !important;
    /*min-height: 100%;*/
    position: absolute;
    box-sizing: content-box;
}

#pages-content .element .holder-move {
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(255, 255, 255, 0.61);
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    line-height: 40px;
    text-align: center;
    border-radius: 50px;
    display: none;
    z-index: 9;
    cursor: all-scroll;
}

#pages-content .element.big .holder-move{
    width: 70px;
    height: 70px;
    margin-left: -35px;
    margin-top: -35px;
    line-height: 70px;
}

#pages-content .element .holder-move:hover {
    background: #fff;
}

#pages-content .element .slider {
    position: absolute;
    bottom: 20px;
    left: 10px;
    right: 10px;
    height: 3px;
    cursor: pointer;
    display: none;
}

#pages-content .element .frame {
    width: 100%;
    height: 100%;
    z-index: 0 !important;
    top: 0;
    left: 0;
    position: absolute;
    border-width:  2px;
    border-color: #fff;
    border-style: solid;
}

#pages-content .element.big .frame{
    display: none !important;
}

.font-menu a{
    font-size: 16px !important;
}

#host{
    text-align: center;
}

#book-container{
    display: inline-block;
    height: 100%;

}

#templates-left{
    display: inline-block;
    width: 80px;
    height: 100%;
    background: #fff;
    vertical-align: top;
    margin-right: 10px;
    padding: 10px 0;
    max-height: 500px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px -1px #000;
}

#templates-left .content{
    width: 80px;
    height: 1000px;
    background: yellow;
}

#templates-right{
    display: inline-block;
    width: 80px;
    height: 100%;
    background: #fff;
    vertical-align: top;
    margin-left: 10px;
    max-height: 500px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px -1px #000;
}




#bottom-tools{

}

#bottom-tools > div{
    display: inline-block;
    vertical-align: middle;
}

#bottom-tools .left-tools{
    /* font-size: 1;*/
}

#bottom-tools .right-tools{

}

#bottom-tools .right-tools > span, #bottom-tools .left-tools > span {
    /*  background: #8e9393;*/
    background: #ccc;
    padding: 5px;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    width: 30px;
    height: 30px;
}

#bottom-tools .right-tools > span.bg-select, #bottom-tools .left-tools > span.bg-select{
    background: url("../../image/photobook/color-wheel-icon.png") no-repeat center;
}

#templates-bottom{
    width: 500px;
    margin: 10px auto 0;
    /*height: 100px;*/
    background: #fff;
    overflow: hidden;
    padding: 0 10px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px -1px #000;
}

#templates-bottom-cover{
    width: 500px;
    margin: 10px auto 0;
    /*height: 100px;*/
    background: #fff;
    overflow: hidden;
    padding: 0 10px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px -1px #000;
}

.templates .layouts{
    text-align: center;
    padding: 10px 0;
}
.templates .layouts .item{
    width: 60px;
    height: 60px;
    border: 1px solid #69aa7a;

    cursor: pointer;
    font-size: 0;
    text-align: center;
    overflow: hidden;
    margin: 0;
    display: inline-block;
    position: relative;
    isolation: isolate;
}
#templates-bottom-cover .item{
    width: 100px;
}

#templates-bottom .layouts{
    padding: 5px 10px;
}
#templates-bottom .item{
    width: 70px;
    height: 60px;
}

#book-content .element .slider .ui-slider-handle {
    top: -4px;
    width: 8px;
    height: 9px;
    margin-left: -3px;
    cursor: pointer;
}

#book-content .element .image-position-handle {

    position: absolute;
    top: 18%;
    left: 36%;
    padding: 20px;
    background: #fff;
    border-radius: 50px;
    width: 20%;
    height: 20%;

}

#book-content .element[class*="active-element"] .holder-move,
#book-content .element[class*="active-element"] .slider {
    display: block;
}





#book-content .sticker img{
    width: 100%;
    height: 100%;
}



#book-content .layout-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    background-size: contain ;
}

#book-content .layout-item .item {
    width: 100%;
    height: 100%;
}

#book-content .element.holder {
    display: block;
    background: #e4feed  url("../../image/photobook/photo-placeholder.png") no-repeat center ;
    /* box-shadow: inset 0 0 3px 1px #545454;*/
    outline: none !important;
    /* position: relative;*/
    /*overflow: hidden;*/
}

#book-content .element.active-element {
    z-index: 999 !important;
    /*outline: 2px solid #fff !important;*/
}

#book-content .element.active-element.transparent{
    opacity: 0.7;
}

#book-content .editable-text{}

#book-content .editable-text span{
    white-space: pre-wrap;
    display: block;
}

#book-content .editable-text.active-element {
    outline:1px dashed #fff !important;

}

#book-content .photo-container  {
    /* box-shadow: 3px 3px 4px 1px #5a5a5a;*/
    /* border-width: 2px;
     border-color: rgb(255, 255, 255);
     border-style: solid;*/
    /*  background: #16aac280 url("../../image/photobook/photo-placeholder.png") no-repeat center;*/
}

#book-content .pinned .photo-container{
    border-width: 0 !important;
}

#book-content .photo-container.shadow{
    box-shadow: 3px 3px 4px 1px #5a5a5a;
}

#book-content .corner{
    background: rgba(255, 255, 255, 0.82);
    position: absolute;
    z-index: 1000 !important








































;
    box-sizing: content-box;
}

#book-content .corner span{
    color: #747474;
    font-size: 11px;
    text-shadow: 0px 0px 1px #fff;
    white-space: nowrap;
    display: none;

    padding: 0;
    margin-top: -5px;

}

#book-content .corner.top{
    top: 0;
    width: 100%;
    height: 2%;
    /* border-bottom: 1px dashed #d9d9d9;*/
}
#book-content .corner.right{
    width: 1%;
    height: 100%;
    right: 0;
    /* border-left: 1px dashed #d9d9d9;*/
}
#book-content .corner.right span{
    margin-left: 2px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);

}

#book-content .corner.bottom{
    bottom: 0;
    width: 100%;
    height: 2%;
    /* border-top: 1px dashed #d9d9d9;*/
}
#book-content .corner.left{
    width: 1%;
    height: 100%;
    left: 0;
    /* border-right: 1px dashed #d9d9d9;*/
}

#book-content .corner.left span{
    margin-right: 2px;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

}

.book-left-side {
    width: 50%;
    height: 100%;
    float: left;
    position: relative;
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
    z-index: 0;
}



.book-right-side {
    width: 50%;
    height: 100%;
    float: right;
    /*position: relative;*/
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
    z-index: 0;
}

.center-placeholder {
    width: 26%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -13%;
    z-index: 999;
}

#menu{
    padding: 10px 20px;
    width: 100%;
    background: #3FB8AF;
}

#menu ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

#menu ul li{
    display: inline-block;
}

#backgrounds{
    /* width: 500px;*/
}

#backgrounds .item{
    width: 90px;
    height: 70px;
    display: inline-block;
    background-size: cover;
    border: 1px solid #fff;
}
#backgrounds .item img{
    display: block;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

#tools-panel{
    position: absolute;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 0 3px 1px #777;
    top:0;
    left: 0;
    z-index: 999999;
    display: none;
}

#tools-panel ul{
    padding: 0;
    margin: 0;
}

#tools-panel ul li {
    list-style: none;
    display: inline-block;
    border: 1px solid #ccc;
    font-size: 11px;
    padding: 2px;
    width: 25px;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
}




#tools-panel  .uk-dropdown {
    padding: 0;
}

#tools-panel  .dropdown-menu div a{
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    padding: 5px;
}

#tools-panel .dropdown-menu div a:hover{
    background: #00aeff;
    color: #fff !important;
}



#wrapper #main-content #pages {
    background: #305051;
    padding: 5px  0;
    width: 100%;
    text-align: center;
    /* bottom: 0;
     position: absolute;*/
}

#wrapper #main-content #pages .wrapper{
    display: inline-block;
    width: 72%;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
    min-height: 47px;
}


#wrapper #main-content #pages .item {
    width: 70px;
    height: 40px;
    background: #dadada;
    display: inline-block;
    margin: 0 5px;
    position: relative;
    cursor: all-scroll;
    vertical-align: middle;
    border-radius: 4px;
    opacity: 1;
    overflow: hidden;
    /* transition: height 0.1s ease-in;*/
}

#wrapper #main-content #pages .item.cover {
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}

#wrapper #main-content #pages .item.cover p {
    margin: 0;
    font-size: 12px;
    position: absolute;
    width: 100%;
    color: #fff;
}

#wrapper #main-content #pages .item.active {
    background: #fff;
    opacity: 1;
    height: 47px;
    /*  transition: height 0.10s ease-in;*/
}

#wrapper #main-content #pages .item .remove {
    background: #ff2e2e;
    color: #fff;
    width: 20px;
    text-align: center;
    display: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    z-index: 10;
    border-radius: 0 0 4px;
}


#wrapper #main-content #pages .wrapper  .mCSB_scrollTools.mCSB_scrollTools_horizontal{
    height: 12px !important;
}

#wrapper #main-content #pages .item span {
    position: absolute;
    height: 40px;
    line-height: 40px;
    left: 15%;
    font-weight: bold;
    color: #fff;
}

#wrapper #main-content #pages .item span.last {
    left: 70% !important;
}

#wrapper #main-content #pages .item p.number{
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 0;
    line-height: 12px;
    left: 0;
    font-size: 10px;



    color: #fff;
}

#wrapper #main-content #pages .item.active p.number{
    background: #fff;

    color: #4b4b4b;
}

#wrapper #main-content #pages .item:hover .remove {
    display: block;
}

#wrapper #main-content #pages .add-page {
    /* float: right;*/
    display: inline-block;
    vertical-align: middle;
    height: 40px;
    background: #70c971;
    /*width: 50px;*/
    text-align: center;
    line-height: 40px;
    margin: 0 5px;
    color: #fff;
    cursor: pointer;
    padding: 0 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.middle-page-shadow-horizontal {
    /* background: url("../../image/photobook/middle-page-shadow-horizontal.png");
     position: absolute;
     top: 0;
     left: 46%;
     height: 100%;
     width: 100px;
     pointer-events: none;
     z-index: 100;*/
}

.internal-book-spine {
    background: url("../../image/photobook/internal-photobook-backbone1.png");
    position: absolute;
    width: 5px;
    opacity: 0.2;
    top: 0;
    left: 50%;
    height: 100%;
    z-index: 2;
    margin-left: -2px;
}

.editable-text {
    /*cursor: pointer;*/
}

.editable-text.ui-draggable-disabled{
    cursor: text !important;
}

.element .ui-rotatable-handle {
    height: 10px;
    width: 10px;
    cursor: pointer;
    background-color: #fff;
    background-size: 100%;
    border-radius: 50%;
    top: -30px;
    left: 50%;
    right: 0;
    margin-left: -5px;
    box-shadow: 0px 0px 2px 0px #1a1818;
    display: none;
}

.element.active-element .ui-rotatable-handle {
    display: block;
}

.editable .ui-resizable-handle {
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 0px 0px 2px 0px #1a1818;
}

.ui-resizable-nw {
    left: -5px;
    top: -5px;
    position: absolute;
}

.ui-resizable-ne {
    top: -5px;
    right: -5px;
    position: absolute;
}

.ui-resizable-sw {
    bottom: -5px;
    left: -5px;
    position: absolute;
}

.ui-resizable-se {
    bottom: -5px !important;
    right: -5px !important;
    position: absolute;
    width: 10px !important;
    height: 10px !important;
}

.ui-resizable-n {
    top: -5px;
    left: 50%;
    width: 10px !important;
    height: 10px !important;
    margin-left: -5px;
    position: absolute;
}

.ui-resizable-s {
    bottom: -5px;
    left: 50%;
    width: 10px !important;
    height: 10px !important;
    margin-left: -5px;
    position: absolute;
}

.ui-resizable-w {
    left: -5px;
    top: 50%;
    width: 10px !important;
    height: 10px !important;
    margin-top: -5px;
    position: absolute;
}

.ui-resizable-e {
    right: -5px;
    top: 50%;
    width: 10px !important;
    height: 10px !important;
    margin-top: -5px;
    position: absolute;
}

.pinned .ui-resizable-handle{
    display: none !important;
}

.ui-droppable-active {
    /*background: rgba(37, 185, 29, 0.33) !important;*/
}

.ui-droppable-hover{
    /* background: rgba(37, 185, 29, 0.19) !important;*/
}
/*ui-droppable-hover*/
.ui-droppable-hover{
    background: rgba(120, 213, 115, 0.44) !important;


}

.photo-container.ui-droppable-hover img {
    opacity: 0;
}

.droppable-sections{
    z-index: 999;
}

.tabs {
    margin: 0;
    position: absolute;
    background: #EFF1E4;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.2);
    top: 0;
    bottom: 0;
    width: 350px;

}

.tabs nav {

    background: #AD9897;
    color: #6C5D5D;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 100%;
}

.tabs nav a {
    padding: 20px 0px;
    text-align: center;
    width: 100%;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 30px;
}

.tabs nav a:hover,
.tabs nav a.selected {
    background: #6C5D5D;
    color: #AD9897;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.tabs .content {
    padding: 20px 0px;
    position: absolute;
    top: 0px;
    left: 50px;
    color: #6C5D5D;
    width: 0px;
    height: 96%;
    display: none;
    opacity: 0;
    transition: opacity 0.1s linear 0s;
    text-align: center;
    /*  overflow-y: auto;
      overflow-x: visible;*/
}

.tabs .content.visible {
    width: calc(100% - 50px);
    opacity: 1;
    padding: 10px;
    display: block;

}

.tabs .content p {
    padding-bottom: 2px;
}

.tabs .content p:last-of-type {
    padding-bottom: 0px;
}

.btn-group {

}

.clip-arts, .frames {
    display: inline-block;
}

#sidebar .item {
    display: inline-block;
    border: 1px solid #fff;
    width: 110px;
    height: 90px;
    cursor: pointer;
    font-size: 0;
    text-align: center;
    overflow: hidden;
    margin: 5px 9px;
    position: relative;
    vertical-align: middle;
    z-index: 10 !important;
}

#sidebar .backgrounds .item {
    background-size: contain;
}

#sidebar .item.draggable {
    cursor: all-scroll;
}


#sidebar .image-upload-handle, #sidebar .autofill{
    cursor: pointer;
    position: relative;
    border-radius: 5px;
}

#sidebar .image-upload-handle .icon, #sidebar .autofill .icon {
    color: #fff;
    display: inline-block;
    position: relative;
    top: 22px;
    left: 0;
    font-size: 21px;
    width: 50px;
    height: 50px;
    background-size: contain;

}
#sidebar .image-upload-handle{
    border: 1px solid #59ccc1;
}

#sidebar .image-upload-handle:hover{
    background: #00efd1;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #00efd1, #00acea);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #00efd1, #00acea); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border: 1px solid #fff;
}

#sidebar .autofill{
    border: 1px solid #eea849;
}

#sidebar .autofill:hover{
    background: #eea849;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #eea849, #f46b45);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #eea849, #f46b45); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border: 1px solid #fff;
}

#sidebar .image-upload-handle .icon{
    background-image: url("/catalog/view/theme/pechatphoto/image/photobook/add-photo.svg");
}

#sidebar .image-upload-handle:hover .icon{
    background-image: url("/catalog/view/theme/pechatphoto/image/photobook/add-photo-hover.svg");
}

#sidebar .autofill .icon{
    background-image: url("/catalog/view/theme/pechatphoto/image/photobook/one-click.svg");
}

#sidebar .autofill:hover .icon{
    background-image: url("/catalog/view/theme/pechatphoto/image/photobook/one-click-hover.svg");
}

#sidebar #dropdown-menu {
    position: absolute;
    top: 0;
    left: 0;
    /*display: none;*/
    background: #fff;
    padding: 20px;
    box-shadow: 0px 0px 4px 1px #777;
    border-radius: 5px;
}

#sidebar #dropdown-menu ul {
    padding: 0;
    margin: 0;
}

#sidebar #dropdown-menu ul li {
    list-style: none;
}

#sidebar .icon-choose-image {
    position: absolute;
    opacity: 0.5;
    top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -24px;
    width: 48px;
    height: 48px;
    font-size: 20px;
    line-height: 48px;
}

#sidebar .choose-image {
    position: absolute;
    opacity: 0.3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*  background: #19ff00;*/
}

#sidebar #image-select {

    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;

}

#sidebar .fonts-list{

}

#sidebar .fonts-list .font-item{
    cursor: pointer;
    font-size: 16px;
    margin: 0;
    padding: 5px;

    /*  display: inline-block;
      width: 40%;*/
}

#sidebar .fonts-list .font-item span{
    display: block;
}
#sidebar .fonts-list .font-item:hover, #sidebar .fonts-list .font-item.active{
    background: #00aeff;
    color: #fff;
}

.photos .item {
    position: relative;
}

.photos .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photos .item .count {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #f2f2f299;
    display: none;
    font-size: 14px;
    padding: 0px;
    width: 100%;
    height: 100%;
    color: #a3ffa4;
}

.photos .item .remove {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff4343;
    color: #fff;
    font-size: 10px;
    padding: 5px;
    cursor: pointer;
    display: none;
}

.photos .item:hover .remove {
    display: block;
}

.photos .lds-dual-ring {
    display: inline-block;
    width: 64px;
    height: 64px;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    top: 50%;
    margin-top: -25px;
}

.photos .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

.clip-arts .lds-dual-ring {
    display: block;
    width: 64px;
    height: 64px;
    margin: 10px auto;

}

.clip-arts .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}



.clip-arts .item  .lds-dual-ring {
    display: inline-block;
    width: 64px;
    height: 64px;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    top: 50%;
    margin-top: -25px;
}

.clip-arts .item  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

.photo-container  .lds-dual-ring {
    display: inline-block;
    width: 64px;
    height: 64px;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    top: 50%;
    margin-top: -25px;
}

.photo-container  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

.share-container .share-btn{
    display: inline-block;
    font-size: 18px;
    margin: 6px;
    cursor: pointer;
    border-radius: 3px;
    padding: 6px;
    border: 1px solid;
    width: 40px;
}

.share-container .share-btn:hover{
    color: #00aeff;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.clip-arts .item img, .backgrounds .item img {
    height: 100%;
    margin: 0 auto;
    width: 100%;
    object-fit: contain;
}

.layouts .item .holder {
    background: #b1efce;
    display: block;
    outline: 1px solid #fff;
}

#blank{
    background: #333333;
    position: relative;
}
#blank .wrapper{
    padding: 50px 100px;
}
#blank .number{
    color: #fff;
    font-size: 25px;
    position: absolute;
    top:7px;
    left: 20px;
}

#blank  .divider{
    width: 2px;
    background: #fff;
    height: 30px;
    position: absolute;
    left: 50%;
    margin-left: -1px;
}
#blank #divider-top{
    top:0;
}

#blank  #divider-bottom{
    bottom: 0;
}



#photo-editor{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

#photo-editor-container {
    width: 800px;
    height: 600px;
    margin: 20px auto;
    font-family: 'Times New Roman';
}

#photo-editor-container.fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.photo-editor-export a{
    position: fixed;
    top: 1.6%;
    right: 100px;
    z-index: 999;
    color: #FFFFFF;
    text-transform: uppercase;
    font-family: sourcesansprosemibold;
    font-size: 13px;
    padding: 0 17px;
    text-decoration: none;
}

.photo-editor-exit a{
    position: fixed;
    top: 1.6%;
    right: 10px;
    z-index: 999;
    color: #FFFFFF;
    text-transform: uppercase;
    font-family: sourcesansprosemibold;
    font-size: 13px;
    padding: 0 17px;
    text-decoration: none;
}



/*START FLIP BOOK PREVIEW*/

.flipbook-viewport{
    overflow:hidden;
    width:100%;
    height:100%;
    position: fixed;
    z-index: 99999 !important;
    background: url("../../image/photobook/bg-lightl-889.jpg");
}

.flipbook-viewport .close-flipbook{
    text-align: center;
    top: 10%;
    font-size: 16px;
    color: #724444;

    position: absolute;
    left: 0;
    right: 0;
}

.flipbook-viewport .close-flipbook span{
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none;
    background: #60a3bc;
    padding: 20px;
    border-radius: 50px;
    display: inline-block;
    border: none;
    transition: all 0.4s ease 0s;
    cursor: pointer;
}

.flipbook-viewport .close-flipbook span:hover{
    text-shadow: 0px 0px 6px rgba(255, 255, 255, 1);
    -webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
    -moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
    transition: all 0.4s ease 0s;
}

.flipbook-viewport .container{
    position:absolute;
    top:50%;
    left:50%;
    margin:auto;
}




.flipbook .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);
}

.flipbook-viewport .page img{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin:0;
}

.flipbook-viewport .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 20px #ccc;
    -moz-box-shadow:0 0 20px #ccc;
    -o-box-shadow:0 0 20px #ccc;
    -ms-box-shadow:0 0 20px #ccc;
    box-shadow:0 0 20px #ccc;
}




.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);
}


.sj-book .hard{

    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{

    background-color:white;
    overflow:hidden;
}

.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%);
}

.page1:before {
    left: 0;
    box-shadow: 3px 0 10px 1px rgba(0,0,0,.15);
    position: absolute;
    content: "";
    top: -20px;
    bottom: -20px;
    width: 1.5%;
    z-index: 2;
}

.flipbook .last-page:before {
    right: 0;
    box-shadow: -3px 0 10px -1px rgba(0,0,0,.15);
    position: absolute;
    content: "";
    top: -20px;
    bottom: -20px;
    width: 1.5%;
    z-index: 2;
}

.flipbook-viewport .arrow-navigation{
    position: absolute;
    width: 100px;
    height: 25%;
    background: #fff;
    text-align: center;
    top:38%;
    display: table;
    cursor: pointer;
}
.flipbook-viewport .arrow-navigation span{
    display: table-cell;
    vertical-align: middle;
    font-size: 6em;
}

.flipbook-viewport .arrow-navigation.prev{
    left: 0;
    border-radius: 0 100px 100px 0;
    text-align: left;
}

.flipbook-viewport .arrow-navigation.next{
    right: 0;
    border-radius: 100px 0 0 100px;
    text-align: right;
}
.flipbook-viewport .pagination-holder{
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    text-align: center;
}



.flipbook-viewport img{

}
.flipbook-viewport .page{
    background: #fff;
}

.flipbook-viewport .page span{
    position: absolute;
    top: 49%;
    right: 0;
    left: 0;
    text-align: center;
    text-align: center;
}

.sj-book .page{
    background-color:red;

}
.sj-book .p2,.sj-book .p5{
//transform: scaleX(-1);
}

/*END FLIP BOOK PREVIEW*/

[contenteditable] {
    -webkit-user-select: text;
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    -khtml-user-select: text; /
-moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.buy-product-widget{
    position: fixed;
    right: 0;
    min-width: 200px;
    bottom: 0;
    background: #ad9897;
    z-index: 9999;
    border-radius: 10px 0 0;
    padding: 10px;
}


#fixed-menu{
    position: fixed;
    width: 100%;
    z-index: 9999;
}
#fixed-menu #panel {
    background: #754c24;
    height: 50px;
    display: none;
}
#fixed-menu .slide-menu {
    font: 75%/120% Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}
#fixed-menu .btn-slide {
    background: #3b756b  url('../../image/photobook/down-arrow.png') no-repeat 90% 0;
    text-align: center;
    width: 144px;
    height: 16px;
    padding: 2px 10px 0 0;
    margin: 0 auto;
    display: block;
    font: bold 120%/100% Arial, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none;
}
#fixed-menu .btn-slide.active {
    background: #3b756b url('../../image/photobook/up-arrow.png') no-repeat 90% 0;
}

.text-shadow-size-setting{
    margin: 10px 0;
    margin: 10px 0;
    display: none;
}


.alert.alert-success {
    color: #3c763d!important;
    background-color: #dff0d8!important;
    border-color: #d6e9c6!important;
    z-index: 99999999999999999999999999999999999!important;
    position: absolute!important;
    width: 95%!important;
    margin: 2%!important;
    padding: 2%;
    border-radius: 7px;
}

.page .element.highlight:after{
    position: absolute;
    background: #6f9dd98c;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    content: "";
    border: 1px dashed #5c84b3;
    padding: 10px;
}
footer{
  display: none;
}
