#custom_print_popup{
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background: #fff;
    width: 100%;
    height: 100vh;
}

body.custom_print_popup_show{
    overflow: hidden;
}

#custom_print_popup #custom_print_popup_content{
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    height: 100%;
    padding: 32px 28px 50px 28px;
}

#custom_print_popup #custom_print_add_to_cart_table{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#custom_print_popup #custom_print_add_to_cart_table .custom_print_add_to_cart_table_wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#custom_print_popup #custom_print_add_to_cart_table table thead tr{
    background: #DEDEDE;
}

#custom_print_popup #custom_print_add_to_cart_table .custom_print_add_to_cart_total{
    display: flex;
    justify-content: center;
    background: #f5f5f5;
    margin-bottom: 10px;
    padding: 10px;
}

#custom_print_popup #custom_print_add_to_cart_table .custom_print_add_to_cart_total h2{
    font-size: 16px;
    padding: 0px;
    line-height: 39px;
    padding-right: 10px;
}

#custom_print_popup #custom_print_add_to_cart_table .custom_print_add_to_cart_total span{
    color: #ab0d09;
    font-size: 26px;
    font-family: 'Oswald',sans-serif;
    font-weight: 500;
}

#custom_print_popup #custom_print_add_to_cart_table .quantity_canva_block{
    margin-bottom: 0px;
}

#custom_print_popup #custom_print_add_to_cart_table .quantity_canva_block input{
    color: #ab0d09;
    font-size: 16px;
    height: 32px;
    background: none;
    text-align: center;
    width: 60px;
    border-color: #ebebeb;
    font-weight: 800;
}

#custom_print_popup #custom_print_add_to_cart_table .quantity_canva_block .input-group-addon:hover{
    cursor: pointer;
}

#custom_print_popup #custom_print_add_to_cart_table .add_to_cart_table_bottom_bar{
    display: flex;
    flex-direction: column;
}

.tshirt-detail-block{
    padding-top: 40px;
}

#tshirt-editor{
    height: 100%;
}

.tshirt_editor_popup .fancybox-skin{
    padding: 0px !important;
    background: #fff;
    border-radius: 0px;
}


#tshirt-editor-loading{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    width: 60%;
    float: left;
}

.editorLoader .loader_text{
    display: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #ab0d09;
}

.editorLoader.activeLoader{
    flex-direction: column;
}

#attribues_canva_popup_ajax_block .size_table{
    display: none !important;
}

.has_canva .product-action-left div{
    display: block;
    float: left;
}

#quantity_wanted_canva{
    color: #ab0d09;
    font-size: 16px;
    height: 44px;
    background: none;
    text-align: center;
    width: 60px;
    border-color: #ebebeb;
    font-weight: 800;
}

body .force_hide{
    display: none !important;
}



.tshirt_editor_popup .fancybox-close{
    display: none !important;
}

.tshirt_editor_popup .print_popup_close, .tshirt_editor_popup .add_to_cart_table_popup_close{
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 30px;
    z-index: 50;
}

.tshirt_editor_popup .print_popup_close:hover, .tshirt_editor_popup .add_to_cart_table_popup_close:hover{
    cursor: pointer;
}

#tshirt_editor_show_add_to_cart_table.hide_add_to_cart_button{
    display: none !important;
}

.tshirtPartContainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5px;
    padding-right: 10px;
}

.tshirtPartContainer img{
    max-width: 80px;
}

.tshirtPartContainer .editor__tshirtPartContainer .editor__tshirtPart{
    display: block;
    clear: both;
    margin-bottom: 10px;
    background: transparent;
    border: 0px;
}

.tshirtPartContainer .editor__tshirtPartContainer .editor__tshirtPart img{
    padding: 5px;
}

.tshirtPartContainer .editor__tshirtPartContainer .editor__tshirtPart .editor__tshirtName{
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    color: #37474F;
}

.tshirtPartContainer .editor__tshirtPartContainer .editor__tshirtPart.activeTshirtPart img{
    border: 2px solid #ab0d09;
}

.tshirtPartContainer .editor__tshirtPartContainer .editor__tshirtPart.activeTshirtPart .editor__tshirtName{
    color: #ab0d09;
}

.prestaservis_canva_only_mobile{
    display: none;
}

.editor .popup__categoryName{
    color: #37474f;
}

.add_to_cart_table{
    display: table;
    width: 100%;
}

.add_to_cart_table .table_head{
    background: #DEDEDE;
    font-weight: 800;
}

.add_to_cart_table .table_row{
    display: table-row;
}

.add_to_cart_table .table_cell{
    display: table-cell;
    vertical-align: middle;
    padding: 3px 10px;
}

.add_to_cart_table .table_cell.cell_only_mobile{
    display: none;
}

#custom_print_popup #custom_print_add_to_cart_table h2{
    font-size: 24px;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    padding-bottom: 0px;
    line-height: 34px;
}

#custom_print_popup #custom_print_add_to_cart_table .quantity_discount_bars{
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

#custom_print_popup #custom_print_add_to_cart_table .quantity_discount_bars .quantity_discount_bar{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

#custom_print_popup #custom_print_add_to_cart_table .quantity_discount_bars .quantity_discount_bar .quantity_discount_quantity{
    background: transparent;
    width: 60px;
    height: 40px;
    color: #ab0d09;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    border: 1px solid #ab0d09;
}

#custom_print_popup #custom_print_add_to_cart_table .quantity_discount_bars .quantity_discount_bar.active-discount .quantity_discount_quantity{
    background: #ab0d09;
    color: #fff;
}

#custom_print_popup #custom_print_add_to_cart_table .quantity_discount_bars .quantity_discount_bar .quantity_discount_percent{
    text-align: center;
    font-weight: 800;
}

#custom_print_popup #custom_print_add_to_cart_table .quantity_discount_bars .quantity_discount_bar .quantity_discount_price{
    font-weight: 800;
    text-align: center;
}

#custom_print_popup .save_for_later_block{
    display: inline-block;
}

#custom_print_popup .save_for_later_block span{
    margin-left: 7px;
    font-weight: 800;
}

#custom_print_popup .save_for_later_block .btn{
    border: 1px solid #ab0d09;
    background: #fff;
    color: #ab0d09 !important;
    font-size: 12px;
    padding: 10px;
}

#custom_print_popup .save_for_later_block .btn:hover{
    background: #ab0d09;
    color: #fff !important;
}

.save_for_later_success{
    background: #2cb72c;
    color: #fff;
    padding: 8px 15px;
    margin-top: 10px;
    border-radius: 3px;
    font-size: 14px;
}

.save_for_later_success a{
    color: #ab0d09;
    font-weight: 800;
}

.save_for_later_success .icon_save_for_later_copy, #save_for_later_mobile_confirmation .icon_save_for_later_copy{
    background: url("../img/copy.svg");
    background-size: cover;
    width: 13px;
    height: 13px;
    display: inline-block;
    margin-left: 5px;
}

#custom_print_popup .price_background_remove_block{
    display: none;
    font-style: italic;
    font-size: 16px;
}

#custom_print_popup .price_background_remove{
    font-weight: 800;
}

#custom_print_popup .editor__mobileSaveForLater{
    display: none;
}

#custom_print_popup .editor .editor__checkQualityResult{
    max-width: 100%;
}

#custom_print_popup .editor .borderBox__imageScaleRatioContainer img{
    height: 20px;
}

@media (max-width: 768px) {
    #custom_print_popup{
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
    }

    #custom_print_popup:after{
        content: '';
        display: block;
        height: 150px;
        width: 100%;
    }

    #tshirt-editor{
        width: 100%;
    }
    .tshirt-detail-block{
        width: 100%;
        display: block;
        position: relative;
    }

    .tshirt_editor_popup{
        width: 100% !important;
        height: 100vh !important;
        left: 0px !important;
        top: 0px !important;
        position: fixed !important;
    }
    .tshirt_editor_popup .fancybox-inner{
        width: 100% !important;
        height: 100vh !important;
    }

    #tshirt-editor-loading{
        width: 100%;
    }

    .tshirt-detail-block h2{
        display: none;
    }

    #attribues_canva_popup_ajax_block #lienzo-info{
        display: none;
    }

    .tshirt_editor_popup .fancybox-skin{
        padding: 0px 10px !important;
        border-radius: 0px;
        height: 100vh;
    }

    .tshirt_editor_popup #attribues_canva_popup_ajax_block .bx-viewport{
        height: auto;
    }

    .tshirt_editor_popup #attribues_canva_popup_ajax_block .attributes-container{
        margin: 0px;
    }

    .tshirt_editor_popup .quantity_block{
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .has_canva .product-action-left div{
        display: table;
        width: 100%;
        clear: both;
    }

    .has_canva .product-action-left div .custom_print_popup{
        display: table;
        margin: 0 auto;
        margin-top: 15px;
        float: left;
    }

    .tshirt_editor_popup .print_popup_close{
        right: 0px;
        top: 0px;
        font-size: 25px;
    }

    #attribues_canva_popup_ajax_block .product-color-size-pick-container-opt{
        position: fixed;
        top: 0px;
        height: 100vh;
        margin: 0px;
        width: 100%;
        left: 0px;
        border: 0px;
    }

    #product .tshirt-detail-block .quantity_block{
        margin-right: 10px;
        margin-top: 6px;
        margin-bottom: 0px;
        float: right;
    }

    #product .tshirt-detail-block .quantity_block #quantity_wanted_canva{
        height: 32px;
        width: 40px;
    }

    #product .tshirt-detail-block #tshirt_editor_show_add_to_cart_table{
        float: right;
    }

    .tshirtPartContainer .editor__tshirtPartContainer .editor__tshirtPart{
        clear: none;
        float: left;
        margin-right: 10px;
        position: relative;
        z-index: 49;
    }

    .tshirtPartContainer .editor__tshirtPartContainer .editor__tshirtPart:last-of-type{
        margin-right: 0px;
    }

    .tshirtPartContainer{
        padding-right: 0px;
        paddin-left: 0px;
        flex-direction: row;
        margin-top: 5px;
    }

    .tshirtPartContainer img{
        max-width: 40px;
    }

    .editor .popup__container.popupImage.imgActive .popup__imgPreview{
        max-height: 300px;
    }

    .prestaservis_canva_bottom_bar{
        position: fixed;
        bottom: 0;
        bottom: env(safe-area-inset-bottom);
        background: #fff;
        border-top: 1px solid #d0d0d0;
        margin-left: -10px;
        width: 100%;
        padding: 10px;
        z-index: 49;
    }

    .prestaservis_canva_bottom_bar #tshirt_editor_show_add_to_cart_table{
        padding: 12px 15px;
        font-size: 14px;
    }

    .prestaservis_canva_bottom_bar .price-area{
        float: left;
    }

    .prestaservis_canva_bottom_bar .price-area .price_title{
        display: none;
    }

    #custom_print_popup #custom_print_add_to_cart_table .add_to_cart_table_bottom_bar{
        position: fixed;
        bottom: 0;
        left: 0;
        bottom: env(safe-area-inset-bottom);
        width: 100%;
        z-index: 999;
        background: #ffff;
        padding: 10px;
    }

    #custom_print_popup #custom_print_add_to_cart_table .custom_print_add_to_cart_table_wrapper{
        justify-content: flex-start;
        padding-top: 20px;
    }

    .tshirt_editor_popup .add_to_cart_table_popup_close{
        font-size: 20px;
    }

    #custom_print_popup #custom_print_add_to_cart_table .custom_print_add_to_cart_total{
        padding: 0px;
    }

    #custom_print_popup #custom_print_add_to_cart_table #tshirt_editor_add_to_cart{
        padding: 7px 22px;
    }

    #custom_print_popup #custom_print_add_to_cart_table .quantity_canva_block input{
        height: 25px;
        width: 45px;
    }

    #custom_print_popup #custom_print_add_to_cart_table h1{
        font-size: 20px;
    }

    .prestaservis_canva_only_mobile{
        display: block;
    }

    #product .editorContainer #attributes{
        background: #efefef;
        padding: 10px;
    }

    .tshirt_editor_popup .attribute-picker-container{
        padding: 0px;
        margin: 0px 30px 0px 0px;
        border: 0px;
    }

    .tshirt_editor_popup .attribute-picker-container label{
        font-family: 'Oswald', sans-serif;
    }

    .tshirt_editor_popup .attribute-picker-container span{
        margin: 0px 10px 0px 0px;
    }

    .editor .side__icon{
        width: 25px;
    }

    .editor .side__desc{
        color: #ab0d09;
        padding-left: 5px;
        font-size: 18px;
    }

    .editor .side__bx{
        flex-direction: row;
        margin-right: 0px;
    }

    body .price-area .price{
        font-size: 20px;
    }

    .tshirtPartContainer .editor__tshirtPartContainer .editor__tshirtPart .editor__tshirtName{
        font-size: 12px;
    }

    .tshirtPartContainer .editor__tshirtPartContainer .editor__tshirtPart img{
        padding: 2px;
    }

    #custom_print_popup #custom_print_popup_content{
        flex-direction: column;
        justify-content: flex-start;
        padding: 16px;
    }

    .add_to_cart_table{
        display: flex;
        flex-direction: column;
        overflow: scroll;
    }

    .add_to_cart_table .table_row{
        display: flex;
        justify-content: space-between;
    }

    .add_to_cart_table .table_cell.cell_only_desktop{
        display: none;
    }

    .add_to_cart_table .table_cell.cell_only_mobile{
        display: block;
    }

    .add_to_cart_table .table_cell .quantity_canva_block{
        margin: 0 !important;
    }

    .add_to_cart_table .table_cell{
        padding: 5px;
    }

    .editor .editorContainer{
        flex-wrap: nowrap;
    }

    #custom_print_popup .popupText .popup__btnBx{
        position: fixed;
        bottom: 0;
        background: #fff;
        width: 100%;
        padding: 10px 0px;
        bottom: env(safe-area-inset-bottom);
    }

    #custom_print_popup #custom_print_add_to_cart_table .quantity_discount_bars .quantity_discount_bar{
        font-size: 11px;
    }

    #custom_print_popup #custom_print_add_to_cart_table .quantity_discount_bars .quantity_discount_bar .quantity_discount_quantity{
        width: 36px;
    }

    .editor__bxContainer{
        row-gap: 5px;
    }

    .editor .editor__checkQuality{
        margin-top: 0px;
    }

    .editor .editor__checkQuality label{
        margin-bottom: 0px;
        font-size: 12px;
        height: 30px;
        align-items: flex-start;
    }

    .editor .editor__checkQuality{
        position: relative !important;
    }

    #custom_print_popup .editor__mobileSaveForLater{
        display: block;
        position: absolute;
        z-index: 10;
        bottom: 0;
        right: 0;
        color: #fff;
        font-size: 12px;
        padding: 10px;
        border-radius: 25px;
        line-height: 12px;
        background: #ab0d09;
    }

    #custom_print_popup .save_for_later_block{
        display: none;
    }

    #custom_print_popup #save_for_later_mobile_confirmation{
        display: block;
        background: #fff;
        position: fixed;
        top: 0;
        width: 100%;
        height: 1000%;
        z-index: 999;
        padding: 20px;
    }

    #custom_print_popup #save_for_later_mobile_confirmation .confirmation_box{
        background: #2cb72c;
        color: #fff;
        padding: 8px 15px;
        margin-top: 10px;
        border-radius: 3px;
        font-size: 14px;
    }

    #custom_print_popup #save_for_later_mobile_confirmation .confirmation_box a{
        color: #fff;
        font-weight: 800;
    }

    #custom_print_popup #save_for_later_mobile_confirmation .icon_box{
        display: flex;
        gap: 10px;
        align-items: center;
    }

    #custom_print_popup #save_for_later_mobile_confirmation .bottom_text{
        display: flex;
        flex-direction: row;
        align-items: center;
        font-family: 'Oswald', sans-serif;
        margin-top: 40px;
    }

    #custom_print_popup #save_for_later_mobile_confirmation .bottom_text img{
        width: 40px;
        height: auto;
    }

    #custom_print_popup #save_for_later_mobile_confirmation #save_for_later_mobile_close{
        color: #ab0d09;
        padding: 6px 28px;
        font-size: 20px;
        border: 2px solid #ab0d09;
        font-family: 'Oswald', sans-serif;
        background: transparent;
        display: block;
        margin: 0 auto;
        margin-top: 40px;
    }

    #custom_print_popup .editor .borderBox__imageScaleRatioContainer img{
        height: 16px;
    }
}

@media only screen and (max-width: 1500px){
    .tshirt_editor_popup{
        width: 100% !important;
        height: 100vh !important;
        left: 0px !important;
        top: 0px !important;
        position: fixed !important;
    }

    .tshirt-detail-block{
        padding-top: 0px;
    }
}

@media (max-width: 1250px) {

}

@media only screen and (max-width: 380px){
    .editor .popup__selColor, .editor .popup__patternColor{
        width: 20px;
        height: 20px;
    }
}

.editor .editor__checkQuality{
    position: fixed;
    bottom: 0px;
}

@media only screen and (max-width: 48em){
    .editor .editor__container{
        margin-top: 0px !important;
    }
}

.editor .editor__checkQualityResult .editor__checkQualityResultImg{
    max-width: 100%;
}

.editor .sidebar{
    justify-content: center;
}