/*#popup-greeting-card .modal-dialog {margin: 15px auto;}*/
#popup-greeting-card .modal-header {position: relative;}
#popup-greeting-card .modal-header {border-bottom: none; padding-bottom: 0; padding-top: 10px; min-height: 10px;}
#popup-greeting-card .modal-footer {border-top: none; padding-top: 0; padding-bottom: 10px; min-height: 10px;}
#popup-greeting-card .modal-header .close {
    padding: 0 5px;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #fff;
    opacity: 1;
    font-weight: 100;
    font-size: 24px;
    width: 24px;
}
#popup-greeting-card .greeting-card-section .section-title {
    color: #ff3366;
    font-weight: 600;
    text-align: left;
    padding-top: 20px;
}
#popup-greeting-card #section-greeting-card-design {
    border-right: 1px solid #ccc;
}
.gc-design-option {
    display: inline-block;
    width: 40%;
    cursor: pointer;
    vertical-align: top;
    margin-left: 4.5%;
    margin-right: 4.5%;
}
.gc-design-option .gc-design-img-block {
    display: inline-block;
    text-align: center;
    width: 70%;
    min-height: 132px;
}
.gc-design-option .radio-check {
    margin-top: 35px;
    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-design-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;
}
.gc-design-option .gc-design-img {
    position: relative;
}

.gc-design-option .gc-design-img img {
    width: 100%;
    max-width: 70px;
}
#popup-greeting-card .btn-gc-add-cart{
    background: var(--pink-primary-color) url(/themes/newPainting/img/order/gift-card-icon.png) no-repeat scroll 10px center;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    /* height: 30px;*/
    line-height: 0;
    text-wrap: nowrap;
    padding: 20px 10px 20px 45px;
    width: auto;
    border: none;
    background-size: 20px;
}
#popup-greeting-card .btn-gc-add-cart:hover {
    background: var(--pink-primary-hover-color) url(/themes/newPainting/img/order/gift-card-icon.png) no-repeat scroll 10px center;
    background-size: 20px;
}
#popup-greeting-card .button_block .btn-gc-preview {
    background: var(--blue-secondary-color) url(/themes/newPainting/img/gift_card/preview_icon.png) no-repeat scroll 10px center;
    border-radius: 4px;
    color: #fff;
    font-size: 17px;
    /* height: 30px; */
    line-height: 0;
    padding: 20px 10px 20px 45px;
    width: auto;
    margin-right: 10px;
    border: none;
}
body.language_es #popup-greeting-card .button_block .btn-gc-preview.btn-review-v2 {
    margin-bottom: 10px;
}
#popup-greeting-card .button_block .btn-gc-preview:hover {
    background: var(--blue-secondary-hover-color) url(/themes/newPainting/img/gift_card/preview_icon.png) no-repeat scroll 10px center;
}
#popup-greeting-card .button_block {margin-top: 20px;}
#popup-greeting-card .block-preview {display: none; position: relative;}
#popup-greeting-card .greeting-card-preview {
    position: relative;
    width: 94%;
    margin: 0 auto;
    box-shadow: 0 0 3px 3px #ccc;
}
#popup-greeting-card .block-preview .img-background {height: 525px;}
#popup-greeting-card .block-preview .img-background img {width: 100%; max-height: 525px;}
#popup-greeting-card .block-preview .details {
    position: absolute;
    width: 80%;
    height: 84%;
    top: 8%;
    right: 10%;
    margin: auto;
    background-color: #fff;
    padding: 0 24px;
}
#popup-greeting-card .block-preview .details .top-logo img {
    width: 45%;
    max-height: 40px
}
#popup-greeting-card .block-preview .row {margin: 0; font-weight: 600; line-height: 1.42857143;}
#popup-greeting-card #gc-preview-title {text-transform: uppercase; font-weight: 600; padding: 5px 0;}
#popup-greeting-card #gc-preview-message {font-weight: initial; color: #818181;}
.language_es #popup-greeting-card #gc-preview-message {font-size: 13px;}
#popup-greeting-card .block-preview .btn-close-preview {padding-top: 5px;}
#popup-greeting-card .block-preview .bottom-line {
    padding-top: 5px;
    border-top: 2px solid #333;
    position: absolute;
    width: calc(100% - 46px);
    bottom: 5px;
}
#popup-greeting-card #section-greeting-card-details {
    padding-left: 30px;
    padding-right: 30px;
}
#popup-greeting-card #section-greeting-card-details .asterisk {
    color: #D01E1E;
}
#popup-greeting-card #section-greeting-card-details .required_text {
    color: rgb(210, 0, 0);
    display: inline;
}
.greeting-card-block {
    width: 80%;
    margin: 10px auto;
    padding: 10px;
    border: 3px solid #ccc;
    background-color: #fff;
    position: relative;
}
.greeting-card-block .selected .design-thumb img {max-width: 70px;}
.greeting-card-block .selected .edit-link {
    position: absolute;
    left: -3px;
    bottom: -30px;
}
.greeting-card-edit {
    margin: 10px auto;
    text-align: left;
    width: 80%;
}
#popup-greeting-card .block-preview .details {
    word-break: break-word;
}
#popup-greeting-card .details #gc-preview-title {
    line-height: 28px;
}
#popup-greeting-card .block-preview .details-new {
    background: none;
    top: 16%;
    width: 80%;
    right: 10%;
}

/* start DEV-2467 */
#popup-greeting-card .block-preview .details-new.details-new-v2 {
    top: 0%;
    width: 95%;
    left: 50%;
    transform: translate(-50%);
    height: 100%;
}

.details-new-v2 #gc-preview-content {
    margin-top: 112px;
    text-align: center;
}
.details-new-v2 #gc-preview-content .gc-header {
    margin-bottom: 9px;
}

.details-new-v2 #gc-preview-content .gc-header #gc-preview-title {
    text-transform: initial;
    color: purple !important;
    font-weight: 500;
    font-size: 34px;
}

.details-new-v2 #gc-preview-content .gc-header .gc-title {
    color: rgb(63, 63, 63) !important;
    font-size: 40px;
}

.details-new-v2 #gc-preview-content .gc-from-to-wrapper {
    margin-bottom: 20px;
}

.details-new-v2 #gc-preview-content .gc-from-to-wrapper .gc_to, #gc-preview-content .gc-from-to-wrapper .gc_from {
    color: rgb(63, 63, 63) !important;
    font-weight: 600;
    font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
    font-size: 20px;
}

.details-new-v2 #gc-preview-message {
    font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: rgb(63, 63, 63) !important;
}

.details-new-v2 #gc-preview-message .gc-preview-message-text {
    font-size: 20px;
}

.details-new-v2 #gc-preview-message .text-bold {
    font-weight: bold;
}

.details-new-v2 .gc-footer {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translate(-50%);
}


.details-new-v2 .gc-footer .gc-logo {
    margin-bottom: 5px;
}

.details-new-v2 .gc-footer .gc-footer-domain {
    word-break: initial;
    font-size: 15px;
}

.greeting-card-section-v2 .section-title {
    color: rgb(63, 63, 63) !important;
}

.greeting-card-section-v2 .btn-gc-add-cart-v2 {
    padding: 20px 22px !important;
    background: initial !important;
    background-color: var(--primary-color-v2) !important;
    text-transform: uppercase;
}

.greeting-card-section-v2 .btn-gc-preview-v2 {
    background: initial !important;
    color: black !important;
    text-decoration: none !important;
    border-bottom: 3px solid black !important;
    padding: 3px !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    cursor: pointer;
    line-height: initial !important;
}

.greeting-card-section-v2 .button-block-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}



/* end DEV-2467 */

.details-new .new-header {
    min-height: 120px;
    color: #fff;
}
.details-new #gc-preview-title {
    padding-bottom: 10px;
    line-height: 28px;
}
.details-new .new-body {
    margin-top: 20px;
    text-align: center;
}
.details-new .row {
    font-style: italic;
    font-family: "FontAwesome";
}

@media (max-width: 767px) {
    #popup-greeting-card .block-preview .details {
        top: 6%;
        width: 80%;
        right: 10%;
        height: 88%;
    }
    #popup-greeting-card .block-preview .details-new {
        top: 15%;
    }

    /* start DEV-2467 */
    #popup-greeting-card .block-preview .details-new.details-new-v2 {
        height: 100%;
        top: 0;
        width: 100%;
    }
    /* end DEV-2467 */

    #popup-greeting-card .greeting-card-section-new {
        padding: 0 6px;
    }
    #popup-greeting-card .new-body {
        margin-top: 20px;
    }
    #popup-greeting-card .new-body p, #popup-greeting-card .details #gc-preview-message {
        font-size: 13px;
    }
    #popup-greeting-card #gc-preview-title {
        font-size: 24px;
    }
    #popup-greeting-card .greeting-card-preview {
        width: 100%;
    }
    #popup-greeting-card .block-preview .bottom-line {
        font-size: 13px;
    }
}

/* fix for desktop version */
@media (min-width: 768px) {
    #popup-greeting-card .details #gc-preview-title {
        max-height: 65px;
        overflow: hidden;
    }
}

@media (max-width: 450px) {
    /* start DEV-2467 */
    .details-new-v2 #gc-preview-content #gc-preview-message {
        max-height: 206px;
        overflow-y: auto;
    }
    /* end DEV-2467 */
}

@media (max-width: 350px) {
    /* start DEV-2467 */
    .details-new-v2 .gc-footer {
        bottom: 7px;
    }
    /* end DEV-2467 */
}
