* {
    box-sizing: border-box;
}
#nbdesigner_frontend_area img {
    margin: 0 5px 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 150px;
    height: 150px;
}
.onlinedesign-myaccount-view .nb-image-preview {
    white-space: initial;
}
.catalog-product-view .modal {
    text-align: center;
}
.catalog-product-view .container {
    margin: 0 auto;
    color: #333;
    padding: 30px;

}
.catalog-product-view .box-tocart.row .fieldset.cart-action div.actions {
    position: relative;
    top: 15px;
}
.slick-prev:before, .slick-next:before {
    color: #544343 !important;
}
.catalog-product-view .modal-body {
    background-repeat: round;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.catalog-product-view .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    width: 1500px !important;
}

.catalog-product-view .scene {
    margin: 16px auto;
    -webkit-perspective: 2000px;
    perspective: 2000px;
}

.catalog-product-view .book {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/*.page {*/
/*    cursor: pointer;*/
/*    position: absolute;*/
/*    color: black;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    -webkit-transition: 1.5s -webkit-transform;*/
/*    transition: 1.5s transform;*/
/*    -webkit-transform-style: preserve-3d;*/
/*    transform-style: preserve-3d;*/
/*    -webkit-transform-origin: left center;*/
/*    -ms-transform-origin: left center;*/
/*    transform-origin: left center;*/
/*}*/

.catalog-product-view .front,
.catalog-product-view .back {
    position: absolute;

    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-backface-visibility: hidden;

    backface-visibility: hidden;
    background: -webkit-gradient(linear, 0% 0%, 100% 100%, from(#FFFFFF), to(#CCCCCC));
    background: -webkit-gradient(linear, left top, right bottom, from(#fff), to(#ccc));
    background: -webkit-linear-gradient(top left, #fff, #ccc);
    background: linear-gradient(to bottom right, #fff, #ccc);
}

.catalog-product-view .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.catalog-product-view .page.active {
    z-index: 1;
}

.catalog-product-view .page.flipped {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.catalog-product-view .page.flipped:last-of-type {
    z-index: 1;
}
@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}
.catalog-product-view .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}
body.nbd-prevent-scroll, html.nbd-prevent-scroll {
    overflow: scroll;
    width: 100%;
    height: 90%;
    font-size: 90%;
}
p.next-preview-image.next-image {
    background: beige;
}
.nbd-edit-design {
    border: 0;
    border-radius: 0;
    cursor: pointer;
    padding: 0.6180469716em 1.41575em;
    text-decoration: none;
    font-weight: 600;
    text-shadow: none;
    display: inline-block;
    -webkit-appearance: none;
}

a.button.nbd-edit-design {
    text-decoration: none;
}
a.button.nbd-edit-design:active {
    color: #cccccc;
}
.nbd-edit-design:hover{
    background : #cccc;

}
.tile__text-wrap-inner ul li {
    margin-bottom: 0;
}
.atom-loading {
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top:  -50px;
    position: relative;
}
@-webkit-keyframes atom-rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes atom-rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}
.rtl .atom-loading {
    right: 50%;
    margin-right: -50px;
}
.loading__ring {
    position: absolute;
    width: 100px;
    height: 100px;
}
.loading__ring:first-child {
    -webkit-transform: skew(30deg, 20deg);
    transform: skew(30deg, 20deg);
}
.loading__ring:last-child {
    -webkit-transform: skew(-30deg, -20deg) scale(-1, 1);
    transform: skew(-30deg, -20deg) scale(-1, 1);
}
.loading__ring:last-child svg {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}
.loading__ring svg {
    -webkit-animation: atom-rotate 1s linear infinite;
    animation: atom-rotate 1s linear infinite;
    fill: rgba(0, 0, 0, 0.2);
}
.nbd-popup-list-preview-img {
    max-width: 100px !important;
    display: inline-block;
}
.nbdesigner_pp_close {
    position: absolute;
    top: 12px;
    left: 6px;
    width: 30px;
    height: 30px;
    background: #f98332;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    cursor: pointer;
    font-size: 20px;
    line-height: 30px;
    z-index: 3;
}
#triggerDesign {
    margin-left: 0;
    background-image: none;
    background: #1979c3;
    border: 1px solid #1979c3;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    padding: 10px 10px;
    box-sizing: border-box;
    vertical-align: middle;
    width: 65%;
    border-radius: 3px;
    text-align: center;
    font-size: 1.8rem;
}

#triggerDesign:hover {
    background: #006bb4;
    border: 1px solid #006bb4;
    color: #fff;
    text-decoration: none;
}

.nbdesigner-disable {
    opacity: 0.2;
    pointer-events: none;
}

.nbdesigner_disable {
    opacity: 0.5;
    cursor: not-allowed !important;
}

#nbdesigner_frontend_area {
    margin-top: 15px;
}

a.button.design-action-grid {
    text-decoration: none;
    background-image: none;
    background: #1979c3;
    border: #1979c3;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
    box-sizing: border-box;
    vertical-align: middle;
    border-radius: 0;
    line-height: 1;
    font-weight: 600;
    padding: 12px 7px 10px 10px;
    font-size: 1.3rem;
}

a.button.design-action-grid:hover {
    background: #006bb4;
    border: #006bb4;
}

#nbo-options-wrap .product-add-form {
    width: fit-content;
    padding-left: 5px;
}

#design-container .container-fluid {
    padding-left: unset;
    padding-right: unset;
}