.d-flex {
    display: flex;
}
.wrap_order_status .iicon {
    margin-left: 5px;
    margin-top: 3px;
}
.flex-1 {
    flex: 1;
}
.col-comment {
    padding-right: 15px;
}
.col-upload {
    padding-left: 15px;
}
.col-comment textarea {
    height: 100% !important;
    resize: none;
}
.underline-text {
    text-decoration: underline;
}
.upload-wrap {
    padding: 5px;
    background: white;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 2px solid #c48dc7;
}

.upload-wrap label.upload-button:hover {
    color: #c48dc7;
}

#upload-views, #upload-views1, #upload_figure_views, #upload_package_views,
#upload_add_photos_views, #upload_unhappy_views {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}
#upload-views:empty, #upload-views1:empty, #upload_figure_views:empty, #upload_package_views:empty,
#upload_add_photos_views:empty, #upload_unhappy_views:empty {
    margin: 0;
}
.upload-button {
    height: auto !important;
    font-size: 17px !important;
    background: white;
    color: #c48dc7;
    font-weight: bold !important;
    padding: 0 !important;
}
.upload-item {
    flex-basis: 70px;
    position: relative;
    margin-bottom: 5px;
    margin-left: 10px;
}
/*.upload-item + .upload-item {
    margin-left: 10px;
}*/
.upload-item img {
    max-width: 100%;
}
.upload-item .upload-delete{
    position: absolute;
    top: -5px;
    right: -5px;
    display: block;
    width: 16px;
    height: 16px;
    text-align: center;
    color: var(--primary-color-v2);
    background-color: #fff;
    border-radius: 100%;
}
#modal-dynamic-content .modal-body,
#modal-dynamic-content .modal-header {
    background-color: transparent;
}
#modal-dynamic-content .modal-footer {
    border-top: 1px solid #e5e5e5 !important;
}
.order-faq-bo {
    font-weight: bold;
}
.order-faq-order {
    padding: 5px;
}
.order-faq-order-item {
    display: flex;
    padding: 5px;
    align-items: center;
    flex-basis: calc(50% - 10px);
    background-color: #F8F8F7;
    border-radius: 4px;
    margin: 5px;
    color: darkgray;
}
.order-faq-order-item:hover {
    color: #000;
    text-decoration: none;
}
.order-faq-order-item .image {
    width: 80px;
    padding-right: 5px;
}
.order-faq-order-item .image img {
    max-width: 100%;
}
.order-faq-order-item .info {
    flex: 1;
    font-size: 14px;
}
.order-faq-order-item .info .faq-order-status {
    display: inline-block;
    margin: 0;
}
.head-content-items.head-content-items-border .wrap_order_status{
    display: flex;
}
#popup_thank_you_contact_faq .contact_thankyou_text {
    width: auto;
    padding-top: 10px;
    color: #666;
}
#s-contact textarea.error {
    border: 1px solid #ec2f2f;
}
#btn-add-greeting-card, #btn-add-giving-card {
    background: var(--pink-primary-color);
    color: #fff;
    border-radius: 4px;
    font-size: 18px;
    height: 30px;
    line-height: 0;
    width: auto;
    border: none;
    padding: 22px 40px;
}
.gc-type-send-option .radio-check {
    margin-top: 4px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0) url(https://newpyl.s3.amazonaws.com/cdn/images/radio-check.png) no-repeat scroll 100% center;
    display: block;
    float: left;
    height: 17px;
    margin-right: 5px;
    width: 18px;
}
.gc-type-send-option .radio-checked {
    background: rgba(0, 0, 0, 0) url(/themes/newPainting/img/order/radio-checked.png) no-repeat scroll 100% center;
    margin-right: 5px;
}
#s-add-giving-card input {
    width: 100%;
}
#s-add-giving-card .required-msg {
    float: inherit;
    display: block;
}
#s-add-giving-card img {
    margin-top: 8px;
}
#s-add-giving-card .button_block {
    text-align: right;
}
#order_subject {
    width: 30%;
    font-size: 18px;
    height: 48px;
}
.order_subject_v2 {
    width: 100% !important;
}
.disclaimer-text {
    margin: 10px 0 30px;
}
.btn-duplicate {
    width: 100%;
    margin-top: 10px;
}

#s-upload-photos .uploadButton {
    position: relative;
    margin: 0;
    border-radius: 4px;
    background-color: var(--pink-backgound-color);
    padding: 5px;
    font-weight: 700;
}

#s-upload-photos .bg-icon-checkbox.fa {
    color: #D1D1D1;
    position: absolute;
    font-size: 30px;
}

#s-upload-photos .checkbox-item {
    margin-bottom: 20px;
}

#s-upload-photos #comments .title {
    border-bottom: none;
    padding-bottom: 10px;
    position: relative;
}

#s-upload-photos .remm .add {
    right: 20px;
    cursor: pointer;
    position: absolute;
}

#s-upload-photos .custom_texarea {
    border: 1px solid #dddddd;
    border-radius: 5px;
    padding: 5px 20px;
    width: 100%;
}

#s-upload-photos .btn-upload-photos-faq {
    width: 22%;
    font-weight: bold;
}

#s-upload-photos .photo_item .item_container {
    float: left;
    position: relative;
    max-height: 100%;
}

#s-upload-photos .delete_image {
    background: rgba(0, 0, 0, 0) url(https://newpyl.s3.amazonaws.com/cdn/images/delete_icon.png) no-repeat scroll left center;
    bottom: -18px;
    display: block;
    height: 37px;
    position: absolute;
    right: -12px;
    width: 35px;
    cursor: pointer;
}

#s-upload-photos .apply-change-name {
    height: 34px;
    font-size: 14px;
}

#s-upload-photos div.file img {
    box-shadow: 1px 1px 5px 0 #666;
    float: left;
    max-height: 160px;
    max-width: 100%;
}

.bg-icon-checkbox.fa:hover, .bg-icon-checkbox.fa.fa-check-square {
    color: var(--primary-color-v2) !important;
}

#s-upload-photos .main_upload {
    padding: 30px 0;
    position: relative;
}

#s-upload-photos #upload1 #send_type_required {
    right: 0 !important;
    top: 40px!important;
}

#s-upload-photos .has-rename {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    position: relative;
    padding-right: 20px;
}

#s-upload-photos .btn-img-name:after {
    content: "\f040";
    margin: 0 5px;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#popup-greeting-card .greeting-card-section-new .block-preview {
    display: block;
}

#popup-greeting-card .greeting-card-section-new .block-preview .img-background {
    height: 600px;
}

#popup-greeting-card #section-greeting-card-details {
    height: 620px;
}

html.res-view .upload-label {
    color: var(--primary-color-v2);
    border: 1px dashed var(--primary-color-v2);
}

@media (max-width: 768px) {
    .d-flex {
        display: block;
    }
    .col-comment, .col-upload {
        padding: 0;
    }
    .col-comment {
        margin-bottom: 10px;
    }
    .content-items-desktop .row.head-content-items.head-content-items-border{
        margin-top: -7px ;
    }
    .content-items-desktop .content-details.order-summary {
        padding-top: 15px;
    }
    .head-content-items.head-content-items-border .wrap_order_status{
        display: inline-grid;
    }
    .content-items-all.content-items-desktop.is_tabs_faq{
        padding: 15px 0px;
        z-index: 1;
    }

    /* start DEV-2964 */
    .dashboard-mobile-improve .content-items-all.content-items-desktop.is_tabs_faq{
        padding: 25px 0px;
    }
    /* end DEV-2964 */


    .content-items-all.content-items-desktop.is_tabs_faq .box-thumbnails{
        margin-right: -15px;
    }
    .content-items-all.content-items-desktop.is_tabs_faq .box-thumbnails img{
        width: 100%;
    }
    #popup_thank_you_contact_faq #contact_thankyou_bottom {
        text-align: center;
        padding-left: 0;
    }
    .order-attr-first{
        text-transform: capitalize;
    }
    #s-add-giving-card input, #btn-add-greeting-card {
        width: 100%;
    }
    #popup-greeting-card .button_block .btn-gc-preview {
        width: 100% !important;
        margin-bottom: 20px;
    }
    /*#s-add-greeting-card #popup-greeting-card .block-preview .img-background {
        height: 650px;
    }*/
    #s-add-greeting-card #popup-greeting-card #gc-preview-message {
        font-size: 3.5vw;
    }
    #s-add-greeting-card #popup-greeting-card #gc-preview-title {
        font-size: 18px;
    }
    #s-add-greeting-card #popup-greeting-card .block-preview .bottom-line {
        bottom: 0;
    }
    #order_subject {
        width: 100%;
    }
    #s-another-copy-painting .answer-text {
        padding: 0 15px;
    }
    #accordion-faq #s-another-copy-painting.panel .panel-body {
        padding-left: 0;
    }
    #s-another-copy-painting .past-items .item {
        height: 210px !important;
    }
    #s-another-copy-painting .current-orders-items {
        margin-left: 5px;
    }
    #s-another-copy-painting .order-content-main .order-content .order-summary span,
    #s-another-copy-painting .order-content-main .order-content .order-summary p {
        font-size: 14px;
    }
    .res-view #s-upload-photos #comments .title h2 {
        width: 80%;
    }
    #s-upload-photos .btn-upload-photos-faq {
        width: 100%;
    }
    .res-view #s-upload-photos .font20px {
        font-size: 18px;
    }
    html.res-view .upload-label span.mobile-only {
        display: inline-block;
        color: var(--primary-color-v2);
    }

    .res-view #s-upload-photos .photo_item {
        margin-bottom: 30px;
        height: auto;
    }

    .language_en #popup-greeting-card {
        margin-left: -10%;
    }
    .language_en #popup-greeting-card.popup-greeting-card-v2 {
        margin-left: 0;
    }
    #popup-greeting-card #section-greeting-card-design {
        border-right: none !important;
        padding: 0;
    }

    #popup-greeting-card .greeting-card-section .block-preview .img-background {
        height: 550px;
    }

    #popup-greeting-card #section-greeting-card-details {
        height: auto;
    }

    #popup-greeting-card .greeting-card-preview {
        width: 104%;
    }

    #popup-greeting-card .block-preview .row {
        font-size: 16px;
    }
    #s-add-giving-card .form-group {
        width: 100%;
    }
}

@media (min-width: 769px) {
    #popup-greeting-card .block-preview .details .top-logo img {
        max-height: none !important;
    }

    #popup-greeting-card .block-preview .img-background {
        height: 550px !important;
    }

    html:not(.language_en) #popup-greeting-card .block-preview .img-background {
        height: 580px !important;
    }
}

.discount-price {
    text-decoration: line-through;
    color: var(--primary-color-v2);
}
.price{
    color: var(--primary-color-v2);
}