@import url('https://fonts.googleapis.com/css2?family=Wire+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
.docs-data>.input-group {
    margin-bottom: 0.5rem;
}

.docs-data .input-group-prepend .input-group-text {
    min-width: 4rem;
}

.docs-data .input-group-append .input-group-text {
    min-width: 3rem;
}

.docs-buttons>.btn,
.docs-buttons>.btn-group,
.docs-buttons>.form-control {
    margin-bottom: 0.5rem;
    margin-right: 0.25rem;
}

.docs-toggles>.btn,
.docs-toggles>.btn-group,
.docs-toggles>.dropdown {
    margin-bottom: 0.5rem;
}

.docs-tooltip {
    display: block;
    margin: -0.5rem -0.75rem;
    padding: 0.5rem 0.75rem;
}

.docs-tooltip>.icon {
    margin: 0 -0.25rem;
    vertical-align: top;
}

.tooltip-inner {
    white-space: normal;
}

.btn-upload .tooltip-inner,
.btn-toggle .tooltip-inner {
    white-space: nowrap;
}

.btn-toggle {
    padding: 0.5rem;
}

.upload_container {
    width: calc(100% - 650px);
    background-color: #f5f5f5;
    padding: 12px;
}

.template_container {
    background-color: #f5f5f5;
    height: 100%;
}

.canvas_container {
    min-height: 550px;
    width: 650px;
    background: url("../img/checkerboard.png") repeat left top;
    position: relative;
    display: table;
    padding-top: 50px;
}

.button_container1 {
    width: calc(100% - 650px);
    background-color: #82b338;
    padding: 0px;
}

.canvas_wrapper {
    text-align: center;
    display: table-cell;
    position: relative;
    vertical-align: middle;
}

.canvas_wrapper_inner {
    display: inline-block;
    box-shadow: 0 0 7px 0 #333;
}

#PTKcanvas {
    display: block;
    box-shadow: 0 0 5px 0 #555;
    -moz-user-select: none;
    border: 1px solid #ddd;
}

.cell {
    position: absolute;
    cursor: pointer;
}

.cell.withimage {
    cursor: move;
}

.BGIMG_selector {
    /*    height: 100px;
    box-shadow: 0 0 5px 0 #555;*/
    text-align: center;
}

.PTKTmeplateChooseIline {
    height: 660px;
    overflow-y: auto;
    overflow-x: hidden;
    background: none;
    border: 2px dotted rgb(204, 204, 204);
    position: relative;
}

.template_container {
    height: 670px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}
.template_heading {
  background-color: #22222291;
  color: #fff;
  font-size: 14px;
  border-right: 1px solid #fff;
  text-align: center;
  vertical-align: middle;
  padding-top: 5px;
  padding-bottom: 5px;
}
.PTKuploadDropZone {
    width: 100%;
    height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    background: none;
    border: 2px dashed rgb(204, 204, 204);
    position: relative;
}

.PTKuploadDropZone .PTK-progress-bar-container {
    width: calc(100% - 4px);
    height: 4px;
    top: 2px;
    left: 2px;
    background: white;
    border: 1px solid #ddd;
    position: absolute;
    transition: 0.5s ease-in-out all;
    overflow: hidden;
    display: none;
}

.PTKuploadDropZone .PTK-progress-bar-container>div {
    position: relative;
    width: 100%;
    height: 100%;
}

.PTKuploadDropZone .PTK-progress-bar-container .PTK-progress-bar {
    width: 0%;
    height: 4px;
    top: 0px;
    left: 0px;
    background: darkblue;
    position: absolute;
    transition: 0.1s ease-in-out all;
}

.dropzone .dz-preview {
    margin: 8px !important;
}

.icon {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: never;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;
    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;
    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;
    /* You can be more comfortable with increased icons size */
    /* font-size: 120%; */
    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.tooltipster-box .icon,
.tooltipster-box .quality {
    vertical-align: middle;
    margin-left: 3px;
    margin-right: 3px;
}

.tooltipster-box .quality {
    background-image: url('../img/image-quality.png');
    background-repeat: no-repeat;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    display: inline-block;
}

.tooltipster-box .quality-high {
    background-position: 0px 0px;
}

.tooltipster-box .quality-medium {
    background-position: -22px 0px;
}

.tooltipster-box .quality-low {
    background-position: -44px 0px;
}

.tooltipster-base {
    pointer-events: all;
}

.PTK-collage {
    max-height: 602px;
}

.PTK-collage .collage-menu {
    display: table;
    margin: 0;
    width: 100%;
    margin-bottom: 15px !important;
}

.PTK-collage .collage-menu li {
    background-color: #22222291;
    color: #fff;
    cursor: pointer;
    display: table-cell;
    font-size: 14px;
    border-right: 1px solid #fff;
    padding: 0;
    text-align: center;
    vertical-align: middle
}

.PTK-collage .collage-menu li:first-child {
    background-color: #e93a7d;
    padding: 0;
    position: relative;
    /*width: 310px;*/
    overflow: hidden;
    z-index: 2
}

.PTK-collage .collage-menu li:first-child:hover {
    background-color: #e93a7d70;
}

.PTK-collage .collage-menu li.active:first-child {
    animation: pulse 1s;
    animation-iteration-count: 3;
    -webkit-font-smoothing: subpixel-antialiased;
    transform: translateZ(0);
    background-color: #ff9b00
}

.PTK-collage .collage-menu li.active:first-child:hover {
    background-color: #ff6b00
}

.PTK-collage .collage-menu li:hover {
    background-color: #e93a7d
}

.PTK-collage .collage-menu li.disabled {
    background-color: #ccc
}

.PTK-collage .collage-menu li a {
    color: #fff;
    display: block;
    padding: 15px 0;
    text-decoration: none
}

.PTK-collage .collage-menu .icon {
    font-size: 20px;
    vertical-align: -2px
}

.save-and-send .hidden {
    display: none;
    position: absolute;
    top: 50px;
    background-color: #aaa;
    padding: 10px 20px;
    width: 300px;
    z-index: 10;
    cursor: default;
}

.PTK-collage input:not(#TextForTempl,
#TextForTempl2nd) {
    cursor: pointer;
    height: 100%;
    left: 0;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 100%;
    min-height: 50px;
}

.PTK-collage .collage-menu .save-and-send {
    background-color: #4e8028;
}

.PTK-collage .collage-menu .save-and-send:hover {
    background-color: #457123;
}

.collage-menu li {
    padding-top: 15px;
    padding-bottom: 15px;
}

#template_chooser .modal-dialog {
    width: 50vw !important;
    max-width: 50vw !important;
    margin-left: 10px;
    margin-right: auto;
}

.zoominout {
    display: none;
    position: absolute;
    /*border: #333;
    box-shadow: 0 0 5px 0 #555;
    background: white;

     */
    width: 32px;
    height: 32px;
    right: 20px;
    top: 20px;
}

.canvas_container.LetterModeWrap .zoominout {
    display: table;
    vertical-align: middle;
    text-align: center;
    z-index: 1000;
}

.canvas_container .icon-zoom-in,
.canvas_container .icon-zoom-out {
    display: none;
    font-size: 32px;
    cursor: pointer;
}

.canvas_container.LetterModeWrap .zoominout.zoomin .icon-zoom-out {
    display: inline-block;
}

.canvas_container.LetterModeWrap .zoominout.zoomout .icon-zoom-in {
    display: inline-block;
}

#modal_cropper .modal-dialog {
    width: 70vw !important;
    max-width: 70vw !important;
    margin-left: auto;
    margin-right: auto;
}

#modal_preview .modal-dialog {
    width: 70vw !important;
    max-width: 70vw !important;
    margin-left: auto;
    margin-right: auto;
}

#modal_finish .modal-dialog {
    width: 70vw !important;
    max-width: 70vw !important;
    margin-left: auto;
    margin-right: auto;
}

#modal_finish .modal-body {
    height: 30vw;
}

#modal_finish #final_image {
    display: none;
}

#modal_finish.loading .loader_icon {
    display: block;
}

#modal_finish.loading * {
    pointer-events: none;
}

#modal_finish:not(.loading) #final_image {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#modal_finish:not(.loading) .loader_icon {
    display: none;
}

#modal_finish #final_image i {
    font-size: 24px;
}

#final_image_container {
    width: 100%;
    height: 50vh;
    overflow-y: auto;
}

#final_image_generator {
    width: 100%;
    height: 0px;
}

#modal_info .modal-dialog {
    width: 70vw !important;
    max-width: 70vw !important;
    margin-left: auto;
    margin-right: auto;
}

.img-crop-div {
    text-align: center;
}

#image_container {
    display: inline-block;
    margin-right: auto;
    margin-left: auto;
}

.dz-preview {
    border: 1px solid #ddd;
    height: 120px;
    width: 120px;
}

.PTK-wait {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: table;
    vertical-align: middle;
    text-align: center;
}

.PTK-wait>div {
    height: 100%;
    width: 100%;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.color-white {
    color: white !important;
}

.color-green {
    color: #82b338 !important;
}

.font-size-24 {
    font-size: 24px;
}

.moveinside {
    box-shadow: 0 0 7px black;
}

.moveinside::before {
    border: 1px solid white;
    pointer-events: none;
    content: ' ';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.BW img {
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.saturate img {
    -webkit-filter: saturate(1.7);
    /* Safari 6.0 - 9.0 */
    filter: saturate(1.7);
}

#PreviewPlaceholder {
    max-width: 100%;
    width: 50vh;
    height: 50vh;
}

#SelectedSizeInfo {
    /*text-align: center;*/
    padding-top: 4px;
    /*position: absolute;*/
    top: 10px;
    left: 16px;
    border: 1px solid #777;
    background: #fff;
    box-shadow: 0 0 5px 0 #555;
    width: 100%;
    /*height: 72px;*/
    padding-left: 10px;
}

#SelectedSizeInfo .selectesizewidthheight,
#SelectedSizeInfo .selectedsizeprice {
    font-size: 12px;
    font-weight: bold;
}


/* sizes ===>> */

.size-tbl table {
    width: 100%;
}

.size-tbl th {
    color: #cd9d4e;
    font-size: 12px;
    padding-bottom: 10px;
    text-align: center;
}

.size-tbl .size-img {
    width: 40px;
    display: inline-block;
}

.cv-multi .size-tbl .size-img {
    width: 55px;
}

.size-img {
    margin: 0;
    padding: 0;
    text-align: center;
    cursor: pointer;
}

.size-img.active {
    background-color: #337ab7;
    color: #fff;
}

.size-img:hover {
    background-color: #ddd;
    color: #337ab7;
}

.size-img.active:hover {
    background-color: #337ab7;
    color: #fff;
}

.size-img a {
    display: inline-block;
    color: #337ab7;
    text-decoration: none;
}

.size-img h5 {
    font-size: 10px;
    margin-top: 15px;
    height: 20px;
    text-align: center;
    word-wrap: break-word;
}

.effect-img {
    float: left;
    position: relative;
    min-width: 1px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

.effect-img.active {
    background-color: #337ab7;
    color: #fff;
}

.effect-tbl td {
    width: 25%;
}

.effect-img:hover {
    background-color: #ddd;
    color: #337ab7;
}

.effect-img.active:hover {
    background-color: #337ab7;
    color: #fff;
}

.app-box-PTK .size-img1 {
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#aceadf))!important
}

.app-box-PTK .effect-img h5,
.app-box-PTK .size-img h5 {
    font-size: 10px;
    margin: 0;
    padding: 15px 0;
    border: 0;
    height: auto;
    vertical-align: middle;
    display: block
}

.app-box-PTK .size-img2 {
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#80eeff))!important
}

.app-box-PTK .size-img3 {
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#66ffc0))!important
}

.app-box-PTK .effect-img,
.app-box-PTK .size-img {
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#f7f7f7));
    box-shadow: 0 0 2px #e1e1e1;
    border: 0 solid #f9f9f9;
    box-sizing: content-box;
    margin: 2px;
    padding: 0;
    height: auto!important;
    min-height: 40px;
    display: block!important;
    float: none
}

.app-box-PTK .effect-img,
.app-box-PTK .size-img {
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#f7f7f7));
    box-shadow: 0 0 2px #e1e1e1;
    border: 0 solid #f9f9f9;
    box-sizing: content-box;
    margin: 2px;
    padding: 0;
    height: auto!important;
    min-height: 40px;
    display: block!important;
    float: none
}

.app-box-PTK,
table.app-box-PTK {
    width: 366px;
    margin-right: 8px;
}

.app-box-PTK thead {
    width: 366px;
}

.app-box-PTK tbody {
    height: calc(70vh - 48px);
    overflow-y: auto;
    display: block;
    width: 366px;
}

.app-box-PTK thead th {
    width: 140px;
    display: inline-block;
}

.app-box-PTK thead th:first-child {
    width: 70px;
}

.app-box-PTK tbody td {
    width: 70px;
}

#InfoPreviewContainer {
    position: relative;
    width: 100%;
    height: 70vh;
    background-image: url("../img/sofa.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#InfoPreviewContainer #InfoPreviewPlaceholder {
    position: absolute;
    box-shadow: -2px 2px 8px 0 #000;
}

#PreviewContainer {
    position: relative;
    width: 100%;
    height: 70vh;
    background-image: url("../img/checkerboard.png");
    background-repeat: repeat;
    background-position: center;
}

#PreviewContainer #PreviewPlaceholder {
    position: absolute;
    box-shadow: -2px 2px 8px 0 #000;
}


/* sizes <<<== */

.canvas_wrapper {
    max-height: 550px;
    height: 550px;
    position: absolute;
    max-width: 648px !important;
    width: 648px;
    overflow: auto;
    display: block;
}

.canvas_wrapper_relative {
    height: 100%;
    width: 100%;
    position: relative;
    vertical-align: middle;
    overflow: visible;
}
.PTK-template-preview-cell{
    cursor:pointer;
}
.canvas_wrapper.LetterModeWrap {
}

.TextChooser {
    display: none;
    position: absolute;
    left: 20px;
    right: 70px;
    top: 20px;
}

.TextChooser .text2ndline {
    display: none;
}

.TextChooser input {
    background: white;
    pointer-events: all;
    opacity: 1;
}

.TextChooser>div,
.TextChooser .input-group-text,
.TextChooser input,
.TextChooser button {
    height: 24px !important;
    min-height: 24px !important;
    padding-top: 0px;
    padding-bottom: 0px;
}

.TextChooser button {
    background: rgb(206, 212, 218);
}

.TextChooser * {
    font-size: 12px;
    line-height: 24px
}

#TextForTempl {
    font-size: 12px;
    height: 24px;
    max-height: 24px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.canvas_container.LetterModeWrap .TextChooser {
    display: block;
    z-index: 1000;
}

.canvas_container.LetterModeWrap.twolines .text2ndline {
    display: block;
}

#modal_select_bg .modal-body {
    position: relative;
}

#modal_select_bg .PTK-progress-bar-container-BG {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 4px;
    z-index: 1000;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    position: absolute;
    transition: 0.5s ease-in-out all;
    overflow: hidden;
    display: none;
}

#modal_select_bg .PTK-progress-bar-container-BG>div {
    position: relative;
    width: 100%;
    height: 100%;
}

#modal_select_bg .PTK-progress-bar-container-BG .PTK-progress-bar-BG {
    width: 0%;
    height: 4px;
    top: 0px;
    left: 0px;
    background: darkblue;
    position: absolute;
    transition: 0.1s ease-in-out all;
}

#modal_finish .modal-body {
    position: relative;
}

#modal_finish .PTK-progress-bar-container-SAVE {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 16px;
    z-index: 1000;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    position: absolute;
    transition: 0.5s ease-in-out all;
    overflow: hidden;
    display: none;
    text-align: center;
}

#modal_finish .PTK-progress-bar-container-SAVE>div {
    position: relative;
    width: 100%;
    height: 100%;
}

#modal_finish .PTK-progress-bar-container-SAVE .PTK-progress-bar-SAVE {
    width: 0%;
    height: 4px;
    top: 0px;
    left: 0px;
    background: darkblue;
    position: absolute;
    transition: 0.1s ease-in-out all;
    overflow: hidden;
}

#modal_finish .PTK-progress-bar-container-SAVE .PTK-progress-bar-SAVE .outerText-progress-bar-SAVE {
    color: darkblue;
    font-size: 10px;
    font-family: Arial;
}

#modal_finish .PTK-progress-bar-container-SAVE .PTK-progress-bar-SAVE .innerText-progress-bar-SAVE {
    text-align: center;
    color: white;
    font-size: 10px;
    font-family: Arial;
}

svg {
    pointer-events: none;
}

svg * {
    pointer-events: auto;
}

.BGIMGbuttons {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}


/*
.PTK-collage.zoomedin .BGIMGbuttons {

    top: -30px;
    left: 0px;
}


 */

.BGNONeditMode,
.BGeditMode {
    width: 24px;
    height: 24px;
    display: none;
    font-size: 18px;
    padding: 2px;
    float: left;
}

#zoomInBG {
    left: 56px;
}

#zoomOutBG {
    left: 84px;
}

#startMoveBG i,
.BGeditMode i {
    margin: 0px 0px 0px -6px;
}

.canvas_wrapper.withbgimg .BGNONeditMode {
    display: block;
}

.canvas_wrapper.withbgimg.bgmovemode .BGeditMode {
    display: block;
}

.canvas_wrapper.bgmovemode .BGNONeditMode {
    display: none;
}

.canvas_wrapper .BGeditMode {
    display: none;
}

.canvas_wrapper.bgmovemode .canvas_wrapper_inner:before {
    border: 3px red solid;
    content: ' ';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    pointer-events: none;
}

.BGNONeditMode .icon-zoom-in,
.BGNONeditMode .icon-zoom-out {
    display: inline-block;
    font-size: 18px !important;
    margin-left: -2px;
}

.PTK-collage.BGMOVErejimi .cell,
.PTK-collage.BGMOVErejimi .collage-menu *,
.PTK-collage.BGMOVErejimi .upload_container * {
    pointer-events: none !important;
}

.PTK-collage.BGMOVErejimi .zoominout,
.PTK-collage.BGMOVErejimi .TextChooser {
    display: none;
}

.PTK-collage .btn-light {
    background-color: rgb(248, 249, 250);
    border-radius: 4px;
    box-sizing: border-box;
    color: rgb(33, 37, 41);
    cursor: pointer;
    line-height: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 18px;
    height: 24px;
    margin: 0px;
    overflow: visible;
    padding: 2px;
    text-align: center;
    user-select: none;
    vertical-align: middle;
    width: 24px;
}

.PTK-collage .btn-success {
    background-color: rgb(40, 167, 69);
    border-radius: 4px;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;
    height: 38px;
    letter-spacing: normal;
    line-height: 24px;
    margin: 4px;
    overflow: visible;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
}

.PTK-collage .btn-success:hover {
    background-color: rgb(30, 126, 52);
}

#modal_cropper .btn-primary {
    background-color: rgb(0, 123, 255);
    border: 1px solid rgb(0, 123, 255);
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;
    font-stretch: 100%;
    font-style: normal;
    height: 30px;
    letter-spacing: normal;
    line-height: 10px;
    margin: 0px;
    overflow: visible;
    padding: 6px 12px;
    pointer-events: auto;
    position: relative;
    text-align: center;
    vertical-align: middle;
}

#modal_cropper .btn-secondary {
    height: 30px;
    line-height: 10px;
    background-color: #6c757d;
}

.PTK-collage .btn-primary:hover,
#modal_cropper .btn-primary:hover {
    background: rgb(0, 98, 204);
}


/**************/

.app-box {
    overflow: inherit;
}

@media (max-width:1000px) {
    .container {
        max-width: 640px;
    }
    .PTK-collage {
        height: auto;
        max-height: initial;
    }
    .PTK-collage .col-lg-3.col-sm-12 {
        max-width: 100%;
        padding: 0;
    }
    .template_container {
        max-width: 100%;
        margin: auto;
        margin-bottom: 15px;
    }
    .canvas_container {
        min-height: 600px;
        width: 100%;
        overflow: scroll;
    }
    .upload_container {
        width: 100%;
        padding: 15px !important;
        margin-bottom: 15px;
    }
    .canvas_wrapper {
        width: 100% !important;
        height: 100% !important;
    }
    .PTK-collage .collage-menu li {
        width: 100% !important;
        display: inline-block;
        height: 50px;
        line-height: 50px;
    }
    .PTK-collage .collage-menu li a {
        display: contents;
    }