/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


html.mtrr-pod-preview-is-open {
    overflow: hidden
}

html.mtrr-pod-preview-is-open body {
    overflow: hidden
}


.mtrr-pod-preview-bg {
    position: fixed;
    visibility: visible;
    overflow: hidden;
    background: #0b0b0b;
    opacity: 1;
    transition: opacity .25s;
    z-index: 1042
}

.mtrr-pod-preview-loader {
    z-index: 1000;
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute
}

.mtrr-pod-preview-loader.blockUI.blockOverlay {
    position: relative;
}

.mtrr-pod-preview-loader.blockUI.blockOverlay::before {
    background: url("../images/loader.svg") center center;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(0, 0, 0, .75);
    content: "";
    width: 48px;
    height: 48px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    border: 3px solid #fff;
    margin: 0 auto;
    border-radius: 50%;
    border-left-color: transparent;
    border-right-color: transparent;
    animation: ast-qv-spin 575ms infinite linear
}

@keyframes ast-qv-spin {
    100% {
        transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.mtrr-pod-preview-bg-ready {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .6;
    visibility: visible
}

body #mtrr-pod-preview-modal div.product .flex-viewport {
    width: 100%;
    float: none
}

#mtrr-pod-preview-modal {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1400;
    text-align: center;
    transition: all .3s;
    overflow-x: hidden;
    overflow-y: auto
}

#mtrr-pod-preview-content div.images {
    min-width: 400px
}

#mtrr-pod-preview-modal .mtrr-pod-preview-content-main-wrapper {
    position: absolute;
    border-radius: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%
}

#mtrr-pod-preview-modal .mtrr-pod-preview-content-main-wrapper:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%
}

#mtrr-pod-preview-modal .mtrr-pod-preview-content-main {
    position: relative;
    pointer-events: none;
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
    transform: translateY(-30px);
    opacity: 0;
    transition: transform .5s, opacity .3s
}

#mtrr-pod-preview-modal .mtrr-pod-preview-content-main:after, #mtrr-pod-preview-modal .mtrr-pod-preview-content-main:before {
    content: '';
    display: table;
    clear: both
}

#mtrr-pod-preview-modal .ast-lightbox-content {
    display: table;
    pointer-events: auto;
    background-color: #fff;
    margin: 0 auto;
    box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, .15);
    position: relative;
    border-radius: 10px;
}

#mtrr-pod-preview-modal.open {
    visibility: visible;
    opacity: 1
}

#mtrr-pod-preview-modal.open .mtrr-pod-preview-content-main {
    transform: translateY(0);
    opacity: 1;
    width: 100%
}
#mtrr-pod-preview-modal .mtrr-pod-preview-content-main-head p{
    font-size: 18px;
    padding: 10px 30px;
    margin: 0;
    text-align: center;
    font-weight: bold;
}

#mtrr-pod-preview-content {
    height: 100%;
    overflow: hidden;
    max-height: 96vh;
    max-width: 98vw;
    padding: 0;
}


@media (min-width: 640px) {
    #mtrr-pod-preview-content {
        max-height: 90vh !important;
        max-width: 620px !important;
    }
}

#mtrr-pod-preview-content #mtrr-pod-preview-notice {
    margin:0;
    padding: 5px 15px 0 15px;
}

#mtrr-pod-preview-content #mtrr-pod-confirm {
    text-align: center;
    padding: 0 0 10px 0;
    margin: 0;
}

#mtrr-pod-preview-content #preview-img-container {
    text-align: center;
}

#mtrr-pod-preview-content #preview-img-container img {
    max-width: 100%;
}
#mtrr-pod-preview-content .pod-preview-img-box{
    padding: 0 20px;
}
.open .mtrr-pod-preview-loader {
    opacity: 0
}

#mtrr-pod-preview-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    color: #000;
    padding: 5px;
    margin: 0;
    line-height: 1;
}
#mtrr-pod-preview-close:hover {
    opacity: 1;
    transition: all .2s ease
}

#mtrr-pod-preview-close svg {
    width: 16px;
    height: 16px;
}

#mtrr-pod-preview-canvas-box .tool-notice{
    padding: 0 15px;
}
#mtrr-pod-preview-content .mtrr-pod-preview-product {
    margin-bottom: 1em;
    display: inline-block;
    margin-top: 0;
    padding: 13px 20px 18px;
    border-radius: 0.25rem;
    width: 100%;
    text-align: center;
}

.mtrr-pod-preview-product .preview-title {
    padding: 0 8px;
    margin-bottom: 0;
    font-size: 1em;
    font-weight: 600;
    text-align: center;
}

.mtrr-pod-preview-product .preview-image-container {
    margin: 0 auto;
}

.mtrr-pod-preview-product .preview-image-container img {
    margin: 0 auto;
    border-radius: 8px;
}


/* preview alert*/
#mtrr-pod-preview-content .preview-alert {
    padding: 30px 30px 0 30px;
    text-align: center;
}

#mtrr-pod-preview-content .preview-alert span.icon-notice {
    font-size: 40px;
    color: #f8bb86;
    padding: 15px;
    border-radius: 50%;
    border: 2px solid;
    width: 70px;
    height: 70px;
    display: inline-block;
    line-height: 1;
}

/* MTRR POD OPTION BLOCKS*/
.mtrr-pod-option-block {
    margin-bottom: 15px;
}

/* MTRR POD UPLOAD*/
.mtrr-pod-option .mtrr-pod-type-file input.file {
    display: none;
}

.mtrr-pod-ajax-uploader .button {
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.mtrr-pod-uploaded-file .remove {
    position: relative;
    top: 2px;
    cursor: pointer;
    font-size: 14px;
}

.mtrr-pod-uploaded-file-element .mtrr-pod-uploaded-file-info .file-size {
    opacity: 0.7;
}

.mtrr-pod-uploaded-file-element .mtrr-pod-uploaded-file-info .file-name {
    color: #000000;
    max-height: 28px;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 14px;
    font-size: 12px;
}

/*.mtrr-pod-type-file .mtrr-pod-uploaded-file-element.completed span.info label:before {
    content: '';
    width: 20px;
    height: 18px;
    background: #03bfac url('../images/icon-check.png') center no-repeat;
    background-size: 50%;
    border-radius: 50%;
    z-index: 10;
}*/

.mtrr-pod-type-file .mtrr-pod-uploaded-file-element.completed span.info .file-name {
    max-height: 28px;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 14px;
    font-size: 12px;
}

.mtrr-pod-type-file .mtrr-pod-loader-container {
    position: relative;
    top: 5px;
}

.mtrr-pod-type-file .mtrr-pod-uploaded-file span.info {
    display: flex;
    flex-direction: column;
    word-break: break-all;
    justify-content: center;
    margin-left:10px;
}

.mtrr-pod-type-file .mtrr-pod-uploaded-file span.info:after {
    content: "Ready to Preview and Edit!";
    font-weight: 700;
    color: #06b806;
    font-size: 12px;
    display: block;
}

.mtrr-pod-type-file .mtrr-pod-uploaded-file-info {
    display: flex;
    margin-bottom: 10px;
    /*justify-content: space-between;*/
}

.mtrr-pod-type-file .mtrr-pod-uploaded-file-element {
    margin-bottom: 0px;
}

.mtrr-pod-addon .mtrr-pod-option.allow-multiple .mtrr-pod-uploaded-file-element.completed {
    border-bottom: 1px solid #d1d1d1;
}

.mtrr-pod-type-file hr.upload-separator {
    border-top: 1px solid #c4c4c4;
    opacity: 0.6;
}

.mtrr-pod-file-preview{
    padding: 4px;
    border: 1px solid #cccccc;
}
.mtrr-pod-file-preview img{
    min-width: 40px !important;
    max-width: 60px !important;
}

.mtrr-pod-type-file img.mtrr-pod-img-uploaded {
    margin: 5px;
    width: 68px;
}

.mtrr-pod-type-file .mtrr-pod-ajax-uploader {
    background: #f3f3f3;
    border: 1px dashed #c4c4c4;
    border-radius: 5px;
    padding: 10px;
    margin: 0;
    font-size: 14px;
}

.mtrr-pod-type-file .mtrr-pod-ajax-uploader .mtrr-pod-ajax-uploader-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 10px;
    padding: 10px;
}

.mtrr-pod-type-file .ui-progressbar {
    position: relative;
    top: 5px;
    height: 10px;
    border: none;
}

.mtrr-pod-loader.ui-progressbar.ui-corner-all.ui-widget.ui-widget-content .ui-progressbar-value {
    background-color: #c4c4c4;
}

/* MTRR POD AI FX*/
.mtrr-pod-ai-fx-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 16.66%));
    gap: 10px;
    margin: 5px;
}

@media (max-width: 767px) {
    .mtrr-pod-ai-fx-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 25%));
        gap: 10px;
    }

    #mtrr-pod-editor .canvas-container {
        margin: 0 auto;
    }

    #pod-zoom-canvas{
        display: none;
    }
}

.file-input-container .upload-notice {
    line-height: 1;
    font-weight: normal;
    margin: 3px 0;
    color: rgb(0, 94, 233);
    font-style: italic;
}

#mtrr-pod-reset-ai-fx {
    float: right;
    text-decoration: underline;
    cursor: pointer;
}

#mtrr-pod-reset-ai-fx:hover {
    color: #EE6C4D;
}

/* LABEL */

.mtrr-pod-option .mtrr-pod-type-label div.label {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    cursor: pointer;
}

.mtrr-pod-option .mtrr-pod-type-label div.label .image-container .image {
    cursor: pointer;
}
.mtrr-pod-option .mtrr-pod-type-label div.label .image-container .image img{
    max-width: 100%;
    max-height: 100%;
}

.mtrr-pod-option .mtrr-pod-type-label div.label .label-container-display {
    border-radius: 5px;
    border: 1px solid #dddddd;
    padding: 4px;
    height: 100%;
}

.mtrr-pod-option .mtrr-pod-type-label div.label .label-container-display:hover {
    border: 1px solid #03bfac;
}

.mtrr-pod-option .mtrr-pod-type-label .label_container.selected .label-container-display {
    border: 1px solid #03bfac;
}

.mtrr-pod-option .mtrr-pod-type-label .label_container.selected .label-container-display:after {
    content: '';
    width: 18px;
    height: 18px;
    background: #03bfac url('../images/icon-check.png') center no-repeat;
    background-size: 50%;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: -6px;
    right: -6px;
    z-index: 10;
}

.mtrr-pod-option .mtrr-pod-type-label .label_container:after {
    content: '';
    display: block;
    clear: both;
}

.mtrr-pod-font-family-item.label_container {
    text-align: center;
}

/* MTRR POD PREVIEW*/
.mtrr-pod-preview-container {
    margin: 20px 0 10px 0;
}

.pod-mtrr-preview-title {
    font-size: 18px;
    text-align: center;
    margin-top: 10px;
}

.pod-mtrr-preview-notice {
    line-height: 1.2;
    margin: 0;
    text-align: left;

}

.mtrr-pod-preview-container p.notice {
    line-height: 1.1;
    color: #e21b24;
    margin: 5px;
}

/* MTRR POD BG*/
.mtrr-pod-background-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 16.66%));
    gap: 10px;
}
@media (max-width: 767px) {
    .mtrr-pod-background-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 25%));
        gap: 10px;
    }
}

/* MTRR POD Clip arts*/
.mtrr-pod-clip-art-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 16.66%));
    gap: 10px;
}
/*@media (max-width: 767px) {
    .mtrr-pod-clip-art-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 25%));
        gap: 10px;
    }
}*/
/* MTRR POD COLOR PICKER*/
.mtrr-pod-option input[type=color] {
    padding: 4px 2px;
    height: 40px;
    vertical-align: middle;
    border-radius: 4px;
    margin-left: 5px;
    width: 45px;
}

/* MTRR POD text font family*/
.mtrr-pod-font-family-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 33.33%));
    gap: 10px;
}

.mtrr-pod-font-family-list label.font-family-container {
    word-break: break-all;
}
.input-text-container{
    margin-bottom: 10px;
    display: flex;
}
.input-text-container input[type=text]{
    height: 38px;
    width: 66.66%;
}

.custom-text-option-box{
    padding: 10px;
    border: 1px dashed #cccccc;
    border-radius: 5px;
}

/* MTRR POD DESIGNER*/
.mtrr-pod-designer-mobile-controls {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: all;
    position: relative;
    max-height: 100%;
    z-index: 45;
    justify-content: center;
    display: flex;
    flex-wrap: nowrap;
    padding-top: 15px;
}

.mtrr-pod-designer-mobile-controls > div {
    width: 12%;
    max-width: 40px;
    margin: 1%;
    text-align: center;
    overflow: hidden;
    background: #ccc;
    opacity: .7;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.mtrr-pod-designer-mobile-controls-item {
    height: 70% !important;
    width: 70%;
    text-align: center;
}

.mtrr-pod-designer-mobile-controls > div:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}


.mtrr-pod-order-item-thumb {
    max-width: 60px;
    display: inline-block;
    margin-right: 10px;
}

.woocommerce-js table.shop_table .product-thumbnail img, .woocommerce-page table.shop_table .product-thumbnail img {
    max-width: 100px !important;
}


#pod-zoom-canvas{
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 10px;
    padding: 2px 8px;
    background: #ccc;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
}
#pod-zoom-hover-container{
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #cccccc;
    z-index: 46;
    background: white;
    width: 100%;
}
#pod-quit-zoom-container{
    text-align: center;
    display: block;
}
#pod-quit-zoom{
    margin-top: 10px;
}
.mtrr-pod-cart-preview img{
    width: 22px !important;
}
.mtrr-pod-cart-preview {
    display: inline-block;
    padding: 2px 10px;
    background: #f4f5f6;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
}
.mtrr-pod-cart-preview:hover{
    background: #e5e5e5;
}

#submit-loading{
    padding: 10px 30px;
}
#cart-progressbar {
    height:11px;
    background: #959595;
}

#cart-progressbar .ui-progressbar-value {
    background-color: #4CAF50;
    height: 11px;
}
#mtrr-pod-back-edit{
    margin: 10px 20px;
    padding: 12px 24px;
    line-height: 1em;
}
#mtrr-pod-preview-add-cart{
    margin: 10px 20px;
    padding: 14px 24px;
    line-height: 1em;
}

.cfvsw-selected-swatch .cfvsw-swatch-inner:after{
    content: '';
    width: 18px;
    height: 18px;
    background: #03bfac url(../images/icon-check.png) center no-repeat;
    background-size: 50%;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: -6px;
    right: -6px;
    z-index: 10;
}
