/* Put your CSS code in the left column, instead of example, to put or remove unnecessary prefixes. */

.example {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: -webkit-gradient(linear, left top, left bottom, from(white), to(black));
    background: -webkit-linear-gradient(top, white, black);
    background: -o-linear-gradient(top, white, black);
    background: linear-gradient(to bottom, white, black);
}

/*
 * Copyright © 2017 Magestore. All rights reserved.
 * See COPYING.txt for license details.
 */

/**
* Giftvoucher reward template
*/

dl#giftvoucher_container {
    margin: 0;
}

#giftvoucher_container ul,
#giftvoucher_container ol,
#giftvoucher_container li {
    list-style: none;
}

.giftvoucher-discount-code ul {
    padding-left: 0 !important;
}

.dialog.giftcard-preview-template-dialog {
    left: 50% !important;
    margin-left: -330px !important;
}

/*.input-select.validation-failed
{
    border-color: red;
}*/

span#giftvoucher_wait {
    color: #2F2F2F;
}

.giftvoucher-discount-code {
    color: #008000;
}

.giftvoucher-discount-code button {
    border: medium none;
    background: none repeat scroll 0 0 transparent;
}

.giftvoucher-discount-code button:hover {
    cursor: pointer;
}

.giftvoucher-media {
    border: 2px solid #F7F9F9;
}

.giftvoucher-media .giftmedia {
    border-bottom: 2px solid #F7F9F9;
    padding: 7px;
    color: #F18200;
    font-size: 15px;
}

#giftmedia pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.giftvoucher-media .giftmedia-image {
    overflow: hidden;
    width: 265px;
    position: relative;
}

.giftvoucher-product-info .giftvoucher-amount-desc,
.giftvoucher-product-info #recipient_ship_desc {
    color: #29BBB3;
    margin-top: 0 !important;
}

.giftvoucher-product-info #message {
    width: 100%;
    height: 88px;
}

.giftvoucher-product-info #recipient_address {
    width: 325px;
    height: 57px;
}

.giftvoucher-product-info #recipient_email,
.giftvoucher-product-info #recipient_name,
.giftvoucher-product-info #customer_name {
    width: 100%;
}

#giftvoucher-result {
    font-size: 15px;
}

#giftvoucher-result label {
    width: 160px;
}

/** giftvoucher_index_index */
.gift-codes-actions {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
}

.gift-codes-actions__note {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column-reverse;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    flex-direction: column-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-item-align: center;
    align-self: center;
}

@media (max-width: 767px) {
    .gift-codes-actions__note {
        margin-top: 15px;
    }
}

.gift-codes-actions__right-buttons {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-direction: row-reverse;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    flex-direction: row-reverse;
}

.gift-codes-actions__right-buttons > * {
    margin: 0 !important;
}

.gift-codes-actions {
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .gift-codes-actions__right-buttons .gift-codes-actions__search {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .gift-codes-actions__right-buttons .gift-codes-actions__add {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }
}

.gift-codes-actions__add, .gift-codes-actions__search {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-bottom: 16px;
    padding-left: 24px;
}

@media only screen and (max-width: 780px) {
    .gift-codes-actions__add, .gift-codes-actions__search {
        padding-left: 0;
        width: 100%;
    }

    .gift-codes-actions__note, .gift-codes-actions__add button {
        width: 100%;
    }
}

/* Search Gift Code miniform */
.gift-codes-search {
    position: relative;
}

.gift-codes-search__label, .gift-codes-search__submit > span {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.gift-codes-search__input.input-text {
    position: static;
    margin: 0;
    padding-right: 35px;
    height: 52px !important;
}

.gift-codes-search__submit.action {
    background: none !important;
    -moz-box-sizing: content-box;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    line-height: inherit;
    margin: 0;
    text-decoration: none;
    text-shadow: none;
    font-weight: 400;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    padding: 0 10px;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-item-align: center;
    align-self: center;
}

.columns .column.main button.gift-codes-search__submit.action {
    width: auto !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.gift-codes-search__submit:before {
    font-size: 18px !important;
    width: auto !important;
    overflow: visible !important;
}

.gift-codes-search__submit::before {
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    line-height: 32px;
    color: #8f8f8f;
    content: '\e615';
    font-family: 'luma-icons';
    margin: 0;
    vertical-align: top;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: center;
}

.gift-codes-search__submit:hover::before {
    color: #333;
}

.customer-account-giftcard .toolbar {
    position: relative;
}

.gift-card-sent-friend {
    background-color: rgba(0, 0, 0, 0.03);
}

/** /giftvoucher_index_index */

/** giftvoucher_index_add */
#add-giftvoucher-code .form-group {
    clear: both;
    margin-top: 32px;
}

@media all and (min-width: 768px), print {
    #add-giftvoucher-code .fieldset {
        width: 48%;
    }

    #add-giftvoucher-code .form-group {
        margin: 0;
        padding-top: 32px;
    }
}

/** /giftvoucher_index_add */

/** giftvoucher_index_email */
.table.gift-code-basic {
    margin-bottom: 32px;
}

.table.gift-code-basic > tbody > tr > td {
    border-top: 0;
}

@media all and (min-width: 768px), print {
    #email-giftcard-tofriend .field-name {
        float: left;
        width: 48%;
    }

    #email-giftcard-tofriend .field-email {
        float: left;
        width: 48%;
        padding-left: 4%;
    }
}

.actions-toolbar.actions-toolbar__sketch .primary {
    float: right;
}

.actions-toolbar.actions-toolbar__sketch .form-group {
    float: left;
}

.actions-toolbar.actions-toolbar__sketch .form-group .back-link {
    margin-top: .6rem;
    margin-bottom: .4rem;
}

/** /giftvoucher_index_email */

/*Hai.Tran*/
.giftcard-preview-template-dialog .top,
.giftcard-preview-template-dialog .bot {
    display: none;
}

.giftcard-preview-template-dialog .dialog_e,
.giftcard-preview-template-dialog .dialog_w {
    width: 0;
}

.giftcard-preview-template-dialog .dialog_close {
    display: none;
}

.giftcard-preview-template-dialog .dialog_content {
    background-color: transparent !important;
    color: #2f2f2f !important;
    font: 12px/1.55 Arial, Helvetica, sans-serif;
}

div.egcSwatch-arrow,
.gift-card .actions-toolbar__sketch {
    display: none;
}

/** Media Library **/
.uploader .file-row {
    display: inline-block;
    width: 315px;
    padding: 0.3em 0.6em; /*margin:0.5em 0.6em;*/
    border: 1px solid #ccc;
    background-color: #f9f9f9; /*vertical-align:middle;*/
}

.uploader .file-row-narrow {
    width: auto;
    margin: 0 0 2px 40px;
}

.uploader .file-row .file-info {
    float: left;
}

.uploader .file-row-info {
    margin: 0 0 0 10px;
}

.uploader .file-row-info .file-info-name {
    font-weight: bold;
}

.uploader .file-row .progress-text {
    float: right;
    font-weight: bold;
}

.uploader .file-row .delete-button {
    float: right;
}

.uploader .buttons {
    float: left;
}

.uploader .flex {
    float: right;
}

.uploader .progress {
    border: 1px solid #f0e6b7;
    background-color: #feffcc;
}

.uploader .error {
    border: 1px solid #aa1717;
    background-color: #ffe6de;
}

.uploader .error .progress-text {
    padding-right: 10px;
}

.uploader .complete {
    border: 1px solid #90c898;
    background-color: #e5ffed;
}

#amount_range {
    width: 160px;
}

#bg-fade {
    background-color: rgba(255, 255, 255, 0.7) !important;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
}

#gc-preview-email-data-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0 0 25px 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font: 16px/1 'Effra-Regular';
    color: #949392;
}

#gc-preview-email-data-section > * + * {
    margin-top: 10px;
}

#giftvoucher-view-condition {
    float: left;
    clear: both;
    width: 100%;
    position: relative;
}

#giftvoucher-view-condition:hover {
    text-decoration: initial;
}

#giftvoucher-tooltip {
    margin: 5px;
    background-color: #FFFFFF;
    border: 1px solid rgb(199, 203, 204);
    padding: 10px;
    /*width: 300px;*/
    z-index: 1000;
    -webkit-box-shadow: 2px 4px 17px rgb(179, 184, 183);
    box-shadow: 2px 4px 17px rgb(179, 184, 183);
    border-radius: 7px;
    position: relative;
}

.calendar {
    z-index: 99999;
}

.calendar .button {
    display: table-cell;
}

/* stee */
.ajax-file-upload-progress {
    width: 95% !important;
}

.ajax-file-upload-green {
    display: none !important;
}

.ajax-file-upload-abort {
    display: none !important;
}

.ajax-file-upload-statusbar {
    width: 88% !important;
}

/****************************Template 02 _ top*************************************/

#giftcard-template-top {
    /*overflow:hidden;*/
    /*max-height: 550px;*/
    font-size: 14px;
    width: 100%;
    /*height: 365px;*/
    float: left;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #ddd;
}

#giftcard-template-top .giftcard-template-content {
    margin-left: 0px;
    padding: 0;
    position: relative;
}

#giftcard-template-top .giftcard-template-content-top, .giftcard-change-image-temp2 {
    /*height: 190px;*/
    background-color: #FFFFFF;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#giftcard-template-top .giftcard-template-content-temp2 {
    padding-top: 0px;
    background-repeat: repeat;
    background-size: 100%
}

.logo-title.logo-title-top {
    padding-left: 15px;
    float: left;
    height: 84px;
}

.logo-title.logo-title-top img {
    float: left;
    border-radius: 0px 0px 5px 5px;
    max-height: 70px;
    background-position: 15px 0px !important;
}

.name-value-top {
    float: left;
    width: 100%;
    background: url('giftvoucher/bkg-title.png') no-repeat;
    background-size: 103% 105%;
    margin-top: 55px;
    height: 50px;
    position: absolute;
    bottom: 0;
}

.name-value-top .giftcard-title {
    float: left;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    margin-left: 15px;
    line-height: 48px;
    font-weight: 600;
}

#giftcard-template-top .giftcard-value {
    margin: 5px;
}

.name-value-top .giftcard-value .giftcard-text-color {
    float: left;
    font-size: 12px;
    padding-top: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.name-value-top .giftcard-value .giftcard-price-change {
    float: right;
    margin-left: 15px;
    font-size: 26px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

.name-value-top .value-price span {
    margin-right: 5px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 12px;
    margin-top: -3px;
}

.name-value-top .giftcard-value .giftcard-price-change .price {
    margin-right: 10px;
    font-size: 26px;
    font-family: 'Open Sans', sans-serif;
}

.giftcard-date-top {
    width: 59%;
    float: left;
    padding-top: 10px;
}

.giftcard-date-top .giftcard-from-to {
    float: left;
    font-size: 16px;
    color: #636363 !important;
    font-family: 'Open Sans', sans-serif;
    margin-left: 15px;
}

.giftcard-date-top .giftcard-from-to .giftcard-from {
    float: left;
    max-height: 25px;
}

.giftcard-date-top .giftcard-from-to .giftcard-text-color,
.giftcard-date-top .giftcard-from-to .giftcard-style-color {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

.giftcard-information {
    float: left;
    clear: both;
    width: 342px;
    margin-top: 8px;
    margin-left: 15px;
}

.giftcard-date-top .giftcard-barcode {
    float: right;
    text-align: right;
    padding-right: 15px;
}

.giftcard-date-top span.giftcard-barcode img {
    max-width: 100%;
    float: right;
    height: 40px;
}

.giftcard-date-top .giftcard-barcode {
    padding-right: 15px;
    margin-top: -10px;
}

.giftcard-date-top .giftcard-from-to .giftcard-style-color {
    color: orange;
    font-size: 16px
}

.giftcard-date-top .giftcard-to {
    margin-left: 0px;
    max-height: 25px;
    float: left;
    clear: both;
}

.giftcard-date-top .giftcard-number .giftcard-style-color {
    color: orange;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    line-height: 30px;
}

.name-value-top .value-price {
    float: right;
    line-height: 55px;
}

.giftcard-date-top .giftcard-message {
    padding: 6px;
    padding-bottom: 14px;
    padding-top: 3px;
    height: 80px;
    vertical-align: middle;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #cecece;
    text-align: left;
}

.barcode-note .giftcard-code {
    float: right;
    margin-right: 15px;
}

.barcode-note .barcode {
    text-align: right;
    float: right;
    width: 158px;
    height: 40px;
}

.barcode-note .barcode img {
    height: 40px;
    max-width: 100%;
    float: right;
}

.giftcard-date-top .giftcard-custom-message {
    margin: 0;
    white-space: pre-wrap;
    max-height: 85px;
    overflow: hidden;
    font-size: 11px;
    background: none;
    border: none;
}

.barcode-note .giftcard-note {
    margin-top: 5px;
    float: right;
    width: 215px;
    text-align: right;
    overflow: hidden;
    height: 90px;
    position: absolute;
    bottom: 10px;
}

.barcode-note .giftcard-note .giftcard-text-color {
    font-size: 12px;
    margin: 0px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

#timezone_to_send {
    visibility: visible !important;
}

#giftcard-template-top .giftcard-template-content-top.giftcard-change-image-temp2 {
    width: 100% !important;
    position: relative;
}

#giftcard-template-top .giftcard-template-content {
    width: 100%;
    background-size: 100% auto !important;
    float: left;
    height: 95px;
}

#giftcard-template-top .giftcard-title-top {
    width: 100%;
    position: relative;
}

.hidden-giftcard-content-temp2 .giftcard-barcode-value {
    height: 30px !important
}

#giftcard-template-top .title {
    width: 60% !important;
}

#giftcard-template-top .barcode-note {
    width: 230px;
    float: right;
    margin-top: 5px;
    position: relative;
    height: 170px;
}

#giftcard-template-top .giftcard-value-bottom {
    display: none
}

/*---Detail Template 3---*/
@import url(http://fonts.googleapis.com/css?family=Open+Sans:600italic,300,700,400,600);
/*#giftcard-template-back .giftcard-template-content{display: none; height: 0px}*/
.title-value.giftcard-logo-background {
    float: left;
    width: 100%;
    background: url('giftvoucher/bkg-title.png') no-repeat;
    height: 50px;
    background-size: 100%;
}

.giftcard-logo-background .giftcard-value-color {
    float: right;
    background: url('giftvoucher/bkg-value.png') no-repeat left center;
    height: 50px;
    text-align: right;
    padding-right: 15px;
    padding-left: 20px;
    line-height: 48px;
}

.from-to-barcode-background {
    float: left;
    width: 100%;
    margin-bottom: 5px;
}

.giftcard-change-image-background-popup .giftcard-logo {
    float: left;
    height: 84px;
    margin-left: 15px;
}

.giftcard-change-image-background-popup .giftcard-logo img {
    margin-bottom: 15px;
    border-radius: 0px 0px 5px 5px;
    max-height: 70px;
    float: left;
}

.giftcard-logo-background .giftcard-text-color {
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    padding-right: 10px;
}

.giftcard-logo-background .giftcard-style-color.giftcard-price-change {
    font-size: 26px;
    margin-top: 6px;
}

.giftcard-logo-background .giftcard-style-color.giftcard-price-change .price {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    /*    float: right;*/
    line-height: 52px;
}

.giftcard-logo-background .giftcard-title {
    float: left;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    margin-left: 15px;
    line-height: 52px;
    font-weight: 600;
}

.from-to-barcode-background .from-to {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    float: left;
    margin-left: 15px;
}

.from-to-barcode-background .from-to .giftcard-form {
    float: left;
    text-align: left;
    margin-top: 10px;
}

.from-to-barcode-background .from-to .giftcard-to {
    float: left;
    text-align: left;
    clear: both;
}

.giftcard-text {
    height: 90px;
}

.from-to-barcode-background span img {
    height: 40px;
    max-width: 100%;
}

.from-to-barcode-background .from-to .giftcard-text-color {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.from-to-barcode-background .from-to .giftcard-style-color {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

.giftcard-box-background {
    overflow: hidden;
    width: 95%;
    margin: 0 auto;
}

.giftcard-box-background .giftcard-text-box {
    background: #fff;
    border-radius: 5px;
    border: 1px solid #cccccc;
    padding: 0;
    padding-bottom: 10px;
    padding-top: 3px;
    display: table-cell;
    vertical-align: middle;
}

.giftcard-box-background .giftcard-text-color.giftcard-custom-message {
    margin: 0;
    white-space: pre-wrap;
    max-height: 85px;
    overflow: hidden;
    font-size: 11px;
    font-family: 'Open Sans', sans-serif;
    padding: 0px 5px;
}

.from-to-barcode-background .giftcard-barcode {
    float: right;
    margin-right: 15px;
}

.from-to-barcode-background .giftcard-barcode .giftcard-style-color {
    color: orange;
    font-weight: bold;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
}

.from-to-barcode-background .giftcard-barcode .giftcard-style-color {
    font-size: 14px;
    line-height: 30px;
    color: orange;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
}

.giftcard-note-background {
/ / margin-top: 8 px;
    float: left;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    margin-top: 8px;
    height: 30px
}

.giftcard-note-background .form-note {
    width: 100%;
    margin: 0 auto;
}

.giftcard-note-background .giftcard-text-color {
    font-size: 12px;
    line-height: 15px;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    text-align: left;
    padding: 0 15px;
    font-weight: 600;
    max-height: 33px;
    overflow: hidden;
}

#giftcard-template-back {
    font-size: 14px;
    width: 100%;
    float: left;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #ddd
}

#giftcard-template-back .top-content-back {
    margin-top: 10px;
}

#giftcard-template-back .giftcard-change-image {
    height: 270px;
}

.top-content-back .top-logo, .top-content-back .top-barcode {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 90px;
}

.top-content-back .top-logo img, .top-content-back .top-barcode img {
    margin: auto;
}

#giftcard-template-back .giftcard-change-image-background-popup {
    width: 100%;
    position: absolute;
    top: 0%;
}

.giftcard-box-background .giftcard-text-box {
    display: inherit !important;
    background-size: 100% !important;
    width: 100% !important;
    height: 98px;
    text-align: left;
}

.giftcard-box-background {
    width: 93% !important;
    height: 95px;
    padding: 5px 3%;
    margin-top: 0px !important;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    float: left;
}

.from-to-barcode-background .giftcard-number {
    float: right;
    text-align: right;
}

.from-to-barcode-background .giftcard-barcode span.barcode {
    float: right;
}

/*****template 03 width devices*******/
.giftcard-change-image-background-popup img#img-type-background {
    position: relative;
    top: 0;
    z-index: 10;
    left: 0;
}

#giftcard-template-back img#img-type-background {
    width: 100%
}

#giftcard-preview-template img#img-type-background {
    width: 100%
}

#giftcard-preview-template #giftcard-preview-template-content .giftcard-change-image-background-popup.giftcard-change-image {
    width: 100% !important;
    top: 0;
    position: absolute;
}

.giftcard-product-media {
    float: Left;
    width: 600px;
    height: 500px;
    -ms-transform-origin: top left;
    transform-origin: top left;
    -webkit-transform-origin: top left;
}

#close-popup-giftcard {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 8040;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #111;
    text-decoration: none !important;
    font-size: 20px;
}

#close-popup-giftcard:hover {
    color: #D12229;
}

#giftcard-preview-template-content {
    float: left;
    width: 100%;
    overflow: hidden;
}

/****************************Template 01 _ left*************************************/
.giftvoucher-product-info {
    overflow: hidden
}

#giftcard-template-left {
    font-size: 14px;
    width: 100%;
    float: left;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #ddd;
}

#giftcard-preview-template .giftcard_value-color .giftcard-text-color {
    padding-right: 10px;
    margin-top: 15px;
}

/*#giftcard-preview-template-content {float: left;overflow: hidden;}*/
.dialog.giftcard-preview-template-dialog .dialog_e {
    background: none;
}

.giftcard-template-content-left, .giftcard-change-image {
    width: 275px;
    height: 288px;
    display: block;
    float: left;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 275px 400px;
}

.logo1 {
    width: 100%;
    height: 50px;
    margin-top: -7px;
}

#giftcard-template-left .giftcard-title {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    margin-top: 10px !important;
    margin-left: 10px !important;
}

.giftcard-from {
    margin-right: 15px;
    overflow: hidden;
    /*display: table-cell;*/
    /*float: left;*/
    margin-bottom: 5px;
}

.giftcard-from-to .giftcard-style-color {
    color: orange;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

.giftcard-to {
    max-height: 25px;
}

.giftcard-box {
    /*overflow: hidden;*/
    margin-top: 10px;
}

.giftcard-box .giftcard-text-box {
    display: block;
    border-radius: 5px;
    border: 1px solid #cccccc;
    padding: 0 6px;
    height: 90px;
    vertical-align: middle;
    background: #fff;
    margin-top: 10px;
    text-align: left;
}

.giftcard_value .giftcard-text-color {
    float: left;
    padding-right: 10px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

#giftcard-preview-template .giftcard-template-content .giftcard_value .giftcard-text-color {
    padding-right: 10px;
    margin-top: 10px;
}

.giftcard_value .giftcard-style-color {
    float: left;
    clear: both;
}

.giftcard_value .giftcard-style-color .price {
    font-size: 22px;
    font-family: 'Open Sans', sans-serif;
    /* color: orange; */
    font-weight: bold;
}

.giftcard-number {
    margin: 5px 0;
}

.giftcard-number .giftcard-style-color {
    color: orange;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

.giftcard-custom-message {
    margin: 0;
    /*white-space: pre-wrap;*/
    max-height: 85px;
    overflow: hidden;
    font-size: 11px;
    background: none;
    border: none;
    clear: both;
}

.giftcard-barcode .giftcard-style-color {
    font-size: 14px;
    color: orange;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
}

.giftcard-text {
    overflow: hidden;
    vertical-align: bottom;
    height: 70px;
}

.giftcard-text .giftcard-text-color {
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-align: left;
}

#giftcard-template-left .giftcard-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 70px;
    width: 50%;
}

.giftcard-template-left img {
    margin: auto
}

/******************Detail giftcard by Crystal****************/
#giftcard-template-left .giftcard-template-left {
    background-position: 0;
    background-size: 100%;
    width: 334px;
    display: block;
    margin-left: 0;
    float: right;
    height: 368px;
    background-repeat: repeat;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    margin: 10px 10px 10px 0px;
}

#giftcard-template-left .giftcard-logo div {
    width: 100% !important;
    margin-top: -7px !important;
    background-size: 80% 50px !important;
}

#giftcard-template-left .giftcard-from-to .giftcard-text-color {
    font-family: 'Open Sans', sans-serif;
}

#giftcard-template-left {
    width: 100% !important
}

#giftcard-template-left .giftcard-change-image {
    width: 250px;
    background-position: inherit !important;
    background-size: 100% 100% !important;
    height: 376px;
    padding-bottom: 0;
    position: relative;
    margin: 5px 0px 5px 5px;
}

.giftcard-change-image img {
    height: 63px;
    max-width: 100%;
    display: inline;
}

.giftcard-change-image img#img-type-left {
    position: relative;
    top: 0;
    z-index: 10;
    left: 0;
}

.giftcard-template-content-left .giftcard-logo {
    position: absolute;
    top: 280px;
    text-align: center;
    width: 100%;
}

/*#giftcard-template-left .giftcard-template-content div {width: 100% !important; float: left;}*/
#giftcard-template-left .giftcard-template-content div.giftcard-style-color {
    margin: 15px 10px 0 15px;
    text-align: left;
}

#giftcard-template-left .giftcard-template-content div.giftcard_value {
    float: left;
}

#giftcard-template-left .giftcard-template-content div.giftcard-code {
    float: right;
    width: 200px;
    margin-top: -5px;
}

#giftcard-template-left .giftcard-template-content .value-barcode {
    width: 320px;
    float: left;
    margin: 15px;
    margin-bottom: 10px;
}

#giftcard-template-left .giftcard-template-content div.giftcard-from-to,
#giftcard-template-left .giftcard-template-content div.giftcard-box,
#giftcard-template-left .giftcard-template-content div.giftcard-text {
    width: 320px;
    float: left;
    margin: 0 15px;
}

#giftcard-template-left .giftcard-barcode {
    float: right;
    width: 177px;
    text-align: right;
}

#giftcard-template-left .giftcard-barcode img {
    float: right;
    max-width: 100%;
    height: 40px;
}

/*#giftcard-template-left .giftcard-to{float: left;clear: both;margin-left: 0px;}*/
#giftcard-template-show-images {
    overflow: hidden;
    position: relative;
    height: 60px;
}

#giftcard-template-show-images .images-for-slide {
    float: left;
    position: absolute;
    height: 60px;
    left: 0;
}

.giftcard-template-control {
    z-index: 10;
    position: absolute;
    top: 10px;
    width: 27px;
    height: 31px;
    background: url("giftvoucher/icon-nav.png") left 1px no-repeat transparent;
    text-decoration: none !important;
    outline: none !important;
}

#giftcard-template-prev {
    left: 0;
}

#giftcard-template-next {
    right: 0;
    background: url("giftvoucher/icon-nav.png") left -41px no-repeat transparent;
}

/***************checkout cart by Sally***************/
.gift-card .discount {
    display: inline-block;
    width: 100%;
}

.gift-card .discount .form-group label {
    display: inline;
}

.discount .giftvoucher #giftvoucher {
    position: relative;
    margin-right: -33px;
    margin-top: 10px;
    margin-left: 15px;
}

.giftcard_change img {
    display: inline;
}

/*************shopping cart by Sally*************/
.discount .giftvoucher #giftvoucher {
    position: relative;
    margin-right: 0px;
    margin-top: -1px;
    margin-left: 0px;
}

.giftvoucher-discount-code img {
    display: inline
}

/************my account by Sally***********/
.gift-card .table .col-xs-12 .label {
    float: left;
    margin-bottom: 5px;
}

.gift-card .table .col-xs-12 .v-middle {
    float: left;
    margin-top: 3px;
    margin-left: 3px;
}

/***********View giftcard*************/
#giftcard_history_table .item-hidden {
    display: none;
}

.giftvoucher-index-email .form-list li {
    width: 100%;
    float: left;
}

/******History balance*******/

.dialog.giftcard-preview-template-dialog .dialog_w {
    background: none;
}

/*---End Detail Popup Template 1---*/
.gift-card .sub-title {
    font-size: 17px;
    text-transform: none;
    font-weight: 600;
    margin: 0 0 5px;
    padding: 0;
}

.gift-card label em {
    color: #9B9B9B !important;
    font-family: 'Effra-Regular';
    font-size: 21px;
    font-style: normal;
}

.gift-card .form-group small {
    font-size: inherit;
}

.gift-card .form-group textarea + small {
    margin-top: 10px;
    color: #9B9B9B !important;
}

.giftvoucher-product-info .button-action {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #CCCCCC;
    width: 100% !important;
}

/***********End Detail Popup Template 3*************/

/******************Send email***************/

.giftvoucher-product-info .giftcard-date-box img {
    display: inline;
    vertical-align: middle;
}

.giftvoucher-product-info .giftcard-date-box ._has-datepicker ~ .ui-datepicker-trigger:before {
    font-size: 42px;
    height: auto !important;
    overflow: visible !important;
}

.giftvoucher-product-info .giftcard-date-box input.validate-date-giftcard {
    float: left;
    margin-right: 3px;
}

.giftcard-date-box button span {
    padding-left: 0 !important
}

.add-to-box {
    clear: both
}

.giftvoucher-receiver {
    float: left;
    clear: both;
    padding-bottom: 20px;
    width: 100%
}

.giftvoucher-product-info .validation-advice {
    float: left;
    clear: both;
}

.recipient_email,
.recipient_ship_form {
    float: left;
    clear: both;
}

/******************End***********************/
/***************checkout cart by Sally***************/
.fieldset .giftvoucher #giftvoucher {
    margin-left: 15px;
    margin-right: 0;
    margin-top: -1px;
    position: relative;
}

.giftcard_change img {
    display: inline;
}

.fieldset .giftvoucher_credit #giftvoucher_credit {
    margin-left: 15px;
    margin-right: 0;
    margin-top: -1px;
    position: relative;
}

.fieldset #giftvoucher_container {
    float: left;
    padding-bottom: 12px;
    width: 100% !important;
}

.fieldset .sp-methods {
    float: left;
    clear: both;
    width: 100% !important;
}

.credit_input img {
    display: inline;
}

.credit_input .input-text {
    width: 68px !important;
}

.notice-msg li {
    font-weight: 700;
}

.giftvoucher-index-index .pager {
    margin-top: 7px;
}

/*************shopping cart by Sally*************/
.discount-form.giftvoucher #giftvoucher {
    position: relative;
    margin-right: 5px;
    margin-top: 5px;
    margin-left: 0px;
}

.discount-form .giftvoucher_credit #giftvoucher_credit {
    position: relative;
    margin-right: 5px;
    margin-left: 0px;
    float: left
}

.giftvoucher-discount-code img {
    display: inline;
}

dd#giftcard_shoppingcart_apply, dd.giftvoucher li, dt.giftvoucher, dt.giftvoucher_credit, dd.giftvoucher-credit, li.giftvoucher-discount-code strong {
    margin: 5px 0;
}

#payment_form_giftvoucher_credit #gift_credit_message {
    float: left;
    width: 100%;
}

li.giftvoucher-discount-code strong {
    float: none;
}

.giftcard-code-hidden {
    display: none;
}

/**********add giftcard by Sally************/
#giftcard-template-left .giftcard-template-content .hidden-giftcard {
    height: 65px !important;
}

#giftcard-template-left .hidden-content {
    height: auto
}

@media (max-width: 990px) {
    /************my account***********/
    /*view giftcard*/
    /**********check giftcard************/

}

@media (max-width: 880px) {
    /************my account***********/
    /**********add giftcard************/
    #gift-voucher-code {
        width: 100% !important;
    }
}

@media only screen and (max-width: 770px) {
    /************my account by Sally***********/
}

@media (max-width: 640px) {
    /************my account by Sally***********/

}

@media (max-width: 440px) {
    /**********check giftcard by Sally************/
    .page-title h1 {
        font-size: 18px !important;
    }

    /* My account */
    .balance .button {
        float: none !important;
        width: 185px !important;
    }

    .giftvoucher-search-button {
        text-align: left !important;
    }

    .button {
        padding: 5px !important;
    }

    /*my account*/
    #giftvoucher_grid-gift_code {
        width: 65px !important;
        margin-left: 70px;
    }
}

@media (max-width: 420px) {
    /***************checkout cart by Sally***************/
    .giftcard {
        display: block;
    }
}

.giftcard-date-box .ui-datepicker-trigger {
    font-family: 'luma-icons';
    content: '\e612';
    font-size: 23px;
    line-height: 23px;
    color: #7d7d7d;
    overflow: hidden;
    speak: none;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

#discount-giftcard-form ul, #discount-giftcard-form ol, #discount-giftcard-form li {
    list-style: outside none none;
    margin-bottom: 0;
    font-size: 13px;
}

#discount-giftcard-form #buy_giftcard_message, #discount-giftcard-form #buy_giftcard_message ul, #discount-giftcard-form #buy_giftcard_message li {
    padding-left: 0 !important;
}

#discount-giftcard-form #buy_giftcard_message {
    width: 100%;

}

#discount-giftcard-form #buy_giftcard_message {
    float: left;
    margin-bottom: 10px;
}

#discount-giftcard-form .form-control {
    max-width: 325px;
    display: block;
}

#discount-giftcard-form {
    float: left;
}

#giftvoucher_container .form-control {
    max-width: 325px;
    display: block;
}

#giftvoucher_container .message {
    width: 100%;
}

#giftvoucher_container .message ul, #giftvoucher_container .message li {
    padding-left: 0px;
}

.ui-datepicker-trigger::before {
    font-family: 'luma-icons';
    content: '\e612';
    font-size: 23px;
    line-height: 23px;
    color: #7d7d7d;
    overflow: hidden;
    speak: none;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

#day_to_send-error {
    float: left
}

#day_to_send_content .ui-datepicker-trigger {
    padding: 0;
    background-color: transparent;
    border: none;
}

#day_to_send_content .ui-datepicker-trigger span {
    display: none;
}

#giftvoucher_container ul.form-group {
    padding-left: 15px;
}

#giftvoucher_container #payment_form_giftvoucher #giftvoucher_message {
    padding-left: 0px;
}

#giftvoucher_container #payment_form_giftvoucher #giftvoucher_message ul {
    padding-left: 0px;
}

.top-content-back .two-border, .top-content-top .two-border {
    border-left: 1px solid #ddd;
    border-right: 1px solid #dddddd;
}

.top-content-top .top-logo, .top-content-top .top-barcode {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 90px;
}

.top-content-top .top-logo img, .top-content-top .top-barcode img {
    margin: auto;
}

.value-price .giftcard-text-color {
    font-size: 36px;
    line-height: 1;
}

.top-bottom {
    float: left;
    width: 100%;
    padding: 6px;
    border-top: 1px solid #ddd;
    min-height: 90px;
}

.top-content-left .two-border {
    padding-right: 0px;
    padding-left: 0px;
    padding-top: 10px;
    height: 90px;
    float: left;
}

.top-content-left .top-barcode {
    padding-right: 0px;
    padding-left: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 90px;
    float: right;
}

.top-content-left .top-barcode img {
    margin: auto;
}

.top-content-left {
    margin-top: 45px;
}

.giftcard-template-left .giftcard-message {
    margin-top: 165px;
    margin-top: 165px;
    margin-left: 10px;
    margin-right: 10px;
    border-top: 1px solid #cccccc;
    padding-top: 10px;
}

.top-qrcode {
    height: 90px;
}

.top-qrcode img {
    height: 90%;
}

button.gc-amount-selected,
button.gc-template-selected {
    color: #D12229 !important;
    text-decoration: underline;
}

[for="giftcard_template_select"]:after {
    content: ':';
}

#amount_dropdown_buttons .gc-amount {
    float: left;
    margin-right: 10px;
    margin-bottom: 5px;
}

#amount_dropdown_buttons .gc-amount button {
    padding: 7px 4px;
    background: #fff;
}

.gift-card .form-group:not(#giftcard-template-upload-images),
#day_to_send_content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.gift-card .form-group .price-box,
.gift-card #product-giftvoucher-view .form-group .row,
.gift-card #product-giftvoucher-view .form-group .row > [class*='col-'] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
}

.gift-card #product-giftvoucher-view .form-group .row > [class*='col-'] {
    width: auto !important;
}

.gift-card #product-giftvoucher-view .form-group .row > [class*='col-'] + [class*='col-'] {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.gift-card #product-giftvoucher-view .form-group .row > [class*='col-'] label {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.gift-card #amount_range {
    width: 50px;
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 25px 0 0;
}

@media (min-width: 768px) {
    .gift-card [for="amount_range"] {
        white-space: nowrap;
    }
}

.gift-card #product-giftvoucher-view .form-group .row > [class*='col-'] label:after {
    content: ':';
}

.gift-card .giftcard-date-box.form-group {
    width: 100% !important;
}

@media (max-width: 767px) {
    .gift-card .form-group .price-box {
        display: block !important;
    }

    .product-supplement-king-gift-card .product-info-price .price-box > * {
        margin: 0 !important;
    }
}

.gift-card .form-group .row:before,
.gift-card .form-group .row:after,
.gift-card .form-group br {
    display: none !important;
}

.gift-card .giftvoucher-receiver.form-group {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.gift-card #giftcard-preview-button-add {

}

.gift-card .giftvoucher-receiver.form-group,
.gift-card .giftvoucher-receiver.form-group .form-group {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start !important;
    -ms-flex-align: start !important;
    align-items: flex-start !important;
}

.gift-card .form-group label[for="giftcard_template_select"],
.gift-card .form-group label.label_value {
    margin: 0 15px 0 0;
}

.gift-card .giftvoucher_custom_option {

}

.gift-card #template_buttons .template button {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-family: 'Roboto Condensed Bold';
    color: #D12229 !important;
    font-size: 18px !important;
}

.gift-card #template_buttons .template {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

@media (max-width: 767px) {
    .gift-card #template_buttons .template {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }
}

.gift-card #template_buttons .template > * + * {
    margin-left: 10px;
}

.gift-card .images-for-slider {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    margin: 15px 0;
}

.gift-card .images-for-slider > li,
#div-image-for-custom {
    position: relative;
    margin: 0;
    opacity: 0.3;
    border: 0 !important;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.gift-card .images-for-slider > li:before,
#div-image-for-custom:before {
    -webkit-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
    top: -50px;
    opacity: 0;
    content: "\e90e";
    position: absolute;
    z-index: 99;
    right: -10px;
    font-size: 30px;
    color: #29BBB3;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gift-card .images-for-slider > li:hover,
#div-image-for-custom:hover {
    opacity: 0.5;
}

#div-image-for-custom {
    margin: 0 !important;
}

#div-image-for-custom img,
.images-for-slider img {
    height: 100px;
    -o-object-fit: cover;
    object-fit: cover;
    border: 0 !important;
}

@media (min-width: 768px) {
    #div-image-for-custom img,
    .images-for-slider img {
        width: 100px !important;
    }
}

@media (max-width: 767px) {
    #div-image-for-custom img,
    .images-for-slider img {
        width: 200px !important;
    }
}

.gift-active {
    opacity: 1 !important;
}

.gift-active:before {
    top: -10px !important;
    opacity: 1 !important;
}

@media (max-width: 767px) {
    .gift-cart-content table,
    .gift-cart-content tr,
    .gift-cart-content td,
    .gift-cart-content tbody {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .gift-cart-content p,
    .gift-cart-content .gift-image,
    .gift-cart-content .gift-logo {
        padding: 0 !important;
        margin-bottom: 15px !important;
    }

    .gift-cart-content td + td {
        padding: 15px 0 !important;
    }

    .gift-cart-content img {
        width: 100%;
        max-width: 100%;
        display: block;
    }
}

.gift-cart-content .price,
.gift-cart-content [data-bind*='giftCode'] {
    color: #D12229 !important;
}

#popup-giftcard {
    position: fixed !important;
    z-index: 9999;
    top: 0 !important;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 25px 0;
}

#popup-giftcard .a-popover-wrapper {
    background-color: #fff;
    padding: 50px;
    max-width: 800px;
    position: relative;
    margin: 0 auto;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.19);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.19);
}

@media (max-width: 767px) {
    #popup-giftcard {
        padding: 0;
    }

    #popup-giftcard .a-popover-wrapper {
        padding: 15px;
    }
}

/* ----- Simple template ------ */
#giftcard-template-amazon {

    /*float:left;*/
    background: #fff;
    border-radius: 3px;
    border: 1px solid #ddd;
}

#giftcard-template-amazon .simple-top {

    padding: 6px 6px 10px;
    float: left;
    width: 100%;

}

.giftcard-template-content-simple {
    float: left;
    width: 100%;
    height: 310px;
}

#giftcard-template-amazon {
    font-family: Arial, sans-serif;
}

#giftcard-template-amazon .simple-content-top {
    margin: 0;
}

.simple-content-top .simple-logo {
    min-height: 85px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#giftcard-template-amazon img {
    margin: auto;
}

.simple-bottom {
    float: left;
    width: 100%;
    padding: 6px;
    border-top: 1px solid #ddd;
    min-height: 90px;
}

#giftcard-template-amazon .form-group.giftcard-value,
#giftcard-template-amazon .form-group.giftcard-number {
    margin: 5px 0;
}

.simple-bottom .giftcard-custom-message {
    width: 100%;
    float: left;
    margin: 0;
    padding: 10px;
    font-size: 14px;
    color: #444;
    line-height: 18px;
}

#giftcard-template-amazon .giftcard-template-content-simple {
    background-size: 100% auto;
}

#giftcard-template-amazon .logo-title {
    padding: 0;
    float: none;
    height: auto;
}

#giftcard-template-amazon .table-middle,
#giftcard-template-amazon .table-top td,
#giftcard-template-amazon .table-middle tbody tr > td table #mainImageContainer {
    width: 590px;
}

#giftcard-template-amazon img {
    display: block;
}

#giftcard-template-amazon .simple-barcode {
    min-height: 85px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#giftcard-template-amazon .simple-content-top .col-xs-4, #giftcard-template-amazon .simple-content-top .col-xs-6 {
    height: 90px;
}

#giftcard-template-amazon .giftcard-number .giftcard-style-color {
    font-style: normal;
}

#giftcard-template-amazon .giftcard-change-image {
    background-size: 100%;
}

.popup-giftcard-amazon {

}

.popup-giftcard-amazon .a-popover-header {

}

.popup-giftcard-amazon .a-button-close {

}

.popup-giftcard-amazon .a-popover-header .a-popover-header-content {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 15px;
}

.popup-giftcard-amazon .a-popover-inner {
    overflow-y: hidden !important;
}

.popup-giftcard-amazon .a-popover-inner {
    padding: 14px 18px;
    text-align: left;
    overflow-x: hidden;
}

.popup-giftcard-amazon #gc-preview-modal-wrapper {
    margin: -14px -18px;
}

.popup-giftcard-amazon #gc-preview-wrapper {
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 704px;
}

.popup-giftcard-amazon #gc-preview-header-recipient-email-box-wrapper {
    border-bottom: 1px solid #ddd;
}

.popup-giftcard-amazon .a-size-base {
    font-size: 13px !important;
    line-height: 19px !important;
}

.popup-giftcard-amazon .a-color-base {
    color: #111 !important;
}

.popup-giftcard-amazon .a-row {
    width: 100%;
}

.popup-giftcard-amazon .a-grid-vertical-align.a-row {

}

.popup-giftcard-amazon .a-grid-vertical-align.a-row > div.a-column {

}

.popup-giftcard-amazon .a-grid-vertical-align.a-row > div.a-span1 {

}

.popup-giftcard-amazon .a-grid-vertical-align.a-row > div.a-span10 {

}

.popup-giftcard-amazon .a-section {

}

#gc-preview-modal-wrapper,
#gc-preview-template-wrapper,
#gc-preview-wrapper {
    margin: 0;
}

.popup-giftcard-amazon .a-spacing-top-extra-large {

}

.popup-giftcard-amazon .a-text-bold {
    font-family: 'Effra-Bold';
}

.popup-giftcard-amazon .gc-hide {
    display: none;
}

.popup-giftcard-amazon .gc-text-hidden {
    display: none;
}

.popup-giftcard-amazon #gc-preview-template-wrapper {

}

.popup-giftcard-amazon #gc-preview-template-wrapper #gc-preview-main-sections {

}

.popup-giftcard-amazon #gc-preview-wrapper td {
    vertical-align: middle;
}

.popup-giftcard-amazon #gc-preview-wrapper td img {
    display: inline;
    max-width: 100%;
}

.popup-giftcard-amazon {

}

.popup-giftcard-amazon #close-popup-giftcard {

}

.popup-giftcard-amazon #close-popup-giftcard:hover {

}

#giftcard-template-amazon .giftcard-style-color {
    display: block;
}

.popup-giftcard-amazon .giftcard-style-color {
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    color: #868686;
    font-weight: 600;
    display: block;
}

.giftcard-template-upload-custom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
}

@media (min-width: 768px) {
    .giftcard-template-upload-custom {
        -ms-flex-flow: wrap;
        flex-flow: wrap;
    }
}

.giftvoucher-product-info #message {
    clear: both;
    max-width: none;
}

.ajax-file-upload-error {
    text-align: center;
    margin: 15px 0;
    color: #D12229 !important;
}

.popup-giftcard-amazon {
    top: 10% !important;
}

.images-for-slider li {
    width: 100px !important;
    height: 100px !important;
}

.images-for-slider ul,
.images-for-slider li {
    list-style: none;
}

#discount-giftcard-form.cart-page #payment_form_giftvoucher {
    padding: 0;
}

.table-gift-codes .col.actions [class*='action'] {
    text-decoration: none;
}

.table-gift-codes .col.actions [class*='action']:before {
    margin-right: 8px;
    top: 1px;
    position: relative;
    font-size: 12px;
}

.table-gift-codes .col.actions [class*='action']:hover {
    color: #D12229;
}

.table-gift-codes .col.actions [class*='action']:hover > span {
    text-decoration: underline;
}

.table-gift-codes .col.actions > * + * {
    margin-left: 15px;
}

#email-giftcard-tofriend .field {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
}

#email-giftcard-tofriend small {
    font-size: 13px;
    font-family: 'Effra-Regular';
    color: #95989A;
}

#email-giftcard-tofriend .legend {
    float: none !important;
    clear: none !important;
    width: 100%;
    font: normal 16px/1 'Effra-Bold';
    color: #29BBB3;
    border-bottom: 1px solid #ccc;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 25px 0;
}

.a-popover-close {
    display: none;
}