← back to Dw Theme Boost Fix

assets/gift-card.css.liquid

1191 lines

/* Fonts */
{%- comment -%}font_heading{%- endcomment -%}

{%- assign fonts_font_heading_display = "swap" | default: 'auto' -%}

  {%- comment -%}Normal{%- endcomment -%}

  {%- assign fonts_font_heading_family = settings.font_heading.family | append: ',' | append: settings.font_heading.fallback_families -%}
  {%- assign fonts_font_heading_style = settings.font_heading.style -%}
  {%- assign fonts_font_heading_weight = settings.font_heading.weight | times: 1 -%}
  {{ settings.font_heading | font_face: font_display: fonts_font_heading_display }}

  {%- comment -%}Italic{%- endcomment -%}

  {%- assign fonts_font_heading_style_italic = settings.font_heading | font_modify: 'style', 'italic' | map: 'style' | default: 'italic' -%}
  {{ settings.font_heading | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_heading_display }}

  {%- comment -%}Bolder{%- endcomment -%}

  {%- assign fonts_weight_adjustment_default = 700 -%}
  {%- if fonts_font_heading_weight > 700 -%}
    {%- assign fonts_weight_adjustment_default = fonts_font_heading_weight -%}
  {%- endif -%}
  {%- assign fonts_font_heading_bolder = settings.font_heading | font_modify: 'weight', 'bolder' -%}
  {%- assign fonts_font_heading_weight_bolder = fonts_font_heading_bolder.weight | default: fonts_weight_adjustment_default -%}
  {{ fonts_font_heading_bolder | font_face: font_display: fonts_font_heading_display }}
  {{ fonts_font_heading_bolder | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_heading_display }}

  {%- comment -%}Lighter{%- endcomment -%}

  {%- assign fonts_weight_adjustment_default = 300 -%}
  {%- if fonts_font_heading_weight < 300 -%}
    {%- assign fonts_weight_adjustment_default = fonts_font_heading_weight -%}
  {%- endif -%}
  {%- assign fonts_font_heading_lighter = settings.font_heading | font_modify: 'weight', 'lighter' -%}
  {%- assign fonts_font_heading_weight_lighter = fonts_font_heading_lighter.weight | default: fonts_weight_adjustment_default -%}
  {{ fonts_font_heading_lighter | font_face: font_display: fonts_font_heading_display }}
  {{ fonts_font_heading_lighter | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_heading_display }}


{%- comment -%}font_navigation{%- endcomment -%}

{%- assign fonts_font_navigation_display = "swap" | default: 'auto' -%}

  {%- comment -%}Normal{%- endcomment -%}

  {%- assign fonts_font_navigation_family = settings.font_navigation.family | append: ',' | append: settings.font_navigation.fallback_families -%}
  {%- assign fonts_font_navigation_style = settings.font_navigation.style -%}
  {%- assign fonts_font_navigation_weight = settings.font_navigation.weight | times: 1 -%}
  {{ settings.font_navigation | font_face: font_display: fonts_font_navigation_display }}

  {%- comment -%}Italic{%- endcomment -%}

  {%- assign fonts_font_navigation_style_italic = settings.font_navigation | font_modify: 'style', 'italic' | map: 'style' | default: 'italic' -%}
  {{ settings.font_navigation | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_navigation_display }}

  {%- comment -%}Bolder{%- endcomment -%}

  {%- assign fonts_weight_adjustment_default = 700 -%}
  {%- if fonts_font_navigation_weight > 700 -%}
    {%- assign fonts_weight_adjustment_default = fonts_font_navigation_weight -%}
  {%- endif -%}
  {%- assign fonts_font_navigation_bolder = settings.font_navigation | font_modify: 'weight', 'bolder' -%}
  {%- assign fonts_font_navigation_weight_bolder = fonts_font_navigation_bolder.weight | default: fonts_weight_adjustment_default -%}
  {{ fonts_font_navigation_bolder | font_face: font_display: fonts_font_navigation_display }}
  {{ fonts_font_navigation_bolder | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_navigation_display }}

  {%- comment -%}Lighter{%- endcomment -%}

  {%- assign fonts_weight_adjustment_default = 300 -%}
  {%- if fonts_font_navigation_weight < 300 -%}
    {%- assign fonts_weight_adjustment_default = fonts_font_navigation_weight -%}
  {%- endif -%}
  {%- assign fonts_font_navigation_lighter = settings.font_navigation | font_modify: 'weight', 'lighter' -%}
  {%- assign fonts_font_navigation_weight_lighter = fonts_font_navigation_lighter.weight | default: fonts_weight_adjustment_default -%}
  {{ fonts_font_navigation_lighter | font_face: font_display: fonts_font_navigation_display }}
  {{ fonts_font_navigation_lighter | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_navigation_display }}


{%- comment -%}font_body{%- endcomment -%}

{%- assign fonts_font_body_display = "swap" | default: 'auto' -%}

  {%- comment -%}Normal{%- endcomment -%}

  {%- assign fonts_font_body_family = settings.font_body.family | append: ',' | append: settings.font_body.fallback_families -%}
  {%- assign fonts_font_body_style = settings.font_body.style -%}
  {%- assign fonts_font_body_weight = settings.font_body.weight | times: 1 -%}
  {{ settings.font_body | font_face: font_display: fonts_font_body_display }}

  {%- comment -%}Italic{%- endcomment -%}

  {%- assign fonts_font_body_style_italic = settings.font_body | font_modify: 'style', 'italic' | map: 'style' | default: 'italic' -%}
  {{ settings.font_body | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_body_display }}

  {%- comment -%}Bolder{%- endcomment -%}

  {%- assign fonts_weight_adjustment_default = 700 -%}
  {%- if fonts_font_body_weight > 700 -%}
    {%- assign fonts_weight_adjustment_default = fonts_font_body_weight -%}
  {%- endif -%}
  {%- assign fonts_font_body_bolder = settings.font_body | font_modify: 'weight', 'bolder' -%}
  {%- assign fonts_font_body_weight_bolder = fonts_font_body_bolder.weight | default: fonts_weight_adjustment_default -%}
  {{ fonts_font_body_bolder | font_face: font_display: fonts_font_body_display }}
  {{ fonts_font_body_bolder | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_body_display }}

  {%- comment -%}Lighter{%- endcomment -%}

  {%- assign fonts_weight_adjustment_default = 300 -%}
  {%- if fonts_font_body_weight < 300 -%}
    {%- assign fonts_weight_adjustment_default = fonts_font_body_weight -%}
  {%- endif -%}
  {%- assign fonts_font_body_lighter = settings.font_body | font_modify: 'weight', 'lighter' -%}
  {%- assign fonts_font_body_weight_lighter = fonts_font_body_lighter.weight | default: fonts_weight_adjustment_default -%}
  {{ fonts_font_body_lighter | font_face: font_display: fonts_font_body_display }}
  {{ fonts_font_body_lighter | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_body_display }}


{%- comment -%}font_button{%- endcomment -%}

{%- assign fonts_font_button_display = "swap" | default: 'auto' -%}

  {%- comment -%}Normal{%- endcomment -%}

  {%- assign fonts_font_button_family = settings.font_button.family | append: ',' | append: settings.font_button.fallback_families -%}
  {%- assign fonts_font_button_style = settings.font_button.style -%}
  {%- assign fonts_font_button_weight = settings.font_button.weight | times: 1 -%}
  {{ settings.font_button | font_face: font_display: fonts_font_button_display }}

  {%- comment -%}Italic{%- endcomment -%}

  {%- assign fonts_font_button_style_italic = settings.font_button | font_modify: 'style', 'italic' | map: 'style' | default: 'italic' -%}
  {{ settings.font_button | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_button_display }}

  {%- comment -%}Bolder{%- endcomment -%}

  {%- assign fonts_weight_adjustment_default = 700 -%}
  {%- if fonts_font_button_weight > 700 -%}
    {%- assign fonts_weight_adjustment_default = fonts_font_button_weight -%}
  {%- endif -%}
  {%- assign fonts_font_button_bolder = settings.font_button | font_modify: 'weight', 'bolder' -%}
  {%- assign fonts_font_button_weight_bolder = fonts_font_button_bolder.weight | default: fonts_weight_adjustment_default -%}
  {{ fonts_font_button_bolder | font_face: font_display: fonts_font_button_display }}
  {{ fonts_font_button_bolder | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_button_display }}

  {%- comment -%}Lighter{%- endcomment -%}

  {%- assign fonts_weight_adjustment_default = 300 -%}
  {%- if fonts_font_button_weight < 300 -%}
    {%- assign fonts_weight_adjustment_default = fonts_font_button_weight -%}
  {%- endif -%}
  {%- assign fonts_font_button_lighter = settings.font_button | font_modify: 'weight', 'lighter' -%}
  {%- assign fonts_font_button_weight_lighter = fonts_font_button_lighter.weight | default: fonts_weight_adjustment_default -%}
  {{ fonts_font_button_lighter | font_face: font_display: fonts_font_button_display }}
  {{ fonts_font_button_lighter | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_button_display }}


{%- comment -%}font_meta{%- endcomment -%}

{%- assign fonts_font_meta_display = "swap" | default: 'auto' -%}

  {%- comment -%}Normal{%- endcomment -%}

  {%- assign fonts_font_meta_family = settings.font_meta.family | append: ',' | append: settings.font_meta.fallback_families -%}
  {%- assign fonts_font_meta_style = settings.font_meta.style -%}
  {%- assign fonts_font_meta_weight = settings.font_meta.weight | times: 1 -%}
  {{ settings.font_meta | font_face: font_display: fonts_font_meta_display }}

  {%- comment -%}Italic{%- endcomment -%}

  {%- assign fonts_font_meta_style_italic = settings.font_meta | font_modify: 'style', 'italic' | map: 'style' | default: 'italic' -%}
  {{ settings.font_meta | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_meta_display }}

  {%- comment -%}Bolder{%- endcomment -%}

  {%- assign fonts_weight_adjustment_default = 700 -%}
  {%- if fonts_font_meta_weight > 700 -%}
    {%- assign fonts_weight_adjustment_default = fonts_font_meta_weight -%}
  {%- endif -%}
  {%- assign fonts_font_meta_bolder = settings.font_meta | font_modify: 'weight', 'bolder' -%}
  {%- assign fonts_font_meta_weight_bolder = fonts_font_meta_bolder.weight | default: fonts_weight_adjustment_default -%}
  {{ fonts_font_meta_bolder | font_face: font_display: fonts_font_meta_display }}
  {{ fonts_font_meta_bolder | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_meta_display }}

  {%- comment -%}Lighter{%- endcomment -%}

  {%- assign fonts_weight_adjustment_default = 300 -%}
  {%- if fonts_font_meta_weight < 300 -%}
    {%- assign fonts_weight_adjustment_default = fonts_font_meta_weight -%}
  {%- endif -%}
  {%- assign fonts_font_meta_lighter = settings.font_meta | font_modify: 'weight', 'lighter' -%}
  {%- assign fonts_font_meta_weight_lighter = fonts_font_meta_lighter.weight | default: fonts_weight_adjustment_default -%}
  {{ fonts_font_meta_lighter | font_face: font_display: fonts_font_meta_display }}
  {{ fonts_font_meta_lighter | font_modify: 'style', 'italic' | font_face: font_display: fonts_font_meta_display }}
@font-face {
  font-family: "chiko-icons";
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url({{ 'chiko-icons.woff' | asset_url }}) format("woff");
}
@font-face {
  font-family: "pxu-social-icons";
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url({{ 'pxu-social-icons.woff' | asset_url }}) format("woff");
}
/* Settings */
/* User Settings
------------------------- */
/* General */
/* Section specific
------------------------- */
/* Header */
/* Slideshow */
/* General Settings
------------------------- */
{% comment %}
  Calculate hover and text hover color based on lightness of heading color
{% endcomment %}
{% assign background_lightness = settings.heading-color | color_extract: 'lightness' %}
{% if background_lightness > 50 %}
  {% assign color_hover_heading = settings.heading-color | color_darken: 5 %}
  {% assign color_text_hover_heading = settings.heading-color | color_darken: 6 %}
{% else %}
  {% assign color_hover_heading = settings.heading-color | color_lighten: 6 %}
  {% assign color_text_hover_heading = settings.heading-color | color_lighten: 25 %}
{% endif %}

{% comment %}
  Calculate text hover color based on lightness of header tools color
{% endcomment %}
{% assign background_lightness = settings.header-tools-color | color_extract: 'lightness' %}
{% if background_lightness > 50 %}
  {% assign color_text_hover_heading_tools = settings.header-tools-color | color_darken: 6 %}
{% else %}
  {% assign color_text_hover_heading_tools = settings.header-tools-color | color_lighten: 25 %}
{% endif %}

{% comment %}
  Calculate hover and text hover color based on lightness of accent color
{% endcomment %}
{% assign background_lightness = settings.accent-color | color_extract: 'lightness' %}
{% if background_lightness > 50 %}
  {% assign color_hover_accent = settings.accent-color | color_darken: 5 %}
  {% assign color_text_hover_accent = settings.accent-color | color_darken: 6 %}
{% else %}
  {% assign color_hover_accent = settings.accent-color | color_lighten: 6 %}
  {% assign color_text_hover_accent = settings.accent-color | color_lighten: 25 %}
{% endif %}

{% comment %}
  Calculate hover color based on lightness of secondary button background color
{% endcomment %}
{% assign background_lightness = settings.settings.secondary-button-background | color_extract: 'lightness' %}
{% if background_lightness > 50 %}
  {% assign color_hover_secondary_button_background = settings.settings.secondary-button-background | color_darken: 5 %}
{% else %}
  {% assign color_hover_secondary_button_background = settings.settings.secondary-button-background | color_lighten: 6 %}
{% endif %}

{% comment %}
  Calculate faceted filter swatch border color based on lightness of the form select background color
{% endcomment %}
{% assign background_lightness = settings.form-select-background | color_extract: 'lightness' %}
{% if background_lightness > 50 %}
  {% assign color_faceted_filter_swatch_border = settings.form-select-background | color_darken: 15 %}
{% else %}
  {% assign color_faceted_filter_swatch_border = settings.form-select-background | color_lighten: 30 %}
{% endif %}
/* Utilities */
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */
body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9/10.
 */
img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */
figure {
  margin: 0;
}

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type=checkbox],
input[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
  -webkit-appearance: textfield; /* 1 */ /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* This needs to be before mixins and extends */
/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
/* General */
.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Small caps */
/* Typography */
{%- if settings.heading-font-small-caps == true -%}
{%- endif -%}

.template-gift_card .btn {
  font-family: {{ fonts_font_meta_family }};
  font-style: {{ fonts_font_meta_style }};
  font-weight: {{ fonts_font_meta_weight }};
  color: {{ settings.meta-color }};
}
{%- if settings.meta-font-small-caps == true -%}
.template-gift_card .btn {
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
{%- endif -%}

{%- if settings.heading-font-small-caps == true -%}

{%- endif -%}

{%- if settings.heading-font-small-caps == true -%}
{%- else -%}
{%- endif -%}
{%- if settings.heading-font-small-caps == true -%}
{%- else -%}
{%- endif -%}
{%- if settings.heading-font-small-caps == true -%}
{%- else -%}
{%- endif -%}

{%- if settings.button-font-small-caps == true -%}

{%- endif -%}
/* Masonry features */
{%- if settings.heading-font-small-caps == true -%}
{%- endif -%}
@keyframes slideup {
  0% {
    opacity: 0;
    transform: translateY(200px) rotate(10deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-30px);
  }
  80% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}
@keyframes popup {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes container-slide {
  0% {
    opacity: 0;
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.template-gift_card {
  font-family: {{ fonts_font_body_family }};
  font-style: {{ fonts_font_body_style }};
  font-weight: {{ fonts_font_body_weight }};
  margin: 0;
}
.template-gift_card a {
  text-decoration: none;
}
.template-gift_card .btn {
  display: inline-block;
  order: 2;
  padding: 1.5em;
  font-size: 0.875em;
  line-height: 1;
  color: #fff;
  vertical-align: baseline;
  zoom: 1;
  background-color: #58686f;
  border-radius: 4px;
}
.template-gift_card .btn:hover {
  background-color: #414d53;
}
.template-gift_card .wrap {
  width: 95%;
  max-width: 540px;
  margin: 0 auto;
}
.template-gift_card .wrap:after {
  content: "";
  display: table;
  clear: both;
}
.template-gift_card header {
  text-align: center;
  padding: 3em 0;
  animation: fadein 0.5s ease-in-out both 0.4s;
}
.template-gift_card .shop-title {
  font-family: {{ fonts_font_heading_family }};
  font-style: {{ fonts_font_heading_style }};
  font-weight: {{ fonts_font_heading_weight }};
  font-size: 2.25em;
  color: #bfbfbf;
  max-width: 300px;
  display: block;
  margin: 0 auto;
  word-break: break-word;
}
.template-gift_card .shop-title:hover {
  color: #999999;
}
.template-gift_card .shop-title img {
  max-height: 100%;
  margin: 0 auto;
}
.template-gift_card main {
  animation: slideup 0.8s ease-in-out;
  padding-bottom: 3em;
}
.template-gift_card .gift-card-outer-container {
  background-color: #34aadc;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  padding: 1em;
  animation: container-slide 0.8s ease-in-out;
}
.template-gift_card .gift-card-inner-container {
  background-color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}
.template-gift_card .gift-card-inner-container:after {
  content: "";
  display: table;
  clear: both;
}
.template-gift_card .gift-card-header {
  border-bottom: 1px solid #f2f2f2;
  padding: 0.75em;
  display: block;
  overflow: hidden;
  position: relative;
}
.template-gift_card .gift-card-header h2 {
  float: left;
  margin: 0.12em 0;
}
.template-gift_card .gift-card-header .tag {
  float: right;
}
.template-gift_card .tag {
  background-color: #bfbfbf;
  padding: 0.5em;
  padding-bottom: 0.35em;
  border-radius: 4px;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1;
}
.template-gift_card .tag.light {
  background: transparent;
  color: #bfbfbf;
  border: 1px solid #d9d9d9;
}
.template-gift_card .gift-card-holder {
  margin: 0.75em;
  margin-bottom: 1.25em;
  margin-top: 1.25em;
  position: relative;
}
.template-gift_card .gift-card-holder .corner {
  display: block;
  width: 47px;
  height: 47px;
  position: absolute;
  z-index: 2;
}
.template-gift_card .gift-card-holder .corner.top-left {
  background: url("//cdn.shopify.com/s/assets/gift-card/corner-top-left-1585103bdd46bf1297b88f31bdfce999.png") 0 0 no-repeat;
  top: -1px;
  left: -1px;
}
.template-gift_card .gift-card-holder .corner.bottom-right {
  background: url("//cdn.shopify.com/s/assets/gift-card/corner-bottom-right-ba899b18631cb91859e186c2cc1c6970.png") 0 0 no-repeat;
  bottom: -1px;
  right: -1px;
}
.template-gift_card .gift-card {
  position: relative;
  box-sizing: border-box;
  position: relative;
}
.template-gift_card .gift-card:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  z-index: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  display: block;
}
.template-gift_card .gift-card img {
  border-radius: 10px;
  max-width: 100%;
}
.template-gift_card .gift-card-code-outer {
  position: absolute;
  bottom: 1em;
  text-align: center;
  width: 100%;
}
.template-gift_card .gift-card-code-outer.medium {
  font-size: 0.875em;
}
.template-gift_card .gift-card-code-outer.small {
  font-size: 0.75em;
}
.template-gift_card .gift-card-code-inner {
  display: inline-block;
  vertical-align: baseline;
  zoom: 1;
  *display: inline;
  *vertical-align: auto;
  background-color: #fff;
  padding: 0.5em;
  border-radius: 4px;
  max-width: 450px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.template-gift_card .gift-card-code-inner strong {
  font-size: 1.875em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px dashed #e5e5e5;
  padding: 0.4em 0.5em;
  display: inline-block;
  vertical-align: baseline;
  zoom: 1;
  *display: inline;
  *vertical-align: auto;
  color: #777;
  line-height: 1;
}
.template-gift_card .small .gift-card-code-inner {
  overflow: auto;
}
.template-gift_card .disabled .gift-card-code-inner strong {
  color: #999;
  text-decoration: line-through;
}
.template-gift_card .gift-card-code-inner span + span {
  margin-left: 0.25em;
}
.template-gift_card .gift-card-amount {
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  font-size: 2.75em;
  padding: 0.4em 0.5em;
}
.template-gift_card .gift-card-amount.medium {
  font-size: 2.25em;
}
.template-gift_card .gift-card-amount strong {
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  display: block;
}
.template-gift_card .tooltip {
  position: relative;
}
.template-gift_card .tooltip:hover .tooltip-container {
  display: block;
}
.template-gift_card .tooltip-container {
  display: block;
  position: absolute;
  top: -100%;
  right: 50%;
  z-index: 3;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  top: -50%;
  margin-top: 0.25em;
  animation: popup 0.5s ease-in-out both 0.7s;
}
.template-gift_card .tooltip-triangle {
  display: block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 5px solid #333;
  border-top: 5px solid rgba(51, 51, 51, 0.9);
  position: absolute;
  left: 100%;
  bottom: 0;
  margin-left: -5px;
  margin-bottom: -5px;
}
.template-gift_card .tooltip-label {
  display: block;
  position: relative;
  right: -50%;
  border: none;
  border-radius: 4px;
  background: #333;
  background: rgba(51, 51, 51, 0.9);
  color: #fff;
  min-height: 1rem;
  font-size: 0.4em;
  text-decoration: none;
  line-height: 16px;
  text-shadow: none;
  padding: 0.5em 0.75em;
  margin-left: 0.25em;
}
.template-gift_card .gift-card-instructions {
  font-size: 0.875em;
  text-align: center;
  color: #999;
  margin: 0 0.75em 1.5em;
}
.template-gift_card .gift-card-qr-code {
  display: flex;
  margin-bottom: 1rem;
  justify-content: center;
}
.template-gift_card .gift-card-qr-code img {
  padding: 1.25em;
  border: 1px solid #f2f2f2;
  border-radius: 10px;
  margin: 0 auto 1.25em;
}
.template-gift_card .gift-card-actions {
  border-top: 1px solid #f2f2f2;
  padding: 1.25em 0.75em;
  text-align: center;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.template-gift_card .action-link {
  order: 1;
  font-size: 0.875em;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #bfbfbf;
  margin-top: 1.75em;
}
.template-gift_card .action-link:hover {
  color: #999;
}
.template-gift_card .action-link:hover .ico-16 {
  opacity: 0.4;
}
.template-gift_card .ico-16 {
  display: inline-block;
  vertical-align: baseline;
  zoom: 1;
  *display: inline;
  *vertical-align: auto;
  width: 17px;
  height: 17px;
  vertical-align: bottom;
  margin-bottom: -1px;
  background-position: 0 0;
  background-repeat: no-repeat;
  margin-right: 0.5em;
  opacity: 0.25;
  transition: opacity 0.3s ease-in-out;
}
.template-gift_card .ico-16.print {
  background-image: url("//cdn.shopify.com/s/assets/gift-card/icon-print-164daa1ae32d10d1f9b83ac21b6f2c70.png");
}
.template-gift_card footer[role=contentinfo] {
  padding-bottom: 3em;
  text-align: center;
  animation: fadein 0.5s ease-in-out both 0.4s;
}
.template-gift_card .gift-card-apple-wallet-badge {
  display: inline-block;
}
.template-gift_card .gift-card-apple-wallet-badge-image {
  display: block;
}
@media screen and (max-width: 580px) {
  .template-gift_card body {
    font-size: 0.8571428571rem;
  }
  .template-gift_card h2 {
    font-size: 1.5em;
  }
  .template-gift_card .gift-card-outer-container {
    padding: 0.5em;
  }
  .template-gift_card .tooltip-container {
    top: -65%;
  }
  .template-gift_card .gift-card-actions {
    grid-template-columns: 1fr;
  }
  .template-gift_card .gift-card-actions .btn {
    order: 1;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    font-size: 1.125em;
  }
  .template-gift_card .action-link {
    order: 2;
    font-size: 1.125em;
    text-align: center;
  }
  .template-gift_card .action-link + .action-link {
    margin-left: 1.5em;
  }
}
@media screen and (max-width: 400px) {
  .template-gift_card h2 {
    font-size: 1.25em;
  }
  .template-gift_card .gift-card {
    font-size: 0.7142857143rem;
  }
  .template-gift_card .gift-card-holder .corner {
    display: none;
  }
  .template-gift_card .gift-card-holder .corner.bottom-right {
    background-position: bottom right !important;
  }
  .template-gift_card .gift-card-amount strong {
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
  }
  .template-gift_card .tooltip-container {
    top: -75%;
  }
}
@media screen and (max-height: 800px) {
  .template-gift_card .shop-title {
    max-height: 100px;
  }
}
@media screen and (max-height: 750px) {
  .template-gift_card .shop-title {
    max-height: 80px;
  }
  .template-gift_card header {
    padding: 2em 0;
  }
  .template-gift_card footer[role=contentinfo],
  .template-gift_card main {
    padding-bottom: 2em;
  }
}

@media print {
  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
  body {
    background-color: #fff;
  }
  .gift-card-actions,
  .gift-card-holder .corner,
  .tooltip-container,
  .gift-card::before {
    display: none;
  }
  .gift-card-code-inner strong {
    color: #555;
  }
  .gift-card-amount .tooltip {
    color: #fff !important;
  }
  .shop-title {
    color: #58686f;
  }
  .gift-card-outer-container,
  .gift-card-inner-container,
  .gift-card-code-inner,
  .gift-card::before {
    box-shadow: none;
  }
}