/*
 * Alisivustojen tyylit
 */

@font-face {
    font-display: swap;
    font-family: Epassi;
    font-style: normal;
    font-weight: 300;
    src: url(/wp-content/themes/epassi-subsite/fonts/Epassi-Light.woff2) format("woff2");
}

@font-face {
    font-display: swap;
    font-family: Epassi;
    font-style: normal;
    font-weight: 700;
    src: url(/wp-content/themes/epassi-subsite/fonts/Epassi-Bold.woff2) format("woff2");
}

@font-face {
    font-family: 'Inclusive Sans';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url(/wp-content/themes/epassi-subsite/fonts/InclusiveSans-Italic.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inclusive Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url(/wp-content/themes/epassi-subsite/fonts/InclusiveSans.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


body {
    --global-palette6: #626f84;
    --global-palette5: #2f3642;

    --global-palette-highlight: #7600C0;

    --global-footer-background-color: #311000;

    --global-body-font-family: "Inclusive Sans", Arial, sans-serif;
    --global-heading-font-family: "Epassi", Arial, sans-serif;
}

header.site-header {
    background: #00000061 !important;
}

.main-navigation .primary-menu-container>ul>li>a {
    text-shadow: 0px 0px 2px rgb(0 0 0 / 90%);
}

.shop-logo img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 50vw;
    margin-left: auto;
    margin-right: auto;
}

.shop-slogan {
    color: #fff;
    font-size: 28px;
    font-family: var(--global-heading-font-family);
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.5rem;
    text-align: center;
    text-shadow: 0px 0px 20px rgb(0 0 0);
}

.single-content .wp-block-column p {
    margin-bottom: 1.5rem;
}

.info-page-location {
    margin: 0 0 1em;
    padding: 1em;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}

@media (min-width: 768px) {
    .shop-logo img {
        max-width: 360px;
        max-height: 210px;
    }
}

/* Siirretty Custom CSS -asetuksista */

.max-width-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home .content-area {
    margin-top: 0;
}

.entry-hero-container-inner {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
    padding-left: 0;
    padding-right: 0;
    clear: both;
}

@media (min-width: 1520px) {
    .entry-hero-container-inner {
        margin-left: -115px;
        margin-right: -115px;
        width: unset;
        max-width: unset;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        overflow: hidden;
    }
}

.page-template-default figure.wp-block-image.size-large {
    border-radius: 15px;
}

.woocommerce-cart table.cart .product-thumbnail {
    display: none;
}

@media screen and (max-width: 719px) {

    .site .wc-block-grid .wc-block-grid__products,
    .woocommerce ul.products:not(.products-list-view) {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-left: -15px;
        margin-right: -15px;
    }

    .woocommerce table.shop_table_responsive tbody tr.woocommerce-cart-form__cart-item.cart_item .product-remove,
    .woocommerce-page table.shop_table_responsive tbody tr.woocommerce-cart-form__cart-item.cart_item .product-remove {
        padding-bottom: 20px;
    }

    #wrapper .wc-block-grid .wc-block-grid__products .product-loop-boxed .entry-content-wrap,
    #wrapper .wc-block-grid .wc-block-grid__products .woo-archive-action-on-hover .entry-content-wrap,
    .woocommerce ul.products li.product .entry-content-wrap {
        padding: 0.3rem 0.3rem 0.5rem;
    }

    .woocommerce a.remove:after {
        content: 'Poista';
        padding-left: 0.5rem;
        color: grey;
        font-size: 0.9em;
        font-weight: 600;
    }
}

#billing_country_field {
    display: none;
}

aside#moove_gdpr_cookie_info_bar.gdpr_infobar_postion_bottom {
    top: -1px !important;
    height: 101vh !important;
    width: 100vw !important;
    max-height: 100vh !important;
    background-color: #202020b3 !important;
}

.gdpr_infobar_postion_bottom .moove-gdpr-info-bar-container {
    background-color: #202020 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, 0px) !important;
    padding: 40px !important;
    width: 90% !important;
    max-width: 800px !important;
}

.gdpr_infobar_postion_bottom .moove-gdpr-info-bar-content {
    justify-content: center;
}

#colophon {
    background: var(--global-footer-background-color) !important;
    color: var(--wp--preset--color--white);
}