@media screen and (min-width: 768px) {
    #wpc-editor-container {
        flex: 1 auto;
        max-height: 500px;
        min-height: 500px;
        min-width: 500px;
    }
}


@media screen and (min-width: 1200px) {
    .canvas-container {
        min-height: 700px;
        min-width: 700px;
    }

    .lb-layout-container {
        display: flex;
        flex-wrap: wrap;
    }

    #wpc-editor-container {
        flex: 1 auto;
        max-height: 700px;
        min-height: 700px;
        min-width: 700px;
    }

    #lb-ui-container {
        flex: 1 auto;
        max-width: 500px;
        display: flex;
        margin-left: 10px
    }

    #ui_canvas_editor {
        flex: 1 auto;
    }

    #lb-designer {
        display: flex;
        min-height: 100vh;
    }
}

.lb_ui_product_price {
    order: 10;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    flex: 1 1 auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (min-width: 1200px) {
    .lumberbase_wrapper,
    .lumberprint_addons_wrapper,
    .lb_tabs {
        box-shadow: 0px 19px 10px -19px rgba(0,0,0,0.5);
    }
    .lb_ui_product_price {
        background-color: transparent;

        border-right: 1px solid #24b47e;
        border-left: 1px solid #24b47e;


    }

    .lb_title_price {
        border-right: 1px solid #24b47e;
        border-left: 1px solid #24b47e;
        border-top: 1px solid #24b47e;

        border-radius: 10px 10px 0px 0px;
        margin-top: 10px;
    }
}

.lb_title_price, .lb_ui_product_price {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    color: #fff;
    font-size: 10px;
}

@media screen and (min-width: 1200px) {
    .lb_title_price, .lb_ui_product_price {
        background-color: #fff;
        color: #333;
        font-size: 15px;

        padding-left: 0.5rem;
        padding-right: 0.5rem;
        justify-content: start;
    }
    .lb_title_price span, .lb_ui_product_price span {
        font-size: 75%;
        margin-left: 5px;
        margin-right: 5px;
    }

}

.lb_title_price .lb_product_title,
.lb_ui_product_price .lb_ui_product_price_attr,
.lb_photoopt,

.lb_ui_product_price .variation dd
{
    text-transform: uppercase;

    color: #fff;
    background-color: #ffac54;
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

@media screen and (max-width: 1200px) {
    .lb_title_price .lb_product_title,
    .lb_ui_product_price .lb_ui_product_price_attr,
    .lb_photoopt {
        font-size: 100%;
        white-space: normal;
    }
}

.lb_ui_product_price .amount {
    color: #24b47e;
}

.lb_ui_product_price_amount {
    float: right;
}

.lb_ui_product_price .variation {
    display: flex;
    font-size: 15px;
    width: 100%;
}

.lb_ui_product_price .variation dt {
    flex: 0 0 auto;
    margin: 0;
    font-size: 15px;
}
.lb_ui_product_price .variation dd {
    flex: 0 0 auto;
    margin-right: 5px;
    margin-left: 5px;
    font-size: 75%;
    align-self: center;
}

.lb_cart_desktop {
    margin-top: 10px;
}

@media screen and (max-width: 1200px) {
    .lb_cart_desktop {
        display: none;
    }

    .lb_ui_product_price .variation dt,
    .lb_ui_product_price .variation dd {
        font-size: 10px;
    }

    .lb_title_price,
    .lb_ui_product_price,
    .extra_gui_element,
    #lb_img_quality {
        color: #333;

    }

    .lb_title_price,
    .lb_ui_product_price {
        padding-bottom: 5px;
        padding-top: 5px;

        order: 99;
    }

}


#wpc-cart-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
}

#add-to-cart-btn {
    flex-basis: 100%;
    margin-top: 10px;
}

#lb-photooptinfo .omodal-dialog {
    width: 80%;
}
@media screen and (max-width: 1200px) {
    #lb-photooptinfo .omodal-dialog {
        width: 100%;
        overflow: scroll;
    }
    .lb_ui_product_price,
    .ui_scale_rotation {
        margin-bottom: 10px;
    }

    .ui_scale_rotation {
        margin-top: 10px;
    }

    .ui_tools_quality {
        margin-top: 10px;
    }
}


@media screen and (min-width: 1200px) {
    #lb-photooptinfo {
        max-height: 100vh;
        overflow: hidden;
        font-size: 15px;
    }
    #lb-photooptinfo .omodal-content {

        max-height: 85vh;

    }

    #lb-photooptinfo .omodal-header .close {
        opacity: 1;
        color: #24b47e;
    }

    #lb-photooptinfo .omodal-header .omodal-title {
        padding: 0;
        margin: 0;
        color: #333;
    }

}
@media screen and (max-width: 1200px) {
    #lb-photooptinfo {
        overflow: scroll;
    }
}
@media screen and (max-width: 768px) {
    .text-tool-container div.lb_txt_colors {
        flex-direction: column;
    }

    #text-style {
        flex: 0 0 auto;
    }

    #text-style .mg-r-element {
        max-width: 100%;
    }

    #wpc-add-text {
        flex: 1;
    }
}
.text-tool-container div.lb_txt_colors {
    display: flex;
    max-width: 100%;
    width: 100%;
    padding: 0;
    flex-wrap: wrap;
    margin-top: 5px;
}
.text-tool-container div.txt-bold-italic-add {
    width: 100%;
    max-width: 100%;
    display: flex;
    padding: 0;
}

.text-tool-container div.curved_underline {
    display: flex;
}

#wpd-curved-controls,
#lb_underline_text_decoration,
#lb_text_curved {
    max-width: 100%;
    padding: 0;
}

.text-tool-container div.lb_txt_colors input {
    display: none;
}

.text-tool-container div.lb_txt_colors label {
    display: flex;
    align-items: center;
}

.text-tool-container div.lb_txt_colors label span#txt-color-selector,
.text-tool-container div.lb_txt_colors label span#txt-bg-color-selector {
    margin-left: 5px;
    cursor: pointer;
}

#txt-bg-color-checkbox {
    display: block;
    margin-left: 5px;
}

.lb_button {
    width: 100%;
    text-align: center;

    border-radius: 10px;
}

#wpc-buttons-bar span.lb_auto_fit_ui {
    background: linear-gradient(90deg, #ffac54, #24b47e);
    background-size: 400% 400%;

    color: #fff;

    -webkit-animation: animatebg 3s ease infinite;
    -moz-animation: animatebg 3s ease infinite;
    animation: animatebg 3s ease infinite;
}

#wpc-buttons-bar span.lb_auto_fit_ui i {
    color: #fff;
}
@-webkit-keyframes animatefg {
    0%{color: #333}
    100%{color: #fff}
}
@-moz-keyframes animatefg {
    0%{color: #333}
    50%{color: #fff}
}
@keyframes animatefg {
    0%{color: #333}
    50%{color: #fff}
}

@-webkit-keyframes animatebg {
    0%{background-position:0% 100%}
    50%{background-position:100% 0%}
    100%{background-position:0% 100%}
}
@-moz-keyframes animatebg {
    0%{background-position:0% 100%}
    50%{background-position:100% 0%}
    100%{background-position:0% 100%}
}
@keyframes animatebg {
    0%{background-position:0% 100%}
    50%{background-position:100% 0%}
    100%{background-position:0% 100%}
}

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

.ui_photo_frame_btns button {
    flex: 0 0 calc(50% - 0.5em);
    margin-bottom: 0;
}

#choose_photo_frame {
    flex: 0 0 100%;
}
