aside.product-designer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-in-out;
    counter-reset: pd-steps;
}
aside.product-designer-modal.active {
    opacity: 1;
    pointer-events: all;
}
/* new andelo required resets */
.product-designer-modal h2 {
    margin:  0;
    font-weight: 600;
    font-size:  20px;
}
.product-designer-modal button.button {
    border:  0;
    border-radius: 3px;
    font-weight:  700;
    text-transform:  uppercase;
    padding:  .618em 1em;
    overflow:  visible;
    cursor:  pointer;
    display:  inline-block;
    position:  relative;
    margin:  0;
    line-height: 1;
}
.product-designer-modal p {
    margin-top:  0;
    margin-bottom: 10px;
    font-size:  14px;
}
.product-designer-modal label {
    display:  inline-block;
    margin-bottom:  5px;
}
.pd-modal-confirm a.add-to-cart {
    display:  inline-block;
    text-transform: uppercase;
    color:  white;
    padding:  11px 30px 10px;
    font-weight:  bold;
}
.pd-modal-confirm a.add-to-cart:hover, .pd-modal-confirm a.add-to-cart:focus {
    text-decoration:  none;
}

.pd-modal-inner {
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-45%);
    box-shadow: 10px 10px 20px rgba(0,0,0,0.3);
    height: 90%;
    border-radius: 3px;
    opacity: 0;
    transition: all .15s ease-in-out;
    width: calc((90vh - 104px) + 474px);
    min-height: 640px;
}
aside.product-designer-modal.active .pd-modal-inner {
    opacity: 1;
    transform: translate(-50%,-50%);
}
.pd-modal-inner .pd-modal-header {
    height: 52px;
    background: #33A71B;
    padding: 15px 30px 0;
    border-radius: 3px 3px 0 0;
    position: relative;
}
.pd-modal-inner .pd-modal-header h2 {
    color: white;
}
.pd-modal-inner .pd-modal-header .close {
    background-image: url('close.svg');
    background-position: center;
    background-size: 22px 22px;
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    top: 6px;
    right: 10px;
    height: 40px;
    width: 40px;
    opacity: 0.8;
}
.pd-modal-inner .pd-modal-header .close:hover, .pd-modal-inner .pd-modal-header .close:focus {
    opacity: 1;
}

.pd-modal-inner .pd-modal-body {
    height: calc(100% - 52px);
    display: flex;
    position: relative;
    overflow: hidden;
}
.pd-modal-body .pd-body-design {
    flex: 1 0 auto;
    position: relative;
}
.pd-modal-body .pd-body-design canvas {
    position: relative;
}
.pd-modal-body .pd-body-design .pd-zoom-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    z-index: 5;
}
aside.product-designer-modal .pd-modal-body .pd-body-design .pd-zoom-controls button.button {
    background: #ccc;
    border-radius: 3px;
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-left: 6px;
    padding: 0;
}
.pd-modal-body .pd-body-design .pd-design-view-label {
    position: absolute;
    bottom: 20px;
    left: 30px;
    letter-spacing: 0.05em;
    font-weight: bold;
    color: #C8C8C8;
    text-transform: uppercase;
    font-size: 13px;
}
.pd-modal-body .pd-body-design button.button.switch-view {
    position: absolute;
    bottom: 15px;
    right: 20px;
    letter-spacing: 0.05em;
    font-weight: bold;
    color: white;
    background: darkslategray;
    text-transform: uppercase;
    font-size: 13px;   
    cursor: pointer;
    border-radius: 3px;
    padding: 5px 12px;
}
.pd-modal-body .pd-body-saved-images {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 475px;
    max-width: 44.7%;
    background: #F1F1F1;
    transform: translateX(100%);
    transition: transform 0.25s ease-in-out;
    padding:  20px;
}
.pd-modal-body .pd-body-saved-images.active {
    transform: none;
}
.pd-modal-body .pd-body-saved-images h4 {
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    text-align: center;
    font-weight bold;
    margin-top: 13px;
}
.pd-modal-body .pd-body-saved-images .close-saved-images {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('arrow-right.svg');
    background-size: 22px 22px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    position: absolute;
    top: 5px;
    left: 15px;
}
.pd-modal-body .pd-body-saved-images .close-saved-images:hover, .pd-modal-body .pd-body-saved-images .close-saved-images:focus {
    opacity: 1;
}
.pd-modal-body .pd-body-saved-images .pd-saved-images-scroller {
    margin-top: 40px;
    height: calc(100% - 90px);
    overflow: auto;
    position: relative;
    padding-right: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.pd-modal-body .pd-body-saved-images .pd-saved-images-scroller p {
    flex: 0 0 100%;
    text-align: center;
}
.pd-modal-body .pd-body-saved-images .pd-saved-images-scroller img {
    float: left;
    outline: 2px solid transparent;
    margin-left: 10px;
    margin-top: 10px;
    transition: outline .15s ease-in-out;
    max-width: 140px;
    max-height: 140px;
}
.pd-modal-body .pd-body-saved-images .pd-saved-images-scroller img.selected {
    outline: 2px solid blue;
}
.pd-modal-body .pd-body-saved-images .pd-saved-images-scroller .pd-lds-roller {
    display: none;
}
.pd-lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.pd-lds-roller div {
  animation: pd-lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.pd-lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #888;
  margin: -4px 0 0 -4px;
}
.pd-lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.pd-lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.pd-lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.pd-lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.pd-lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.pd-lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.pd-lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.pd-lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.pd-lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.pd-lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.pd-lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.pd-lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.pd-lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.pd-lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.pd-lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.pd-lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes pd-lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.pd-modal-body .pd-body-saved-images .pd-saved-images-scroller.loading .pd-lds-roller {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.pd-modal-body .pd-body-saved-images .pd-saved-images-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #555;
    padding: 8px 20px;
    text-align: center;
}
.pd-modal-body .pd-body-saved-images .pd-saved-images-controls button.use-saved-image {
    background: #33A71B;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}
.pd-modal-body .pd-body-saved-images .pd-saved-images-controls button.use-saved-image.disabled {
    pointer-events: none;
    opacity: 0.3;
}
.pd-modal-body .pd-body-controls {
    flex: 0 474px;
    height: 100%;
    overflow: auto;
    background: #F6F6F6;
    color: #5B5B5B;
    font-size: 14px;
    font-weight: bold;
    position: relative;
}
.pd-modal-body .pd-body-controls .pd-main-controls {
    height:  calc(100% - 200px);
    overflow:  auto;
    padding-bottom: 20px;
    padding: 40px;
}
.pd-modal-body .pd-body-controls .pd-main-controls label, .pd-modal-body .pd-body-controls .pd-main-controls .label {
    width: 145px;
    padding-right: 15px;
    line-height: 1.2em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    min-width: 130px;
}
.pd-modal-body .pd-body-controls .step-number {
    display: inline-block;
    vertical-align: top;
    color: white;
    background: #F68348;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    text-align: center;
    padding-left: 1px;
    margin-right: 10px;
    font-size: 22px;
    padding-top: 5px;
    line-height: 1.1em;
    counter-increment: pd-steps;

}
.pd-modal-body .pd-body-controls .step-number:before {
    content: counter(pd-steps);
}
.pd-modal-body .pd-body-controls .pd-limited-design-colour {
    padding-top: 20px;
    display: none;
}
.pd-modal-body .pd-body-controls .pd-limited-design-colour p {
    line-height: 1.3;
    font-weight: 500;
}
.pd-modal-body .pd-body-controls .pd-limited-design-colour label {
    font-size: 12px;
    width: 70px;
    position: relative;
    top: 4px;
    letter-spacing: 0;
    display: block;
    text-align: center;
}
.pd-modal-body .pd-body-controls p.small-note {
    font-size: 14px;
    margin-bottom: 5px;
}
.pd-modal-body .pd-body-controls .pd-limited-design-colour p.small-note {
    padding-left: 45px;
}
.pd-modal-body .pd-body-controls .pd-limited-design-colour .color-picker-force {
    display: inline-block;
    text-align: center;
    vertical-align: top;
}
.pd-modal-body .pd-body-controls .pd-limited-design-colour .color-picker-force label {
    display: none;
}
.pd-modal-body .pd-body-controls .pd-limited-design-colour .color-picker-force .pickr {
    margin-left: 0;
}
.pd-modal-body .pd-body-controls .pd-limited-design-colour .color-picker-force-2,
.pd-modal-body .pd-body-controls .pd-limited-design-colour .color-picker-force-3 {
    margin-left: 20px;
}
.pd-modal-body .pd-body-controls.force-limited-colour .pd-limited-design-colour {
    display: block;
}
.pd-modal-body .pd-body-controls.engraving .pd-limited-design-colour {
    display: none;
}
.pd-modal-body .pd-body-controls.force-limited-colour.force-1-colour .edit-panel .text-colour {
    display: none;
}
.pd-modal-body .pd-body-controls .active-limited-colour {
    margin-bottom: 15px;
    margin-top: 10px;
    display: none;
}
.pd-modal-body .pd-body-controls .active-limited-colour label.active-color-limited {
    width: 30px;
    height: 30px;
    margin-left: 15px;
    position: relative;
    top: -5px;
    display: inline-block;
    outline: 0;
    border: 1px solid white;
    cursor: pointer;
}
.pd-modal-body .pd-body-controls .active-limited-colour label.active-color-limited input {
    opacity: 0;
}
.pd-modal-body .pd-body-controls .active-limited-colour label.active-color-limited.active {
    outline: 2px solid black;
}
.pd-modal-body .pd-body-controls .pd-upload-logo {
    margin-top: 35px;
}
.pd-modal-body .pd-body-controls .pd-upload-logo .pd-upload-logo-field {
    width: 180px;
    display: inline-block;
    vertical-align: top;
    margin-top: 4px;
}

/* COLOUR SELECTOR SHOW/HIDE VARIATIONS */
/* FORCE 1 COLOUR */
.pd-modal-body .pd-body-controls.force-colours.force-1-colour .pd-limited-design-colour { display: block; }
.pd-modal-body .pd-body-controls.force-colours.force-1-colour .pd-limited-design-colour .limited-design-colours-plural { display: none; }
.pd-modal-body .pd-body-controls.force-colours.force-1-colour .pd-limited-design-colour .color-picker-force-2,
.pd-modal-body .pd-body-controls.force-colours.force-1-colour .pd-limited-design-colour .color-picker-force-3 {
    display: none;
}
.pd-modal-body .pd-body-controls.force-colours.force-1-colour .text-colour { display: none; }
.pd-modal-body .pd-body-controls.force-colours.force-1-colour .active-limited-colour { display: none; }

/* FORCE 2 COLOURS */
.pd-modal-body .pd-body-controls.force-colours.force-2-colours .pd-limited-design-colour { display: block; }
.pd-modal-body .pd-body-controls.force-colours.force-2-colours .pd-limited-design-colour .color-picker-force-3 { display: none; }
.pd-modal-body .pd-body-controls.force-colours.force-2-colours .text-colour { display: none; }
.pd-modal-body .pd-body-controls.force-colours.force-2-colours .active-color-limited.color-3 { display: none; }
.pd-modal-body .pd-body-controls.force-colours.force-2-colours .active-limited-colour { display: block; }
/* FORCE 3 COLOURS */
.pd-modal-body .pd-body-controls.force-colours.force-3-colours .pd-limited-design-colour { display: block; }
.pd-modal-body .pd-body-controls.force-colours.force-3-colours .text-colour { display: none; }
.pd-modal-body .pd-body-controls.force-colours.force-3-colours .active-limited-colour { display: block; }




.pd-modal-body .pd-body-controls .edit-panel div.colour-intensity {
    display: none;
}
.pd-modal-body .pd-body-controls.force-colours .edit-panel div.colour-intensity {
    display: block;
}
.pd-modal-body .pd-body-controls.force-colours .edit-panel div.colour-intensity label {
    width: 110px;
}
.pd-modal-body .pd-body-controls.force-colours .edit-panel div.colour-intensity input[type=range] {
    width: calc(100% - 145px);
    margin-bottom: 10px;
    display: inline-block;
}
.pd-modal-body .pd-body-controls select {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 2px;
    height: 32px;
    padding: 3px 30px 4px 16px;
    appearance: none;
    -webkit-appearance: none;
    font-weight: 500;
    font-size: 14px;
    width: calc(100% - 85px);
    color: #494949;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='7' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23959595' stroke-width='2' fill='none' fill-rule='evenodd' stroke-linecap='square'%3E%3Cpath d='M1.5 1.5l4 4M9.5 1.5l-4 4'/%3E%3C/g%3E%3C/svg%3E");
    background-position: top 12px right 10px;
    background-repeat: no-repeat;
    background-size: 11px 7px;
}
.pd-modal-body .pd-body-controls .variation-selector {
    margin-bottom: 20px;
}
.pd-modal-body .pd-body-controls .view-selector {
    margin-bottom: 20px;
}
.pd-modal-body .pd-body-controls .variation-selector select, .pd-modal-body .pd-body-controls .view-selector select {
    display: inline-block;
    width: 180px;
    vertical-align: top;
    margint-top: 3px;
}
.pd-modal-body .pd-body-controls .edit-panel {
    padding: 30px 40px;
    margin-top: 30px;
    background: #D8D8D8;
    margin-left: -40px;
    margin-right: -40px;
    display: none;
    /* height: calc(100% - 114px); */
    height:  auto;
    overflow: auto;
}
.pd-modal-body .pd-body-controls .edit-panel.active {
    display: block;
}
.pd-modal-body .pd-body-controls .edit-panel select {
    width: cacl(100% - 145px);
}
.pd-modal-body .pd-body-controls input[type="checkbox"] {
    margin-right: 10px;
    font-size: 120%;
}
.pd-modal-body .pd-body-controls .edit-panel label.font-family {
    position: relative;
    width: 80px;
}
.pd-modal-body .pd-body-controls .edit-panel select.font-family {
    margin-bottom: 20px;
}
.pd-modal-body .pd-body-controls .edit-panel .text-colour {
    display: inline-block;
    margin-bottom: 15px;
}
.pd-modal-body .pd-body-controls .edit-panel .text-colour label {
    margin-top: 4px;
}
.pd-modal-body .pd-body-controls .pickr {
    display: inline-block;
    width: 50px;
    height: 30px;
    margin-left: 20px;
    vertical-align: top;
}
.pd-modal-body .pd-body-controls .pickr button.pcr-button {
    width: 50px;
    display: inline-block;
    height: 30px;
    border-radius: 3px;
    border: 1px solid white;
    outline: 1px solid #888;
    transition: 0;
    margin-left: 0;
}
.pcr-app .pcr-interaction:before {
    content: 'Or type a colour:';
    display: block;
    font-size: 11px;
    margin-right: 6px;
    margin-top: 9px;
}
.pd-modal-body .pd-body-controls .color-picker {
    width: 50px;
    height: 30px;
    display: inline-block;
    border-radius: 3px;
    cursor: pointer;
    vertical-align: top;
    margin-left: 20px;
    position: relative;
    top: -5px;
}
.pd-modal-body .pd-body-controls .edit-panel .text-buttons button {
    margin-left: 0;
    margin-right: 10px;
}
.pd-modal-body .pd-body-controls .edit-panel {
    position:  relative;
}
.pd-modal-body .pd-body-controls .edit-panel:before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    top: calc(50% - 20px);
    left: -20px;
    border: 20px solid transparent;
    border-right-color: #D8D8D8;
    z-index: 2;
}
.pd-modal-body .pd-body-controls .edit-panel button {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    margin-left: 10px;
    margin-bottom: 10px;
    background-color: #888;
    vertical-align: top;
    opacity: 0.8;
    background-size: 14px 14px;
    background-position: center;
    background-repeat: no-repeat;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    cursor: pointer;
}
.pd-modal-body .pd-body-controls .edit-panel button:hover, .pd-modal-body .pd-body-controls button:focus {
    opacity: 1;
}
.pd-modal-body .pd-body-controls .edit-panel button.active {
    background-color: #68A7F1;
}
.pd-modal-body .pd-body-controls .edit-panel button.delete {
    background-size: 18px 18px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFF' fill-rule='nonzero'%3E%3Cpath d='M8.3 50h23.6c2.7 0 4.8-2.2 4.8-4.8V12.7h2.1c.6 0 1-.4 1-1V9.4c0-2.1-1.7-3.7-3.7-3.7h-8.5V3.1c0-1.7-1.4-3.1-3.1-3.1h-8.9c-1.7 0-3.1 1.4-3.1 3.1v2.6H4A3.7 3.7 0 00.3 9.4v2.3c0 .6.4 1 1 1h2.1v32.5c0 2.6 2.2 4.8 4.9 4.8zm26.4-4.8c0 1.6-1.3 2.8-2.8 2.8H8.3a2.8 2.8 0 01-2.8-2.8V12.7h29.3v32.5h-.1zM14.5 3.1c0-.6.5-1.1 1.1-1.1h8.9c.6 0 1.1.5 1.1 1.1v2.6h-11V3.1h-.1zM2.3 9.4c0-1 .8-1.7 1.7-1.7h32c1 0 1.7.8 1.7 1.7v1.3H2.3V9.4z'/%3E%3Cpath d='M27.9 43.2c.6 0 1-.4 1-1V18.4c0-.6-.4-1-1-1s-1 .4-1 1v23.8c0 .6.5 1 1 1zm-7.8 0c.6 0 1-.4 1-1V18.4c0-.6-.4-1-1-1s-1 .4-1 1v23.8c0 .6.4 1 1 1zm-7.9 0c.6 0 1-.4 1-1V18.4c0-.6-.4-1-1-1s-1 .4-1 1v23.8c0 .6.4 1 1 1z'/%3E%3C/g%3E%3C/svg%3E");
}
.pd-modal-body .pd-body-controls .edit-panel button.delete:hover, .pd-modal-body .pd-body-controls .edit-panel button.delete:focus {
    background-color: crimson;
}
.pd-modal-body .pd-body-controls .edit-panel button.underline {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='19' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23FFF' stroke-width='2' fill='none' fill-rule='evenodd'%3E%3Cpath d='M2 0v7a6 6 0 1012 0V0M0 18h16'/%3E%3C/g%3E%3C/svg%3E");
}
.pd-modal-body .pd-body-controls .edit-panel button.rotate {
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23FFF' stroke-width='2' fill='none' fill-rule='evenodd'%3E%3Cpath d='M21 2v6h-6'/%3E%3Cpath d='M18.49 13a9 9 0 11-2.12-9.36L21 8'/%3E%3C/g%3E%3C/svg%3E");
}
.pd-modal-body .pd-body-controls .edit-panel button.bold {
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23FFF' stroke-width='2' fill='none' fill-rule='evenodd'%3E%3Cpath d='M1 1h8a4 4 0 110 8H1V1zM1 9h9a4 4 0 110 8H1V9z'/%3E%3C/g%3E%3C/svg%3E");
}
.pd-modal-body .pd-body-controls .edit-panel button.italic {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 0H5a1 1 0 100 2h1.52l-3.2 8H1a1 1 0 000 2h6a1 1 0 000-2H5.48l3.2-8H11a1 1 0 000-2z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E");
}
.pd-modal-body .pd-body-controls .edit-panel dl {
    display: block;
}
.pd-modal-body .pd-body-controls .edit-panel dt {
    display: inline-block;
    width: 110px;
    margin-bottom: 10px;
    vertical-align: top;
}
.pd-modal-body .pd-body-controls .edit-panel dd {
    display: inline-block;
    width: calc(100% - 110px);
    margin-bottom: 10px;
    font-weight: normal;
}
.pd-modal-body .pd-body-controls .edit-panel .remove-white-background {
    margin-top:  15px;
}
.pd-modal-body .pd-body-controls .edit-panel.image label.remove-white-bg-label {
    margin-top: 10px;
    width: auto;
}
.pd-modal-body .pd-body-controls .edit-panel.image button.delete {
    margin-left: 0;
    margin-top: 10px;
}
.pd-modal-body .pd-body-controls .saved-images-panel {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    width: 100%;
}
.pd-modal-body .pd-body-controls .saved-images-panel img {
    display: inline-block;
    vertical-align: top;
    width: 110px;
    cursor: pointer;
}

.pd-modal-body .pd-body-controls .action-buttons {
    margin-top: 30px;
}
.pd-modal-body .pd-body-controls .action-buttons p.small-note {
    font-weight: normal;
}
aside.product-designer-modal .pd-modal-body .pd-body-controls .action-buttons button {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 3px;
    background-color: orangered;
    opacity: 0.7;
    height: 32px;
    color: white;
    font-size: 12px;
}
.pd-modal-body .action-buttons button .dz-image, .pd-modal-body .action-buttons button .dz-details, .pd-modal-body .action-buttons button .dz-error-message, .pd-modal-body .action-buttons button .dz-success-mark, .pd-modal-body .action-buttons button .dz-error-mark {
    display: none;
}
.pd-modal-body .action-buttons button .dz-upload {
    display: block;
    height: 5px;
    background: blue;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0 0 3px 3px;
}
.pd-modal-body .action-buttons button .dz-complete { display: none; }
aside.product-designer-modal .pd-modal-body .pd-body-controls .action-buttons button:hover, aside.product-designer-modal .pd-modal-body .pd-body-controls .action-buttons button:focus {
    opacity: 1;
    background-color: orangered;
    color: white;
}
.pd-modal-body .pd-body-controls .options-panel {
    /* border-top: 1px solid #ddd; */
    padding-top: 20px;
    position: absolute;
    bottom: 20px;
    left: 40px;
    right: 40px;
}
.pd-modal-body .pd-body-controls .options-panel .buttons {
    text-align:  center;
}
.pd-modal-body .pd-body-controls .options-panel button.primary {
    display: inline-block;
    max-width: 190px;
    margin-left:  auto;
    margin-right:  auto;
    margin-bottom:  15px;
    background-color: #214fff;
    color: white;
    width:  100%;
    height:  50px;
    vertical-align: top;
}
.pd-modal-body .pd-body-controls .options-panel button.secondary {
    display: inline-block;
    max-width: 160px;
    margin-left:  15px;
    margin-bottom:  15px;
    background-color: #33A71B;
    color: white;
    width:  100%;
    height:  50px;
}
.pd-modal-body .pd-body-controls .printable-area {
    opacity: 0.7;
}
.pd-modal-body .pd-body-controls .disclaimer {
    font-size: 12px;
    opacity: 0.7;
    font-weight: 400;
    line-height: 1.2;
}
.pd-modal-body .pd-body-controls .clear-all {
    text-align:  center;
}
.pd-modal-body .pd-body-controls .clear-all a {
    color: crimson;
    opacity: 0.5;
    margin-bottom: 5px;
    display:  inline-block;
}
.pd-modal-body .pd-body-controls .clear-all a:hover, .pd-modal-body .pd-body-controls .clear-all a:focus {
    opacity: 1;

}
.pd-modal-inner .pd-modal-footer {
    display: flex;
    height: 52px;
    width: 100%;
    background: #292D41;
    color: white;
    border-radius: 0 0 3px 3px;
    padding: 8px 30px 0;
    flex-direction: row-reverse;
}
.pd-modal-footer .pd-footer-left {
    flex: 0 50%;
    text-align: left;
}
.pd-modal-footer .pd-footer-right {
    flex: 0 50%;
    text-align: right;
}
aside.product-designer-modal .pd-modal-inner button.button {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 14px;
    opacity: 0.8;
}
aside.product-designer-modal .pd-modal-inner button.button:hover, aside.product-designer-modal .pd-modal-inner .button:focus {
    opacity: 1;
}
.pd-modal-footer .button.primary, .pd-modal-footer .button.primary:hover, .pd-modal-footer .button.primary:focus {
    background-color: #214fff;
    color: white;
}
.pd-modal-footer .button.secondary, .pd-modal-footer .button.secondary:hover, .pd-modal-footer .button.secondary:focus {
    width: 190px;
    border: 2px solid white;
    color: white;
    background-color: transparent;
}
.pd-modal-confirm {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: 10;
}
.pd-modal-confirm-inner {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-40%);
    transition: all 0.2s ease-in-out;
    height: 200px;
    width: 380px;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.3);
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 3px;
}
.pd-modal-confirm.active {
    pointer-events: all;
    opacity: 1;
}
.pd-modal-confirm.active .pd-modal-confirm-inner {
    opacity: 1;
    transform: translate(-50%,-50%);
}
.pd-modal-confirm-inner p {
    font-size: 14px;
}
.pd-modal-confirm .pd-modal-confirm-inner a.add-to-cart {
    background: #214fff;
    border-radius: 3px;
    margin-top: 10px;
    height: 37px;
    font-size: 13px;
    opacity: 0.7;
}
.pd-modal-confirm .pd-modal-confirm-inner a.add-to-cart:hover, .pd-modal-confirm .pd-modal-confirm-inner a.add-to-cart:focus {
    opacity: 1;
    background: #214fff;
}
.pd-modal-confirm-inner .no-confirm {
    font-size: 13px;
    margin-top: 10px;
    opacity: 0.7;
    display: inline-block;
}
.pd-modal-confirm-inner .no-confirm:hover, .pd-modal-confirm-inner .no-confirm:focus {
    text-decoration: none;
}
.pd-modal-confirm .pd-saving, .pd-modal-confirm .pd-success, .pd-modal-confirm.saving .pd-are-you-sure, .pd-modal-confirm.success .pd-are-you-sure {
    display: none;
}
.pd-modal-confirm .pd-are-you-sure, .pd-modal-confirm.saving .pd-saving, .pd-modal-confirm.success .pd-success {
    display: block;
}
.pd-modal-confim-inner .pd-saving p {
    margin-top: 20px;
    font-size: 17px;
}

/* MOBILE VERSION */
@media (max-width: 767px) {
    .pd-modal-inner {
        width: 100%;
        /* max-width: 550px; */
        height: auto;
    }
    .pd-modal-inner .pd-modal-body {
        display: block;
        overflow: visible;
    }
    .pd-modal-body .pd-body-design {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    .pd-modal-body .pd-body-design .pd-design-view-label {
        bottom: 5px;
        left: 10px;
    }
    .pd-modal-body .pd-body-design button.button.switch-view {
        bottom: 5px;
        right: 5px;
        padding: 3px 11px;
        height: 30px;
    }
    .pd-modal-body .pd-body-controls { 
        padding: 10px;
        padding-bottom: 10px;
    }
    aside.product-designer-modal .pd-modal-body .pd-body-controls .action-buttons {
        text-align: center;
    }
    aside.product-designer-modal .pd-modal-body .pd-body-controls .action-buttons button { 
        margin-bottom: 10px;
        font-size: 11px;
    }
    .pd-modal-body .pd-body-controls .options-panel {
        position: relative;
        bottom: auto;
        left: 0;
        right: 0;
        padding-top: 12px;
        margin-top: 12px;
    }
    .pd-modal-body .pd-body-saved-images {
        width: 90%;
        max-width: none;
    }
}