body { font-family: Arial, sans-serif; background:#555; }

.pageA4_portrait { 
  position:relative; width:794px; height:1122px; background:white;
  border:0px solid #333;  overflow:hidden; 
      box-shadow: rgba(40, 40, 40, 0.5) 0px 2px 20px 0px;
}
.pageA4_landscape { 
  position:relative; height:794px; width:1122px; background:white;
  border:0px solid #333;  overflow:hidden; 
      box-shadow: rgba(40, 40, 40, 0.5) 0px 2px 20px 0px;
}
.pageEcartNoPrint {
  margin : 30px 0px;
}
.pageEcartPrint {
  margin : 0px 0px;
}

.button-shadow {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.box { 
  position:absolute; cursor:move; display:flex; justify-content:center; align-items:center; 
  box-sizing:border-box; border:1px dashed transparent; border-radius:0;     overflow: visible !important;
}

.box.selected { 
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; 
  border:4px dashed blue !important; 
}

.box img { max-width:100%; max-height:100%; object-fit:contain; }
canvas.innerCanvas { cursor:crosshair; display:block; }

#toolbar-container { 
  position:fixed; top:10px; right:10px; background:white; border:1px solid #ccc; 
  padding:10px; border-radius:5px;  z-index:1000; width:320px; 


}

.control-group { display:flex; gap:5px; margin:3px 0; align-items:center; }

.actionBtnControl {
      position: absolute;
    right: -205px;
    width: 200px;
    top: 0px;
}
.draggable {
      
      border: 4px solid #4a90e2;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .border-handle {
      position: absolute;
      background: transparent; /* invisible handle */
      z-index: 10;
    }

    /* Handles covering borders */
    .handle-top    { top: -4px; left: 0; height: 20px;  width: 100%; cursor: move; }
    .handle-bottom { bottom: -4px; left: 0; height: 20px; width: 100%; cursor: move; }
    .handle-left   { top: 0; left: -4px; width: 20px; height: 100%; cursor: move; }
    .handle-right  { top: 0; right: -4px; width: 20px; height: 100%; cursor: move; }

    /* Just to make demo buttons visible */
    .content {
      padding: 20px;
    }







    .hachure {
      background: repeating-linear-gradient(
        45deg,          /* angle of lines */
        #aaa,           /* line color */
        #aaa 2px,       /* line thickness */
        transparent 2px,
        transparent 10px /* spacing between lines */
      );
    }


    #wysiwyg {
      
    margin: 20px auto;
    width: 794px;

    }

    .pageTitle {
      text-align: center;
      color: lightgray;
    }



   
