/**
    TWEAKS/OVERRIDES FOR FOUNDATION/THEME STYLES
 */

/* WE CAN"T DO THIS */
/*html body .row {*/
/*    padding: 0;*/
/*}*/

.row {
    max-width: 1440px;
    padding: 0;
}


/**
    Site menu bar fixes
 */
#top-bar-primary > div.row {
    padding-left: 0;
    padding-right: 0
}

li.gift-card-menu > a {
    white-space: nowrap;
}

/**
    Input controls
*/
input[type=checkbox] {
    accent-color: #c5258F; /* newish accessibility property*/
}

/**
    Main Styles
    Panels - full width containers
    Blocks - inner containers
    Cards  - inner containers with a border
*/

div.title {
    font-size: 2rem;
    font-family: "Roboto Slab", serif;
    font-weight: bold;
    line-height: 1.15;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #f8993a;
    position: relative;
    top: -65px;
    padding: 42px 20px;
    margin: 0 auto -65px;
    background-color: #192939;
    text-align: center;
}

div.section.header {
    width: 100%;
    text-align: left;
    padding: 0;
}

div.panel {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    padding: 0 100px;
}

/** Some panel customizers/helpers **/
div.panel.padding-top {
    padding-top: 40px;
}

div.panel.padding-bottom {
    padding-bottom: 40px;
}

div.panel.padding-top-and-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
}

div.panel.margin-top {
    margin-top: 40px;
}

div.panel.margin-bottom {
    margin-bottom: 40px;
}

div.panel.margin-top-and-bottom {
    margin-top: 40px;
    margin-bottom: 40px;
}

div.panel.shaded {
    background-color: #eeeef3;
}

div.panel.blue {
    color: whitesmoke;
    background-color: #272e5e;
}

div.header.blue {
    color: whitesmoke;
    background-color: #4d5590;
}

/******
 *
 * Links and Buttons (within panels)
 *
 ******/

/*a[target="_blank"]:not([href="https://www.instagram.com/"])::after { !* show an opening in new window indicator *!*/
/*    content: '\f08e';*/
/*    font-family: FontAwesome, sans-serif;*/
/*    padding-left: 3px;*/

/*    display:inline-block;*/
/*}*/

div.panel a:not(.button) { /* links */
    color: #c5258f;
}

input[type=file]::file-selector-button:hover {

}

div.panel a:not(.button):hover,
div.panel a:not(.button):focus { /* links */
    background-color: #c5258f;
    text-decoration: unset;
    color: white;
}

a.button.space-above {
    margin-top: 20px;
}

a.button.space-below {
    margin-bottom: 20px;
}

a.button.space-around {
    margin: 20px;
}

a.button {
    /** does adding these two cause issues? **/
    border: solid 1px #c5258f;
    border-radius: 3px;
    font-family: "Roboto", sans-serif;
    background-color: #c5258f;
    color: white;
    font-weight: bold;
}

a.i13.button {
    height: 40px;
    margin: 10px;
}

button.i13:hover,
button.i13:focus,
a.button:hover,
a.button:focus {
    color: white;
    background-color: #a02175;
}

a.button.hollow {
    border-radius: 3px;
    background-color: white;
    color: #c5258f;
    border: solid 1px #c5258f;
}

a.button.hollow:hover,
a.button.hollow:focus {
    background-color: #c5258f;
    color: white;
}


div.blue a {
    border: 1px solid white;
}


button.i13 {
    border-radius: 3px;
    font-weight: bold;
    background-color: transparent;
    padding: 10px 20px;
    color: #c5258f;
    border: solid 1px #c5258f;
}

button.i13.solid:hover,
button.i13.solid:focus {
    background-color: #c5258f;
    color: white;
}


/** overriding custom vantage and foundation classes**/
html body input[type=button], html body input[type=submit] {
    border-radius: 3px !important;
    font-weight: bold;
}

/****** FIXES - hopefully remove these through better standards ******/

li.tag-label-link:hover a:hover { /*fix for tags on cards*/
    background-color: unset;
}

span.listing-parent-category.label a:hover { /*fix for categories on cards*/
    background-color: unset;
    font-weight: bold;
}

/******
 *
 * Section Layouts
 *
 ******/
*.white-background {
    background-color: white;
}

div#intro {
    width: 80%;
    text-align: center;
    margin: auto;
}

/** Panel Grid of things **/

div.panel-grid {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

/** Panel Grid Footer **/
div.panel div.grid-footer-container {
    display: flex;
}


/** Template Part: panel-twocard **/
div.card {
    width: 500px;
    max-width: 500px;
    padding-bottom: 20px;
    border-radius: 3px;
    border: 3px #eeeef3 solid;
    position: relative;
}

div.card > div.b {
    padding: 20px 20px 40px;
}

div.card > div.b > div.d {
    padding-bottom: 20px;
}

div.card > div.b > div.l {
    position: absolute;
    bottom: 20px;
}

.card:nth-child(1):nth-last-child(2),
.card:nth-child(2):nth-last-child(1) {
    width: 50%;
}

.card:nth-child(1):nth-last-child(3),
.card:nth-child(2):nth-last-child(2),
.card:nth-child(3):nth-last-child(1) {
    width: 30%;
}

.card:nth-child(1):nth-last-child(4),
.card:nth-child(2):nth-last-child(3),
.card:nth-child(3):nth-last-child(2),
.card:nth-child(4):nth-last-child(1) {
    width: 25%;
}


/** Template: panel-rows-left-right **/
div.panel.rows-left-right > div {
    width: 50%;
    padding: 50px;
}

/** Template: panel-row-images **/
div.row-images {
    flex-flow: nowrap;
}

/**
   PAGES NOT DESIGNED FOR LARGE WIDTHS
   Specific widths and settings for pages that aren't designed for "full width"
 **/

/**     Store Pages     **/
.site-main > div.product,
.site-main > div.woocommerce-notices-wrapper {
    max-width: 990px;
    margin: auto;
}

div.product th.label {
    background-color: unset;
    text-align: right;

}

div.product th.label label {
    line-height: 45px;
}

tr.cart-discount.coupon-buy-black-card-program-fee-credit
td[data-title="Buy Black Card Program Fee Credit"] {
    font-weight: bold;
}

/** hide the [remove] link on our discount since it can't be removed **/
td[data-title="Buy Black Card Program Fee Credit"] > a.woocommerce-remove-coupon {
    display: none;
}

h4.pewc-field-label {
    font-size: 1.2em;
    margin: 0;
}

div.pewc-product-extra-groups-wrap.pewc-groups-standard {
    margin-top: 15px;
}


/** used in at least 404 page **/
.site-main > article.content-wrap {
    max-width: 990px;
    margin: auto;
}

/** used in at least 404 page **/
div.content-inner {
    margin: 20px;
}

.listing.type-listing {
    max-width: 1200px;
    margin: 0 auto;
}

/** GCP Card **/
.gift-card-image {
    border-radius: 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12),
    0 2px 2px rgba(0, 0, 0, 0.12),
    0 4px 4px rgba(0, 0, 0, 0.12),
    0 8px 8px rgba(0, 0, 0, 0.12),
    0 16px 16px rgba(0, 0, 0, 0.12);
}

.deep-shadow {
    border-radius: 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12),
    0 2px 2px rgba(0, 0, 0, 0.12),
    0 4px 4px rgba(0, 0, 0, 0.12),
    0 8px 8px rgba(0, 0, 0, 0.12),
    0 16px 16px rgba(0, 0, 0, 0.12);
}

.light-shadow {
    border-radius: 10px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 8%),
    0 2px 2px rgba(0, 0, 0, 8%),
    0 4px 4px rgba(0, 0, 0, 8%),
    0 8px 8px rgba(0, 0, 0, 8%),
    0 16px 16px rgba(0, 0, 0, 8%);
}


/** Intentionalist Cards **/

.intentionalist-card {
    background-size: cover;
    background-position: center;
    width: 300px;
    height: 200px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-radius: 10px;
}

.intentionalist-card .refresh {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: normal;
    background-color: unset;
}

.intentionalist-card > div {
    position: absolute;
    border-radius: 5px;
    padding: 2px 5px;
}

.intentionalist-card .readability-layer {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    top: 45%;
    left: 0;
    width: 100%;
    height: 55%;
    background-color: #292d5de6;
}

.intentionalist-card .card-type {
    font-size: 12px;
    font-weight: normal;
    text-align: right;
}

.intentionalist-card .admin-number {
    top: 95px;
    right: 20px;
    font-size: 10px;
    font-weight: normal;
    background-color: unset;
}

.intentionalist-card .card-number {
    top: 100px;
    left: 20px;
}

.intentionalist-card .balance {
    top: 130px;
    left: 40px;
    font-weight: normal;
    text-align: left;
    position: relative;
    max-width: 170px;
}

.intentionalist-card .last-updated {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 12px;
}


.intentionalist-card .cardholder-name {
    bottom: 10px;
    left: 20px;
}

.intentionalist-card .expiration {
    bottom: 10px;
    right: 20px;
    text-align: center;
}

.intentionalist-card .expiration .validthru {
    font-size: 10px;
    font-weight: normal;
    line-height: 3px;
}


div.intentionalist-card + div.actions-bar > button {
    height: 40px;
    font-size: 20px;
    color: #c5258f;
    padding: 10px;
    margin: 0;
    background-color: unset;
    border-radius: 5px;
    border: 1px solid #c5258f;
}

/** FAQs **/

.i13-faq {
    max-width: 654px;
    width: 100%;
}

.i13-faq hr {
    margin: 10px 0;
}

.i13-faq-list summary:hover {
    cursor: pointer;
}

.i13-faq-list summary {
    font-family: Roboto, sans-serif;
    font-size: 1.25em;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #C5258F;
    display: list-item;
}

.i13-faq-list details > summary {
    list-style: none;
    margin: 5px 0;
}

.i13-faq-list summary::-webkit-details-marker {
    display: none
}

.i13-faq-list details {
    font-family: "Roboto", sans-serif;
    color: #646464;
    font-size: 1.1em;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    max-width: 654px;
}

.i13-faq-list details p {
    margin: 5px 20px;
}


/** listing favorite count **/
div.favorite-count {
    top: 0;
    right: 0;
    position: absolute;
    color: white;
    font-weight: bold;
    font-size: 1em;
    line-height: 1.3em;
    padding: 6px;
    margin: 0;
    background-color: #c5258f;
    opacity: .9;
    border-radius: 0 0 0 0.5em;
}

/** Cart and Product Detail Page Customizations **/
form.cart {
    border: 1px solid darkgrey;
    padding: 1em;
    border-radius: 4px;
}

li.wpmenucartli {
    margin: 0 !important;
}

li.wpmenucartli a.wpmenucart-contents {
    color: #c5258f !important;
    border: 1px solid #c5258f;
    border-radius: 5px;
    padding: 5px 15px !important;
}

li.wpmenucartli a i {
    font-size: 1.2em;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}


/** ANIMATIONS **/
.pulse {
    transform-origin: 50% 50%;
    animation-duration: 4s;
    animation-name: breathing;
    animation-iteration-count: infinite;
}

@keyframes breathing {
    0% {
        transform: scale(0.8);
    }
    33% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.8);
    }
}

.flashBackgroundToWhite {
    animation: flashBackgroundToWhite 1s infinite;
}

@keyframes flashBackgroundToWhite {
    50% {
        background-color: white;
    }
}

.rainbow-animated-text {
    background: linear-gradient(
            to left,
            #cc0099,
            #663399,
            #330099,
            #339933,
            #f5e930,
            #ff9933,
            #ff0000,
            #ff3399
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbowAnimation 4s infinite;
    background-size: 400% 100%;
}

@keyframes rainbowAnimation {
    0%, 100% {
        background-position: 0 100%;
    }

    50% {
        background-position: 100% 0;
    }
}


div.i13.two-columns {
    display: flex;
    flex-flow: row wrap;
}

div.i13.two-columns > div {
    max-width: 50%;
    flex: 1;
}

@media only screen and (max-width: 630px) {
    div.i13.two-columns > div {
        flex: unset;
        max-width: 100%;
    }
}

/** MOBILE STUFF **/

.mobile-only {
    display: none;
}

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

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: unset;
    }

    div.title {
        width: 100%;
        position: unset;
        padding: 10px 5px;
        margin: 0 auto 20px;
    }

    div.panel {
        padding: 0;
    }

    div.panel > div {
        width: unset;
    }

    div.panel > h2 {
        text-align: center;
    }

    /** Panel Grid Footer **/
    div.panel div.grid-footer-container {
        display: unset;
    }

    /** Template Part: panel-twocard **/
    div.card {
        margin: 10px;
        padding: 10px;
    }

    .card:nth-child(1):nth-last-child(2),
    .card:nth-child(2):nth-last-child(1),
    .card:nth-child(1):nth-last-child(3),
    .card:nth-child(2):nth-last-child(2),
    .card:nth-child(3):nth-last-child(1),
    .card:nth-child(1):nth-last-child(4),
    .card:nth-child(2):nth-last-child(3),
    .card:nth-child(3):nth-last-child(2),
    .card:nth-child(4):nth-last-child(1) {
        width: unset;
    }


    /** Template: panel-rows-left-right **/
    div.panel.rows-left-right > div {
        width: 100%;
        padding: 10px;
        margin: 10px;
    }

    /** Template: panel-row-images **/
    div.row-images {
        flex-flow: row wrap;
    }
}


/** Font Sizing **/

h1 {
    font-size: 2.125rem;
}

h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.625rem;
    margin-bottom: 0.6rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 480px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 992px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 16px;
    }
}
