/**
*
* Do not edit or add to this file if you wish to upgrade the module to newer
* versions in the future. If you wish to customize the module for your
* needs please contact us to https://www.milople.com/contact-us.html
*
* @category    Ecommerce
* @package     Milople_Personlized
* @copyright   Copyright (c) 2016 Milople Technologies Pvt. Ltd. All Rights Reserved.
* @url         https://www.milople.com/magento2-extensions/personalized-products-m2.html
*
**/

@font-face {
    font-family: "milople-personalizer-tool";
    src: url("../fonts/milople-personalizer-tool.eot");
    src: url("../fonts/milople-personalizer-tool.eot?#iefix") format("embedded-opentype"), url("../fonts/milople-personalizer-tool.woff") format("woff"), url("../fonts/milople-personalizer-tool.ttf") format("truetype"), url("../fonts/milople-personalizer-tool.svg#milople-personalizer-tool") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IconFont';
    src: url('../fonts/IconFont.eot');
    src: url('../fonts/IconFont.ttf');
    src: url('../fonts/IconFont.woff') format('woff');
    font-weight: 300;
    font-style: normal
}

[data-icon]:before {
    font-family: "milople-personalizer-tool" !important;
    content: attr(data-icon);
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    font-size: 24px;
    vertical-align: middle;
    margin-left: 10px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: "milople-personalizer-tool" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-name-and-number:before {
    content: "\61";
}

.icon-clipart:before {
    content: "\62";
}

.icon-imageupload:before {
    content: "\64";
}

.icon-add-text:before {
    content: "\71";
}

.icon-template:before {
    content: "\72";
}

.icon-quote:before {
    content: "74";
}

.width100 {
    width: 100% !important;
}

.width1 {
    width: 100% !important;
}

.width2 {
    width: 50% !important;
}

.width70 {
    width: 70% !important;
}

.width35 {
    width: 35% !important;
}

.width20 {
    width: 20% !important;
}

.button_round {
    border-radius: 24px;
    width: 39px;
    font-size: 20px !important;
    padding-left: 0px;
    padding-left: 13px !important;
    padding-bottom: 4px !important;
    padding-top: 4px !important;
    background-color: #7a53a3 !important;
    border-color: #7a53a3 !important;
}

.designAreasDiv {
    z-index: 0 !important;
}

.add_row_name_num {
    padding-top: 3%;
    padding-left: 35%;
}

table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
    padding: 2px 5px !important;
    color: #0009;
}

.list_page_side {
    display: inline-block;
}

.colorpicker {
    z-index: 999;
}

.text_effect_buttons {
    /*float: left;
    overflow: auto;
    white-space: nowrap;*/
    width: 100%;
}

.float_left {
    float: left;
}

.title_in_popup {
    margin-right: 1%;
    margin-top: 1% !important;
}

.clipart-image {
    width: 50px;
}

.milople-personalized .modal-header {
    position: relative;
    display: none;
}

#popup-model .modal-header {
    display: block;
}

.milople-personalized .action-close::before {
    background: rgba(0, 0, 0, 0) url("../images/popup-delete.png") no-repeat scroll 16% center / 26px auto !important;
    content: "" !important;
    display: inline-block !important;
    font-size: 0 !important;
    height: 39px !important;
    line-height: 0 !important;
    width: 51px !important;
}

.milople-personalized .action-close {
    padding: 0px !important;
}

.milople-personalized .modal-inner-wrap.modal-custom .action-close,
.milople-personalized .modal-inner-wrap .modal-popup .action-close,
.modal-slide .action-close {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 0 none;
    box-shadow: none;
    height: 0px !important;
    right: 36px;
    top: 0px !important;
    width: 29px;
}

.milople-personalized .action-close {
    width: 33px !important;
}

.milople-personalized .modal-custom .action-close > span,
.milople-personalized .modal-popup .action-close > span,
.modal-slide .action-close > span {
    display: none !important;
}

button#refresh_canvas_button {
    background: rgba(0, 0, 0, 0) url("../images/clean.png") no-repeat scroll 100% top / 106px auto;
    border: medium none;
    box-shadow: none;
    height: 42px;
    margin-top: 9px;
    position: absolute;
    right: 81px;
    top: 2%;
    width: 124px;
}

@media only screen and (max-width: 500px) {
    .colorpicker {
        left: 0 !important;
    }

    #thumb-container {
        float: left;
        left: 0 !important;
        position: absolute;
        top: 5px;
        width: auto;
    }
}

.done-button {
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    /*font-size: 16px;*/
    margin: 4px 2px;
    cursor: pointer;
}

#small-edit-element button {
    background: white;
}

.done-button-black {
    background: rgba(0, 0, 0, 0) url("../images/popup-done.png") no-repeat;
    color: black;
    display: block;
    float: left;
    font-weight: bold;
    height: 15px;
    padding-left: 13px;
    padding-top: 7px;
    text-align: center;
    padding-right: 2px;
    text-transform: uppercase;
    width: 103px;
    left: 74%;
    position: relative;
    color: #fff;
    font-size: 16px;
}

.format-text-label {
    margin-bottom: 1%;
    display: none;
}

.milople-personalized .modal-inner-wrap {
    background: white !important;
}

.title_background {
    background: #eee none repeat scroll 0 0;
    padding: 3% 2%;
    margin-top: 0;
}

.personalized-container {
    width: 100%;
    background: white;
    position: relative;
    /*z-index: 90;*/
}

.personalizer {
    float: right;
    width: 50%;
}

.dir_pad {
    display: none;
    font-size: 15px;
    padding: 2%;
    margin-left: 1%;
    border: 2px solid #555555;
    color: black;
    background: white;
}

@media only screen and (max-width: 815px) {
    .wide-screen {
        display: none;
    }

    .product-thumbs > li {
        float: none !important;
    }

    .float_left {
        width: 30%;
        overflow: auto;
        white-space: nowrap;
    }

    .name_number_content {
        height: 170px;
        overflow: scroll;
    }

    .done-button-black {
        top: 10px;
        left: 0px !important;
        padding-left: 27px !important;
        padding-top: 12px !important;
        font-size: 15px !important;
    }

    .milople-personalized .modal-inner-wrap.modal-custom .action-close, .milople-personalized .modal-inner-wrap .modal-popup .action-close, .modal-slide .action-close {
        top: 0px !important;
        right: 0px !important;
    }

    .popup-personalized .directional-pad button.top {
        left: 8%;
    }

    .popup-personalized .directional-pad button.top-right {
        left: 16% !important;
    }

    .popup-personalized button.center {
        left: 8%;

    }

    .popup-personalized .directional-pad button.right {
        left: 16% !important;
    }

    .popup-personalized .directional-pad button.bottom {
        left: 8%;
    }

    .popup-personalized .directional-pad button.bottom-right {
        left: 16% !important;
    }

    .popup-personalized .directional-pad button.rotate {
        left: 30% !important;
    }

    .popup-personalized .directional-pad button.antirotate {
        left: 30% !important;
        top: 49px !important;
    }

    .popup-personalized button.btf {
        left: 37% !important;
        width: 12%;
    }

    .popup-personalized button.stb {
        left: 37% !important;
        top: 54% !important;
        width: 12%;
    }

    .popup-personalized button.fh {
        left: 49.5% !important;
        width: 12%;
    }

    .popup-personalized button.fv {
        left: 49.5% !important;
        width: 12%;
    }

    .popup-personalized button.clone {
        padding: 0px !important;
        left: 62.2% !important;
    }

    .popup-personalized button.delete {
        left: 62.2% !important;
        top: 49px !important;
    }

    .popup-personalized .directional-pad button.undo {
        left: 70% !important;
    }

    .popup-personalized .directional-pad button.redo {
        left: 70% !important;
        top: 61% !important;
    }

    .tab-view .text_style button {
        width: 13% !important;
    }

    .tab-view .directional-pad button.top {
        left: 14% !important;
    }

    .tab-view button.center {
        left: 14% !important;
        padding: 8px 12px !important;
    }

    .tab-view .directional-pad button.bottom {
        left: 14% !important;
    }

    .tab-view .directional-pad button.top-right {
        left: 29.5% !important;
    }

    .tab-view .directional-pad button.right {
        left: 29.5% !important;
        padding: 8px 12px !important;
    }

    .tab-view .directional-pad button.bottom-right {
        left: 29.5% !important;
        padding: 7px 12px !important;
    }

    .tab-view .directional-pad button.rotate {
        left: 45% !important;
    }

    .tab-view .directional-pad button.antirotate {
        left: 45% !important;
        top: 47% !important;
    }

    .tab-view button.btf {
        left: 60% !important;
    }

    .tab-view button.stb {
        left: 60% !important;
        top: 47% !important;
    }

    .tab-view button.fh {
        left: 75% !important;
    }

    .tab-view button.fv {
        left: 75% !important;
        top: 47% !important;
    }

    .tab-view button.clone {
        left: 90% !important;
    }

    .tab-view button.delete {
        left: 90% !important;
        top: 36px !important;
    }

    .tab-view button.undo {
        left: 45% !important;
        top: 93% !important;
    }

    .tab-view button.redo {
        left: 90% !important;
        top: 93% !important;
    }


}

@media only screen and (min-width: 801px) {
    .small-screen {
        visibility: hidden;
    }
}

@media only screen and (max-width: 500px) {
    .canvas {
        width: 100vw !important;
    }

    .canvas-container {
        width: 100vw !important;
    }
}

@media screen and (max-width: 1194px) {
    .personalizer {
        float: right;
        width: 100%;
        padding-bottom: 5%;
    }
}

.personalizer_popup {
    float: right;
    width: 50%;
    background: white;
}

.distance_between_list {
    margin-top: 1rem !important;
}

@media screen and (max-width: 550px) {
    #edit-element {
        display: none !important;
    }

    .small-content-text {
        display: none;
    }

    #content-upload {
        display: none;
    }

    #content-clipart {
        display: none;
    }

    #content-quote {
        display: none;
    }

    .effect_field {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .label_in_popup {
        display: inline-block;
    }

    .personalizer_popup {
        position: absolute;
        bottom: 0;
    }

    .on-selected-object {
        position: fixed;
        top: 25%;
        right: 0;
    }

    .small-directional-pad {
        float: right;
        text-align: center;
        padding-bottom: 3%;
        padding-top: 3%;
    }

    .small_border_label {
        border-top: 1px solid #d5d8ce;
        overflow: auto;
        white-space: nowrap;
        width: 100%;
    }

    .popup-personalized label::after {
        content: none !important;
    }
}

@media screen and (min-width: 550px) {
    .on-selected-object {
        display: none;
    }

    .personalized-container {
        clear: both;
        display: block;
        width: 95% !important;
        background: white;
        position: relative;
        left: 1% !important;

    }


    .small-directional-pad {
        display: none !important;
    }

    .label_in_popup {
        display: block;
    }

    .small_border_label {
        display: block !important;
    }

    #tab-clip,
    #tab-image,
    #tab-text,
    #tab-template,
    #tab-name-number,
    #tab-quote {
        /*margin-left:2%;
    margin-right:2%;*/
    }
}

@media screen and (max-width: 650px) {
    .modal-popup {
        left: 0 !important;
    }

    .tab-view label {
        padding: 12px 37px;
    }
}

@media screen and (max-width: 1194px) {
    .personalizer_popup {
        float: right;
        width: 100%;
    }

    .title_in_popup {
        display: none;
    }
}

@media screen and (min-width: 1194px) {
    .finish_button {
        width: 50%;
        text-align: center;
    }

    .personalizer_popup {
        margin-right: 6%;
        margin-top: 4%;
        width: 32%;
    }
}

.new-page-gallery-placeholder {
    float: left;
    /*padding-bottom: 5%;*/
}

#tab-clip,
#tab-image,
#tab-text,
#tab-template,
#tab-name-number,
#tab-quote {
    text-align: left;
    /*margin-bottom:1%;*/
}

#tab-text:hover {
    background: #eee;
    color: #414141;
}

#tab-image:hover {
    background: #eee;
    color: #414141;
}

#tab-clip:hover {
    background: #eee;
    color: #414141;
}

#tab-name-number:hover {
    background: #eee;
    color: #414141;
}

#tab-quote:hover {
    background: #eee;
    color: #414141;
}

p {
    margin: 0 0 20px;
    line-height: 1.5;
}

.popup-personalized section {
    display: none;
    border-top: 1px solid #ddd;
}

input.personalized_tab_radio {
    display: none;
}

.personalized-container label {
    display: inline-block;
    margin: 0 0 -1px;
    padding: 12px 8px;
    font-weight: 600;
    text-align: center;
    color: #555;
    border: 1px solid transparent;
}

.popup-personalized label {
    border: 1px solid #E8E8E6 !important;
    margin-bottom: 1% !important;
}

.personalized-container label:before {
    font-family: IconFont;
    font-weight: normal;
    margin-right: 10px;
}

.personalized-container label:hover {
    cursor: pointer;
}

.personalized-container input:checked + label {
    color: #555;
    border: 1px solid #ddd;
    border-top: 2px solid orange;
    border-bottom: 2px solid orange;
}

.personalized-container > section {
    /*padding-bottom: 33px;
    margin-top: 2%;*/
}

@media screen and (max-width: 550px) {
    .personalized-container.list > label {
        font-size: 16px !important;
    }

    .personalized-container.list > label::before {
        margin-left: 0 !important;
    }

    #tab-clip,
    #tab-image,
    #tab-text,
    #tab-template,
    #tab-name-number,
    #tab-quote {
        text-align: center;
    }

    .tab-view label {

        padding: 12px;
    }
}

h4.personalized-options {
    background: #eee none repeat scroll 0 0;
    float: left;
    padding: 6px 8px;
    width: 100%;
}

h4#personalized-options {
    background: #eee none repeat scroll 0 0;
    float: left;
    padding: 6px 8px;
    width: 100%;
}

.addTextPersonalized {
    width: 50% !important;
    vertical-align: top !important;
}

/*Text effect*/
.text_style {
    margin-top: 7px;
    width: 100%;
    display: inline-block;
}

.text_style button {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #e6e4df;
    border-radius: 0;
    color: #666666;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    height: 39px;
    padding: 4px 8px;
    width: 12%;
    margin-bottom: 3px;
}

.tab-view .text_style button {
    width: 8%;
}

.font_color,
.quote_font_color,
.namenumber_font_color {
    background: url('../images/fontcolor.png') !important;
    background-size: 70% !important;
    background-repeat: no-repeat !important;
    background-position: 33% 41% !important;
}

.background_color,
.quote_background_color,
.namenumber_background_color {
    background: url('../images/font-background.png') !important;
    background-size: 70% !important;
    background-repeat: no-repeat !important;
    background-position: 33% 41% !important;
}

button.font_color > span,
button.quote_font_color > span,
button.namenumber_font_color > span {
    border-bottom: 2px solid;
    padding: 0px 13px;
    position: relative;
    bottom: -4px;
    padding-left: 2px;
}

.popup-personalized .font_color > span,
.popup-personalized .quote_font_color > span,
.popup-personalized .namenumber_font_color > span {
    padding: 0;
}

button.background_color span,
button.quote_background_color span,
button.namenumber_background_color span {
    background-color: #d2d2d2;
    color: #5b5b5b;
    padding: 1px 5px;
}

#font_selection {
    margin-top: 5px;
}

#instruct_container p.note-msg {
    background-color: #fefccb;
    background-image: url("../images/ico_warning.png");
    background-position: 8px 5px;
    background-repeat: no-repeat;
    border-color: #d9df63;
    color: #898941;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 12px;
    padding: 7px 11px 6px 47px;
}

.directional-pad {
    height: 77px;
    margin-top: 6px;
    position: relative;
    width: 100%;
}

.directional-pad button {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #e6e4df;
    color: #c6c6c6;
    cursor: pointer;
    font-size: 11px;
    font-weight: bolder;
    position: absolute;
}

.directional-pad button.top {
    left: 26px;
    padding: 6px 8px;
    top: 7px;
    margin-left: 22px;
}

.directional-pad button.bottom {
    left: 26px;
    padding: 6px 8px;
    top: 36px;
    margin-left: 22px;
}

.directional-pad button.left {
    left: 2px;
    padding: 6px;
    top: 25px;
    margin-left: 22px;
}

.directional-pad button.right {
    left: 50px;
    margin-left: 21px;
    padding: 6px;
    top: 25px;
}

.directional-pad button.rotate {
    border-radius: 75px;
    font-size: 23px;
    height: 32px;
    left: 21%;
    padding-left: 10px;
    padding-top: 6px;
    text-align: center;
    top: 23%;
    width: 32px;
}

.directional-pad button.undo {
    font-size: 26px;
    height: 32px;
    left: 60%;
    padding-left: 3px;
    padding-top: 6px;
    text-align: center;
    top: 1%;
    width: 32px;
}

.directional-pad button.redo {
    font-size: 26px;
    height: 32px;
    left: 60%;
    padding-left: 3px;
    padding-top: 6px;
    text-align: center;
    top: 55%;
    width: 32px;
}

.personalizer_popup .directional-pad button.rotate {
    border-radius: 0px !important;
}

.directional-pad button.antirotate {
    border-radius: 75px;
    font-size: 23px;
    height: 32px;
    left: 31%;
    padding-left: 10px;
    padding-top: 6px;
    text-align: center;
    top: 23%;
    width: 32px;
}

.personalizer_popup .directional-pad button.antirotate {
    border-radius: 0px !important;
}

.personalizer_popup .directional-pad button.antirotate:hover {
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
    transition: none !important;
}

button.delete {
    border-radius: 64%;
    height: 39px;
    left: 78%;
    top: 23%;
    width: 41px;
}

.personalizer_popup button.delete {
    border-radius: 0px !important;
}

#clipart_images_container img {
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 7px;
    margin-right: 7px;
}

#clipart_images_container {
    margin-top: 10px;
    max-height: 250px;
    overflow: auto;
    width: auto;
}

#clipart_images_container .image_list {
    text-align: left;
}

#clipart_categories_container .input-text {
    margin-top: 10px;
    width: 100%;
}

select#clipart_categories {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #e6e4df;
    color: #666666;
    font-size: 13px;
    padding: 5px;
}

#quote_categories_container {
    margin-top: 10px;
    max-height: 250px;
    overflow: auto;
    width: auto;
}

select#quote_categories {
    font-size: 13px;
    padding: 5px;
}

#quote_list_container {
    margin-top: 10px;
    max-height: 250px;
    margin-bottom: 10px;
    overflow: auto;
    width: auto;
}

select#quote_list {
    font-size: 13px;
    padding: 5px;
}

.a-center {
    margin-top: 100px;
    margin-bottom: 100px;
    margin-left: 200px;
}

button.btf {
    height: 32px;
    left: 35%;
    top: 23%;
    width: 32px;
}

button.stb {
    height: 32px;
    left: 50%;
    top: 23%;
    width: 32px;
}

button.fh {
    height: 32px;
    left: 59%;
    top: 23%;
    width: 32px;
}

button.fv {
    height: 32x;
    left: 68%;
    top: 23%;
    width: 32px;
}

.product-thumbs {
    margin: 0;
    padding: 0;
}

.product-thumbs > li {
    display: inline;
    float: left;
}

.product-thumbs a:hover {
    text-decoration: none;
}

.text-formatting-area h4 {
    padding: 5px 15px;
}

.text_effects_title {
    background: #eee none repeat scroll 0 0;
    float: left;
    padding: 3px 2%;
    width: 97%;
}

.text_effects .field {
    float: left;
    width: 15%;
}

.radius-effect,
.spacing-effect,
.reverse-effect,
.quote-radius-effect,
.quote-spacing-effect,
.quote-reverse-effect,
.name-number-radius-effect,
.name-number-spacing-effect,
.name-number-reverse-effect {
    display: none;
}

.text_effects ul li {
    list-style-type: none;
}

.text_effects ul {
    padding: 0px;
    clear: both;
}

.personalized-container section {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #d5d8ce;
    margin: 2% 2% 2% 0;
    padding: 14px;
}

.popup-personalized section {
    /*border-color: #41b5df;*/
    margin: -4px 0px 2px;
    width: auto;
}

.popup-personalized label#tab-text[data-icon]::before {
    color: #1979c3;
}

.popup-personalized section#content-text {
    border-color: #1979c3;
}

.popup-personalized section#content-upload {
    border-color: #1979c3;
}

.popup-personalized label#tab-image[data-icon]::before {
    color: #1979c3;
}

.popup-personalized section#content-clipart {
    border-color: #1979c3;
}

.popup-personalized label#tab-clip[data-icon]::before {
    color: #1979c3;
}

.popup-personalized section#content-template {
    border-color: #1979c3;
}

.popup-personalized label#tab-quote[data-icon]::before {
    color: #1979c3;
}

.popup-personalized section#content-quote {
    border-color: #1979c3;
}

.popup-personalized label#tab-name-number[data-icon]::before {
    color: #1979c3;
}

.popup-personalized section#content-quote {
    border-color: #1979c3;
}

.popup-personalized label#tab-template[data-icon]::before {
    color: #1979c3;
}

.popup-personalized section#content-name-number {
    border-color: #1979c3;
    padding: 14px;
}

h4 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.label-template {
    color: grey !important;
    padding: 0px !important;
    margin-bottom: 1px;
}

.template-text {
    margin-bottom: 5px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.template-image-upload {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.characters-left {
    display: block;
    float: right;
    font-size: 11px;
    font-style: italic;
    margin-left: 2px;
}

.lblMaxLength {
    float: right;
    font-size: 12px;
    font-style: italic;
    padding-right: 2px;
    padding-bottom: 5px;
}

.data-validation-textbox {
    border-color: red !important;
}

.data-validation {
    color: red !important;
}

.name-number-styles input {
    margin-bottom: 7px;
}

div#container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%
}

.designAreasDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%
}

.canvas-container {
    margin: 0 auto;
}

.gallery-placeholder {
    position: relative;
    text-align: center;
}

.product-thumbs.content-slider {
    position: absolute;
    top: 14%;
}

.product-thumbs > li {
    display: inline !important;
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
    .content-slider {
        display: none;
    }

    .tab-view label[data-icon]::before {
        content: none !important;
    }
}

@media only screen and (max-width: 359px) {
    .gallery-placeholder.no-area > img {
        /*height: auto !important;*/
        width: auto !important;
    }

    .personalizer_popup {
        position: sticky;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
    .directional-pad {
        height: 188px;
        margin-top: 6px;
        position: relative;
        width: 100%;
    }

    .directional-pad button.rotate {
        border-radius: 75px;
        font-size: 23px;
        height: 32px;
        left: 40%;
        padding-left: 6px;
        padding-top: 5px;
        text-align: center;
        top: 10%;
        width: 32px;
    }

    .directional-pad button.antirotate {
        border-radius: 75px;
        font-size: 23px;
        height: 32px;
        left: 57%;
        padding-left: 6px;
        padding-top: 5px;
        text-align: center;
        top: 11%;
        width: 32px;
    }

    .directional-pad button.undo {
        font-size: 23px;
        height: 32px;
        left: 57%;
        padding-left: 6px;
        padding-top: 5px;
        text-align: center;
        top: 1%;
        width: 32px;
    }

    .directional-pad button.redo {
        font-size: 23px;
        height: 32px;
        left: 57%;
        padding-left: 6px;
        padding-top: 5px;
        text-align: center;
        top: 11%;
        width: 32px;
    }

    button.delete {
        border-radius: 64%;
        height: 42px;
        left: 75%;
        top: 11%;
        width: 45px;
    }

    button.btf {
        height: 40px;
        left: 13%;
        top: 43%;
        width: 40px;
    }

    button.stb {
        height: 40px;
        left: 32%;
        top: 43%;
        width: 40px;
    }

    button.fv {
        height: 40px;
        left: 68%;
        top: 43%;
        width: 40px;
    }

    button.fh {
        height: 40px;
        left: 51%;
        top: 43%;
        width: 40px;
    }
}

/*Bhupendra - Changes*/
.tab-view label {
    display: inline-block;
    margin: 0px 0px 4px 0px;
    padding: 12px 6px;
    font-weight: 600;
    text-align: center;
    color: #bbb;
    border: 1px solid transparent;
}

.tab-view input:checked + label {
    color: #1979c3;
    border: 1px solid #ddd;
    border-top: 3px solid #1979c3 !important;
    border-bottom: none;
}

.tab-view section {
    display: none;
}

.tab-view #tab1:checked ~ #content-text,
.tab-view #tab2:checked ~ #content-upload,
.tab-view #tab3:checked ~ #content-clipart,
.tab-view #tab5:checked ~ #content-name-number,
.tab-view #tab6:checked ~ #content-quote {
    display: block !important;
}

.tab-view #template:checked ~ #content-template {
    display: block !important;
}

.tab-view #template:checked ~ .directional-pad {
    display: none;
}

.tab-view label:hover {
    color: #888;
    cursor: pointer;
}

.tab-view #tab-clip,
#tab-image,
#tab-text,
#tab-template,
#tab-name-number,
#tab-quote {
    margin-bottom: 0%;
    text-align: left;
}

.tab-view #tab-clip,
#tab-image,
#tab-text,
#tab-template,
#tab-name-number,
#tab-quote {
    margin-left: 0%;
    margin-right: 0%;
}

.tab-view section {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #1979c3;
    padding: 15px;
    margin: -1px 0 0;
}

.tab-view #tab-text:hover {
    background: none;
    color: #414141;
}

.tab-view #tab-image:hover {
    background: none;
    color: #414141;
}

.tab-view #tab-clip:hover {
    background: none;
    color: #414141;
}

.tab-view label[data-icon]::before {
    content: none !important;
}

.tab-view #tab-name-number:hover {
    background: none;
    color: #414141;
}

.tab-view #tab-quote:hover {
    background: none;
    color: #414141;
}

.tab-view .font_style_popup {
    display: block;
}

@media screen and (max-width: 650px) {
    .tab-view [data-icon]:before {
        font-family: "milople-personalizer-tool" !important;
        content: attr(data-icon) !important;
        font-style: normal !important;
        font-weight: normal !important;
        font-variant: normal !important;
        text-transform: none !important;
        speak: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .tab-view label {
        font-size: 0;
        padding: 12px 30px;
    }

    .tab-view label[data-icon]::before {
        content: attr(data-icon) !important;
    }

    .tab-view label:before {
        margin: 0;
        font-size: 18px;
    }

}

@media screen and (max-width: 400px) {

    .tab-view .text_effect_buttons {
        white-space: normal;
    }

    .tab-view .text_style button {
        width: 39px !important;
    }

    [data-icon]:before {
        font-family: "milople-personalizer-tool" !important;
        content: attr(data-icon);
        font-style: normal !important;
        font-weight: normal !important;
        font-variant: normal !important;
        text-transform: none !important;
        speak: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

.product-thumbs > li {
    display: inline;
    margin-bottom: -14px;
}

/*Product - Gallery CSS*/
div#container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%
}

.slider {
    margin-top: 5%;
}

.left {
    float: left;
}

.right {
    float: right;
}

.designAreasDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%
}

.canvas-container {
    margin: 0 auto;
    position: absolute !important;
    max-width: 100%;
    overflow: hidden;
}

.gallery-placeholder {
    position: relative;
    text-align: center;
}

#popup-model .gallery-placeholder {
    border: 1px solid #e1e1e1;
    margin-left: 10% !important;
    margin-top: 4%;
    position: relative;
    text-align: center;
}

.milople-personalized .modal-inner-wrap {
    margin-top: 5px !important;
}

@media screen and (max-width: 550px) {
    label {
        font-size: 0;
    }

    label:before {
        margin-left: 0;
        font-size: 18px;
    }

    .tab-view .directional-pad button.top {
        left: 10% !important;
        margin-left: 10px !important;
        padding: 7px 12px !important;
        top: 0 !important;
    }

    .tab-view button.center {
        left: 14% !important;
        margin-left: 0 !important;
        padding: 8px 12px !important;
        top: 45% !important;
    }

    .tab-view .directional-pad button.bottom {
        left: 14% !important;
        margin-left: 0 !important;
        padding: 7px 12px !important;
        top: 94% !important;
    }

    .tab-view .directional-pad button.top-right {
        left: 28% !important;
        padding: 7px 12px !important;
        top: 0 !important;
    }

    .tab-view .directional-pad button.right {
        left: 22% !important;
        margin-left: 0 !important;
        padding: 7px 12px !important;
        top: 42% !important;
    }

    .tab-view .directional-pad button.bottom-right {
        left: 22% !important;
        padding: 6.5px 11.5px !important;
        top: 85% !important;
    }

    .tab-view .directional-pad button.rotate {
        border-radius: 0 !important;
        left: 35% !important;
        top: 0 !important;
    }

    .tab-view .directional-pad button.antirotate {
        border-radius: 0 !important;
        left: 35% !important;
        top: 55% !important;
    }

    .tab-view button.btf {
        border-radius: 0 !important;
        left: 48% !important;
        top: 0 !important;
    }

    .tab-view button.stb {
        border-radius: 0 !important;
        left: 48% !important;
        top: 55% !important;
    }

    .tab-view button.fh {
        border-radius: 0 !important;
        left: 61% !important;
        top: 0 !important;
    }

    .tab-view button.fv {
        border-radius: 0 !important;
        left: 61% !important;
        top: 53% !important;
    }

    .tab-view button.clone {
        border-radius: 0 !important;
        left: 74% !important;
        padding: 4px 4px !important;
        top: 0 !important;
    }

    .tab-view button.delete {
        border-radius: 0 !important;
        left: 73.8% !important;
        top: 39px !important;
    }

    .tab-view button.undo {
        border-radius: 0 !important;
        left: 85% !important;
        top: 0 !important;
    }

    .tab-view button.redo {
        border-radius: 0 !important;
        left: 85% !important;
        top: 39px !important;
    }
}

@media screen and (max-width: 400px) {
    label {
        padding: 15px;
    }
}

/*Inner Scroll*/
.milople-personalized .modal-inner-wrap {
    max-height: 100% !important;
}

/*List color feature*/
label#tab-text.active[data-icon]::before {
    color: white;
}

#tab-text.active {
    background: #1979c3 none repeat scroll 0 0;
    color: white;
    border: none !important;
}

label#tab-image.active[data-icon]::before {
    color: white;
}

#tab-image.active {
    background: #1979c3 none repeat scroll 0 0;
    color: white;
    border: none !important;
}

label#tab-clip.active[data-icon]::before {
    color: white;
}

#tab-clip.active {
    background: #1979c3 none repeat scroll 0 0;
    color: white;
    border: none !important;
}

label#tab-template.active[data-icon]::before {
    color: white;
}

#tab-template.active {
    background: #1979c3 none repeat scroll 0 0;
    color: white;
    border: none !important;
}

label#tab-name-number.active[data-icon]::before {
    color: white;
}

#tab-name-number.active {
    background: #1979c3 none repeat scroll 0 0;
    color: white;
    border: none !important;
}

label#tab-quote.active[data-icon]::before {
    color: white;
}

#tab-quote.active {
    background: #1979c3 none repeat scroll 0 0;
    color: white;
    border: none !important;
}

.popup-personalized label::after {
    content: "z";
    float: right;
    font-family: "milople-personalizer-tool";
    font-size: 23px;
    margin-top: -3px;
    vertical-align: middle;
    transition-duration: 0.5s;
    color: #1979c3;
}

.popup-personalized label.active::after {
    transform: rotate(43deg) !important;
    transition-duration: 0.5s;
    color: white;
}

.popup-personalized .label-template::after {
    content: "" !important;
}

.popup-personalized .label-template {
    border: 0 none !important;
}

.popup-personalized .lblMaxLength {
    padding-bottom: 0;
}

.popup-personalized .product-thumbs.float_left {
    float: none;
    margin: 0 auto;
    padding-top: 12px;
    width: 40%;
}

button > [data-icon]::before {
    font-size: 15px;
    margin-left: 0;
}

/*Directional Arrows - Popup*/
.popup-personalized button.center {
    left: 7%;
    margin-left: 0;
    padding: 7px 12px;
    top: 44%;
}

.popup-personalized .directional-pad button.top {
    left: 7%;
    margin-left: 0;
    padding: 7px 12px;
    top: 0;
}

.popup-personalized .directional-pad button.bottom {
    left: 7%;
    margin-left: 0;
    padding: 7px 12px;
    top: 88%;
}

.popup-personalized .directional-pad button.left {
    left: -6.5%;
    margin-left: 0;
    padding: 7px 12px;
    top: 44%;
}

.popup-personalized .directional-pad button.right {
    left: 20%;
    margin-left: 0;
    padding: 7px 12px;
    top: 44%;
}

.popup-personalized .directional-pad button.top-left {
    left: -6.5%;
    padding: 7px 12px;
    top: 0;
}

.popup-personalized .directional-pad button.top-right {
    left: 20%;
    padding: 7px 12px;
    top: 0;
}

.popup-personalized .directional-pad button.bottom-left {
    left: -6.5%;
    padding: 7px 12px;
    top: 88%;
}

.popup-personalized .directional-pad button.bottom-right {
    left: 20%;
    padding: 7px 12px;
    top: 88%;
}

/*Extra*/
.popup-personalized .directional-pad button.rotate {
    border-radius: 0;
    left: 35%;
    padding-left: 5px;
    top: 0;
    color: black;
}

.popup-personalized .directional-pad button.antirotate {
    border-radius: 0;
    left: 35%;
    padding-left: 5px;
    top: 55%;
    color: black;
}

.popup-personalized .directional-pad button.undo {
    border-radius: 0;
    left: 79%;
    padding-left: 5px;
    top: 0%;
    color: black;
}

.popup-personalized .directional-pad button.redo {
    border-radius: 0;
    left: 79%;
    padding-left: 5px;
    top: 55%;
    color: black;
}

.clone > span[data-icon]::before {
    font-size: 20px;
}

button.fh {
    border-radius: 0;
    padding: 6px 9px;
    right: 24px;
    top: 0;
}

.fh > span[data-icon]::before {
    font-size: 20px;
}

button.fv {
    border-radius: 0;
    padding: 6px 9px;
    right: 24px;
    top: 0;
}

.fv > span[data-icon]::before {
    font-size: 20px;
}

button.stb {
    border-radius: 0;
    padding: 6px 9px;
    right: 24px;
    top: 0;
}

.stb > span[data-icon]::before {
    font-size: 20px;
}

button.btf {
    border-radius: 0;
    padding: 6px 9px;
    right: 24px;
    top: 0;
}

.btf > span[data-icon]::before {
    font-size: 20px;
}

button.delete {
    border-radius: 0;
    padding: 6px 9px;
    right: 24px;
    top: 0;
}

.delete > span[data-icon]::before {
    font-size: 20px;
}

.popup-personalized button.delete {
    border-radius: 0;
    left: 78%;
    top: 39px;
    padding-left: 5px;
    height: 32px;
    width: 32px;
    color: black;
}

.popup-personalized button.stb {
    border-radius: 0;
    left: 46%;
    padding-left: 5px;
    top: 55%;
    color: black;
}

.popup-personalized button.btf {
    border-radius: 0;
    left: 46%;
    padding-left: 5px;
    top: 0;
    color: black;
}

.popup-personalized button.fh {
    left: 57%;
    top: 0;
    padding-left: 5px;
    border-radius: 0;
    color: black;
}

.popup-personalized button.fv {
    border-radius: 0;
    left: 57%;
    top: 55%;
    padding-left: 5px;
    color: black;
}

.popup-personalized button.clone {
    border-radius: 0;
    padding-left: 5px;
    left: 68%;
    height: 32px;
    width: 32px;
    right: 30px;
    top: 0;
    color: black;
}

.popup-personalized button.delete {
    border-radius: 0;
    left: 68%;
    top: 55%;
    color: black;
}

.popup-personalized .directional-pad {
    height: 77px;
    margin-bottom: 15px;
    margin-left: 21px;
    margin-top: 5px;
    position: relative;
    width: 100%;
    color: black;
}

/*End Directional - Popup*/
/*Directional Arrows - Tabview*/
.tab-view button.center {
    left: 8%;
    margin-left: 0;
    padding: 7px 12px;
    top: 45%;
}

.tab-view .directional-pad button.top {
    left: 8%;
    margin-left: 0;
    padding: 7px 12px;
    top: 0;
}

.tab-view .directional-pad button.bottom {
    left: 8%;
    margin-left: 0;
    padding: 7px 12px;
    top: 93%;
}

.tab-view .directional-pad button.left {
    left: -1.4%;
    margin-left: 0;
    padding: 8px 12px;
    top: 45%;
}

.tab-view .directional-pad button.right {
    left: 17.2%;
    margin-left: 0;
    padding: 7px 12px;
    top: 45%;
}

.tab-view .directional-pad button.top-left {
    left: -1.4%;
    padding: 7px 12px;
    top: 0;
}

.tab-view .directional-pad button.top-right {
    left: 17.2%;
    padding: 7px 12px;
    top: 0;
}

.tab-view .directional-pad button.bottom-left {
    left: -1.4%;
    padding: 6.5px 12px;
    top: 93%;
}

.tab-view .directional-pad button.bottom-right {
    left: 17.2%;
    padding: 6.5px 11.5px;
    top: 93%;
}

/*Extra*/
.tab-view .directional-pad button.rotate {
    border-radius: 0;
    left: 35%;
    top: 0;
}

.tab-view .directional-pad button.antirotate {
    border-radius: 0;
    left: 35%;
    top: 55%;
}

.clone > span[data-icon]::before {
    color: black !important;
    font-size: 20px;
}

.tab-view .directional-pad button.rotate {
    border-radius: 0;
    left: 28%;
    padding: 0px;
    top: 0;
    color: black;
    height: 32px;
    width: 40px;
}

.tab-view .directional-pad button.antirotate {
    border-radius: 0;
    left: 28%;
    padding: 0px;
    top: 55%;
    color: black;
    height: 32px;
    width: 40px;
}

.tab-view button.btf {
    border-radius: 0;
    left: 37%;
    padding-left: 5px;
    top: 0;
    height: 32px;
    width: 40px;
    color: black;
}

.tab-view button.stb {
    border-radius: 0;
    left: 37%;
    padding-left: 5px;
    top: 55%;
    height: 32px;
    width: 40px;
    color: black;
}

.tab-view button.fh {
    border-radius: 0;
    left: 46%;
    padding-left: 5px;
    top: 0;
    height: 32px;
    width: 40px;
    color: black;
}

.tab-view button.fv {
    border-radius: 0;
    left: 46%;
    padding-left: 5px;
    top: 55%;
    height: 32px;
    width: 40px;
    color: black;
}

.tab-view button.clone {
    border-radius: 0;
    left: 55%;
    /*right: 41%;*/
    padding-left: 5px;
    height: 32px;
    width: 40px;
    top: 0;
    color: black;
}

.tab-view button.undo {
    border-radius: 0;
    left: 64%;
    padding-left: 5px;
    height: 32px;
    width: 40px;
    top: 0;
    color: black;
}

.tab-view button.redo {
    border-radius: 0;
    left: 64%;
    padding-left: 5px;
    height: 32px;
    width: 40px;
    top: 55%;
    color: black;
}

.tab-view button.delete {
    border-radius: 0;
    left: 55%;
    padding-left: 5px;
    height: 32px;
    width: 40px;
    top: 43px;
    color: black;
}

.tab-view .directional-pad {
    height: 77px;
    margin-bottom: 25px;
    margin-left: 6px;
    margin-top: 6px;
    position: relative;
    width: 100%;
}

.circle {
    width: 40px;
    height: 40px;
    padding-bottom: 0;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: white;
    position: absolute;
    border: 1px solid green;
    top: -20px;
    z-index: 9;
    right: 28px;
    display: none;
}

.circle::before {
    content: '';
    display: block;
    border-top: solid 7px transparent;
    border-right: solid 10px black;
    border-bottom: solid 7px transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -7px;
}

.popup-personalized .icon.label_in_popup {
    width: 100%;
}

#thumb-container {
    float: left;
    left: 30%;
    position: absolute;
    top: 5px;
    width: auto;
}

/* // popup  */
.milople-personalized .modal-header {
    /*display:none !important;*/
    z-index: 99;
    padding: 0% !important;
}

.milople-personalized .modal-content {
    padding: 0% !important;
}

/* // popup image slider */
.personalized-thumb-container .owl-prev {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 40%;
    margin-left: -20px;
    display: block !IMPORTANT;
    border: 0px solid black;
}

.personalized-thumb-container .owl-next {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 40%;
    right: 0px;
    display: block !IMPORTANT;
    border: 0px solid black;
}

.personalized-thumb-container .owl-prev i,
.personalized-thumb-container .owl-next i {
    transform: scale(1, 6);
    color: #ccc;
}

.personalized-thumb-container .owl-stage {
    list-style: outside none none;
    width: auto !important;
}

.item img {
    width: 100%;
}

.personalized-thumb-container ul.owl-carousel {
    padding: 0;
}

.personalized-thumb-container .owl-item.active {
    margin-right: 10px !important;
    width: auto !important;
}

.arrow-left {
    border-color: #4cc1a6 #4cc1a6 transparent transparent;
    border-image: none;
    border-style: solid;
    border-width: 7px;
    height: 0;
    transform: rotate(230deg);
    width: 0;
}

.arrow-right {
    border-color: #4cc1a6 #4cc1a6 transparent transparent;
    border-image: none;
    border-style: solid;
    border-width: 7px;
    height: 0;
    transform: rotate(45deg);
    width: 0;
}

.personalized-thumb-container .owl-theme .owl-nav [class*="owl-"] {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
}

.arrow-up {
    display: inline-block;
    float: right;
}

.arrow-down {
    display: inline-block;
    float: right;
}

@media only screen and (max-width: 768px) {
    .done-button-black {
        left: 0% !important;
        padding-left: 22px !important;
        padding-top: 12px !important;
        top: 10px;
    }

    .milople-personalized .modal-inner-wrap.modal-custom .action-close, .milople-personalized .modal-inner-wrap .modal-popup .action-close, .modal-slide .action-close {
        right: 17px;
        top: 0px !important;
    }

    .popup-personalized .directional-pad {
        margin-left: 0px;
    }

    .popup-personalized .directional-pad button.top {
        left: 8%;
    }

    .popup-personalized .directional-pad button.top-right {
        left: 16% !important;
    }

    .popup-personalized button.center {
        left: 8%;

    }

    .popup-personalized .directional-pad button.right {
        left: 16% !important;
    }

    .popup-personalized .directional-pad button.bottom {
        left: 8%;
    }

    .popup-personalized .directional-pad button.bottom-right {
        left: 16% !important;
    }

    .popup-personalized .directional-pad button.rotate {
        left: 30% !important;
    }

    .popup-personalized .directional-pad button.antirotate {
        left: 30% !important;
        top: 49px !important;
    }

    .popup-personalized button.btf {
        left: 37% !important;
        width: 12%;
    }

    .popup-personalized button.stb {
        left: 37% !important;
        top: 54% !important;
        width: 12%;
    }

    .popup-personalized button.fh {
        left: 49.5% !important;
        width: 12%;
    }

    .popup-personalized button.fv {
        left: 49.5% !important;
        width: 12%;
    }

    .popup-personalized button.clone {
        padding: 0px !important;
        left: 62.2% !important;
    }

    .popup-personalized button.delete {
        left: 62.2% !important;
        top: 49px !important;
    }

    .popup-personalized .directional-pad button.undo {
        left: 70% !important;
    }

    .popup-personalized .directional-pad button.redo {
        left: 70% !important;
        top: 61% !important;
    }

    .catalog-product-view .product.media {

        overflow-x: scroll;
    }

    .tab-view .directional-pad button.top {
        left: 14%;
    }

    .tab-view button.center {
        left: 14%;
        padding: 8px 12px;
    }

    .tab-view .directional-pad button.bottom {
        left: 14%;
    }

    .tab-view .directional-pad button.top-right {
        left: 29.5%;
    }

    .tab-view .directional-pad button.right {
        left: 29.5%;
        padding: 8px 12px;
    }

    .tab-view .directional-pad button.bottom-right {
        left: 29.5%;
        padding: 7px 12px;
    }

    .tab-view .directional-pad button.rotate {
        left: 45%;
    }

    .tab-view .directional-pad button.antirotate {
        left: 45%;
        top: 47%;
    }

    .tab-view button.btf {
        left: 60%;
    }

    .tab-view button.stb {
        left: 60%;
        top: 47%;
    }

    .tab-view button.fh {
        left: 75%;
    }

    .tab-view button.fv {
        left: 75%;
        top: 47%;
    }

    .tab-view button.clone {
        left: 90%;
    }

    .tab-view button.delete {
        left: 90%;
        top: 36px;
    }

    .tab-view button.undo {
        left: 45%;
        top: 93%;
    }

    .tab-view button.redo {
        left: 90%;
        top: 93%;
    }

}

@media only screen and (max-width: 980px) {
    .popup-personalized .directional-pad button.left {
        left: 0%;
        margin-left: 0;
        padding: 7px 12px;
        top: 44%;
    }

    .popup-personalized .directional-pad button.right {
        left: 14%;
    }

    .popup-personalized .directional-pad button.top-left {
        left: 0%;
    }

    .popup-personalized .directional-pad button.top-right {
        left: 14%;
        padding: 7px 12px;
        top: 0;
    }

    .popup-personalized .directional-pad button.bottom-left {
        left: 0%;
    }

    .popup-personalized .directional-pad button.bottom-right {
        left: 14%;
    }

    /*Extra*/
    .popup-personalized .directional-pad button.rotate {
        left: 23%;
    }

    .popup-personalized .directional-pad button.antirotate {
        left: 23%;
    }

    .clone > span[data-icon]::before {
        color: #c6c6c6;
        font-size: 20px;
        color: black;
    }

    .popup-personalized button.delete {
        border-radius: 0;
        left: 78%;
        top: 39px;
    }

    .popup-personalized button.stb {
        left: 31%;
    }

    .popup-personalized button.btf {
        left: 31%;
    }

    .popup-personalized button.fh {
        left: 39%;
    }

    .popup-personalized button.fv {
        border-radius: 0;
        left: 39%;
        top: 54%;
    }

    .popup-personalized button.clone {
        border-radius: 0;
        left: 78%;
        height: 32px;
        width: 32px;
        padding: 0px;
        top: 0;
        right: 0;
    }

    .done-button-black {
        float: left;
        box-shadow: none !important;
        left: 80%;
        height: 36px;
        padding-left: 12px;
        padding-top: 9px;
        text-align: center;
        padding-right: 2px;
        font-size: 15px;
    }

    .popup-personalized section {
        width: 94.5% !important;
        margin: -6px 0px 0px;
    }

    #popup-model .gallery-placeholder {
        margin-left: 7% !important;
    }

    .text_style button {
        width: 9% !important;
    }

    .format_text {
        margin: center;
        width: 48px;
    }

    .text_style {
        margin-top: 0;
        width: 100%;
        display: block;
    }

    .popup-personalized .icon.label_in_popup {
        width: 97%;
    }

    .small_border_label {
        margin-top: 7px;
    }

    .text_effect_buttons {
        margin-top: 1%
    }
}

#content-name-number span.round[data-icon]::before {
    font-size: 28px;
    color: #0009;
    float: right;
    margin-right: inherit;
}

.addone {
    margin-right: 5px;
}

.page-product-downloadable .personalized-container.tab-view {
    float: right;
    width: 50%;
    margin-bottom: 33px;
}

.page-product-downloadable .tab-view .text_style button {
    width: 7%;
}

.page-product-bundle .tab-view .text_style button {
    width: 6%;
}

.page-product-bundle .personalized-container.tab-view {
    float: right;
    width: 50%;
    margin-bottom: 33px;
}

.popup-personalized section {
    width: 96.4%;
}

.popup-personalized .btn {
    width: 78%
}

.popup-personalized #template-loader {
    margin-left: 150px;
}

.loader #template-loader {
    margin-left: 200px;
}

@media screen and (max-width: 1280px) and (min-width: 1200px) {
    .btn {
        width: 60% !important;
    }

    #popup-model .gallery-placeholder {
        width: 50%;
    }

    .popup-personalized section {
        width: 95.3%;
    }
}

@media screen and (max-width: 1024px) and (min-width: 981px) {
    .btn {
        width: 50% !important;
    }

    .done-button-black {
        left: 85%;
    }

    #popup-model .gallery-placeholder {
        margin-left: 18% !important;
    }

    .milople-personalized .modal-inner-wrap.modal-custom .action-close, .milople-personalized .modal-inner-wrap .modal-popup .action-close, .modal-slide .action-close {

        right: 0px;
    }

    .text_style button {

        width: 9% !important;
    }

    .popup-personalized section {
        width: 98.1%;
        margin: -7px 0px 2px;
    }

    .popup-personalized .directional-pad {
        margin-left: 47px;
    }

    .directional-pad button {
        width: 10%;
    }

    .tab-view .directional-pad button.top {
        left: 9%;
    }

    .tab-view button.center {
        left: 9%;
        padding: 8px 12px;
    }

    .tab-view .directional-pad button.bottom {
        left: 9%;
    }

    .tab-view .directional-pad button.top-right {
        left: 19.5%;
    }

    .tab-view .directional-pad button.right {
        left: 19.5%;
        padding: 8px 12px;
    }

    .tab-view .directional-pad button.bottom-right {
        left: 19.5%;
        padding: 7px 12px;
    }

    .tab-view .directional-pad button.rotate {
        left: 32%;
    }

    .tab-view .directional-pad button.antirotate {
        left: 32%;
    }

    .tab-view button.btf {
        left: 43%;
    }

    .tab-view button.stb {
        left: 43%;
    }

    .tab-view button.fh {
        left: 54%;
    }

    .tab-view button.fv {
        left: 54%;
    }

    .tab-view button.clone {
        left: 65%;
    }

    .tab-view button.delete {
        left: 65%;
    }

    .tab-view button.undo {
        left: 76%;
    }

    .tab-view button.redo {
        left: 76%;
    }

    .popup-personalized .directional-pad button.rotate {
        left: 41%;
    }

    .popup-personalized .directional-pad button.antirotate {
        left: 41%;
        top: 55%;
    }

    .popup-personalized button.clone {
        left: 67.5%;
    }

    .popup-personalized button.delete {
        left: 67.5%;
        top: 55%;
    }

}

@media screen and (max-width: 441px) and (min-width: 406px) {
    .btn {
        width: 50% !important;
    }
}

@media screen and (max-width: 390px) and (min-width: 375px) {
    .btn {
        width: 45% !important;
    }
}

@media screen and (max-width: 360px) and (min-width: 320px) {
    .btn {
        width: 40% !important;
    }

    .tab-view label {

        padding: 12px;
    }
}

/*End Directional - Tabview*/
@media screen and (max-width: 980px) and (min-width: 980px) {
    #popup-model .gallery-placeholder {
        margin-left: 15%;
    }
}

@media screen and (max-width: 441px) and (min-width: 320px) {
    #popup-model .modal-header {
        display: block;
        min-height: 61px;
        padding: 0px !important;
    }

    #thumb-container {
        float: left;
        left: 4% !important;
        position: relative !important;
        top: 5px;
        width: auto;
    }

    #popup-model .gallery-placeholder {
        margin-left: 0%;
        margin-top: 0%;
    }

    button.small-screen {
        margin-bottom: -25px;
    }

    button#refresh_canvas_button {
        background: rgba(0, 0, 0, 0) url("../images/clean-mobile.png") no-repeat scroll 100% top / 50px auto;
        border: medium none;
        box-shadow: none;
        height: 43px;
        margin-top: 9px;
        position: absolute;
        right: 63px;
        top: 3%;
        width: 50px;
    }

    .personalizer_popup .small_border_label {
        border-top: none;
    }

    .small_border_label {
        border-top: 1px solid #d5d8ce;
        overflow: auto;
        white-space: nowrap;
        width: 100%;
        position: relative;
    }

    [data-icon]::before {
        font-size: 30px;
    }

    .personalizer_popup section {
        margin-top: 0px;
    }

    #add_text {
        margin-left: 15%;
    }

    .circle:hover {
        background: white;
        border: 1px solid green;
    }

    section#content-clipart {
        padding-top: 25px;
    }

    #font_style_effect {
        display: inline-block !important;
    }

    .text_style {
        margin-top: 10px;
    }

    .text_style button {
        width: 11% !important;
        margin-left: 3px;
    }

    .text_effect_buttons {
        white-space: nowrap;
        width: 312px;
        overflow-x: auto;
    }

    .name_number_content {
        height: 170px;
        overflow: scroll;
        width: 90%;
        margin-left: 12px;
        padding-top: 21px !important;
        padding-left: 7px !important;
    }

    .popup-personalized section#content-name-number {
        padding: 0px;
    }

    span.close-name {
        display: none;
    }

    .done-button-black.small-screen {
        float: left;
        box-shadow: none !important;
        margin-left: 2%;
        margin-bottom: -8px !important;
    }

    .done-button-black.small-screen {
        color: #fff;
        display: block;
        float: left;
        font-weight: bold;
        height: 44px;
        padding-left: 26px;
        padding-top: 11px;
        text-transform: uppercase;
        width: 105px;
        padding-right: 0;
        border: 1px solid cyan;
        left: 1%;
        top: 6px !important;
        font-size: 15px !important;
    }

    .done-button-black.small-screen:hover {
        background: rgba(0, 0, 0, 0) url("../images/popup-done.png") no-repeat local 4px 7px / 26px 26px !important;
        color: black !important;
        display: block !important;
        float: left !important;
        font-weight: bold !important;
        height: 44px !important;
        padding-left: 26px !important;
        padding-top: 13px !important;
        text-transform: uppercase !important;
        width: 93px !important;
        padding-right: 0 !important;
        border: 1px solid cyan !important;
    }

    .milople-personalized .modal-inner-wrap.modal-custom .action-close,
    .milople-personalized .modal-inner-wrap .modal-popup .action-close,
    .modal-slide .action-close {
        top: 0px !important;
        margin-right: 10px !important;
    }

    .format_text {
        display: inline-block !important;
    }

    .popup-personalized section {
        width: auto !important;
    }

    .popup-personalized .icon.label_in_popup {
        width: auto !important;
    }

    .tab-view .text_effect_buttons {
        display: block !important;
    }

    .tab-view .font_style_popup {
        display: block !important;
    }

    .tab-view #add_text {
        margin-left: 0%;
    }

    .popup-personalized section#content-name-number {
        margin-left: 0px !important;
    }

    .popup-personalized section#content-quote {
        margin-left: 0px !important;
    }

    .personalized-thumb-container .owl-carousel .owl-item img {
        width: 47px !important;
        height: 50px !important;
    }

    .tab-view .directional-pad button.top {
        left: 13% !important;
        margin-left: 0 !important;
        padding: 7px 12px !important;
        top: 0 !important;
    }

    .tab-view button.center {
        left: 13% !important;
        margin-left: 0 !important;
        padding: 8px 12px !important;
        top: 45% !important;
    }

    .tab-view .directional-pad button.bottom {
        left: 13% !important;
        margin-left: 0 !important;
        padding: 7px 12px !important;
        top: 92% !important;
    }

    .tab-view .directional-pad button.top-right {
        left: 28% !important;
        padding: 7px 12px !important;
        top: 0 !important;
    }

    .tab-view .directional-pad button.right {
        left: 28% !important;
        margin-left: 0 !important;
        padding: 8px 12px !important;
        top: 45% !important;
    }

    .tab-view .directional-pad button.bottom-right {
        left: 28% !important;
        padding: 7px 12px !important;
        top: 92% !important;

    }

    .tab-view .directional-pad button.rotate {
        border-radius: 0 !important;
        left: 42.5% !important;
        top: 0 !important;
        width: 38px !important;
    }

    .tab-view .directional-pad button.antirotate {
        border-radius: 0 !important;
        left: 42.5% !important;
        top: 45% !important;
        width: 38px !important;
    }

    .tab-view button.btf {
        border-radius: 0 !important;
        left: 56% !important;
        top: 0 !important;
    }

    .tab-view button.stb {
        border-radius: 0 !important;
        left: 56% !important;
        top: 45% !important;
    }

    .tab-view button.fh {
        border-radius: 0 !important;
        left: 70% !important;
        top: 0 !important;
    }

    .tab-view button.fv {
        border-radius: 0 !important;
        left: 70% !important;
        top: 45% !important;
    }

    .tab-view button.clone {
        border-radius: 0 !important;
        left: 84% !important;
        padding: 4px 4px !important;
        top: 0px !important;
    }

    .tab-view button.delete {
        border-radius: 0 !important;
        left: 84% !important;
        top: 35px !important;
    }

    .tab-view button.undo {
        border-radius: 0 !important;
        left: 42.5% !important;
        top: 71px !important;
    }

    .tab-view button.redo {
        border-radius: 0 !important;
        left: 84% !important;
        top: 71px !important;
    }

}

.modal-popup._inner-scroll .modal-content {
    overflow-y: scroll !important;
    overflow-x: hidden !important;
}

#reverse {
    margin: 5px 0px 0px 11px !important;
}

.popup-personalized section#content-template {
    padding-bottom: 28px !important;
}

section#content-template {
    padding-bottom: 24px;
    padding-top: 8px;
    max-height: 200px;
    overflow: auto;
}

.resizeimagediv {
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 7px;
    margin-right: 7px;
}

.imageTemplate {
    width: auto;
    /*max-height: 250px;*/
}

.preview_label {
    text-align: center;
    font-size: 18px;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.home {
    height: 30px;
}

#home {
    float: left;
    background-color: white;
    padding: 4px 5px 1px 5px;
}

button.image_field_action {
    color: #fff;
    background-color: #333;
    /*height: 40px;*/
    border: 0px;
    border-radius: 2px;
    /*margin-top: -3px*/
    padding: 7px 8px;

}

button.image_field_action:hover {
    background-color: #29bab0;
    /*height: 40px;*/
}

.v-middle {
    margin-top: 25px;
}

.color-picker,
.backgroundcolor-picker,
.quote-color-picker,
.quote-backgroundcolor-picker,
.namenumber-color-picker,
.namenumber-backgroundcolor-picker {
    background: rgba(255, 255, 255);
    padding: 10px;
    border: 1px solid rgba(203, 203, 203, 0.6);
    border-radius: 2px;
    position: absolute;

    /* changes start for overlap issue*/
    z-index: 1;
    /* changes end */
}

.color-picker > div,
.backgroundcolor-picker > div,
.quote-color-picker > div,
.quote-backgroundcolor-picker > div,
.namenumber-color-picker > div,
.namenumber-backgroundcolor-picker > div {
    width: 40px;
    display: inline-block;
    height: 40px;
    margin: 5px;
    border-radius: 100%;
    opacity: 0.7;
}

.color-picker > div:hover,
.backgroundcolor-picker > div:hover,
.quote-color-picker > div:hover,
.quote-backgroundcolor-picker > div:hover,
.namenumber-color-picker > div:hover,
.namenumber-backgroundcolor-picker > div:hover {
    opacity: 1;
}

.personalized-thumb-container .owl-nav {
    display: none;
}

.milople-personalized .gallery_and_tool {
    width: 100%;
    display: inline-block;
}

@media screen and (max-width: 550px) {
    .personalizer_popup {
        position: relative !important;
        bottom: 0;
    }
}

.btn_opacity_class {
    pointer-events: none;
    opacity: 0.7;
}

@media screen and (max-width: 550px) {
    #maindiv_personalizer_popup {
        padding-right: 5%;
        width: 88% !important;
    }

    .gallery_and_tool {
        overflow-x: scroll;
    }
}

/*Custome css added 18-06-2021*/
.btn_color {
    background-color: #006bb4;
}

.browse_btn {
    background: #c7e7ff;
    border: 1px solid #1979c3;
    padding: 5px 3px 4px;
}


/*@media screen and (min-width: 768px) {
	.page-layout-1column .product.media {
	
		overflow-x: scroll;
		overflow-y: scroll;
	}
	.page-layout-1column .product.media{
		sx		
	}
}
@media screen and (min-width: 310) and (max-width: 767px){
	.page-layout-1column .product.media {
	
		overflow-x: scroll;
		overflow-y: scroll;
	}
}*/
@media screen and (min-width: 442) and (max-width: 767px) {
    .tab-view .text_style button {
        width: 7% !important;
    }
}

@media screen and (min-width: 768) and (max-width: 768px) {
    .tab-view .text_style button {
        width: 13% !important;
    }
}