/* theme overrides */

.pro_cart_block {
  flex-direction: column-reverse !important;
  align-items: normal;
}

.pro_cart_right {
  width: 100%;
}

.product-line-grid {
  flex-wrap: wrap;
}

.js-tso-cart-line-product-quantity.disabled ~ .input-group-btn-vertical {
  display:none;
}


/* module */
/* PersoProperty */

.plPersoBox {
  width: 100%;
}

.persoText {
    padding: 7px;
    width: 100%;
    max-width: 100%;
    min-width: 300px;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    margin-bottom: 10px;
    color: #666;
    background-color: #f8f8f8;
    border-bottom: solid 2px #767676;
}

.persoText:focus::placeholder { color:transparent; }
.persoText:focus::-webkit-input-placeholder { color:transparent; }
.persoText:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
.persoText:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
.persoText:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */

.plLetterTextBlock {
    position: relative;
}

.plLetterTextCounter {
    text-align: right;
    font-size: 11px;
    color: #999;
}

.plTitle {
    display: block;
}

.plPersoBox {
    margin-bottom: 20px;
}

#plLetterPreview {
    position: relative;
    float: left;
}

.plPreview {
    position: relative;
    overflow: hidden;
    width: auto;
    height: auto;
    float: left;
}

.plPreview img {
    max-width: 100%;
    margin: auto;
    border: solid 1px #dbdbdb;
}

.plPreview:after {
    font-family: "FontAwesome";
    color: #c0c0c0;
    font-size: 20px;
    line-height: 22px;
    content: "\f00e";
    font-weight: normal;
    margin: 0 0 0 4px;
    display: block;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.5);
    -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    line-height: 30px;
    text-align: center;
    position: absolute;
    left: calc(50% - 19px);
    top: calc(50% - 15px);
}

.plPersoBox h4 span.plNr {
    display: inline-block;
    background: #88b027;
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    white-space: nowrap;
    border-radius: 50%;
    text-align: center;
    margin-right: 10px;
}

.plPersoBox h4 span.plNr.plNrDisabled {
    background: #f2f3f5;
    color: #464646;
}

.plPersoBox .plStHidden {
    display: none;
}

.plPrice {
    font: normal 24px/38px "MuseoSlab-900";
    color: #741a42;
}

button#plLetterPreviewAgreed {
    margin: 10px 0 20px 0;
}

button#plLetterPreviewAgreed.inactive span {
    background: #c9c9c9;
    color: #464646;
}

.plYourPrice {
    display: block;
    margin: 5px 0;
    font: normal 14px/19px "MuseoSlab-500";
    color: #464646;
}

.plPersoInfo {
    display: block;
    margin: 5px 0;
    line-height: 19px;
}

.plCartLine {
    display: block;
}

.plDeletePerso {
    display: block;
    cursor: pointer;
    line-height: 23px;
}

.plDeletePerso:before {
    font: normal 15px/25px "FontAwesome";
    content: "\f056";
    content: "\f1f8";
    background: #d2d2d2;
    color: #464646;
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    line-height: 25px;
    text-align: center;
    margin: 0 5px 0 10px;
}

.image-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.image-preview-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

#preview-image {
    display: block;
    max-width: 100%;
}

#persoletters-variants i,
#persoletters-variants div {
    color: #ae5712 !important;
    text-align: center;
}

#persoletters-variants div {
    font-size: 1.2em;
}

#persoletters-variants .list-group-item.active {
    background-color: #ae57123d;
    border-color: #ae57123d;
}
.change-variant:hover {
    cursor: pointer;
}
.persoPhotoStep {
    gap: 1em;
}

#generatePreviewContainer {
    display: none;
}

#generatePreviewButton {
  cursor: pointer;
  background-color: rgb(108, 117, 125);
  border-color: rgb(108, 117 ,125);
  color: rgb(255, 255, 255);
  display: block;
  width: 100%;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  font-size: 1rem;
  line-height: 1.5;
  border-width: 1px;
  border-style: solid;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
}

#plLetterPreviewAgreed {
  background-color: #88b027;
  border-color: #88b027;
}

.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(1.5em + .75rem + 2px);
  margin-bottom: 0;
}

.custom-file-input {
   position: relative;
   z-index: 2;
   width: 100%;
   height: calc(1.5em + .75rem + 2px);
   margin: 0;
   overflow: hidden;
   opacity: 0;
 }

.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(1.5em + .75rem + 2px);
  padding: .375rem .75rem;
  overflow: hidden;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: .25rem;
}

.custom-file-input ~ .custom-file-label[data-browse]::after {
  content: attr(data-browse);
}
.custom-file-label::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  height: calc(1.5em + .75rem);
  padding: .375rem .75rem;
  line-height: 1.5;
  color: #495057;
  content: "Browse";
  background-color: #e9ecef;
  border-left: inherit;
  border-radius: 0 .25rem .25rem 0;
}


/* persoAddons */

.page-product-tabs {
  width: 100%;
}

#pgProductTabs {
  border-radius:6px;
  border: solid 1px #741a42;
  padding: 3px;
  margin-bottom: 15px;
}

#pgProductTabs .nav-item:first-child .nav-link {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#pgProductTabs .nav-item:last-child .nav-link {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#pgProductTabs .nav-link {
  color: #741a42;
  background-color: rgba(116, 26, 66, 0.15);
  font-weight: bold;
  font-size: 14px;
  padding: 12px 20px;
}

#pgProductTabs .nav-link.active {
  color: #fff;
  background-color: #741a42;
  font-weight: bold;
  font-size: 14px;
}

#pgProductTabs .nav-link:hover {
  color: #fff;
  background-color: rgba(116, 26, 66, 0.80);
  font-weight: bold;
  font-size: 14px;
}


#pgStickerChoicer {
  width: 100% !important;

}

#pgStickerText {
  padding: 7px;
  max-width: 100%;
  width: 100%;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  margin-bottom: 10px;
}

.pgStickerTextBlock {
  position: relative;
}

#pgStickerTextCounter {
  position: absolute;
  display: block;
  right: 3px;
  top: -20px;
  width: 50px;
  min-width: 50px;
  max-width: 50px;
  text-align: right;
  font-size: 11px;
  color: #999;
}

.pgTitle {
  display: block;
}

.pgPersoBox {
  margin-bottom: 20px;
}

#pgStickerPreview {
  position: relative;
  float: left;
}

.pgPreview {
  position: relative;
  overflow: hidden;
  width: auto;
  height: auto;
  float: left;
}

.pgPreview img {
  max-width: 180px;
  max-height: 180px;
  border: solid 1px #dbdbdb;
}

.pgPreview:after {
  font-family: "FontAwesome";
  color: #c0c0c0;
  font-size: 20px;
  line-height: 22px;
  content: "\f00e";
  font-weight: normal;
  margin: 0 0 0 4px;
  display: block;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.5);
  -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  line-height: 30px;
  text-align: center;
  position: absolute;
  left: calc(50% - 19px);
  top: calc(50% - 15px);
}

.pgPersoBox h4 span.pgNr {
  display: inline-block;
  background: #88b027;
  color: #fff;
  width: 30px;
  height: 30px;
  line-height: 33px;
  white-space: nowrap;
  border-radius: 30px;
  text-align: center;
  margin-right: 10px;
}

.pgPersoBox h4 span.pgNr.pgNrDisabled {
  background: #f2f3f5;
  color: #464646;
}

.pgPersoBox .pgStHidden {
  display: none;
}

.pgPrice {
  font: normal 24px/38px "MuseoSlab-900";
  color: #741a42;
}

button#pgStickerPreviewAgreed {
  margin: 10px 0 20px 0;
}

button#pgStickerPreviewAgreed.active span {
  background: #88b027;
}

button#pgStickerPreviewAgreed.inactive span {
  background: #c9c9c9;
  color: #464646;
}

.pgYourPrice {
  display: block;
  margin: 5px 0;
  font: normal 14px/19px "MuseoSlab-500";
  color: #464646;
}

.pgPersoInfo {
  display: block;
  margin: 5px 0;
  line-height: 19px;
}

.pgCartLine {
  display: block;
}

.pgDeletePerso {
  display: block;
  cursor: pointer;
  line-height: 23px;
}

.pgDeletePerso:before {
  font: normal 25px/25px "FontAwesome";
  content: "\f1f8";
  /*background: #d2d2d2;*/
  color: #464646;
  display: inline-block;
  width: 25px;
  height: 25px;
  border-radius: 25px;
  text-align: center;
  margin: 0 5px 0 10px;
}

