/*
Theme Name: Klei Theme
Author: Klei Entertainment
Author URI: https://www.kleientertainment.com/
Template: storefront
Version: 2.1.14
*/
a:focus,
.button:focus,
.button.alt:focus,
.button.added_to_cart:focus,
.button.wc-forward:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
    outline-color: transparent;
}
a {
    transition: opacity 0.4s ease, color 0.4s ease, background 0.4s ease;
    text-decoration: none;
    font-style: unset;
    outline: 0 !important;
}
body {
    background: #fff;
}
#page {
    background: url(Images/grey_grain.jpg);
}
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.col-full {
    position: relative;
}
.input-text,
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
textarea {
    background-color: #fff;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* BUTTONS */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.added_to_cart,
.widget a.button,
.site-header-cart .widget_shopping_cart a.button {
    transition: all 0.4s ease;
    color: #fff;
    border-width: 2px;
    border-style: solid;
    border-radius: 2px;
    padding: 10px 30px 8px 30px;
    background: #ef6030;
    border-color: #ef6030;
    box-shadow: none;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.added_to_cart:hover,
.widget a.button:hover,
.site-header-cart .widget_shopping_cart a.button:hover,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
.button:active,
.added_to_cart:active,
.widget a.button:active,
.site-header-cart .widget_shopping_cart a.button:active,
button.alt:hover,
input[type="button"].alt:hover,
input[type="reset"].alt:hover,
input[type="submit"].alt:hover,
.button.alt:hover,
.added_to_cart.alt:hover,
.widget a.button.alt:hover,
.site-header-cart .widget_shopping_cart a.button.alt:hover,
button.alt:active,
input[type="button"].alt:active,
input[type="reset"].alt:active,
input[type="submit"].alt:active,
.button.alt:active,
.added_to_cart.alt:active,
.widget a.button.alt:active,
.site-header-cart .widget_shopping_cart a.button.alt:active {
    color: #db4411;
    background: transparent;
    border-color: #db4411;
    box-shadow: none;
}
button.alt,
input[type="button"].alt,
input[type="reset"].alt,
input[type="submit"].alt,
.button.alt,
.added_to_cart.alt,
.widget a.button.alt,
.site-header-cart .widget_shopping_cart a.button.alt {
    color: #ef6030;
    background: transparent;
    border-color: #ef6030;
}
.site-header-cart .widget_shopping_cart {
    display: none;
    left: initial;
    width: 350px;
}
.product_list_widget li {
    padding: 1em 0;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
@media (min-width: 768px) {
    .site-header-cart.focus .widget_shopping_cart,
    .site-header-cart:hover .widget_shopping_cart {
        display: block;
        left: initial;
        right: 0;
    }
}

/* HEADER */
.site-header {
    background: #181716;
}
.main-navigation ul li a:hover,
.site-header ul.menu li.current-menu-item > a {
    color: #ddd;
}

@media (max-width: 767px) {
    .woocommerce-active .site-branding {
        position: relative;
        z-index: 10;
    }
    .main-navigation ul li a {
        color: #efefef;
    }
}

@media (min-width: 768px) {
    .site-header {
        padding-top: 0.7em;
        padding-bottom: 0;
    }
    .secondary-navigation ul.menu a {
        color: #ddd;
    }
    .secondary-navigation .menu a {
        padding: 1.41575em 0.475em;
    }
    .secondary-navigation ul.menu a:hover,
    .secondary-navigation ul.menu a:active {
        opacity: 1;
        color: #fff;
    }
    .secondary-navigation ul {
        padding-right: 1em;
    }
    .storefront-primary-navigation::before {
        background: url(Images/paper_tear_bottom_full_minimal_1.png) repeat-x 50%;
        display: block;
        content: " ";
        position: absolute;
        height: 8px;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
    }
    .storefront-primary-navigation {
        position: relative;
        background-color: #67635f;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }
    .site-header .site-branding {
        width: 18.73913%;
        margin-bottom: 0;
    }
    .woocommerce-active .site-header .secondary-navigation {
        width: 54.826087%;
        margin: 0;
    }
}

.handheld-navigation ul li a {
    opacity: 0.7;
}
.handheld-navigation ul li a:hover,
.handheld-navigation ul li a:focus,
.handheld-navigation ul li a:active {
    opacity: 1;
}
.handheld-navigation ul li a::before {
    display: none;
}
.site-search {
    padding-top: 0.8em;
    margin-bottom: 1.290684em;
}
.site-search .widget_product_search input[type=search],
.site-search .widget_product_search input[type=text] {
    padding: 0.6em 0.7em 0.6em 2em;
}
.site-search .widget_product_search form::before {
    top: 0.7em;
    left: 0.6em;
}
.custom-logo-link img {
    max-width: 150px !important;
    margin-top: 6px;
}

/* CONTENT */
.site-content {
    padding-top: 2.617924em;
}

@media (max-width: 568px) {
    .site-content {
        padding-top: 1.41575em;
    }
}

.home.blog .site-header,
.home.page:not(.page-template-template-homepage) .site-header,
.home.post-type-archive-product .site-header,
.no-wc-breadcrumb .site-header {
    margin-bottom: 0;
}

/* PRODUCT PAGE */
@media (min-width: 768px) {
    /* Split the top area in two equal width blocks */
    .storefront-full-width-content.single-product div.product .images {
        float: left;
        width: 41.3002%;
        margin: 0;
        padding-right: 1.5em;
    }
    .storefront-full-width-content.single-product div.product .summary {
        float: right;
        width: 58.6998%;
        margin: 0;
    }
    .storefront-full-width-content.single-product div.product .images .thumbnails a.zoom {
        /* Scale the thumbnails to cover the width of the product image */
        display: block;
        width: 22.05%;
        margin-right: 3.8%;
        float: left;
        margin-bottom: 1em;
    }
    .storefront-full-width-content.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
        width: 16%;
        float: left;
        margin-right: 5%;
    }
}

@media (max-width: 610px) and (min-width: 415px) {
    .single-product .related.products .columns-3 .product {
        width: 44.1199%;
    }
}

@media (max-width: 414px) {
    .single-product .related.products .columns-3 .product {
        width: 100%;
    }
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    top: 1em;
    left: 1em;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
    width: 16%;
    float: left;
    margin-right: 5%;
}
.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image.flex-active-slide,
.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    min-height: inherit !important;
}
.single-product div.product .woocommerce-product-gallery .flex-viewport {
    margin-bottom: 0;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    margin-top: 1.5em;
}
.single-product div.product .woocommerce-product-gallery {
    margin-bottom: 0;
}
.single-product div.product .images .woocommerce-main-image {
    margin-bottom: 1em;
}
.single-product .product .bundled_product {
    line-height: 1;
}
.single-product .product .bundled_product_title {
    margin-top: -4px;
    margin-bottom: 10px;
    display: block;
}
.single-product .product .bundled_product_title .item_title {
    font-size: 0.8em;
    color: #555;
}
.single-product .product .price {
    font-size: 2.1em;
    font-weight: normal;
    color: #999;
    display: inline;
}
.single-product .product .bundle_form div.bundled_product_summary {
    padding-bottom: 0 !important;
    margin-bottom: 1em !important;
}
.single-product .related.products .columns-3 .product:last-child {
    margin-right: 0;
}
.klei_bundled_price {
    margin-bottom: 20px;
}
.klei_bundled_price > * {
    padding: 0 10px;
    margin: 5px 0;
}
.klei_bundled_price .label {
    opacity: 0.7;
}
.klei_bundled_price .value {
    float: right;
    font-weight: bold;
    opacity: 0.7;
}
.klei_bundled_price .klei_bundle_price {
    color: #ef6030;
}
.klei_bundled_price .klei_bundle_discount .value,
.klei_bundled_price .klei_bundle_savings .label,
.klei_bundled_price .klei_bundle_savings .value {
    color: green;
}
.klei_bundled_price .klei_bundle_savings {
    padding: 5px 10px;
    background-color: rgba(0, 128, 0, 0.3);
    border-radius: 4px;
    font-weight: bold;
}
.klei_bundled_price .klei_bundle_price > *,
.klei_bundled_price .klei_bundle_savings > * {
    opacity: 1;
}
.bottom.bundle_price {
    font-size: 0.8em;
    text-align: right;
    padding-bottom: 15px;
}
.bottom.bundle_price .total {
    display: none;
}
.bottom.bundle_price ins .amount {
    color: #ef6030;
}
.single-product .stock::before {
    display: none;
}
.single-product .product-type-bundle .bundled_item_cart_details .price {
    font-size: 1.3em;
}
.single-product .product-type-bundle .bundled_item_cart_details .price .label {
    margin-right: 0.5em;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    width: 21.25%;
    margin-right: 5%;
}
.woocommerce-tabs ul.tabs {
    display: none;
}

@media (min-width: 768px) {
    .storefront-full-width-content .woocommerce-tabs .panel {
        width: 100%;
        float: none;
        margin-bottom: 0;
    }
}

.product-summary {
    background: #fff;
    margin-top: 2em;
    margin-bottom: 2em;
}

/* ARCHIVE */
@media (min-width: 768px) {
    .storefront-full-width-content .woocommerce-products-header,
    .storefront-full-width-content.woocommerce-account .entry-header,
    .storefront-full-width-content.woocommerce-cart .entry-header,
    .storefront-full-width-content.woocommerce-checkout .entry-header {
        padding: 0 0 2em;
    }
}

.info-tag {
    position: absolute;
    top: -5px;
    right: 10px;
    color: #fff;
    font-weight: bold;
    background-color: #ef6030;
    padding: 0.5em 1em 0.5em 1em;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 9% 100%, 0 85%, 0 0);
    clip-path: polygon(100% 0, 100% 100%, 9% 100%, 0 85%, 0 0);
}
.single-product .info-tag {
    display: inline-block;
    position: relative;
    border: none;
    margin-left: 1em;
}
.related.products .info-tag {
    position: absolute;
}
.related.products .columns-3 .product {
    width: 29.4117647059%;
    float: left;
    margin-right: 5.8823529412%;
}
.info-tag.sale,
.onsale {
    background-color: #4e8802;
}
.info-tag.low-stock {
    background-color: #d4440d;
}
.info-tag.out-of-stock {
    background-color: #af1010;
}
table.woocommerce-checkout-review-order-table .product-name {
    width: 200px;
}
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
    margin-bottom: 15px;
}

/* FOOTER */
.site-footer {
    background: #181716;
    position: relative;
    padding-bottom: 60px;
    color: rgba(255, 255, 255, 0.3);
    z-index: 9;
    text-align: center;
    padding-top: 2em;
}

@media (min-width: 768px) {
    .site-footer {
        text-align: inherit;
    }
}

.site-footer::after {
    background: url(Images/paper_tear_bottom_full_minimal_2.png) repeat-x 50%;
    display: block;
    content: " ";
    position: absolute;
    height: 8px;
    width: 100%;
    top: -7px;
}
.site-footer .klei-logo {
    text-align: center;
    margin-bottom: 1em;
}

@media (min-width: 768px) {
    .site-footer .klei-logo {
        float: left;
    }
}

.site-footer .klei-logo a {
    display: inline-block;
}
.site-footer .klei-logo img {
    max-width: 50px !important;
    height: auto !important;
}
.site-footer .copyright {
    margin-top: 1em;
}

@media (min-width: 768px) {
    .site-footer .copyright {
        float: right;
        text-align: right;
        min-width: 80%;
    }
}

/* GDPR ALERT */
#gdpr {
    bottom: 20px;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 999;
    text-align: center;
    width: 556px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
body.woocommerce-checkout #gdpr {
    background: rgba(239, 96, 48, 0.7);
    bottom: initial;
    height: 2257px;
    padding: 125px 250px 0 250px;
    position: absolute;
    top: 152px;
    max-width: initial;
    width: 100%;
}

@media (max-width: 766px) {
    body.woocommerce-checkout #gdpr {
        height: 3125px;
        padding: 114px 20px 0 20px;
        top: 101px;
    }
}

@media (max-width: 570px) {
    body.woocommerce-checkout #gdpr {
        height: 3131px;
        padding: 95px 20px 0 20px;
    }
}

#gdpr .gdpr-wrap {
    display: inline-block;
    border: 2px solid #ef6030;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}
#gdpr .gdpr-body {
    background-color: #ef6030;
    border: 2px solid #fff;
    border-radius: 2px;
    color: #fff;
    font-size: 15px;
    padding: 15px;
    text-align: left;
}
#gdpr .gdpr-body h3 {
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
}
#gdpr .gdpr-text a {
    color: #fff;
    text-decoration: underline;
}
#gdpr-agree {
    transition: all 0.4s ease;
    border-radius: 2px;
    border: 2px solid #fff;
    background: #fff;
    color: #ef5f30;
    font-weight: bold;
    padding: 2px 20px;
    position: absolute;
    right: 20px;
    text-decoration: none;
}
#gdpr-agree:hover {
    background: transparent;
    color: #fff;
}

/* CART PAGE */
.site-header .cart-contents .count,
.site-header-cart .cart-contents::after,
.site-header .cart-contents .woocommerce-Price-amount {
    color: #ddd;
}
table.shop_table_responsive tr td.product-name::before {
    display: none;
}
table.cart td.product-remove,
table.cart td.actions {
    border-top-color: transparent;
}
table.cart td.actions input {
    height: 50px;
}
table.cart input#coupon_code {
    margin-right: 0.8em;
}

@media (max-width: 767px) {
    table.cart td.product-remove {
        background-color: transparent;
        z-index: 9;
    }
    table.cart td.product-remove a.remove {
        right: 0.1em;
        top: 0.2em;
    }
    table.cart .cart_item {
        position: relative;
    }
    table.cart .product-name {
        position: absolute;
        left: 9em;
        margin-top: -4.8em;
    }
    table.cart .product-thumbnail {
        width: 100%;
        text-align: left;
    }
    table.cart .product-thumbnail a {
        display: inline-block;
    }
    table.cart .product-thumbnail img {
        max-width: 8em;
    }
}

/* FOOTER MENU */
@media (min-width: 768px) {
    .footer-menu {
        float: right;
        text-align: right;
        min-width: 80%;
    }
}

.footer-menu ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu ul.menu li {
    display: inline-block;
    margin-left: 0.5em;
}
.footer-menu ul.menu li a {
    opacity: 0.8;
    color: #eee;
    font-weight: 400;
}
.footer-menu ul.menu li a:hover,
.footer-menu ul.menu li a:active {
    opacity: 1;
    color: #fff;
}

/* FOOTER COMMUNITY BLOCK */
.community {
    background: #ef6030 url(Images/orange_grain.jpg) repeat;
    color: #fff;
    position: relative;
    z-index: 6;
    margin-top: 2em;
    padding-top: 2em;
    padding-bottom: 2em;
}
.community::before {
    content: " ";
    position: absolute;
    top: -6px;
    width: 100%;
    height: 8px;
    background: url(Images/paper_tear_top_full_orange_minimal_1.png) repeat-x 100% 50%;
}
.community .content {
    position: static;
    text-align: center;
}

@media screen and (min-width: 45em) {
    .community .content {
        width: calc(100% - 430px);
        text-align: left;
    }
}

.community .title {
    color: #fff;
    font-size: 2em;
}

@media screen and (min-width: 60em) {
    .community .description {
        float: left;
        width: calc(100% - 275px);
    }
}

.community .cta {
    margin-top: 20px;
}

@media screen and (min-width: 60em) {
    .community .cta {
        float: right;
        max-width: 255px;
        margin-top: 0;
    }
}

.community .cta a.button {
    transition: color 0.4s ease, background 0.4s ease;
    font-weight: bold;
    color: #fff;
    background: transparent;
    border-color: #fff;
    border-width: 2px;
    border-style: solid;
    border-radius: 2px;
    line-height: 1.2em;
    opacity: 1;
    display: inline-block;
    padding: 15px 45px 11px 45px;
}
.community .image {
    display: none;
}

@media screen and (min-width: 45em) {
    .community .image {
        display: block;
        position: absolute;
        right: -20px;
        bottom: -35px;
        max-width: 430px;
    }
}

/* HOMEPAGE SLIDER */
#homepage-slider .slick-slide {
    position: relative;
}
#homepage-slider .slick-slide a {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
#homepage-slider .slick-slide .slide-img {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
#homepage-slider .slick-slide .slide-content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1em;
}
#homepage-slider .slick-slide .slide-content h1 {
    color: #fff;
    margin: 0;
    margin-top: -0.25em;
    font-size: 1.7em;
}
#homepage-slider .slick-slide .slide-content p {
    color: #fff;
    margin: 0;
    font-size: 0.9em;
}
#homepage-slider .slick-slide .slide-content span.btn {
    transition: all 0.4s ease;
    background-color: #ef6030;
    color: #fff;
    margin-top: 10px;
    padding: 5px 20px;
    border-radius: 4px;
    opacity: 1;
    display: none;
}
#homepage-slider .slick-slide .slide-content span:hover {
    opacity: 0.9;
}

@media (min-width: 768px) {
    #homepage-slider .slick-slide .slide-content {
        background: none;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        height: 100%;
        padding: 3em;
    }
    #homepage-slider .slick-slide .slide-content h1 {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 10px 20px;
        display: inline-block;
        font-size: 2.2em;
    }
    #homepage-slider .slick-slide .slide-content p {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 0 20px 10px 20px;
        display: inline-block;
        font-size: 1.2em;
    }
    #homepage-slider .slick-slide .slide-content span.btn {
        display: inline-block;
    }
}

/* HOMEPAGE SLIDER CONTROL */
#homepage-slider-control {
    margin-bottom: 3em;
}
#homepage-slider-control .slick-track {
    width: 100% !important;
    display: flex;
}
#homepage-slider-control .slick-slide {
    flex: 1;
    padding: 1em;
    background-color: #67635f;
    color: #afa8a2;
    cursor: pointer;
    border-style: solid;
    border-color: #88817a;
    border-top-width: 2px;
    border-right-width: 1px;
    border-bottom-width: 0;
    border-left-width: 1px;
}
#homepage-slider-control .slick-slide:first-child {
    border-left-width: 0;
}
#homepage-slider-control .slick-slide:last-child {
    border-right-width: 0;
}
#homepage-slider-control .slick-slide:focus {
    outline: none;
}
#homepage-slider-control .slick-current {
    background-color: #88817a;
    color: #fff;
}

@media (max-width: 767px) {
    #homepage-slider-control .slick-list {
        text-align: center;
    }
    #homepage-slider-control .slick-track {
        width: inherit !important;
        display: inline-block;
    }
    #homepage-slider-control .slick-slide {
        color: transparent;
        border-radius: 50%;
        width: 1em;
        height: 1em;
        margin: 1em 0.25em;
        opacity: 0.5;
        padding: 0;
        border: none;
    }
    #homepage-slider-control .slick-current {
        opacity: 1;
    }
}

/* HOMEPAGE */
body.home .storefront-sorting {
    display: none;
}
body.home .site-main,
body.home .content-area {
    margin-bottom: 0;
}
ul.products li.product .woocommerce-loop-product__title {
    min-height: 38px;
    margin-top: 15px;
}

/* Variations List */
ul.variations {
    list-style: none;
    margin-left: 0;
}
ul.variations > li {
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}
ul.variations .info {
    float: left;
}
ul.variations .actions {
    float: right;
}
ul.variations .titles {
    display: block;
}
ul.variations .attr {
    font-weight: bold;
    color: #444;
}
ul.variations .sale-tag {
    color: #fff;
    background-color: #4e8802;
    padding: 2px 10px;
    margin-right: 10px;
    border-radius: 2px;
}
ul.variations .price {
    display: block;
}
.single-product div.product ul.variations form.cart,
ul.variations .cart {
    margin-bottom: 0;
    padding: 0;
}
ul.variations .quantity {
    margin-right: 5px;
}
ul.variations .single_add_to_cart_button {
    margin-left: 5px;
}

/* TOPBAR */
.topbar {
    display: none;
    max-height: 200px;
    background: #4e8802;
    color: #fff;
    overflow-y: hidden;
}
.topbar-content {
    padding: 1em;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
}
.topbar-content img.flag {
    display: inline-block;
    height: 1.5em;
    vertical-align: bottom;
    margin-left: 0.3em;
}
.topbar.holiday-shipping-bar {
    background: #ef6030;
}
.topbar.holiday-shipping-bar .text {
    display: inline-block;
    font-weight: normal;
    max-width: 80%;
}
.close-bar {
    transition: all 0.4s ease;
    float: right;
    width: 1.4em;
    height: 1.4em;
    background: url(Images/ic_close.png);
    background-size: 100% 100%;
    opacity: 0.4;
    cursor: pointer;
}
.close-bar:hover {
    opacity: 1;
}

@media (max-width: 460px) {
    .free-shipping-us-bar .topbar-content {
        font-size: 14px;
    }
}

/* BLOCKING OVERLAY */
.block-overlay {
    background-color: rgba(1, 1, 1, 0.7);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10000000000;
}
.shipping-included {
    background: #ff835a;
    border: 1px solid #ef6030;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    padding: 0 4px;
    text-transform: uppercase;
}

/* wp-includes/formatting.php::print_emoji_styles() */
img.wp-smiley,
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}
