.canvas_pnl {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.view_large .canvas_pnl {
    max-width: 100%;
}

.svg_outer {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 200px;
    flex-direction: column;
    position: absolute;
}

.product_img {
    display: block;
    position: relative;
    /* height: 479px; */
    /* background: yellow; */
    width: 100%;
}

.editor_svglayar {
    position: absolute;
    top: 0;
    z-index: 2;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    mix-blend-mode: multiply;
    width: 100%;
}

.canvas-container {
    top: 0px;
    border: 1px dashed #646446;
    margin: auto;
    left: 0;
    z-index: 10;
}

.color_pnl {
    flex-wrap: wrap;
}

.editor_colorBx {
    margin-top: 10px;
    width: 115px;
    min-width: 115px;
    margin-right: 0px;
    background-color: #fff;
    box-shadow: 0 0 20px rgb(0 0 0 / 10%);
    border-radius: 5px;
    padding: 6px 8px;
    position: absolute;
    left: -150px;
    top: 0;
}

.view_large .editor_colorBx {
    width: 100%;
    min-width: 300px;
    position: static;
    margin: 5px 0px 10px 0px;
}

.editor_colorBx h5 {
    margin: 0;
    padding: 6px;
    background-color: #f7f7f7;
    border-radius: 6px;
    text-align: left;
    text-transform: uppercase;
    font-size: 12px;
}

.editor_colorBx h5 i {
    min-width: 20px;
    font-size: 17px;
    text-align: center;
}

.color_pnl .ed-color-sec {
    margin-bottom: 6px;
    width: 100%;
}

.color_pnl .ed-color-sec:last-child {
    margin-bottom: 0;
}

.view_large .color_pnl .ed-color-sec {
    width: 33.33%;
    margin: 0;
}

.color_pnl .ed-color-sec:last-child {
    /* margin-bottom: 0; */
}

.color_pnl input {
    width: 76px;
    outline: none;
    border: 1px solid #c3c3c3;
    font-size: 12px;
    padding: 0 3px;
    margin-right: 0;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    height: 30px;
    border: none;
}

.color_pnl input:focus {
    border-color: #d37533;
}

.color_pnl .ed-color-preview-inner {
    background-image: none !important;
}

.color_pnl .ed-color-picker {
    margin-right: 0px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border-radius: 25px;
    box-shadow: 0px 0px 5px #676767;
    height: 22px;
    width: 22px;
    margin-top: 5px !important;
}

.canvas-outer {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.view_large .canvas-outer {
    display: block;
}

.view_large .color_pnl {
    display: flex;
    justify-content: flex-start;
    margin: 10px auto;
}

.view_large .color_pnl input {
    width: 100%;
}

.canvas_pnl {
    order: 2;
}

.color_pnl {
    order: 1;
    display: block;
}

.color_pnl .ed-color-preview-inner {
    margin-top: 0;
}

/*.color_pnl .ed-color-sec {
    display: none;
}
.color_pnl .ed-color-sec:nth-child(-n+4) {
    display: inline-flex;
}*/
#editor_product_single_view .ed-svg-layer {
    mix-blend-mode: multiply;
}

.svg_outer,
#editor_product_single_view svg {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 200px;
    flex-direction: column;
    position: absolute;
}

.back_fontArea .btn-group {
    background-color: #eee;
    padding: 5px 5px;
    border-radius: 5px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border: 0;
}

#viewControls .btn-default.active,
#viewControls .btn-default:hover,
#copy-front {
    color: #fff;
    background-color: #d37533 !important;
    border: none;
}

#copy-front {
    background-color: #fff !important;
    color: #000;
    box-shadow: 0px 0px 5px #ccc;
}

#copy-front.active {
    color: #fff;
    background-color: #d37533 !important;
}

#viewControls .view-side,
#copyControl #copy-front {
    border: none;
    font-size: 12px;
    text-transform: uppercase;
}

/** Color Picker Design **/
.ed-color-box {
    padding: 5px;
}

.ed-colorbox {
    border: 1px solid #ccc;
    text-align: center;
    cursor: pointer;
    width: 100%;
}

.ed-colorbox-inner {
    height: 80px;
    width: 100%;
}

.ed-colorbox span {
    font-size: 12px;
}

.ed-side-modal-open {
    overflow: hidden
}

.ed-side-modal-header button.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background-color: red;
    opacity: unset !important;
}

.ed-side-modal-header button.close:hover {
    color: #000;
}

.ed-search-color-code .form-group input {
    margin-bottom: 10px !important;
}

.ed-side-modal .ed-search-box {
    margin: 0px !important;
    border-bottom: 1px solid #ced4da;
}

.hue-groups {
    margin-bottom: 8px;
}

.hue-groups span {
    width: 7.06%;
    cursor: pointer;
    margin-top: 8px;
}

.pms-color-search {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.pms-color-search:hover {
    border: 1px solid #c00100;
}

.custom-color-section {
    margin: 0px !important;
}

.ed-side-modal {
    z-index: 99999;
    position: fixed;
    right: -47%;
    width: 45%;
    height: 100%;
    top: 0;
    background: #fff;
    border-left: 1px solid hsla(0, 0%, 93.3%, .93);
    box-shadow: 0 0 15px -2px #eee;
    display: block;
    cursor: auto;
    padding: 8px;
}

.ed-side-modal.modal-close-animate {
    -webkit-animation: ed-side-mode-close .5s ease backwards;
    animation: ed-side-mode-close .5s ease backwards
}

.ed-side-modal.open {
    right: 0;
    -webkit-animation: ed-side-mode-open .5s ease forwards;
    animation: ed-side-mode-open .5s ease forwards
}

.ed-side-modal .ed-side-modal-header {
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    width: 100%
}

.ed-side-modal .ed-side-modal-header button,
.ed-side-modal .ed-side-modal-header span {
    padding: 10px;
    display: inline-block
}

.ed-side-modal .ed-side-modal-body {
    height: calc(100% - 115px);
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative
}

@keyframes ed-side-mode-open {
    0% {
        right: -47%
    }

    to {
        right: 0
    }
}

@keyframes ed-side-mode-close {
    0% {
        right: 0
    }

    to {
        right: -47%
    }
}

.ed-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

body.ed-side-modal-open .ed-modal-backdrop {
    z-index: 9999;
}

.ed-modal-backdrop.show {
    opacity: .5;
}

.ed-color-preview-inner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-image: url(https://d1a0gt7d71qshm.cloudfront.net/images/color-picker.png);
    background-position: 50%;
    margin-top: 0;
}

.ed-color-picker {
    background: #ccc;
    padding: 0;
    display: flex;
    margin-right: 6px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    align-items: center;
    width: 36px;
}

.ed-color-sec {
    display: block;
    position: relative;
    padding-left: 40px;
}

/* Loader */
.loader.normal-loader.loader-absolute {
    z-index: 99;
    width: 100%;
    height: 100%;
    position: absolute;
}

.loader-background {
    top: 0;
    height: 100%;
    background-color: #fff;
    opacity: .85;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
}

.indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -36px;
    margin-left: -36px;
    height: 72px;
    width: 72px;
    border: 2px solid rgba(0, 0, 0, .3);
    border-radius: 50%;
    text-align: center;
    z-index: 101;
}

.indicator:before {
    content: "";
    position: absolute;
    left: -2px;
    top: -2px;
    display: block;
    width: 106%;
    height: 106%;
    border: 2px solid transparent;
    border-top-color: #414141;
    border-radius: 50%;
    -webkit-animation: cw 512ms cubic-bezier(.645, .045, .355, 1) infinite;
    -moz-animation: cw 512ms infinite cubic-bezier(.645, .045, .355, 1);
    -o-animation: cw 512ms infinite cubic-bezier(.645, .045, .355, 1);
    animation: cw 512ms cubic-bezier(.645, .045, .355, 1) infinite;
    -moz-transition: all 512ms cubic-bezier(.645, .045, .355, 1);
    -o-transition: all 512ms cubic-bezier(.645, .045, .355, 1);
    -webkit-transition: all 512ms cubic-bezier(.645, .045, .355, 1);
    transition: all 512ms cubic-bezier(.645, .045, .355, 1);
}

.indicator .fa {
    font-size: 35px;
    top: 15px;
    position: relative;
}

.loader .loader-message {
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 55%;
    z-index: 101;
}

.color_pnl .ed-color-sec {
    padding-left: 26px;
}

/* .single_product_area .pvc_product_imgs .canvas-outer {
    display: flex;
} */
/* End Loader */
@media(max-width: 2010px) {
    .canvas_pnl {
        /* max-width: 275px; */
    }

    /* .canvas-container{
        width: 270px !important;
        height: 375px !important;
        border: 0;
    }
    .canvas-container canvas{
        width: 270px !important;
    } */
    /*.color_pnl{
        width: 135px;
    }*/
    .canvas-outer {
        position: static;
    }

    .editor_colorBx {
        left: 10px;
    }
}

@media(max-width: 1680px) {
    .editor_colorBx {
        left: 5px;
    }

    .editor_colorBx {
        width: 80px;
        min-width: 80px;
        padding: 2px 5px;
    }

    .editor_colorBx h5 {
        font-size: 10px;
    }

    .editor_colorBx h5 i {
        min-width: 15px;
        font-size: 12px;
        text-align: center;
    }

    .color_pnl .ed-color-picker,
    .color_pnl .ed-color-preview-inner {
        width: 12px;
        height: 12px;
    }

    .color_pnl .ed-color-sec {
        padding-left: 15px;
    }

    .color_pnl input {
        font-size: 10px;
        width: 76px;
        height: 26px;
    }

    .color_pnl .ed-color-picker {
        margin-top: 8px !important;
    }

    .view_large .color_pnl input {
        width: 90%;
    }
}

@media(max-width: 1340px) {
    .color_pnl .ed-color-preview-inner {
        margin-top: 0;
        height: 20px;
        width: 20px;
        background-repeat: no-repeat;
        background-size: 20px;
    }

    .color_pnl {
        /* min-width: 130px;
        width:50px; */
        /* min-width: 100%;
        width: 100%;
        display: flex;*/
        margin-top: 10px
    }

    .canvas_pnl {
        /* max-width: 245px; */
    }

    /* .canvas-container {
    width: 245px !important;
    height: 345px !important;
    border: 0;
}
 .canvas-container canvas{
        width: 245px !important;
    } */
}

/*@media(max-width: 1300px){
    .editor_colorBx {
        margin-top: 10px;
        width: 125px;
        min-width: 125px;
        margin-right: 10px;
        padding: 8px 6px;
    }
    .color_pnl .ed-color-picker {
        height: 22px;
        width: 22px;
        margin-top: 10px !important;
}
.color_pnl .ed-color-sec {
    padding-left: 26px;
}
.color_pnl input{
    width: 85px;
}
}*/


@media(max-width:1199px) {
    .canvas_pnl {
        max-width: 100%;
        /*display: flex; */
        min-width: 324px;
    }

    /* .canvas-container {
    width: 345px !important;
    height: 445px !important;
    border: 0;
}
 .canvas-container canvas{
        width: 345px !important;
    } */
    .canvas-outer {
        max-width: 500px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }

    .view_large .canvas-outer {
        display: block;
    }

    .color_pnl {
        min-width: inherit;
        width: 100%;
        display: flex;
        margin-top: 10px;
    }

    .editor_colorBx {
        position: absolute;
    }

    .single_product_descrip:first-child {
        margin-left: 0;
    }
}

@media(max-width: 991px) {
    .ed-side-modal {
        width: 70%;
        right: -73%;
    }

    .hue-groups span {
        width: 10.06%;
        ;
    }

    .editor_colorBx {
        left: 10%;
    }
}

@media(max-width: 767px) {

    /* .canvas_pnl {
        max-width: 265px;
        margin: 0;
    }*/
    /*.canvas-container {
    width: 265px !important;
    height: 375px !important;
    border: 0;
}
 .canvas-container canvas{
        width: 265px !important;
    }*/
    .color_pnl {
        min-width: 100%;
        max-width: 100%;
    }

    .custom-color-section.pms-color-list .col-6 {
        width: 33.33%;
    }

    .editor_colorBx {
        left: 0;
    }
}

@media(max-width: 575px) {
    .editor_colorBx {
        position: static;
    }
}

@media(max-width: 480px) {
    .ed-side-modal {
        width: 85%;
        right: -87%;
    }

    .canvas-container {
        border: none;
    }

    .color_pnl {
        width: 100%;
        min-width: 100%;
        order: 2;
        padding-left: 0;
        justify-content: center;
        padding: 0 10px;
    }

    .canvas-outer {
        display: block;
    }

    .color_pnl .ed-color-sec {
        width: 33.33%;
    }

    .canvas_pnl {
        min-width: 152px;
        width: 245px;
    }

    .view_large .canvas-outer {
        max-width: 410px;
    }

    .view_large .canvas_pnl {
        overflow: auto;
        overflow: scroll;
        -webkit-overflow-scrolling: touch;
    }


    .editor_colorBx {
        margin: 10px auto 0;
        width: 285px;
    }

    .view_large .editor_colorBx {
        width: 285px;
        min-width: 285px;
    }

    .view_large .color_pnl input {
        width: 100%;
    }
}

@media(max-width: 420px) {
    .canvas-outer {
        flex-wrap: wrap;
    }

    .color_pnl {
        order: 2;
        display: flex;
        justify-content: center;
        padding-right: 0;
        flex-wrap: wrap;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    .canvas_pnl {
        order: 1;
        margin: 0 auto 20px;
    }

    /*.color_pnl .ed-color-sec, .view_large .color_pnl .ed-color-sec {
        margin-bottom: 10px;
        width: 50%;
        padding: 0 5px 0 30px;
    }*/
    .view_large .color_pnl .ed-color-sec {
        width: 33.33%;
    }

    .color_pnl .ed-color-sec {
        margin-bottom: 0;
    }

    .color_pnl .ed-color-sec:last-child {
        margin-bottom: 0;
    }

    .ed-color-preview-inner {
        width: 20px;
        height: 20px;
        margin-top: 2px;
        background-size: 19px;
        background-repeat: no-repeat;
    }

    .dfs-field-wrap .ed-color-sec input[type="text"] {
        height: 30px;
    }

    #cliparts .col-xs-3 {
        width: 50%;
    }

    .hue-groups span {
        width: 15.06%;
    }

    .custom-color-section.pms-color-list .col-6 {
        width: 50%;
    }

    .ed-side-modal-header button.close {
        padding: 4px;
        font-size: 15px;
    }

    .color_pnl .ed-color-picker {
        margin: 0;
    }

    .color_pnl input {
        width: 100%;
        padding: 0 10px;
    }

    .canvas-outer {
        margin-bottom: 0;
    }

    /*.view_large .canvas_pnl, #editor_product_single_view {
    width: 285px !important;
    margin: 0;
}*/
    /*.view_large .canvas-container {
    width: 265px !important;
    height: 225px !important;
    border: 0;
}*/
    .single_prodct_innr {
        padding-bottom: 0;
    }

    .ed-color-picker {
        height: 30px;
        width: 30px;
    }

    .ed-color-sec {
        padding-left: 28px;
    }

    .color_pnl input {
        height: 30px;
    }

    .view_large .canvas_pnl {
        /*overflow-x: auto;*/
        max-width: 100%;
    }

    .canvas-outer {
        max-width: 360px;
    }

    .view_large .canvas-outer {
        max-width: 375px;
    }

    .color_pnl .ed-color-sec {
        padding-left: 15px;
    }

}


@media(max-width: 390px) {
    .view_large .canvas-outer {
        max-width: 325px;
    }

}

@media(max-width: 340px) {
    .canvas-outer {
        max-width: 323px;
    }

    /*.color_pnl{
    padding: 0 10px;
}*/
    .view_large .canvas-outer {
        max-width: 310px;
    }
}