.choose-backgound-selection .select_item {
    margin-right: 10px;
    margin-right: 20px;
    padding: 10px;
    border: 1px solid transparent;
    cursor: pointer
}
#box_background_color {
    display: none;
}
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}
.choose-backgound-selection .select_item.solid_select {
    margin-right: 0
}
.choose-backgound-selection .select_item:first-child {
    margin-top: 0
}
.choose-backgound-selection {
    float: left;
    padding: 20px 0;
    width: 100%;
    display: none;
}
.choose-backgound-selection .select_item.selected {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #fff
}
.choose-backgound-selection .select_item.has_popular {
    padding: 7px 10px 7px 0
}
.solid_backgound {
    background: none repeat scroll 0 0 #fff;
    border: none;
    border-radius: initial;
    box-shadow: none;
    padding: 0;
    margin-top: 15px;
}
.solid_backgound.five-items-per-row-v2 .background_item {
    position: relative;
    height: inherit;
    display: flex;
    padding: 0 7px;
    margin-bottom: 14px;
    margin-right: 0;
    cursor: pointer;
}

.background-2632 .solid_backgound.five-items-per-row-v2 .background_item {
    margin-bottom: 0;
}

.solid_backgound.five-items-per-row-v2 .background_item .hover-secondary {
    position: absolute;
    top: 0; bottom: 0; right: 0; left: 0;
    opacity: 0;
    background: black;
    color: black;
    margin: 0 6px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}
.solid_backgound.five-items-per-row-v2 .background_item:hover .hover-secondary {
    opacity: 0.55;
}
.solid_backgound.five-items-per-row-v2 .background_item .sbj-item-select {
    position: absolute;
    opacity: 0;
    border: 2px solid var(--pink-primary-color);
    border-radius: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 5px 45px;
    display: none;
}

/* start DEV-2492 */
.order-content-v4 .solid_backgound.five-items-per-row-v2 .background_item .sbj-item-select {
    border: 2px solid var(--primary-color-v2);
    border-radius: 0;
}
/* end DEV-2492 */

.solid_backgound.five-items-per-row-v2 .background_item:hover .sbj-item-select, .solid_backgound.five-items-per-row-v2 .background_item:focus .sbj-item-select {
    content: '';
    margin: 0;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    top: 50%; left: 50%;
    background-color: #FF135E;
    transform: translateX(-50%) translateY(-50%);
    opacity: 1;
    display: block;
}

/* start DEV-2492 */
.order-content-v4 .solid_backgound.five-items-per-row-v2 .background_item:hover .sbj-item-select,
.order-content-v4 .solid_backgound.five-items-per-row-v2 .background_item:focus .sbj-item-select {
    background-color: var(--primary-color-v2);
}
/* end DEV-2492 */


.solid_backgound.five-items-per-row-v2 .background_item .select.bg-icon-select {
    position: absolute;
    opacity: 0;
    top: 10px;
    bottom: 144px;
    right: 0;
    left: 7px;
}
.solid_backgound.five-items-per-row-v2 .background_item.selected:hover .hover-secondary,
.solid_backgound.five-items-per-row-v2 .background_item.selected:hover .sbj-item-select {
    opacity: 0;
}
.solid_backgound.five-items-per-row-v2 .background_item.selected .select.bg-icon-select {
    display: block;
    opacity: 1;
    background: var(--pink-primary-color);
    width: min-content;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 18px;
    padding-right: 10px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    padding-bottom: 18px;
    margin-top: -1px;
}

/* start DEV-2492 */
.solid_backgound.five-items-per-row-v2 .background_item.selected .selected-active {
    opacity: 1;
    width: calc(100% - 14px);
}

.solid_backgound.five-items-per-row-v2 .background_item .selected-active {
    opacity: 0;
}
/* end DEV-2492 */

/* start DEV-2492 */
.order-content-v4 .solid_backgound.five-items-per-row-v2 .background_item.selected .select.bg-icon-select {
    background: var(--primary-color-v2);
}
/* end DEV-2492 */

.solid_backgound.five-items-per-row-v2 .background_item.selected .select.bg-icon-select > span {
    margin: 0;
    color: white;
    line-height: 1;
}
#box_background_color .background_item:hover, #box_background_color .background_item.selected{background: inherit;}
#box_background_color .background_item label.lb-item-bg {
    position: absolute;
    width: calc(100% - 14px) !important;
    bottom: 0;
    text-align: center;
    margin: 0 auto;
    display: block;
    left: 7px;
    text-transform: uppercase;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(0deg, #000000b0, transparent);
    color: #ffffff;
}

.background-2632 #box_background_color .background_item label.lb-item-bg {
    padding: 0;
}

#box_background_color.five-items-per-row-v2 .background_item img {
    margin-bottom: 0;
}
.solid_backgound.five-items-per-row-v2 .background_item.selected img,
.solid_backgound.five-items-per-row-v2 .background_item.selected img:hover {
    border: 10px solid #ff135e;
}


/* start DEV-2492 */
.order-content-v4 .solid_backgound.five-items-per-row-v2 .background_item.selected img,
.order-content-v4 .solid_backgound.five-items-per-row-v2 .background_item.selected img:hover {
    border: none !important; /** DEV-2594 **/
}
/* end DEV-2492 */


.solid_backgound.five-items-per-row-v2 .background_item img:hover {
    border: 2px solid #ff135e;
}

/* DEV-2991 */
.background-2632.background_content-v2 .solid_backgound.five-items-per-row-v2 .background_item img:hover {
    border: none;
}
/* DEV-2991 */

#box_background_color .background_item.selected label.lb-item-bg, .artist_item_v2.selected label.lb-item-art {
    width: calc(100% - 34px) !important;
    left: 17px;
    bottom: 10px;
    border-radius: 0;
    color: #ffffff;
}
/* start DEV-2492 */
.order-content-v4 #box_background_color .background_item.selected label.lb-item-bg, .artist_item_v2.selected label.lb-item-art {
    left: 0;
    right: 0;
}
/* end DEV-2492 */

.artist_item_v2.selected .artist_wrap.frame-preview label.lb-item-art {
    bottom: 37px;
}
/* start DEV-2492 */
.order-content-v4 .artist_item_v2.selected .artist_wrap.frame-preview label.lb-item-art {
    bottom: 47px;
}
/* end DEV-2492 */


/* artist */
#order_artist {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}
.artist_item_new.artist_item_v2 {
    padding: 0 7px;
    margin-bottom: 14px;
}
.artist_item_v2 .info_artist {
    color: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
    padding: 4px 8px;
    position: absolute;
    right: 10%;
    background-color: inherit;
    font-size: 11px;
}
.artist_item_v2 .view_more_new {
    top: 0;
    background: none;
    width: 15%;
    right: 5%;
    height: 25%;
}
.artist_item_img {
    height: 240px;
    cursor: pointer;
}
.artist_item_img img {
    width: 100% !important;
    position: inherit;
    object-fit: cover;
    height: 240px;
}
.artist_item_v2 label.lb-item-art {
    position: absolute;
    width: calc(100% - 14px) !important;
    bottom: 27px;
    text-align: center;
    margin: 0 auto;
    display: block;
    left: 7px;
    text-transform: uppercase;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(0deg, #000000b0, transparent);
    color: #ffffff;
}
.new_order_content .artist_item_v2 span.artist_name {
    color: #fff;
}
.lb-item-art .view_more {
    position: static;
    font-size: 12px;
    font-weight: normal;
}
.lb-item-art .view_more a {
    font-size: 14px;
}
.lb-item-art .view_more a:hover { color: #fff; }
.artist_item_v2 label.lb-item-name {
    display: block;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
}
.artist_item_v2 label.lb-item-name input[type="radio"] { display: none; }
.artist_item_v2 label.lb-item-name .radio-check {
    margin-top: 3px !important;
    background: #ffffff !important;
    height: 20px;
    width: 20px;
    border: 1px solid #999;
    border-radius: 100%;
}
.artist_item_v2 label.lb-item-name .radio-check.radio-checked {
    position: relative;
}
.artist_item_v2 label.lb-item-name .radio-check.radio-checked:after {
    content: url("/themes/newPainting/img/order/radio-checked-3.png");
    position: absolute;
    transform: rotateY(0deg);
    margin-left: -3px;
    margin-top: -1px;
    top: 0;
    border: 0px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
.artist_item_v2 label.lb-item-name span.artist_name { color: #000; }
#box_background .background_content {
    display: block;
}

body.language_fr .background_content .select_item:first-child {
    margin-right: 12px;
}

body.language_fr .background_content .select_item,
body.language_fr .box-content .choose-artist-selection .select_item {
    margin-bottom: 10px;
}

.artist_item_new.selected .artist_item_img {
    border: 10px solid #ff135e;
}


/* start DEV-2492 */
.order-content-v4 .artist_item_new.selected .artist_item_img {
    border: none;
    position: relative;
}
/* end DEV-2492 */

.artist_item_new .artist_item_img .hover-secondary {
    position: absolute;
    top: 0; bottom: 28px; right: 1px; left: 1px;
    opacity: 0;
    background: black;
    color: black;
    margin: 0 6px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
}
.artist_item_new .artist_item_img:hover .hover-secondary{
    opacity: 0.55;
}
.artist_item_new .artist_item_img .sbj-item-select{
    position: absolute;
    opacity: 0;
    border: 2px solid var(--pink-primary-color);
    border-radius: 5px;
    transition: transform 0.1s ease, opacity 0.1s ease;
    padding: 5px 45px;
    display: none;
}


/* start DEV-2492 */
.order-content-v4 .artist_item_new .artist_item_img .sbj-item-select{
    border: 2px solid var(--primary-color-v2);
    border-radius: 0;
}
/* end DEV-2492 */


.artist_item_new .artist_item_img:hover .sbj-item-select {
    content: '';
    margin: 0;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    top: 50%; left: 50%;
    background-color: var(--pink-primary-color);
    transform: translateX(-50%) translateY(-100%);
    opacity: 1;
    display: block;
}

/* start DEV-2492 */
.order-content-v4 .artist_item_new .artist_item_img:hover .sbj-item-select {
    background-color: var(--primary-color-v2) !important; /** DEV-2594 **/
}
/* end DEV-2492 */

.artist_item_new .artist_item_img .select.bg-icon-select{
    position: absolute;
    opacity: 0;
    top: 10px;
    bottom: 234px;
    right: 0;
    left: 7px;
}
.artist_item_new.selected:hover .hover-secondary, .artist_item_new.selected:hover .sbj-item-select {
    opacity: 0;
}
.artist_item_new.selected .select.bg-icon-select {
    display: block;
    opacity: 1;
    background: var(--pink-primary-color);
    width: min-content;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 18px;
    padding-right: 10px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    padding-bottom: 16px;
}

/* start DEV-2492 */
.order-content-v4 .artist_item_new.selected .select.bg-icon-select {
    background: var(--primary-color-v2);
}
.artist_item_new.selected .selected-active {
    opacity: 1;
    bottom: 0;
}

.artist_item_new .selected-active {
    opacity: 0;
}

/* end DEV-2492 */

.artist_item_new.selected .select.bg-icon-select > span {
    margin: 0;
    color: white;
    line-height: 1;
}
span.radio-checked{
    background: url("/themes/newPainting/img/order/radio-checked-3.png") no-repeat scroll 100% center;
    margin-right: 5px;
    background-size: contain;
    width: 20px;
    height: 20px;
}
#frame_preview.artist-frame-v2 #frame-control .bx-prev {
    background: rgba(0,0,0,0) url(https://newpyl.s3.amazonaws.com/cdn/images/arrow-cicle-pink.png) no-repeat 0 0;
    width: 65px;
    height: 65px;
    transform: rotate(180deg);
    left: -32px !important;
}
#frame_preview.artist-frame-v2 #frame-control .bx-next {
    background: rgba(0,0,0,0) url(https://newpyl.s3.amazonaws.com/cdn/images/arrow-cicle-pink.png) no-repeat 0 0;
    width: 65px;
    height: 65px;
    right: -35px !important;
}
#frame_preview .modal-dialog .btn-close .close_icon {
    font-size: 15px;
    border: 2px solid;
    border-radius: 50%;
    padding: 0px 7px 3px 8px;
    font-weight: 500;
    line-height: 1;
    color: #31CCC4;
    margin-right: 5px;
    box-shadow: 0 3px 5px 0 rgba(0,0,0,0.14);
}
#frame_preview.artist-frame-v2 .modal-dialog .btn-close {
    background: none;
}
#frame_preview.artist-frame-v2 .bx-next, .bx-prev {
    top: 45%;
}

.choose-background-wrapper:has(#solid-background-item.radio-checked) {
    margin-bottom: 90px;
}
@media screen and (max-width: 1200px) {
    .artist_item_img {
        height: 200px;
    }
    .solid_backgound.five-items-per-row-v2 .background_item.selected .select.bg-icon-select {
        padding-bottom: 14px;
    }
}
@media (max-width: 799.98px) and (min-width: 768px) {
    span.popular2 {
        width: 50px;
    }

    /* start DEV-2345 */
    .select_item--v2 span.popular2 {
        width: auto;
    }
    /* end DEV-2345 */
}
@media screen and (min-width: 768px) {
    body.language_fr .background_content .select_item:first-child {
        margin-right: 0;
    }
    #box_background .background_content,
    .box-content .choose-artist-selection {
        position: relative;
    }

    .box_content_left .background, .box-content .non-padding h1.title-artist {
        padding-bottom: 20px;
    }

    #box_background .radio-check,
    .box-content .choose-artist-selection .radio-check {
        display: none;
    }

    .background_content .select_item,
    .choose-artist-selection .select_item {
        margin-right: 0;
    }

    .background_content .select_item:hover,
    .background_content .select_third.select_item:hover {
        border: 2px solid var(--blue-secondary-color);
    }

    .background_content .select_item.has_popular,
    .background_content .select_item.selected.has_popular,
    .choose-artist-selection .select_item.selected {
        border-right: unset;
        border-bottom-left-radius: 4px;
        padding-left: 10px;
    }

    .choose-artist-selection .select_item.has_popular {
        padding-left: 10px;
        padding-bottom: 11px;
        display: flex;
        flex-direction: row-reverse;
        justify-content: start;
        gap: 40px;
    }

    .background_content .select_item.has_popular:hover,
    .choose-artist-selection .select_item:first-child,
    .choose-artist-selection .select_item:first-child:hover,
    .choose-artist-selection .select_item.selected:first-child {
        border-bottom-left-radius: 4px;
    }

    .background_content .select_third.select_item,
    .choose-artist-selection .select_item,
    .background_content .select_item:first-child {
        border: 2px solid #ddd;
    }

    .background_content .select_item.selected,
    .choose-artist-selection .select_item.selected {
        box-shadow: none;
        background-color: var(--blue-secondary-color);
        font-weight: bold;
        border-radius: unset;
        border: 2px solid var(--blue-secondary-color);
    }

    .background_content .select_item.selected .choose-background-lbl.color-custom,
    .choose-artist-selection .select_item.selected .choose-label-text,
    .choose-artist-selection .select_item.selected .choose-artist-lbl {
        color: #fff;
    }

    .background_content .select_item .choose-background-lbl.color-custom,
    .choose-artist-selection .select_item .choose-label-text,
    .choose-artist-selection .select_item .choose-artist-lbl {
        font-weight: bold;
    }

    .choose-artist-selection .select_item:hover, .background_content .select_item:hover {
        box-shadow: none;
        border-radius: unset;
        border: 2px solid var(--blue-secondary-color);
    }

    span.popular3 {
        border-top-left-radius: 4px;
        border-bottom-right-radius: unset;
        background: var(--blue-secondary-color);
        font-weight: normal;
    }

    span.popular3.background-popular,
    .box-content .choose-artist-selection span.popular3 {
        /* position: absolute;
        top: -28px;
        left: 0; */
    }

    .box-content .choose-artist-selection span.popular3 {
        top: -25px;
    }

    .background_content .select_third.select_item,
    .background_content .select_third.select_item:hover,
    .background_content .select_third.select_item.selected,
    .background_content .select_third.select_item.selected:hover,
    .box-content .choose-artist-selection .select_second,
    .box-content .choose-artist-selection .select_second:hover,
    .box-content .choose-artist-selection .select_second.selected,
    .box-content .choose-artist-selection .select_second.selected:hover {
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
    }

    #box_order_artist .choose-artist-selection .select_item,
    #box_background .background_content .select_item {
        padding-bottom: 6px;
        padding-top: 6px;
        width: 100%;
    }

    /* start DEV-2345 */
    #box_order_artist .choose-artist-selection .select_item--v2,
    #box_background .background_content .select_item--v2 {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: start;
    }
    /* end DEV-2345 */

    #box_background .background_content .select_item.has_popular {
        display: flex;
        flex-direction: row-reverse;
        justify-content: start;
        gap: 40px;
        padding-bottom: 5px;
        padding-top: 3px;
    }

    #box_order_artist .choose-artist-selection .select_item:first-child {
        padding-bottom: 5px;
        padding-top: 5px;
    }

    /** Start https://paintyourlife.atlassian.net/browse/DEV-1292 **/
    .background_content.background-artist-new .select_item,
    .choose-artist-selection.background-artist-new .select_item {
        width: 100%;
    }

    .background-artist-new .add_background {
        margin-left: 0;
    }

    .background_content.background-artist-new .select_item, .background_content.background-artist-new .select_item:hover,
    .background_content.background-artist-new .select_item.selected, .choose-artist-selection.background-artist-new .select_item.selected,
    .choose-artist-selection.background-artist-new .select_item {
        background: none;
        color: #000;
        border: none !important;
        padding: 10px 0 !important;
    }

    #box_background .background_content.background-artist-new .radio-check,
    .box-content .choose-artist-selection.background-artist-new .radio-check {
        display: block;
    }

    .background_content.background-artist-new .select_item.selected .choose-background-lbl.color-custom,
    .choose-artist-selection.background-artist-new .select_item.selected .choose-label-text,
    .choose-artist-selection.background-artist-new .select_item.selected .choose-artist-lbl {
        color: #000;
    }

    .res-view .ver_2_step_3 .background_content.background-artist-new span.popular3,
    .res-view .ver_2_step_3 .choose-artist-selection.background-artist-new span.popular3 {
        /* top: 11px; */
        height: 28px;
        /* left: 220px; */
        /* position: absolute; */
        color: #FFFFFF;
        font-size: 14px;
        font-weight: bold;
        letter-spacing: 0;
        line-height: 18px;
        text-align: center;
        border-radius: 5px;
        background: var(--blue-secondary-color);
        padding: 5px 9px;
        text-transform: uppercase;
        margin-top: 2px;
        font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
    }

    /* start DEV-2345 */
    .res-view .ver_2_step_3 .background_content.background-artist-new .select_item--v2 span.popular3,
    .res-view .ver_2_step_3 .choose-artist-selection.background-artist-new .select_item--v2 span.popular3 {
        position: initial;
        margin-left: 40px;
    }
    /* end DEV-2345 */

    /* start DEV-2492 */
    .res-view .ver_2_step_3.order-content-v4 .background_content.background-artist-new span.popular3,
    .res-view .ver_2_step_3.order-content-v4 .choose-artist-selection.background-artist-new span.popular3 {
        background-color: var(--primary-color-v2);
    }
    /* end DEV-2492 */

    .res-view .ver_2_step_3 .choose-artist-selection.background-artist-new span.popular3 {
        left: 380px;
    }
    body:not(.language_en) .ver_2_step_3 .choose-artist-selection.background-artist-new span.popular3{
        left: 500px;
    }
    body:not(.language_en) .ver_2_step_3 .background_content.background-artist-new span.popular3 {
        /* left: 260px; */
    }

    .box_content_left .background.background-1292, .box-content .non-padding h1.title-artist.title-artist-1292 {
        padding-bottom: 0;
    }
    /** End https://paintyourlife.atlassian.net/browse/DEV-1292 **/
}
@media screen and (max-width: 767px) {
    #order_type .artist_wrap .radio-check{width:20px !important}
    html.res-view #content.order-step1-v8.odv-8b .medium_item .med-label {
        width: 100%;
        margin-left: 0px;
        margin-bottom: 0px;
    }
    .artist_item_v2 label.lb-item-name .radio-check.radio-checked:after {
        margin-top: -1px;
    }

    .res-view .artist_item_v2.selected .artist_wrap.frame-preview label.lb-item-art {
        bottom: 50px;
    }

    .solid_backgound.five-items-per-row-v2 .background_item.selected .select.bg-icon-select,
    .artist_item_new.selected .select.bg-icon-select {
        padding-bottom: 20px;
        margin-top: -1px;
    }

    .artist_item_new .artist_item_img .hover-secondary,
    .solid_backgound.five-items-per-row-v2 .background_item .hover-secondary,
    .solid_backgound.five-items-per-row-v2 .background_item:hover .sbj-item-select,
    .solid_backgound.five-items-per-row-v2 .background_item:focus .sbj-item-select,
    .artist_item_new .artist_item_img:hover .sbj-item-select {
        display: none;
    }

    /** Start https://paintyourlife.atlassian.net/browse/DEV-1292 **/
    .res-view .ver_2_step_3 .background-artist-new .radio-check {
        left: 0;
    }

    .res-view .ver_2_step_3 .background-artist-new .v2-step-3-select_item-background .radio-check,
    .res-view .ver_2_step_3 .background-artist-new .has-artists .radio-check {
        left: 18px;
    }

    /* DEV-2991 */
    .res-view .ver_2_step_3 .background-artist-new .v2-step-3-select_item-background .radio-check.origin-background {
        left: 23px;
    }
    /* DEV-2991 */

    .background-artist-new .choose-background-lbl, .background-artist-new .choose-label-text, .background-artist-new .choose-artist-lbl  {
        margin-left: 30px;
    }

    .res-view .ver_2_step_3 .choose-artist-selection.background-artist-new span.popular3 {
        right: 10px;
    }
    /** End https://paintyourlife.atlassian.net/browse/DEV-1292 **/
}

/** Start DEV-2594 **/
.artist_item_v2 label.lb-item-name .radio-check.radio-checked:after {
    content: url("https://dqhvdmwzk0rbb.cloudfront.net/cdn/themes/newPainting/img/order/radio-checked-3-v2.png");
}
.order-step-3 .select_item span.radio-checked {
    background: url("https://dqhvdmwzk0rbb.cloudfront.net/cdn/themes/newPainting/img/order/radio-checked-3-v2.png");
}
.order-step-3 .bg-icon-checkbox.fa:hover, .order-step-3 .bg-icon-checkbox.fa.fa-check-square {
    color: var(--pink-background-color-new-design) !important;
}
@media (max-width: 767px) {
    .order-step-3 .select_item span.radio-checked {
        background: rgba(0, 0, 0, 0) url(/themes/newPainting/img/order/radio-checked-3-v2.png) no-repeat scroll 0 0 / 20px 20px !important;
    }

    .order-step-3 .select_item span.radio-checked.radio-check-extent {
        background: rgba(0, 0, 0, 0) url( https://dqhvdmwzk0rbb.cloudfront.net/pylweb/OrderResources/OrderStep3/embell_circle_white.png ) no-repeat scroll 100% center !important;
    }
}
/** End DEV-2594 **/