.product-type-gift-card .summary .price {
  display: none;
}

.product-type-gift-card .yith_wapo_group_total .price {
  display: block;
}

.product-type-gift-card .product_meta {
    display: none;
}

.product-type-gift-card .woocommerce-product-gallery__wrapper {
  box-shadow: 0 0 19px -12px gray;
}

.product-type-gift-card .woocommerce-product-gallery__image {
  padding: 1em;
}

.ywgc-preview {
  max-width: 500px;
  margin: 0 auto;
  margin-bottom: 15px;
  border: 5px solid #F7F4F4;
  padding: 5px;
}

.ywgc-manual-amount.ywgc-hidden {
  display: none;
}

.gift-card-content-editor {
  width: 100%;
}

.gift-card-content-editor.step-content h5 {
  margin-top: 3em;
}

.gift-card-too-small {
  background-color: #ffe326;
  padding: 10px;
  color: #3d3939;
  margin-bottom: 5px;
}

.ywgc-logo-shop img.ywgc-logo-shop-image {
  max-width: 100%;
  max-height: 100px;
}

a.add-recipient {
  display: block;
}

.ywgc-additional-recipient {
  position: relative;
  margin-top: 35px;
}

.ywgc-additional-recipient label {
  margin-bottom: 15px;
}

.gift-card-content-editor.step-content label {
  display: inline-block;
  /*margin-top: 11px;*/
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  line-height: 46px;
}

.gift-card-content-editor.step-content input {
  font-size: 14px;
}

.gift-card-content-editor.step-content input::placeholder {
  font-size: 12px;
}

.gift-card-content-editor.step-content #ywgc-delivery-date::placeholder {
  color: black;
}

.gift-card-content-editor.step-content textarea {
  font-size: 14px;
}

.gift-card-content-editor.step-content textarea::placeholder {
  font-size: 12px;
}

.gift-card-content-editor.step-content a {
  font-size: 14px;
}

.gift-card-content-editor.step-content a::placeholder {
  font-size: 12px;
}

.ywgc-sender-name {
  margin-bottom: 15px;
}

.gift-card-content-editor.step-appearance .ywgc-design-list {
  width: 100%;
  display: flex;
}

.gift-card-content-editor.step-appearance .ywgc-design-list ul {
  margin: 0 -5px;
  padding: 0;
  list-style: none;
  font-size: 0;
}

.gift-card-content-editor.step-appearance .ywgc-design-list ul:after {
  content: '';
  display: block;
  clear: both;
}

.gift-card-content-editor.step-appearance .ywgc-design-list ul li {
  padding: 5px;
  display: inline-block;
}

.ywgc-custom-design-link {
  margin-top: 20px;
}

.ywgc-hidden {
  display: none;
}


/** Gift card editor */

/*.gift-card-content-editor {*/
/*    overflow: hidden;*/
/*}*/


/** Editing gift card content on order page */

.ywgc-gift-card-content .ywgc-show {
  display: inline-block;
}

.ywgc-gift-card-content .ywgc-hide {
  display: none;
}

.ywgc-gift-card-content .ywgc-edit-value.apply {
  background-color: #7caf00;
  color: white;
}

.ywgc-gift-card-content .ywgc-edit-value.apply:hover {
  background-color: #5b8000;
}

.ywgc-gift-card-content.ywgc-edit-value .ywgc-show-value {
  display: none;
}

.ywgc-gift-card-content.ywgc-edit-value .ywgc-edit-value {
  display: inline-block;
}

.ywgc-gift-card-content fieldset {
    border: none;
}

.ywgc-main-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.ywgc-single-recipient {
  /*margin-bottom: 2em;*/
  position: relative;
}

.ywgc-recipient {
  max-width: 85%;
  display: inline-block;
}

.ywgc-single-recipient a.hide-if-alone {
  visibility: hidden;
}

.ywgc-single-recipient .ywgc-recipient-name {
  margin-bottom: 15px;
}

#ywgc-cancel-gift-card {
  display: none;
  margin-bottom: 10px;
}

button#give-as-present {
  display: block;
  margin: 3em auto 0 auto;
}

#give-as-present > span:before {
  font-size: inherit;
  line-height: inherit;
  margin-left: 5px;
}

button#ywgc-cancel-gift-card {
  display: block;
  margin: 3em auto 0 auto;
}

.ywgc-picture-error,
.ywgc-filling-error {
  color: red;
  font-size: 12px;
}

.ywgc-gift-card-content a.edit-details {
  font-size: 10px;
  text-decoration: none;
}

.ywgc-gift-card-edit-details fieldset,
.ywgc-gift-card-details fieldset {
  padding: 5px 0;
  margin: 0;
}

.ywgc-gift-card-content label {
  display: inline-block;
}

a.ywgc-view-order.button {
  margin-bottom: 5px;
}

.ywgc-top-header {
  max-width: 50%;
  margin: 0 auto;
  margin-bottom: 5px;
}


/* Modal gift card design selection */

ul.ywgc-template-categories {
  float: left;
  list-style: none;
  padding-top: 15px;
  font-weight: 600;
}

.ywgc-template-categories a {
  color: inherit;
}

ul.ywgc-template-categories li.ywgc-template-item {
  margin-top: 5px;
  font-size: 0.875rem;
}

ul.ywgc-template-categories li a {
  text-decoration: none;
}

.ywgc-design-list-modal {
  padding: 25px 0 25px 45px;
  float: right;
  width: 70%;
  font-size: 0;
}

div#ywgc-choose-design:after {
  content: '';
  display: block;
  clear: both;
}

.ywgc-custom-upload-container-modal {
  float: right;
  width: 70%;
  padding: 30px;
  text-align: center;
}

.ywgc-design-list-menu {
  width: 30%;
  height: 100%;
  float: left;
  position: fixed;
  background-color: #F2F2F2;
  padding-top: 35px;
  top: 0px;
}

.ywgc-design-categories-title {
  padding-left: 40px;
  font-size: 1.5rem;
  margin-top: 0;
}

a.ywgc-category-selected {
  font-weight: bold;
}

.gift-cards-list button {
  border-radius: unset;
  background-color: white;
  color: #404040;
  vertical-align: top;
}

.gift-cards-list button.ywgc-predefined-amount-button.selected_button {
  color: white;
}

.ywgc-amount-buttons {
  margin-bottom: 1em;
}

.ywgc-preset-image {
  position: relative;
  border: 2px solid lightgray;
  border-radius: 2px;
  cursor: pointer;
}

.ywgc-design-list-modal .ywgc-preset-image span.choose-design {
  position: absolute;
  z-index: 12;
  top: 50%;
  margin-top: auto;
  margin-bottom: auto;
  height: fit-content;
  color: #ffffff;
  font-size: 0.875rem;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  width: auto;
  border: 2px solid;
  margin: auto 30px;
  left: 0;
  right: 0;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all ease 0.2s;
  text-transform: uppercase;
}

.ywgc-design-list-modal .ywgc-preset-image:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #9e9e9e;
  pointer-events: none;
  opacity: 0;
  transition: all ease 0.2s;
}

.ywgc-design-list-modal .ywgc-preset-image:hover:before {
  opacity: 0.8;
}

.ywgc-design-list-modal .ywgc-preset-image:hover span.choose-design {
  opacity: 1;
  visibility: visible;
}

.ywgc-preset-image.selected_image_parent:after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  border-radius: 50%;
  background-color: transparent;
  top: -5px;
  right: -5px;
  background-image: url("../images/default-picture.png");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.ywgc-preset-image img {
  display: block;
}

.ywgc-design-list .ywgc-preset-image img {
  height: 150px;
  width: 150px;
}

.ywgc-choose-design-preview {
  margin-bottom: 30px;
}

.ywgc-preset-image:not(.ywgc-default-product-image) {
  border: 2px solid #d3d3d3;
}

.ywgc-choose-image.ywgc-choose-template {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: unset;
  border-radius: unset;
  line-height: unset;
  overflow: hidden;
  padding: unset;
  font-size: 16px;
  color: white;
}

.ywgc-design-item {
  display: inline-block;
  /*margin: 0 15px 15px 0;
  width: 180px;*/
  width: 33%;
  margin: 0;
  padding: 0 15px 15px 0;
}

.ywgc-design-item button {
  margin: 0 auto;
  margin-top: 20px;
  display: block;
}

#ywgc-choose-design-modal .pp_close {
  z-index: 999;
}

#ywgc-choose-design-modal:before {
  clear: both;
  content: '';
  display: block;
}

#ywgc-choose-design-modal {
  clear: both;
}

a.ywgc-choose-image-modal.ywgc-custom-picture-modal {
  display: block;
}

a.ywgc-choose-image-modal.ywgc-custom-picture-modal img {
  display: block;
  max-width: 170px;
  margin: 0 auto;
}

.gift-card-content-editor.step-appearance,
.gift-card-content-editor.step-content {
  margin-bottom: 20px;
}

.gift-card-content-editor.step-content input {
  float: right;
  width: 70%;
}

.gift-card-content-editor.step-content textarea {
  float: right;
  width: 70%;
}

.add-recipient {
  float: right;
  margin-top: 5px;
}

.ywgc-manual-amount-error {
  font-size: smaller;
  color: red;
}

#ywgc-manual-amount {
  width: 7em;
  min-width: unset;
  border: none;
  border-radius: unset;
}

.ywgc-manual-amount::placeholder {
  font-size: 12px;
}

.ywgc-manual-amount-container {
  border: 1px solid #448a85;
  display: inline-flex;
  height: 51.3333px;
}

.ywgc-bad-email-format {
  font-size: 10px;
  display: block;
  color: red;
}

.ywgc-discount-html {
  font-size: smaller;
}

.ywgc-multi-recipients {
  margin: 10px 0;
}

.ywgc-preset-title {
  display: block;
  text-align: center;
  font-size: 15px;
}

.ywgc_enter_code {
  padding: 20px;
  margin: 2em 0;
  text-align: left;
}

.ywgc_enter_code>div {
  margin: 0 -14px;
}

.ywgc_enter_code>div:after {
  content: '';
  display: block;
  clear: both;
}

.ywgc_enter_code p {
  padding-left: 15px;
  padding-right: 15px;
}

.ywgc_enter_code .form-row {
  padding: 0 15px;
  margin: 0 0 6px;
  float: left;
  width: 50%;
}


/** Hide on Flatsome Quick View */

.product-quick-view-container .ywgc-template-design,
.product-quick-view-container .gift-this-product-main-container {
  display: none;
}

.yith-quick-view .gift-this-product-main-container {
  display: none;
}

.yith-quick-view .product_meta {
  display: block;
}

.yith-quick-view .price {
  display: block;
}

.yith_wc_gift_card_blank_brightness {
  background: rgba(255, 255, 255, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 1;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  padding: 10px 0 10px 0;
  top: -1px;
  left: -1px;
}


/** Move the calendar icon to the right in the product page */

.ywgc-postdated {
  position: relative;
}

a.give-as-present {
  cursor: pointer;
}

.gift-this-product-main-container {
  margin-top: 4em;
}

button.ywgc-add-gift-product-to-cart {
  display: block;
  margin: 3em auto 0 auto;
}

.gift_card_template_button {
  margin-top: 3em;
}

.gift-cards_form>h3 {
  margin-top: 2em;
  margin-bottom: 1em;
}

.ywgc-form-preview-separator {
  width: 40px;
  height: 7px;
  margin-top: 10px;
}

.ywgc-currency-symbol {
  margin-left: -106px;
  font-size: 16px;
  font-weight: 600;
}

.ywgc-on-sale-text {
  font-size: x-large;
  font-weight: 500;
}

.ywgc-form-preview-amount {
  float: right;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.ywgc-form-preview-title {
  font-weight: 600;
}

.ywgc-form-preview-title-containe {
  margin-top: 15px;
}

.ywgc-main-form-preview-container {
  height: auto;
  min-height: 20em;
  padding: 1em 1em 1em 1em;
  box-shadow: 0 10px 19px -12px;
}

.ywgc-form-preview-from {
  font-weight: bold;
}

.ywgc-form-preview-to {
  font-weight: bold;
}


/*
Shortcodes styles
*/

.form-check-gift-card-balance label {
  font-weight: 600;
}

.form-check-gift-card-balance input::placeholder {
  font-size: 12px;
}

.form-check-gift-card-balance {
  text-align: center;
}

.form-check-gift-card-balance button {
  margin-left: 25px;
}

.form-redeem-gift-card label {
  font-weight: 600;
}

.form-redeem-gift-card input::placeholder {
  font-size: 12px;
}

.form-redeem-gift-card {
  text-align: center;
}

.form-redeem-gift-card button {
  margin-left: 25px;
}

label.ywgc-used-amount-label {
  margin-left: 25px;
}

.cart_item .product-name div {
  font-size: 13px;
}

.ywgc-upload-section-modal {
  margin-top: 20px;
}

.ywgc-upload-section-modal p {
  font-size: 0.875rem;
}

.ywgc-upload-section-modal p:before {
  content: '';
  display: block;
  width: 50%;
  height: 0px;
  border-top: 1px solid #9E9E9E;
  margin-bottom: 15px;
}


/**********************
Responsive
****************/

@media screen and ( max-width: 768px) {
  ul.ywgc-template-categories li.ywgc-template-item,
  ul.ywgc-template-categories li.ywgc-upload-section-modal p {
    margin-top: 5px;
  }
  .ywgc-design-categories-title {
    padding-left: 40px;
    font-size: 1rem;
  }
}

@media screen and ( max-width: 600px) {
  .ywgc-design-list-menu {
    float: none;
    width: 100%;
    padding: 0 15px;
    position: static;
    height: auto;
    background: transparent;
  }
  .yith-ywgc-popup-content-wrapper {
    margin-top: 0;
  }
  .ywgc-design-categories-title {
    padding: 20px 0 0;
  }
  ul.ywgc-template-categories {
    padding: 0;
    float: none;
  }
  ul.ywgc-template-categories li.ywgc-template-item {
    display: inline-block;
    margin-right: 30px;
  }
  .ywgc-upload-section-modal {
    margin-top: 15px;
  }
  .ywgc-design-list-modal {
    float: none;
    width: 100%;
    padding: 15px 0 15px 15px;
  }
}

@media screen and ( max-width: 480px) {
  .ywgc-design-item {
    width: 50%;
  }
}

.ywgc-multi-recipients span{
  font-size: 14px;
}

.ywgc-empty-recipient-note{
  font-size: 11px;
  float: right;
  width: 100%;
  text-align: right;
  font-weight: 300;
  padding-top: 5px;
}

.ywgc-darkred-text{
  color: darkred;
}


.ywgc-remove-number-input{
  -moz-appearance:textfield;
  pointer-events: none;
  color: gray;
}

.ywgc-remove-number-input::-webkit-outer-spin-button,
.ywgc-remove-number-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dashicons-arrow-down-alt2{
  font-size: 16px;
}

.ywgc-custom-image-modal-submit-link
{
  background-color:  #448a85 ;
  border-color: #448085;
  margin-right: 12px;
  display: inline-block;
  font-size: 12px;
  font-weight: normal;
  cursor: pointer;
  vertical-align: middle;
}
.ywgc-custom-image-modal-submit-link:hover {
  background-color: #ffe1e1;
}

.gift-card-content-editor.step-content:after {
  content: '';
  display: block;
  clear: both;
}

#ywgc-edit-message {
  resize: vertical;
}

.selected_design_image_in_modal{
  height: 150px;
}

.ywgc-delivery-notification-checkbox-container{
  font-size: 11px;
  float: right;
  width: 100%;
  text-align: right;
  font-weight: 300;
  padding-top: 5px;
}

.ywgc-delivery-notification-checkbox-container span.checkboxbutton::before{
  width: 18px;
  height: 18px;
}

.ywgc-country-select-container{
  display: inline-flex;
  margin-top: 1em;
  width: 100%;
}

.ywgc-country-select-div #ywgc-country-select_field span.selection{
  width: 15em;
  display: block;
}

.ywgc-country-select-div #ywgc-country-select_field span.selection .select2-selection {
  height: 46px;
  border: 1px solid #cccccc;
  border-radius: 0;
}

.ywgc-country-select-div #ywgc-country-select_field{
  margin-top: 0px;
}

.yith-ywgc-gift-this-product-form-container .ywgc-gift-this-product-totals{
  float: right;
  line-height: 10px;
}

.yith-ywgc-gift-this-product-form-container .ywgc-gift-this-product-totals span{
  font-weight: bold;
}

.ywgc-country-select-main-container .ywgc-country-select-div{
  margin-left: 8.5em;
}

.ywgc-country-select-main-container .ywgc-country-select-title p{
  width: 6em;
}

.ywgc-gift-this-product-totals span{
  float: right;
  margin-left: 5px;
}

#ywgc-postal-code-input{
  width: 240px;
}

@media only screen and (max-width: 1599px) {

  .ywgc-country-select-container{
    display: block;
    text-align: right;
  }

  .ywgc-country-select-main-container .ywgc-country-select-div{
    margin-left: 0;
  }

  #ywgc-country-select_field{
    padding: 0;
  }

}

.ywgc-form-widget-elementor-widget .gift-cards_form{
  display: block !important;
}

.gift-cards_form{
  display: block !important;
}

.product-type-gift-card .elementor-shortcode .gift-cards_form.cart {
  display: block !important;
}

.form-link-gift-card-to-user {
  margin-bottom: 15px;
}

.ywgc-red-border{
  border: 1px solid red !important;
}

.clearfix:after{
  content:'';
  display: block;
  clear: both;
}

.ywgc-link-gift-card-fieldset-container{
  border: 1px solid lightgray;
}

.ywgc-link-gift-card-submit-button{
  margin-top: 10px;
}

.gift-card-panel-title{
  float: left;
}

.yith-add-new-gc-my-account-button{
  float: right;
}

.form-link-gift-card-to-user{
  width: 100%;
  float: right;
  display: none
}

.yith-add-new-gc-my-account-notice-message.error{
  font-weight: bolder;
  color: red;
}

.yith-add-new-gc-my-account-notice-message.added{
  font-weight: bolder;
  color: green;
}

#ywgc-link-code{
  display: block;
  margin-top: 5px;
}