/* -----------------------------------------------
 * angular-lightbox
 * -----------------------------------------------
 */

div.angular-lightbox-overlay {
  position: fixed;
  width: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, .8);
  display: flex;
  align-items: center;
  justify-content: center;
}
span.angular-lightbox-inner {
  position: relative;
  min-width: 10em;
  min-height: 10em;
}
span.angular-lightbox-inner > img {
  vertical-align: bottom;
  max-height: 90vh;
  max-width: 90vw;
}
span.angular-lightbox-inner > a {
  font-family: sans-serif;
  font-weight: bold;
  display: inline-block;
  line-height: 100px;
  text-align: center;
  text-decoration: none;
  outline: 0;
  position: absolute;
  color: #ccc;
}
span.angular-lightbox-inner > a:hover {
  color: white;
}
span.angular-lightbox-inner > a.previous,
span.angular-lightbox-inner > a.next {
  font-size: 60px;
  width: 100px;
  top: 50%;
  margin-top: -1em; /* center vertically */
}
span.angular-lightbox-inner > a.previous {
  left: 0;
  margin-left: -100px;
}
span.angular-lightbox-inner > a.next {
  right: 0;
  margin-right: -100px;
}
span.angular-lightbox-inner > a.close {
  font-size: 40px;
  top: -80px;
  right: 0;
}
div.angular-lightbox-overlay.single-image a.previous,
div.angular-lightbox-overlay.single-image a.next {
  display: none;
}
.books {
    -moz-perspective: 100px;
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.book {
    position: relative;
    -moz-perspective: 100px;
    -moz-transform: rotateY(-3deg);
    -webkit-transform: perspective(100) rotateY(-3deg);
    outline: 1px solid transparent; /* Helps smooth jagged edges in Firefox */
    box-shadow: none;
    margin: 10px 0;
}

.book .table-item, .book #collage {
    position: relative;
    max-width: 100%;
}

.book:before,
.book:after {
    position: absolute;
    top: 0%;
    height: 100%;
    content: ' ';
    z-index: -1;
}

.book:before {
    width: 98%;
    left: 7.5%;
    background-color: #000;
    box-shadow: 2px 2px 8px #666;
}
.book:after {
    width: 5%;
    left: 100%;
    background-color: #EFEFEF;
    box-shadow: inset 0px 0px 2px #aaa;
    -moz-transform: rotateY(20deg);
    -webkit-transform: perspective(100) rotateY(20deg);
}

.bookTitle {
    position: absolute;
    text-align: center;
    height:100%;
    /*transform:  translateX(-50%) translateY(-50%) rotate(90deg);*/
    /* top:50%;*/
}

.bookTitle .text {
    /* transform: rotate(90deg) translateZ(8px);
     transform-origin: center center;*/

    white-space: pre;
}

.bookPage {
    position:relative;
    box-shadow: 0px 0px 10px #888888;
}


.bookSpine.photosView {
    position:absolute;
    height:100%;
    z-index:2;
    width:2px;
    left:5px;
    top:0;
    box-shadow:-1px 1px 3px #555;
}

.bk-list {
    list-style: none;
    position: relative;
    width: 250px; /* 13 books * 40px + 13 books * margin (1px) */
    margin: 0 auto;
    -webkit-perspective: 1800px;
    perspective: 1800px;
    -webkit-perspective-origin: 50% 15%;
    perspective-origin: 50% 15%;
}

.bk-list li {
    position: relative;
    width: 10px;
    height: 400px;
    float: left;
    z-index: 1;
    margin: 0px 0px 0px 1px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.bk-list li:last-child {
    margin-right: 0;
}

.bk-list li .bk-book {
    cursor: pointer;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform .5s;
    transition: transform .5s;
    -webkit-transform: rotate3d(0,1,0,90deg);
    transform: rotate3d(0,1,0,90deg);
}

.bk-list li .bk-book:hover {
    -webkit-transform: rotateY(90deg) rotateZ(-15deg) translate3d(-100px,0,0);
    transform: rotateY(90deg) rotateZ(-15deg) translate3d(-100px,0,0);
}

.bk-list li .bk-book > div,
.bk-list li .bk-front > div {
    display: block;
    position: absolute;
}

.bk-list li .bk-front {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transition: -webkit-transform .5s;
    transition: transform .5s;
    -webkit-transform: translate3d(0,0,20px);
    transform: translate3d(0,0,20px);
}

.bk-list li .bk-front > div {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.bk-list li .bk-page {
    -webkit-transform: translate3d(0,0,19px);
    transform: translate3d(0,0,19px);
    display: none;
    width: 295px;
    height: 390px;
    top: 5px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.bk-list li .bk-front,
.bk-list li .bk-back,
.bk-list li .bk-front > div {
    width: 300px;
    height: 100%;
    z-index: 1;
}

.bk-list li .bk-left,
.bk-list li .bk-right {
    width: 40px;
    left: -20px;
    cursor: pointer;
}

.bk-list li .bk-top,
.bk-list li .bk-bottom {
    width: 295px;
    height: 40px;
    top: -15px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.bk-list li .bk-back {
    -webkit-transform: rotate3d(0,1,0,-180deg) translate3d(0,0,20px);
    transform: rotate3d(0,1,0,-180deg) translate3d(0,0,20px);
    border-radius: 3px 0 0 3px;
}

.bk-list li .bk-cover-back {
    background-color: #000;
    -webkit-transform: rotate3d(0,1,0,-179deg);
    transform: rotate3d(0,1,0,-179deg);
}

.bk-list li .bk-right {
    height: 390px;
    top: 5px;
    -webkit-transform: rotate3d(0,1,0,90deg) translate3d(0,0,295px);
    transform: rotate3d(0,1,0,90deg) translate3d(0,0,295px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.bk-list li .bk-left {
    height: 100%;
    -webkit-transform: rotate3d(0,1,0,-90deg);
    transform: rotate3d(0,1,0,-90deg);
    box-shadow:
            inset 4px 0 5px rgba(255,255,255,0.2),
            inset 5px 0 5px rgba(0,0,0,0.1),
            inset -5px 0 5px rgba(0,0,0,0.08);;
}

.bk-list li .bk-top {
    -webkit-transform: rotate3d(1,0,0,90deg);
    transform: rotate3d(1,0,0,90deg);
}

.bk-list li .bk-bottom {
    -webkit-transform: rotate3d(1,0,0,-90deg) translate3d(0,0,390px);
    transform: rotate3d(1,0,0,-90deg) translate3d(0,0,390px);
}

/* Transform classes */

.bk-list li .bk-viewinside .bk-front {
    -webkit-transform: translate3d(0,0,20px) rotate3d(0,1,0,-160deg);
    transform: translate3d(0,0,20px) rotate3d(0,1,0,-160deg);
}

.bk-list li .bk-book.bk-viewinside {
    -webkit-transform: rotate3d(0,1,0,0deg) translateX(0px) translateZ(100px) !important;
    transform: rotate3d(0,1,0,0deg) translateX(0px) translateZ(100px) !important;
}

.bk-list li .bk-book.bk-outside {
    -webkit-transform: rotate3d(0,1,0,90deg) translateX(-300px);
    transform: rotate3d(0,1,0,90deg) translateX(-300px);
}

.bk-list li .bk-book.bk-viewback {
    -webkit-transform: translate3d(0,0,0px) rotate3d(0,1,0,180deg);
    transform: translate3d(0,0,0px) rotate3d(0,1,0,180deg);
}

/* Main colors and content */

.bk-list li .bk-page,
.bk-list li .bk-right,
.bk-list li .bk-top,
.bk-list li .bk-bottom {
    background-color: #fff;
}

.bk-list li .bk-front > div {
    border-radius: 0 3px 3px 0;
    box-shadow:
            inset 4px 0 10px rgba(0, 0, 0, 0.2);
}

.bk-list li .bk-front:after {
    content: '';
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: -1px;
    width: 1px;
}

.bk-list li .bk-cover:after,
.bk-list li .bk-back:after {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    bottom: 0;
    width: 3px;
    background: rgba(0,0,0,0.06);
    box-shadow: 1px 0 3px rgba(255, 255, 255, 0.2);
}

.bk-list li .bk-back:after {
    left: auto;
    right: 10px;
}

.bk-left h2 {
    width: 100%;
    height: 40px;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotate(90deg) translateY(-40px);
    transform: rotate(90deg) translateY(-40px);
}


/* Individual style & artwork */

/* Book 1 */

.book-1 .bk-cover h2 {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 30px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.1);
}

.book-1 .bk-cover h2 span:first-child,
.book-1 .bk-left h2 span:first-child {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 13px;
    padding-right: 20px;
}

.book-1 .bk-cover h2 span:first-child {
    display: block;
}


.book-1 .bk-left h2 {
    color: #fff;
    font-size: 15px;
    line-height: 40px;
    padding-right: 10px;
    text-align: center;
}

.book-1 .bk-back p {
    color: #fff;
    font-size: 13px;
    padding: 40px;
    text-align: center;
    font-weight: 700;
}
/**
CHECKOUT BAR
*/
ul.cart-steps li {
    color: #ccc;
    display: block;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 20px 14px 80px;
    position: relative;
}

ul.cart-steps li:before {
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    background: #ddd;
    border: 2px solid #FFF;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    left: 20px;
    line-height: 37px;
    height: 35px;
    position: absolute;
    text-align: center;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
    top: 4px;
    width: 35px;
    z-index: 5;
}

ul.cart-steps li.active {
    color: #8bc53f;
    font-weight: bold;
}

ul.cart-steps li.active:before {
    background: #8bc53f;
    z-index: 6;
}

ul.cart-steps li.visited {
    background: #ECECEC;
    color: #57aed1;
    z-index: 6;
}

ul.cart-steps li.visited:before {
    background: #57aed1;
    z-index: 6;
}

ul.cart-steps li:nth-child(1):before {
    content: "1";
}

ul.cart-steps li:nth-child(2):before {
    content: "2";
}

ul.cart-steps li:nth-child(3):before {
    content: "3";
}

ul.cart-steps li:nth-child(4):before {
    content: "4";
}

ul.cart-steps li:nth-child(5):before {
    content: "5";
}

ul.cart-steps li:nth-child(6):before {
    content: "6";
}

ul.cart-steps a {
    color: #57aed1;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.cart-steps li.active:after {
    -webkit-animation: myanimation 3s 0;
    background-size: 35px 35px;
    background-color: #8bc53f;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    content: "";
    height: 15px;
    width: 100%;
    left: 50%;
    position: absolute;
    top: -50px;
    z-index: 0;
    border-radius: 15px;
}

.cart-steps li.active:last-child:after {
    left: 20%;
}

ul.cart-steps {
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    background-size: 35px 35px;
    background-color: #EcEcEc;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
    border-radius: 15px;
    height: 15px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

ul.cart-steps:before {
    background-size: 35px 35px;
    background-color: #57aed1;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    content: " ";
    height: 15px;
    left: 0;
    position: absolute;
    width: 20%;
}

ul.cart-steps li {
    display: inline-block;
    margin: 50px 0 0;
    padding: 0;
    text-align: center;
    width: 19%;
}

ul.cart-steps.steps4 li {
    width:24%;
}

ul.cart-steps.steps3 li {
    width:32%;
}

ul.cart-steps li:before {
    height: 45px;
    left: 40%;
    line-height: 45px;
    position: absolute;
    top: -65px;
    width: 45px;
    z-index: 4;
}

ul.cart-steps.steps3 li:before {
    left: 43%;
}


ul.cart-steps li.visited {
    background: none;
}

ul.cart-steps li.visited:after {
    background-size: 35px 35px;
    background-color: #57aed1;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
    content: "";
    height: 15px;
    left: 50%;
    position: absolute;
    top: -50px;
    width: 100%;
    z-index: 4;
}
/**
LEFT MENU
*/

.collage-menu {
    height: 100%;
    padding-top: 18px;
    overflow: hidden;
    /* background-color: rgba(40,160,240,0.3);*/
}

.collage-menu h4 {
    margin-top: 0;
}

#collage {
    margin: 10px auto;
    position: relative;
    background-color: #FFF;
    box-shadow: 0px 0px 10px #888888;
    user-select: none;
}



.collagePage:hover:before {
    content: " ";
    position: absolute;
    z-index:3;
    /*top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;*/
    width: 96%;
    height: 96%;
    top: 2%;
    left: 2%;
    margin: auto;
    border: 1px dashed #FF0000;
    pointer-events: none;
}

.collage-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

.collagePage {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.collagePage.hover:before {
    content: " ";
    position: absolute;
    z-index: 3;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid #2196f3;
    pointer-events: none;
}

.collage-zone-wrapper {
    background-size: 50%;
    position:absolute;
}

.collage-zone-wrapper.draggableZone {
    z-index:3;
}

.collage-zone-wrapper.draggableZone:hover,.collage-zone-wrapper.draggableZone.selected {
    background-color:rgba(220,220,220,0.6);
    outline:1px solid #2196f3;
    cursor: move;
}

.collage-zone-wrapper .zoneMenuButton {
    display:none;
    visibility:hidden;
    position:absolute;
    bottom:0px;
    height:28px;
    width:28px;
    padding:5px;
    color:#111111;
    background-color:#FAFAFA;
    text-align:center;
    cursor:pointer;
}

.collage-zone-wrapper.draggableZone:hover .zoneMenuButton, .collage-zone-wrapper.draggableZone.selected .zoneMenuButton{
    display:block;
    visibility:visible;
}

.collage-zone-wrapper .handle-se {
    cursor:se-resize;
    right:0;
}

.collage-zone-wrapper .deleteZoneButton {
    right:29px;
}

.collage-zone {
    /*background-image: url('/images/order/nothumbnail.jpg');*/
    display:block;
    width:100%;
    height:100%;
    color:#DDD;
}

.dragHelper {
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center center;
    border: 1px solid #FFF;
    z-index: 20;
}

.collage-zone.textZone {
    /*background-color: transparent;*/
    background-image:none;
    /*background-image: url('/images/order/text_bubble.png');*/
    background-size: auto 50%;
}

.collage-zone.textZone:hover {
    background-image:none;
}

.collage-zone.selected, .collage-zone.hasText {
    background-color: transparent;
    background-image: none;
}

.collage-zone .photoMenu  {
    position:absolute;
    width:30px;
    right:-5px;
    bottom:-5px;
    font-size:20px;
    display:none;
    cursor:pointer;
    text-align:center;
    z-index:10;
    opacity:0.9;
}

.collage-zone:hover, .collage-zone.hasText.selected  {
    background-image:none;
    background-color:rgba(255,255,255,0.6) !important;
    color:#333;
}

.collage-zone.selected .photoMenu {
    display:block;
}

.collage-zone .text-zone {
    width: 90%;
    height: 100%;
    margin: auto;
    position: relative;
}

.collage-zone .text-zone .textTip {
    display:none;
}

.collage-zone.textZone .text-zone .textTip .dropPhotoTip {
    display:none;
}

.collage-zone-wrapper.draggableZone .textTip .dropPhotoTip {
    display:none;
}

.collage-zone .text-zone.noText .textTip {
    display:block;
}

.addTextTip {
    font-size:13px;
    font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
    text-transform: uppercase;
}
.collage-zone:not(:hover):not(.selected) .addTextTip {
    color:#DDDDDD;
}

.collage-zone .text-zone .textDiv {
    position: absolute;
    top: 50%;
    width: 100%;
    max-height: 100%;
    /*height:100%;*/
    transform: translateY(-50%);
    overflow: hidden;
}


/**
PLACEHOLDERS
*/
.collage-zone ::-webkit-input-placeholder {
    font-size:13px;
    color:#DDDDDD;
    text-transform: uppercase;
    font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.collage-zone.selected ::-webkit-input-placeholder, .collage-zone:hover ::-webkit-input-placeholder {
    color:#333333;
}

.collage-zone ::-moz-placeholder {
    font-size:13px;
    color:#DDDDDD;
    text-transform: uppercase;
    font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.collage-zone.selected ::-moz-placeholder, .collage-zone:hover ::-moz-placeholder {
    color:#333333;
}

.collage-zone :-ms-input-placeholder {
    font-size:13px;
    color:#DDDDDD;
    text-transform: uppercase;
    font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.collage-zone.selected :-ms-input-placeholder, .collage-zone:hover :-ms-input-placeholder {
    color:#333333;
}

/*****************/

.collage-zone .textLine {
    display: block;
    /*white-space: pre;*/
    white-space:nowrap;
    overflow: hidden;
    position: relative;
}


.collage-zone .textLine .inputTextLine {
    display:inline-block;
    width:100%;
    overflow: hidden;
    background-color:transparent;
    border:none;
    padding:0;
    cursor:default;
    /*white-space:nowrap;*/
    white-space: pre;
}

.collage-zone .textLine .deleteTextLine  {
    position:absolute;
    right:0px;
    bottom:0px;
    padding-left:3px;
    padding-right:3px;
    font-size:20px;
    height:26px;
    line-height:26px;
    display:none;
    background-color:#2196f3;
    color:#FFFFFF;
    opacity:0.9;
}

.collage-zone .textLine .deleteTextLine .fa-trash {
    cursor:pointer;
}

.collage-zone .textLine:hover .deleteTextLine {
    display:block;
}

.collage-zone .textLine .deleteTextLine .fa-trash:hover {
    color:#e51c23;
}

.collage-zone .textLine:hover:before, .collage-zone.selected .textLine.selected:before {
    content: " ";
    position: absolute;
    z-index: 3;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border: 2px solid #2196f3;
    pointer-events: none;
}

.collage-zone:not(.hasText).selected:before, .collage-zone:not(.hasText):hover:before {
    content: " ";
    position: absolute;
    z-index: 3;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid #2196f3;
    pointer-events: none;
}

.collage-zone.hover:before {
    content: " ";
    position: absolute;
    z-index: 3;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(33, 150, 243, 0.5);
    pointer-events: none;
}


.text_color {
    position: relative;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    border-radius: 2px;
    float: left;
    margin: 2px;
    width: 30%;
    text-align: center;
}

.collageHelp {
    background-color: #0d87e9;
    color: white;
    width: 90%;
    padding: 15px;
    margin: auto;

}

.collageHelp h4 {
    color: #FFF;
}

.collageTabs {
    display: table;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid #DDDDDD;
}

.collageTabs li {
    display: table-cell;
    float: none;
    font-size: 16px;
}

.templatesList {
    height: 100%;
    background: #FFFFFF;
    border-left: 1px solid #DADADA;
    overflow-y: scroll;
    overflow-x: hidden;
}

.collageTopMenu > div {
    height: 100%;
}

.collageTopMenu > div.header {
    display: table;
    height: 60px;
}

.collageTopMenu > div.header label {
    display: table-cell;
    font-weight: bold;
    vertical-align: middle;
    font-size: 16px;
}

.collageTopMenu > div:hover:not(.header):not(.input) {
    cursor: pointer;
    color: #0d87e9;
}

.collageTopMenu > div i {
    font-size: 22px;
}

.collageTopMenu > div div[numeric] input {
    font-size: 12px;
    text-align: center;
}

.collageTopMenu > div i, .collageTopMenu > div div, .collageTopMenu > div label {
    display: block;
    height: 25px;
    margin: 5px;
}

.collageTopMenu > div label {
    height: 20px;
}

.template {
    position: relative;
    /*width: 100%;*/
    /*margin-right: 5px;*/
    cursor: move;
    padding:0;
    margin-top:5px;
    text-align: center;
}

.template img {
    width:90%;
    border:1px solid rgba(26, 146, 255, 0.2);
}

.template:hover,.template.photo.selected {
    outline: 3px solid #0d87e9;
}

.template .photo-selected {
    font-size: 14px;
}

.template:hover .photo-selected, .template.photo:hover .photo-selected  {
    display: none;
}

.template.photo {
    height:100%;
    width:100px;
    margin-right:5px;
    margin-top:3px;
    display:inline-block;
}

.template.photo .photo-selected {
    display:block;
    position:absolute;
    color:#FFF;
    border:1px solid white;
    border-radius:30px;
    right:5px;
    top:5px;
    font-size:12px;
    padding:2px 10px;
    z-index:2;
    pointer-events: none;
}

.photosList {
    width: calc(100% - 142px);
    overflow:auto;
    white-space: nowrap;
}

.photosList .template .deletePhoto {
    position:absolute;
    right:0px;
    bottom:0px;
    padding:3px;
    color:#0d87e9;
    cursor:pointer;
    font-size:18px;
    visibility:hidden;
    padding:2px;
    background-color:#FFF;
    opcacity:0.9;
}

.photosList .template:hover .deletePhoto {
    visibility:visible;
}

.photosList .template .deletePhoto:hover {
    color:#e51c23;
}


/**
PAGES
**/

#pages {
    margin-top: 15px;
    overflow: auto;
    width: 100%;
    margin: auto;
    white-space: nowrap;
    padding-bottom:5px;
    position:relative;
}

#pages img {
    width: 56px;
}

.pageArrow {
    visibility: hidden;
}

.deletePageIcon {
    visibility: hidden;
    margin-left: 10px;
}

.pagesWrapper {
    display: inline-block;
    white-space:nowrap;
}


.pageThumbnail {
    display: inline-block;
    cursor:pointer;
}

.pageThumbnailWrapper {
    float:left;
}

/*.pageThumbnail:nth-child(2n) {
    margin-left:20px;
}*/


.pageThumbnail:hover .pageArrow, .pageThumbnail:hover .deletePageIcon {
    visibility: visible;
}

.pageThumbnail div.page{
    display: inline-block;
    padding: 3px;
    min-width: 100px;
    box-shadow: 0px 0px 8px #888888;
}

/**
ADD PAGES
*/
.pagesWrapper .pageThumbnail:nth-child(2n) .addPageBlock {
   margin-left:8px;
}

.addPageBlock {
    display: inline-block;
    position:absolute;
    margin-left:-15px;
    height:100%;
}

.addPageBlock:hover {

}

.addPageBlock:hover  .addPageButton{
    visibility: visible;
}

.addPageButton {
    cursor: pointer;
    visibility: hidden;
    margin-top:15px;
    background-color:#FFFFFF;
    border-radius: 20px;
}

.pageThumbnail div.page:not(.bg-primary) {
    background-color:#FFFFFF;
}

.pageThumbnailWrapper i.fa-2x {
    font-size:18px;
}

.collagePhotosToggle {
    font-size: 20px;
    cursor: pointer;
}

.photosOptionsButton {
    padding:5px;
    cursor: pointer;
}

.photosOptionsButton:hover{
    color:#0d87e9;
}

.photosOptions p {
    font-size:12px;
}

.collagePhoto {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.collagePhoto:before {
    content: "";
    display: block;
    padding-top: 100%;
}



.colorButton {
    display: inline-block;
    color: #FFF;
    border: 1px solid #DDD;
    border-radius: 30px;
    padding: 5px;
    width: 25px;
    height: 25px;
    margin: 3px;
    cursor: pointer;
}

.colorButton.small {
    border-radius: 20px;
    padding: 5px;
    width: 20px;
    height: 20px;
}

.colorButton.xSmall {
    width:15px;
    height:15px;
}

.colorButton.selected {
    border: 3px solid #EEE;
}

.colorButton.stripedBackground {
    /*background: repeating-linear-gradient(
            45deg,
            #EEE,
            #EEE 3px,
            #333 3px,
            #333 6px
    );*/
    background-image:url('/images/order/colorpicker.png');
    background-position:center center;
}

/**
    MULTI PAGES
*/

#collagePage:not(.multiPages) .pagesWrapper {
    padding: 0;
    float: none;
    width:auto;
    margin-right:40px;
}

#collagePage.multiPages .collageBottomTabs .nav.nav-tabs {
    display:none;
}

#collagePage.multiPages .collageBottomTabs .tab-content {
    height:auto;
}

#collagePage.multiPages .photo-nav, #collagePage.multiPages #collage,
#collagePage.multiPages .photo-options, #collagePage.multiPages .templatesList {
    display: none;
}

#collagePage.multiPages .collageColumnCenter {
    width: 100%;
}

#collagePage:not(.multiPages) #pages {
    height:115px;
}

#collagePage.multiPages #pages {
    width: 100%;
    white-space: normal;
    overflow:hidden;
}

#collagePage.multiPages #pages img {
    width: 200px;
}

#collagePage.multiPages.yearbook #pages img {
    width: 250px;
}

.pagesWrapper.zoom {
    height:450px !important;
}

.pagesWrapper.zoom img{
    width: 400px !important;
}

#collagePage.multiPages .pagesWrapper {
    margin: 0;
    height:240px;
}

#collagePage.multiPages.yearbook .pagesWrapper {
    margin: 0;
    height:300px;
}

#collagePage.multiPages .addPageBlock {
    top:50%;
    margin-top:-30px;
}

#collagePage.multiPages .addPageButton {
    font-size:40px;
}

#collagePage:not(.multiPages) .tabsRow {
    position:absolute;
    bottom:0;
    height:167px;
    width:100%;
    box-shadow:1px -2px 4px #CCC;
    background:#FFFFFF;
}


/**********************/

.navBookPrice {
    float: right;
    height: 64px;
    margin-right: -16px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: 2px solid #175ddf;
    background-color: #0d87e9;
    color: #FFFFFF;
    text-align: center;
    padding: 0px 10px;
    margin-left: 30px;
    font-size:12px;
}

.navBookPrice .bookPrice {
    font-weight:bold;
    font-size:16px;
    text-shadow: 1px 1px #0e4494;
}

.pageNumber {
    text-align:center;
    color:#888;
    font-size:24px;
    text-shadow:1px 1px #CCC;
    position:absolute;
    height:40px;
    bottom:-40px;
    width:100%;
}

.pageNumber .pageNumberText:not(.right) {
    float:right;
    margin-right:40px;
}

.pageNumber .pageNumberText.right {
    float:left;
    margin-left:40px;
}

#photoClone {
    width:200px;
    position:relative;
    text-align:center;
    color:#0d87e9;
}

.collageFonts ul {
    background-color:#FFFFFF;
}

.optionsMenuNavBar.navbar .divider-vertical  {
    height:40px;
}

.optionsMenuNavBar.navbar {
    height:40px;
    min-height:40px;
    margin-bottom:10px;
}

.optionsMenuNavBar.navbar li, .optionsMenuNavBar.navbar li a, .optionsMenuNavBar.navbar li form {
    margin-bottom:0;
    padding-bottom:0;
}

.optionsMenuNavBar.navbar li.navbar-text {
    margin-top:10px;
}

.optionsMenuNavBar.navbar li a {
    padding-top:10px;
}

.optionsMenuNavBar.navbar .navbar-toggle {
    margin-top:5px;
}

.optionsMenuNavBar.navbar li a.padding5 {
    padding-top:0px;
    height:40px;
    line-height:40px;
    overflow:hidden;
}

.optionsMenuNavBar.navbar li a.padding0 {
    padding-top:0px;
    line-height:40px;
    height:40px;
    overflow:hidden;
}

.optionsMenuNavBar.navbar li a div[numeric] {
    line-height:30px;
}

.optionsMenuNavBar.navbar .navbar-btn {
    margin-top:2px;
}

.optionsMenuNavBar.navbar .navbar-form {
    margin-top:10px;
}

img.filter {
    margin-top:2px;
    border-radius:3px;
    height:35px;
    margin-left:5px;
    border:1px solid #999999;
    cursor:pointer;
}

img.filter:hover, img.filter.selected {
    box-shadow: 0 0 2px 2px #0d87e9;
}

.optionsMenuNavBar.navbar .qtyNumeric input {
    width:20px;
}

/**
Tabs */

.pageTab {
    display:inline-block;
    margin-top:-6px;
    float:left;
    margin-left:10px;
    margin-right:0;
}

.pageTab.right {
    float:right;
    margin-right:10px;
    margin-left:0;
}

.pageTab button{
    box-shadow:0px 2px 4px rgba(0,0,0,0.3);
    /*border-top:none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;*/
}

.pageTab button.prevNext {
    display:none;
}

.pageTab:not(.right) button.left.prevNext {
    display:inline-block;
    /*margin-right:10px;*/
}


.pageTab.right button.right.prevNext {
    display:inline-block;
    /*margin-left:10px;*/
}

.collageBottomTabs .nav-tabs > li > a {
    text-transform: uppercase;
}

.modal.left .modal-dialog {
    margin-top:10px;
    margin-left:10px;
}

.modal.right .modal-dialog {
    left:100%;
    margin-top:10px;
    margin-left:-610px;
}

#collagePage a.photo-nav-next {
    right:-15px;
}

#collagePage a.photo-nav-prev {
    left:-15px;
}

#photoRow.exposedPage0 .pageOnScreen0 {
    z-index:1041;
}
#photoRow.exposedPage1 .pageOnScreen1 {
    z-index:1041;
}

.pageWithAddPageButton {
    height:50%;
    width:50%;
    margin:auto;
    text-align:center;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    color:#AAA
}

.pageWithAddPageButton button {
    /*font-size:30px;*/
    color:#AAA
}

.collage-zone:not(.textZone) .noText {
    background-color:#DDDDDD;
    color:#FFFFFF;
}
body[lang=fr] .photo-options .description,body[lang=nl] .photo-options .description {
    font-size:14px;
}
.livraison .popover {
    max-width: 400px;
    width: 400px;
}

.addShippingAddressWrapper {
    min-height:142px;
}

.gsmInputWrapper {
    width:300px;
}
body {
    background-color: #f5f8fa;
    overflow-x: hidden;
    font-size:13px;
}


#appPage {
    padding-top: 65px;
    width: 100%;
    position:absolute;
    height:100%;
}


[ng-cloak] {
    display: none !important;
}


/**
Angular-Boostrap FIX
*/
.pagination, .carousel, .panel-title, a, .link {
    cursor: pointer;
}

.btn-sm-text {
    font-size:10px;
    padding:6px 10px;
}

.btn.btn-std-sm {
    min-width:100px;
}

.btn.btn-std {
    min-width:100px;
}

.btn.btn-std-lg {
    min-width:200px;
}

.btn-facebook {
    background-color: #3B5998;
    border-color: #3B5998;
    position:relative;
}

.btn-googleplus {
    background-color: #DF4A32;
    border-color: #DF4A32;
    position:relative;
}

.btn-facebook:after {
    background-position: -92px -80px;
    height: 32px;
    width: 32px;
}

.btn-facebook:before {
    border-color: #344F87;
}

.btn-googleplus:after {
    background-position: -84px -16px;
    height: 32px;
    width: 32px;
}

.btn-googleplus:before {
    border-color: #BE3F2B;
}

.btn-facebook:after, .btn-googleplus:after, .btn-twitter:after {
    background-image: url('/images/order/sprite.png');
    content: " ";
    left: 0;
    margin-top: -16px;
    position: absolute;
    top: 50%;
}

.btn-facebook:before, .btn-googleplus:before, .btn-twitter:before {
    border-style: solid;
    border-width: 0 1px 0 0;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 32px;
}

.modal-dialog {
    margin-top:50px;
}

.table .table-noborder td, .table .table-noborder th {
    border: none;
    margin:0;
    padding:0;
}

.alert-black {
    background:rgba(0,0,0,0.7);
    color:#FFF;
}

input[type=text].form-control:not(.original), input[type=password].form-control, select.form-control, input[type=number].form-control,
input[type=email].form-control{
    background-color: #FFF;
    border: 1px solid #EAEAEA;
    text-indent: 5px;
}

.inner-addon {
    position: relative;
}

.inner-addon .glyphicon, .inner-addon .addon {
    position: absolute;
    padding: 10px;
    pointer-events: none;
    left:  0px;
}

.inner-addon .glyphicon, .inner-addon .addon-right{
    position: absolute;
    padding: 10px;
    pointer-events: none;
    right:  0px;
}


.left-addon input.form-control  { padding-left:  30px; }
.right-addon input.form-control { padding-right: 30px; }

.navbar {
    margin:0;
}

.navbar .divider-vertical {
    height: 50px;
    margin: 0;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #f2f2f2;
}

.navbar .nbProducts {
    position:absolute;
    top:5px;
    margin-left:10px;
    font-size:16px;
    font-weight:bold;
}

.link {
    color: #428bca;
    text-decoration: none
}

.link:hover, a:focus {
    color: #2a6496;
    text-decoration: underline
}

.link:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px
}

.thumbnail {
    text-decoration:none;
    color:#333;
    padding:10px;
}

a.thumbnail:hover {
    text-decoration: none;
}

.list-group-item-text {
    font-size: 16px;
    color: #666;
}

.panel-heading {
    font-weight:bold;
}

#spinner {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1234;
    background: #FAFAFA url(/images/order/spinner.gif) center center no-repeat;
    top: 70px;
}

.page-photos {
    background-size: cover;
    height: 100%;
}

.background-1 {
    background: url(/images/order/wallpaper1.jpg) no-repeat center center;
    height:100%;
}

.background-2 {
    background: url(/images/order/wallpaper3.jpg) no-repeat center center;
    height:100%;
}

/**
Photos - Upload
*/
#topProgress {
    position: fixed;
    width: 100%;
    z-index: 2;
    top: 64px;
}

#topProgress .progress {
    margin-bottom: 0px;
}

#topMenu, .formatsNavBar {
    position: fixed;
    width: 100%;
    top: 0px;
    z-index: 8
}

.formatsNavBar {
    left: 150px;
}

.uploadFolderButton {
    position: absolute;
    right: 0px;
    top: 0px;
    font-family: Arial;
    font-size: 118px;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
    opacity: 0;
    height: 100%;
}

#buttonOrder {
    width:300px;
    height:60px;
    line-height:40px;
}

.uploadButtonWrapper {
    position: relative;
    overflow: hidden;
    direction: ltr;
}

#uploadButtonWrapper {
    color: #fff;
    width: 100%;
    padding: 3EM;
    background: rgba(150, 150, 150, .6);
}

#uploadButtonWrapper h1, #uploadButtonWrapper h4 {
    color: #FFF;
}


#photos {
    width: 100%;
}

#navbar-formats {
    position: fixed;
    z-index: 3;
}

/**
FORMS
*/
.divider {
    border-top: 1px solid #d9dadc;
    display: block;
    line-height: 1px;
    margin: 35px 0;
    position: relative;
    text-align: center;
}

.divider .divider-title {
    background: #f5f8fa;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 0 20px;
    text-transform: uppercase;
}

.divider .divider-title.big {
    background: #f5f8fa;
    font-size: 30px;
    letter-spacing: 3px;
    padding: 0 30px;
    text-transform: uppercase;
}

.photoName {
    position:absolute;
    z-index:10;
    font-size:16px;
    margin-top:-42px;
    color:#333;
    width:300px;
    left:50%;
    margin-left:-150px;
    text-align:center;
    overflow:hidden;
    white-space: nowrap;
}

.photoName a {
    text-decoration:none;
}

#closePhoto {
    position:absolute;
    background: #FFF url(/images/order/close2.png) no-repeat center center;
    background-size: 17px 17px;
    right:45px;
    top:115px;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    display: block;
    text-indent: 0px;
    border-radius: 23px;
    cursor: pointer;
    opacity: 0.5;
    z-index:7;
    transition: all 0.3s;
}

#closePhoto.invert {
    background: #000 url(/images/order/close.png) no-repeat center center;
}

#closePhoto:hover {
    -moz-transform:rotate(90deg);
    -webkit-transform:rotate(90deg);
    -o-transform:rotate(90deg);
    opacity: 0.8;
    cursor:pointer;
}

.photo-options {
    position:absolute;
    width:100%;
    top:100%;
    height:80px;
    margin-top:-80px;
    z-index:3;
    /*overflow:hidden;*/
}

.photo-options .container {
    background-color: rgba(255,255,255,0.7);
    transition: all 0.4s ease;
    height:100%;
}

.photo-options .container:hover {
    background-color: rgba(255,255,255,0.7);
}

.photo-options .option {
    text-align:center;
    border-right:1px solid #999;
    height:100%;
    padding:0;
}

.photo-options .option.no_border {
    border:0;
}

.photo-options .content {
    color:#000;
    text-align:center;
    font-size:24px;
}

.photo-options .description {
    color:#333;
    font-size:18px;
    text-transform: uppercase;
}

.photo-options:not(.invert) select, .photo-options:not(.invert) input[type=number]  {
    background-color: transparent ;
    border: 0;
    color:#000;
    text-align:center;
    font-size:24px;
    margin:auto;
    height:45px;
}

.photo-options  a {
    color:#000;
}

.photo-options a:hover {
    text-decoration:none;
}

.photo-options a.btn {
    color:#000;
    border:1px solid #FFF;
    padding:2px 10px;
    border-radius:10px;
}

.photo-options a.btn:hover {
    background-color:#FFF;
    color:#000;
}


.photo-options.photos .container {
    background-color: rgba(50,50,50,0.9);
    box-shadow: 0 3px 5px 1px #333;
}

/*.photo-options.photos .container:hover {
    background-color: rgba(50,50,50,0.9);
}*/

.photo-options.photos .content,.photo-options.photos .description {
    color:#fff;
}

.photo-options.photos select, .photo-options.photos input[type=number], .photo-options.photos a {
    color:#fff;
}

.photo-options.photos .container:hover select, .photo-options.photos .container select:focus {
    background-color: rgba(50,50,50,0.9);
}

/**
OPTIONS INVERT*/

.photo-options.invert {

}

.photo-options.invert .container{
    background-color:#FFFFFF;
    /*background-color: rgba(40,160,240,0.3);*/
}

.photo-options.invert .container:hover{
    background-color:#FFFFFF;
    /*background-color:  rgba(40,160,240,0.3);*/
}

.photo-options.invert .content, .photo-options.invert .description {
    color:#333;
}

.photo-options.invert a {
    color:#333;
}

.photo-options.invert select, .photo-options.invert input {
    color:#333;
}

.photo-options textarea {
    color:#333;
    padding:0;
    height:60px;
    font-size:16px;
    line-height:16px;
    margin-top:5px;
}

.with-background h1, .with-background h3, .with-background h5 {
    color:#FFF;
}

.uploadProgressBar {
    height:30px;
    margin:0;
    margin-top:5px;
}

.progress-bar-success {
    background-color:#CCC;
}

.progress-bar-success:last-child.progress-bar:before {
    background-color:#EEE;
}

.progress-bar-success span {
    color:#333;
    line-height:30px;
}

/**
NAV BUTTONS PREV NEXT
*/


.photo-nav {
    top: 50%;
    position: absolute;
    width: 100%;
    z-index: 3;
}

.photo-nav > a {
    position: absolute;
    top: 0px;
    height: 50px;
    width: 50px;
}

.photo-nav a div {
    width: 0px;
    height: 0px;
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0px;
    border-radius: 0px;
    transition: all 0.2s ease-out;
}

a.photo-nav-prev span {
    background: #FFF url(/images/order/prev2.png) no-repeat center center;
}

a.photo-nav-next span {
    background: #FFF url(/images/order/next2.png) no-repeat center center;
}

.photo-nav.invert a.photo-nav-next span {
    background: #000 url(/images/order/next.png) no-repeat center center;
}

.photo-nav.invert a.photo-nav-prev span {
    background: #000 url(/images/order/prev.png) no-repeat center center;
}

a.photo-nav-prev {
    left: 35px;
}

a.photo-nav-next {
    right: 35px;
}

.extern a.photo-nav-prev {
    left: -70px;
}

.extern a.photo-nav-next {
    right: -70px;
}

.photo-nav a span {
    width: 46px;
    height: 46px;
    display: block;
    text-indent: -9000px;
    border-radius: 23px;
    cursor: pointer;
    opacity: 0.5;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -23px 0 0 -23px;
    transition: all 0.4s ease;
}

.photo-nav a:hover span{
    width: 100px;
    height: 100px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    opacity: 0.3;
    margin: -50px 0 0 -50px;
    background-size: 22px 32px;
    background-color:#fff;
}

.photo-nav a:hover div{
    width: 90px;
    height: 90px;
    background-size: 100% 100%;
    margin: -45px 0 0 -45px;
    -moz-border-radius: 45px;
    -webkit-border-radius: 45px;
    border-radius: 45px;
}

.photo-nav.invert a:hover span {
    background-color:#000;
}


/**
Tooltips
*/

.tooltip-inner {
    opacity :1;
    background-color:#000;
}
.tooltip.right .tooltip-arrow {
    opacity: 1;
    border-right-color: #000;
}

.tooltip.bottom .tooltip-arrow {
    opacity: 1;
    border-bottom-color: #000;
}

.qtyNumeric {
    font-size:13px;
}

.qtyNumeric.invert {
    font-size:20px;
}

.qtyNumeric input {
    width:40px;
}

label input[type=checkbox] {
    margin-bottom:3px;
}

.qtyNumeric.invert .ui-widget-content {
   /* border: none;
    background: transparent;*/
}

input[type=text].photoNameInput {
    background-color: transparent;
    border: 0px;
    box-shadow: none;
    font-size: 12px;
    height:20px;
    cursor: e-resize;
    text-align: center;
    width: 100%;
}


/**
Without top menu
*/

body.withoutTopMenu #spinner {
    top:0;
}

body.withoutTopMenu #appPage {
    padding-top: 0px;
}

body.withoutTopMenu #topMenu {
    display:none;
}

.previousOrders tr.cart {
    display:none;
}
.previousOrders tr.showCart + tr.cart {
    display:table-row;
}

/**
btn-circle
 */
.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}
.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
}
.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    /*padding: 10px 16px;*/
    font-size: 24px;
    line-height: 1.33;
    border-radius: 35px;
}
/**
Photo view
*/
#photoRow {
    margin-top:50px;
}

.cropperButtons:not(.collage){
    margin-top:30px;
}

#background-photo {
    position:fixed;
    z-index:0;
    top:0;
    width:100%;
    height:100%;
    background-repeat: no-repeat;
    background-size:cover;
    background-position:center;
}


#background-photo:not(.preview):after {
    content: "";
    position:fixed;
    z-index:1;
    top:0;
    width:100%;
    height:100%;
    background: rgba(0, 0, 0, 0.5);
}

.image-cropper.canvas .cropit-image-background-container{
    border:1px solid white;
}
.cropit-image-preview {
    background-color: #FFF;
    background-size: cover;
    background-clip: border-box;
    cursor: move;
}

.cropit-image-background {
    opacity: .6;
    cursor: auto;
}

.image-cropper:not(.collage) .cropit-image-preview:before {
    content: " ";
    position: absolute;
    z-index: 1;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    pointer-events: none;
    border:1px dashed white;
    outline:1px dashed #FF0000;
}

.image-cropper:not(.collage) .cropit-image-preview.whiteBorder:before {
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border:8px solid white;
}

.cropit-image-preview.canvas:before {
    border:2px dashed white;
}

.image-size-label {
    margin-top: 10px;
}

input.cropit-image-zoom-input {
    display:inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 5px;
    background: #eee;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    outline: none;
    width: 68%;
    margin: 0 0px;
    position: relative;
    vertical-align: middle;
}

.image-cropper,.photoWrapper {
    display:block;
    margin:auto;
}

.crop-zoom-wrapper {
    min-width:200px;
    background-color:rgba(0,0,0,0.5);
    padding-bottom:10px;
}

.crop-zoom-wrapper .zoom-minus, .crop-zoom-wrapper .zoom-plus {
    text-align:center;
    width:14%;
    display:inline-block;
    color:white;
    padding-top: 15px;
    vertical-align: middle;
}

.crop-zoom-wrapper .zoom-minus span {
    font-size:18px;
    color:white;
    vertical-align: middle;
}

.crop-zoom-wrapper .zoom-plus span {
    font-size:28px;
    vertical-align: middle;
}

.maskUploading {
    position:absolute;
    transition-delay: 0s;
    cursor: pointer;
    color:#FFF;
    text-align:center;
    color:#FFF;
    width:100%;
    z-index:7;
    display:table;
}

.maskUploading div.table-row {
    display:table-row;
}

.maskUploading div.table-row div {
    display:table-cell;
    vertical-align: middle;
    height:50px;
    /*overflow:hidden;*/
}

.maskUploading div.table-row:nth-child(2):last-child div{
    border-top:1px solid #DDD;
}

.maskUploading div:nth-child(3):last-child div {
    border-top:1px solid #DDD;
}

.maskUploading div.table-row {
    background: rgba(0, 0, 0, 0.6);
}

.maskUploading div.table-row div.photo-warning {
    background: rgba(200, 93, 0, 0.5);
}

.maskUploading div.table-row div.photo-alert {
    background: rgba(200, 0, 0, 0.5);
}

#more-options {
    margin-top:-161px;
}

#more-options .container {
    overflow:hidden;
    background-color: rgba(255,255,255,0.7);
}

@media (max-width: 1000px) {
    #more-options {
        display:none;
    }
}
/**
PHOTOS GRID
**/

.grid-item {
    border: 2px solid #f5f8fa;
    overflow: hidden;
    width: 20%;
    position: relative;
    margin:0;
}

.table-item {
    position:relative;
    margin:auto;
    /*width:100%;
    height:100%;*/
    background-size:cover;
    background-repeat:no-repeat;
    background-position: center;
}

.table-item-row {
    height:200px;
    /*overflow:hidden;*/
}

.table-item-container {
    max-width:100%;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    overflow:hidden;
}

.table-item-col {
    height:100%;
}

.grid-item img, .table-item img {
    width: 100%;
    display: block;
    position: relative;
    transition: all 0.3s ease-out 0.1s;
}



.grid-item .mask, .grid-item .content, .table-item .mask {
    position: absolute;
    overflow: hidden;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    filter: alpha(opacity=0);
    opacity: 0;
    transition: all 0.3s ease-in 0.4s;
    cursor: pointer;
}


.grid-item .infotitre, .table-item .infotitre {
    position:relative;
    font-size:16px;
    text-align: center;
    color: #fff;
    height:100%;
    width:100%;
}

.grid-item .infotitre .btn, .table-item .infotitre .btn {
    margin:auto;
    position: relative;
    display:inline-block;
    height:45px;
    top:50%;
    margin-top:-22px;
    border:1px solid #FFF;
    padding:10px 25px;
    text-align:center;
    color:#FFF;
}

.grid-item a, .table-item a {
    text-decoration: none;
}

.grid-item h2 {
    filter: alpha(opacity=0);
    opacity: 0;
    background: transparent;
    margin: 0px 40px 0px 40px;
    transform: scale(3);
    transition: all 0.3s ease-in-out 0.1s;
    /* top:32%; */
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-weight: normal;
    font-size: 14px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .3);
    border: 1px solid #888 \9;
}

.grid-item p {
    filter: alpha(opacity=0);
    opacity: 0;
    transform: scale(3);
    transition: all 0.3s ease-in-out 0.2s;
    font-size: 100%;
    position: relative;
    padding: 0;
    margin:0;
}

.grid-item:hover, .table-item:hover {
    cursor: pointer;
}

.grid-item:hover .mask, .table-item:hover .mask {
    filter: alpha(opacity=100);
    opacity: 1;
    transition-delay: 0s;
    cursor: pointer;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item:hover h2, .grid-item:hover p {
    filter: alpha(opacity=100);
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.1s;
}

.photo-selected {
    display:block;
    position:absolute;
    color:#FFF;
    border:1px solid white;
    border-radius:30px;
    right:10px;
    top:10px;
    font-size:20px;
    padding:5px;
    z-index:2;
    pointer-events: none;
}

.photo-selected.fa {
    right:auto;
    left:10px;
    background-color: #ff490f;
}

.masonry { /* Masonry container */
    column-count: 4;
    column-gap: 1em;
}

.item { /* Masonry bricks or child elements */
    background-color: #eee;
    display: inline-block;
    margin: 0 0 1em;
    width: 100%;
}

.photosOrder{
    margin-top: 20px;
}

.photosBanner {
    overflow:hidden;
    position:relative
}

.photosBanner #uploadButtonWrapper {
    top:20em;
}

.photosBanner.hasPhotos {
    height:auto;
}

.photosBanner.hasPhotos #uploadButtonWrapper {
    top:64px;
    position:static;
}

.photosLayoutButtons {
    position:absolute;
    bottom:-2px;
    left:10px;
    color:#FFF;
    background:rgba(0,0,0,0.4);
    padding:5px 15px;
    border-radius:5px;
}

.photosLayoutButtons i {
    margin:0px 10px;
    cursor:pointer;
    transition:0.2s;
}

.photosLayoutButtons i:hover{
    color:#0d87e9;
}

.photosLayoutButtons a {
    color:#FFF;
}

#photos.hasPhotos {
    margin-bottom: 80px;
}

#photos .thumbnail {
    height:275px;
}

.fade-element-in.ng-enter {
     transition: 0.2s linear all;
     opacity: 0;
 }

.fade-element-in-init .fade-element-in.ng-enter {
    opacity: 1;
}

.fade-element-in.ng-enter.ng-enter-active {
    opacity: 1;
}

#photos table td {
    vertical-align:middle;
    cursor:pointer;
    position:relative
}

#photos table img {
    width:60px;
}

#photos .photoSelectedColumn {
    width:60px;
}

#photos table .photo-selected {
    left:auto;
    right:auto;
}

.photoLabel {
    padding-right:0;
    font-weight:bold;
}


.thumbnail img.filter {
    height:25px;
}

/* POLA */
#photos .thumbnail.pola {
    height:300px;
}

.thumbnail.pola .table-item-row {
    height:100%;
    overflow:visible;
}

.table-item.pola {
    display:inline-block;
    width:230px;
    max-width:100%;
    padding-left:10px;
    padding-right:10px;
    padding-top:10px;
    padding-bottom:10px;
    border:1px solid #DDD;
    box-shadow:2px 2px 5px #EEE;
    overflow:hidden;
}

.table-item.pola input[type=text] {
    border:none;
    outline:0;
    box-shadow:none;
    margin-top:10px;
    text-align:center;
    width:100%;
    font-weight:bold;
}

@media (max-width: 500px) {
    .table-item.pola input[type=text] {
        font-size:12px
    }
}

.table-item.pola .mask {
    width: 100%;
    height: 100%;
}

.table-item.pola .polaImg {
    position:relative;
    width: 100%;
    height: 0;
    background-size: cover;
    background-position: center center;
    background-repeat:no-repeat;
}

.table-item.pola .alert {
    position:absolute;
    z-index:2;
    right:0;
    left:0;
    display:inline;
    padding:5px;
    opacity:0;
    transition: opacity 0.3s ease-in;
}

.photoSmallMenuOption {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    margin-top: 8px;
}

.photoSmallMenuOption img {
    width:26px;
}

.photoSmallMenuOption i.fa {
    font-size:21px;
}

.photoSmallMenuOption span {
    font-size:10px;
}
@media (max-width: 768px) {
    body{font-size: 10px;}

    #appPage {
        padding-top:85px;
    }

    h1 {
        font-size:2.5em;
    }

    h2 {
        font-size:2.1em;
    }

    h3 {
        font-size:1.8em;
    }

    h4 {
        font-size:1.5em;
    }

    h5 {
        font-size:1.3em;
    }

    .navbar .divider-vertical {
        height:1px;
        margin:0;
        border-right:none;
        border-left:none;
        border-top:1px solid #F2F2F2;
    }

    .navbar .nbProducts {
        top:-3px;
        font-size:12px;
        left:50%;
        margin-left:-15px;
    }

    .thumbnail.column {
        min-height: inherit;
    }

    .grid-item {
        width:33%;
    }

    .text-xs-center {
        text-align:center;
    }

    .photosBanner.hasPhotos {
        display:none;
    }

    .photo-options  {
        height:50px;
        margin-top:-50px;
    }

    .photo-options .content {
       /*font-size:12px;*/
    }

    .photo-options .description {
        display:none;
    }

    #photoRow {
        margin-top:20px;
    }

    .cropperButtons:not(.collage){
        margin-top:5px;
    }

    .btn.responsive{
        font-size:1em;
        min-width:unset;
        line-height:1em;
        padding:6px 8px;
    }

    .photo-nav {
        top: 9em;
        position: absolute;
        width: 100%;
        z-index: 3;
    }

    a.photo-nav-prev {
        left: 0.5em;
    }

    a.photo-nav-next {
        right: 0.5em;
    }

    #closePhoto {
        right:0.5em;
        top:115px;
    }

    #photos .thumbnail {
        height:300px;
    }

    .photo-options.photos .container {
        background-color: white;
        box-shadow: 0 3px 5px 1px #333;
    }

    .photo-options.photos .container:hover select, .photo-options.photos .container select:focus {
        background-color: #fff;
    }

    .photoCropperWrapper {
        height: calc(100% - 80px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    prev-next.marginTop .photo-nav {
        top:15rem;
    }

    .addShippingAddressWrapper {
        min-height:auto;
        height:50px;
    }

    .gsmInputWrapper {
        width:auto;
    }

    .paymentTotalWrapper {
        height:auto;
    }

    .paymentTotalWrapper h3 {
        font-size:26px;
    }
}

@media (min-width: 768px) {
    .photoSmallMenuOption {
        display: none;
    }
}

@media (max-width: 1024px) {
    .photo-options .description {
        font-size:12px;
    }

    .photo-options.photos .content,.photo-options.photos .description {
        color:#333;
    }

    .photo-options.photos select, .photo-options.photos input[type=number], .photo-options.photos a {
        color:#333;
    }

    .colorButton {
        width:15px;
        height:15px;
    }
}



@media (max-width: 900px) {
    #topMenu .navbar-header {
        float: none;
    }

    #topMenu .navbar-left,.navbar-right {
        float: none !important;
    }

    #topMenu .navbar-toggle {
        display: block;
    }

    #topMenu .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    #topMenu .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    #topMenu .navbar-collapse.collapse {
        display: none!important;
    }

    #topMenu .navbar-collapse .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }

    #topMenu .navbar-collapse .navbar-nav>li {
        float: none;
    }

    #topMenu .navbar-collapse .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #topMenu .collapse.in {
        display:block !important;
    }
}

@media (max-width: 768px) {
    .optionsMenuNavBar .navbar-header {
        float: none;
    }

    .optionsMenuNavBar .navbar-left,.navbar-right {
        float: none !important;
    }

    .optionsMenuNavBar .navbar-toggle {
        display: block;
    }

    .optionsMenuNavBar .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .optionsMenuNavBar .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .optionsMenuNavBar .navbar-collapse.collapse {
        display: none!important;
    }

    .optionsMenuNavBar .navbar-collapse .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }

    .optionsMenuNavBar .navbar-collapse .navbar-nav>li {
        float: none;
    }

    .optionsMenuNavBar .navbar-collapse .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }


   /* .optionsMenuNavBar .collapsing {
        position: absolute !important;
        display: block;
        z-index: 20;
        background-color:#FFFFFF;
        top: 50px;
    }*/

    .optionsMenuNavBar .collapse.in, .optionsMenuNavBar .collapsing  {
        display: block !important;
        position: absolute !important;
        width:90%;
        margin-left:5%;
        z-index: 20;
        margin-top: 45px;
        background-color:#FFFFFF;
        padding-bottom:20px;
    }

    .optionsMenuNavBar .navbar-collapse {
        max-height: none !important;
    }

    .optionsMenuNavBar .collapsing .divider-vertical, .optionsMenuNavBar .collapse.in .divider-vertical {
        display:none;
    }
}

@media (min-width: 1200px) and (max-width: 1300px){
    .photo .photoButtons .btn-sm{
        padding:5px 7px;
    }
}

@media (max-width: 1400px){
    .hidden-1400 {
        display:none;
    }
}

@media (min-width: 1024px) {
    .text-lg-left { text-align: left !important;; }
    .text-lg-right { text-align: right !important;; }
    .text-lg-center { text-align: center !important;; }
    .text-lg-justify { text-align: justify !important;; }
}

.text-xs-left { text-align: left !important; }
.text-xs-right { text-align: right !important;; }
.text-xs-center { text-align: center !important;; }
.text-xs-justify { text-align: justify !important;; }
.m-0 { margin:0!important; }
.m-1 { margin:.25rem!important; }
.m-2 { margin:.5rem!important; }
.m-3 { margin:1rem!important; }
.m-4 { margin:1.5rem!important; }
.m-5 { margin:3rem!important; }

.mt-0 { margin-top:0!important; }
.mr-0 { margin-right:0!important; }
.mb-0 { margin-bottom:0!important; }
.ml-0 { margin-left:0!important; }
.mx-0 { margin-left:0!important;margin-right:0!important; }
.my-0 { margin-top:0!important;margin-bottom:0!important; }

.mt-1 { margin-top:.25rem!important; }
.mr-1 { margin-right:.25rem!important; }
.mb-1 { margin-bottom:.25rem!important; }
.ml-1 { margin-left:.25rem!important; }
.mx-1 { margin-left:.25rem!important;margin-right:.25rem!important; }
.my-1 { margin-top:.25rem!important;margin-bottom:.25rem!important; }

.mt-2 { margin-top:.5rem!important; }
.mr-2 { margin-right:.5rem!important; }
.mb-2 { margin-bottom:.5rem!important; }
.ml-2 { margin-left:.5rem!important; }
.mx-2 { margin-right:.5rem!important;margin-left:.5rem!important; }
.my-2 { margin-top:.5rem!important;margin-bottom:.5rem!important; }

.mt-3 { margin-top:1rem!important; }
.mr-3 { margin-right:1rem!important; }
.mb-3 { margin-bottom:1rem!important; }
.ml-3 { margin-left:1rem!important; }
.mx-3 { margin-right:1rem!important;margin-left:1rem!important; }
.my-3 { margin-bottom:1rem!important;margin-top:1rem!important; }

.mt-4 { margin-top:1.5rem!important; }
.mr-4 { margin-right:1.5rem!important; }
.mb-4 { margin-bottom:1.5rem!important; }
.ml-4 { margin-left:1.5rem!important; }
.mx-4 { margin-right:1.5rem!important;margin-left:1.5rem!important; }
.my-4 { margin-top:1.5rem!important;margin-bottom:1.5rem!important; }

.mt-5 { margin-top:3rem!important; }
.mr-5 { margin-right:3rem!important; }
.mb-5 { margin-bottom:3rem!important; }
.ml-5 { margin-left:3rem!important; }
.mx-5 { margin-right:3rem!important;margin-left:3rem!important; }
.my-5 { margin-top:3rem!important;margin-bottom:3rem!important; }

.mt-auto { margin-top:auto!important; }
.mr-auto { margin-right:auto!important; }
.mb-auto { margin-bottom:auto!important; }
.ml-auto { margin-left:auto!important; }
.mx-auto { margin-right:auto!important;margin-left:auto!important; }
.my-auto { margin-bottom:auto!important;margin-top:auto!important; }

.p-0 { padding:0!important; }
.p-1 { padding:.25rem!important; }
.p-2 { padding:.5rem!important; }
.p-3 { padding:1rem!important; }
.p-4 { padding:1.5rem!important; }
.p-5 { padding:3rem!important; }

.pt-0 { padding-top:0!important; }
.pr-0 { padding-right:0!important; }
.pb-0 { padding-bottom:0!important; }
.pl-0 { padding-left:0!important; }
.px-0 { padding-left:0!important;padding-right:0!important; }
.py-0 { padding-top:0!important;padding-bottom:0!important; }

.pt-1 { padding-top:.25rem!important; }
.pr-1 { padding-right:.25rem!important; }
.pb-1 { padding-bottom:.25rem!important; }
.pl-1 { padding-left:.25rem!important; }
.px-1 { padding-left:.25rem!important;padding-right:.25rem!important; }
.py-1 { padding-top:.25rem!important;padding-bottom:.25rem!important; }

.pt-2 { padding-top:.5rem!important; }
.pr-2 { padding-right:.5rem!important; }
.pb-2 { padding-bottom:.5rem!important; }
.pl-2 { padding-left:.5rem!important; }
.px-2 { padding-right:.5rem!important;padding-left:.5rem!important; }
.py-2 { padding-top:.5rem!important;padding-bottom:.5rem!important; }

.pt-3 { padding-top:1rem!important; }
.pr-3 { padding-right:1rem!important; }
.pb-3 { padding-bottom:1rem!important; }
.pl-3 { padding-left:1rem!important; }
.py-3 { padding-bottom:1rem!important;padding-top:1rem!important; }
.px-3 { padding-right:1rem!important;padding-left:1rem!important; }

.pt-4 { padding-top:1.5rem!important; }
.pr-4 { padding-right:1.5rem!important; }
.pb-4 { padding-bottom:1.5rem!important; }
.pl-4 { padding-left:1.5rem!important; }
.px-4 { padding-right:1.5rem!important;padding-left:1.5rem!important; }
.py-4 { padding-top:1.5rem!important;padding-bottom:1.5rem!important; }

.pt-5 { padding-top:3rem!important; }
.pr-5 { padding-right:3rem!important; }
.pb-5 { padding-bottom:3rem!important; }
.pl-5 { padding-left:3rem!important; }
.px-5 { padding-right:3rem!important;padding-left:3rem!important; }
.py-5 { padding-top:3rem!important;padding-bottom:3rem!important; }
.paymentTotalWrapper {
    height:150px;
}
.thumbnail.format {
    color:#333;
    background-color:#f5f8fa
}

.thumbnail.column {
    min-height:320px;
}

.thumbnail.paper{
    color:#333;background-color:#f5f8fa;text-indent:5px;
}

.thumbnail.paper i {
    font-size:14px;
}

.thumbnail {
    margin-bottom:10px;
}

.delete-icon {
    color:#F00;font-size:20px;
}

.upload-button {
    height:60px;
    line-height: 40px;
}

.price-bubble {
    box-shadow:-1px 1px 4px #666;
    display:inline-block;
    line-height:120%;
    text-align:center;
    position:absolute;
    right:0;
    border-radius: 40px;
    background:#0d87e9;
    color:#FFF;
    padding:20px 20px;
}

.upload-format {
    height:120px;
}

.upload-montage {
    height:250px;
}

.upload-montage h4 {
    font-size:18px;
}

.upload-format-wrapper {
    position: relative;
}

.upload-format-photo {
    max-width: 100%;
    max-height:140px;
    transition: transform 0.4s;
    position:absolute;
    top:45px;
    left:10px;
}

.upload-format-photo:hover {
    transform: scale(2);
    position: absolute;
    z-index:2;
}

.upload-options {
    font-size:1.5em;
}

/**
Book upload
*/

.bookExemple {
    position:relative;
}
.bookExemple img {
    width:100%;
    box-shadow:2px 3px 10px #333;
    cursor:pointer;
}

.bookExemple img, .bookExemple .bookSpine {
    -webkit-transition: all 0.5s ease; /* Safari and Chrome */
    -moz-transition: all 0.5s ease; /* Firefox */
    -ms-transition: all 0.5s ease; /* IE 9 */
    -o-transition: all 0.5s ease; /* Opera */
    transition: all 0.5s ease;
}

.bookExemple:not(.photosView):hover img, .bookExemple:not(.photosView):hover .bookSpine{
    -webkit-transform:scale(1.05); /* Safari and Chrome */
    -moz-transform:scale(1.05); /* Firefox */
    -ms-transform:scale(1.05); /* IE 9 */
    -o-transform:scale(1.05); /* Opera */
    transform:scale(1.05);
}
.bookExemple:not(.photosView):hover .bookSpine{
    margin-left:-2%;
}

.booksDescriptionContainer {
    height:400px;
    background-image:url(/images/order/wallpaperBooks.jpg);
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
}

.booksDescription {
    background: rgba(150, 150, 150, .8);
    color:#FFFFFF;
    margin-top:100px;
    border-radius:5px;
}

.booksDescription h2 {
    color:#FFFFFF;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .1em;
    /*font-family: futura-pt,sans-serif;*/
    font-size:30px;
}

.booksDescription ul {
    font-size:16px;
    letter-spacing: .075em;
    font-family: sans-serif;
}

.upload-grid-item {
    border: 2px solid #f5f8fa;
    overflow: hidden;
    position: relative;
    margin:0;
    width:32%;
    padding: 0.1px;
}

.upload-grid-item .thumbnail.column {
    margin:0;
}
/*

.iframeDialog .mod {
    background-color:transparent;
}

.appLvl {
    border:0;
}*/

.iframeDialog .appHead h2 {
    display:none !important;
}

div.appFooter,.iframeDialog .mod .appHead {
    display:none !important;
}

/* ===== Montages (templates du tableau de bord) — écran #/sizes/1/montages ===== */
.montages-search { max-width: 420px; margin: 10px auto 25px; }
.montage-card { cursor: pointer; padding: 0; overflow: hidden; border-radius: 6px; transition: transform .15s ease, box-shadow .15s ease; }
.montage-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); text-decoration: none; }
.montage-thumb { position: relative; background: #f3f4f6; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 12px; }
.montage-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.montage-placeholder { font-size: 60px; color: #c7cbd1; }
.montage-zoom { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #333; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.montage-body { padding: 10px 12px 12px; text-align: center; }
.montage-name { font-size: 14px; font-weight: 600; word-break: break-word; margin: 0 0 6px; min-height: 2.6em; }
.montage-meta { font-size: 12px; color: #777; }
.montage-meta span { white-space: nowrap; margin: 0 4px; }
.montage-price { margin-top: 6px; }
.montage-price strong { font-size: 16px; color: #e8590c; }
.montage-zoom-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.montage-zoom-box { background: #fff; border-radius: 8px; padding: 20px; max-width: 720px; width: 100%; text-align: center; max-height: 100%; overflow: auto; }
.montage-zoom-box h3 { margin-top: 0; word-break: break-word; }
.montage-zoom-box img { max-width: 100%; max-height: 60vh; margin: 10px 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
