html {
    line-height: 1.4;
    font-family: 'HarmoniaRegular', 'HarmoniaBold', sans-serif;
     -webkit-font-smoothing: antialiased !important;
    -moz-font-smoothing: antialiased !important;
     text-rendering: optimizelegibility !important;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-size: 22px;
    font-family:Georgia,Cambria,"Times New Roman",Times,serif;
}

a {
    color: #F0286B;
    text-decoration: none;
}

h1,h2,h3,h4,h5,h6 {
    -webkit-font-smoothing: antialiased !important;
    -moz-font-smoothing: antialiased !important;
    text-rendering: optimizelegibility !important;
    margin: 0;
}

h1 {
    font-family:'HarmoniaBold';
    letter-spacing: -1px;
    font-size: 2em;
}

h2,h3 {
    font-family:'HarmoniaBold';
    font-size: 1.5emx;
    margin-left: -.5px;
    line-height: 1.15;
    letter-spacing: -.5px;
}

h4 {
    font-family: 'HarmoniaBold';
    font-style: normal;
    letter-spacing: -.02px;
    margin-top: 8px;
}

h6 {
    font-size: 0.7em;
    font-weight: 400;
}

p {
    line-height: 1.5;
    letter-spacing: -.1px;
    font-style: normal;
    margin-top: 4px;
}

ul { 
    margin-top: 16px;
}

li {
    margin-top: 6px;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 8px;
}

@font-face {
  font-family: HarmoniaBold;
  src: url(../fonts/HarmoniaBold.otf);
}

@font-face {
  font-family: HarmoniaRegular;
  src: url(../fonts/HarmoniaRegular.otf);
}

#header {
    color: #555963;
    background: white;
    font-size: 0.8em;
    height: 62px;
    width: 100%;
    margin: 0;
    padding-top:10px;
    -moz-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.3);
}

#subheader {
    color: #ffffff;
    background: rgb(240,40,107);
    margin: 0;
    text-align: center;
    padding: 40px;
}

#wrapper {
    max-width: 650px;
    margin: 60px auto;
    padding: 0 10px;
    color: #333;
}

@media (max-width: 600px) {
    #subheader {
        padding: 30px;
    }

    #wrapper {
        margin-top: 30px;
    }
    
    body {
        font-size: 16px;
    }
}

/* Giftcard page css */
#name {
    margin-top: 8%;
    text-align: center;
    line-height: 1.2em;
}

.inner_container {
    position: relative;
    background-color: #FFDD56;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#giftcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

#gcpreview {
    margin: 0;
    max-width: 80%;
}

#gcasset {
    margin: 35px 0;
    max-width: 625px;
    width: 90%;
}

.subhead {
    font-family: 'HarmoniaRegular';
    font-size: 18px;
    font-style: normal;
    letter-spacing: -.02px;
    margin: 5px 0 10px;
    color: #B1B2B3;
}

.container {
    position: relative;
    margin: 0 auto;
}

#ribbon_start {
    position: absolute;
    top: 30px;
    left: 0;
}

.ribbon {
    top: 30px;
    position: absolute;
    left: 0;
    display: inline-flex;
}

.copy {
    vertical-align: top;
    font-family: HarmoniaBold;
    background-image: url(../img/giftcard/ribbon.png);
    color: #ffffff;
    height: 56px;
    display: inline-flex;
    line-height: 48px;
    padding: 0 25px 0 10px;
    user-select: none;
}

.button {
    width: auto;
    padding: 8px 20px;
    box-shadow: none;
    margin-left: 8px;
    font-family: HarmoniaBold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #E9EAEB;
    font-size: 0.75rem;
    min-width: 64px;
    box-sizing: border-box;
    min-height: 36px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    line-height: 1.3125;
    font-weight: 500;
    border: 1px solid #C2C2C2;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    outline: none;
    position: relative;
    align-items: center;
    user-select: none;
    vertical-align: middle;
    justify-content: center;
    text-indent: 0px;
    text-shadow: none;
    -webkit-writing-mode: horizontal-tb !important;
}

.button:hover{
    background-color: #d5d5d5;
    text-decoration: none;
}
.button_copy {
    width: 100%;
    display: inherit;
    align-items: inherit;
    justify-content: inherit;
    font-family: HarmoniaBold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 0.87);
    font-size: 0.75rem;
    line-height: 1.3125;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    text-rendering: auto;
    word-spacing: normal;
    text-indent: 0px;
    text-shadow: none;
}

.directions {
    font-family: 'HarmoniaRegular';
    font-size: 12px;
    font-style: normal;
    letter-spacing: -.02px;
    margin: 10px 0 40px;
    color: #000000;
}

.tooltip:hover {
    visibility: hidden !important;
    opacity: 0 !important;
    transition: all .25s ease-in-out;
    user-select: none;
}


.button:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.tooltip {
    visibility: hidden;  /* NEW */
    opacity: 0;
    background: #000000;
    color: #ffffff;
    margin-left: 28px;
    padding: 10px;
    position: absolute;
    z-index: -1;
    top: -37px;
    left: 5px;
    transition: all .25s ease-in-out;
    user-select: none;
}

/* End giftcard page css */

.content{
    padding-left: 1em;
    padding-right: 1em;
}

.subtext{
    font-style: italic;
    font-size: 0.8em;
    text-align: center;
    margin: 0.3em 0 1em 0;
}

#logo {
    margin-left: auto;
    margin-right: auto;
    width: 175px;
    height: 45px;
    background-image: url(../img/logo/logo@2x.png);
    background-size: 175px;
    overflow: hidden;
    pointer-events: none;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    h1{
    	padding: 0;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
