/*
Theme Name: Funio Child
Theme URI: http://www.wpbingosite.com/funio
Author: wpbingo
Description: This is a child theme for Funio
Version: 1.0
Author URI: http://wpbingosite.com
Template: funio
Text Domain: funio-child
*/
/*************** ADD YOUR CUSTOM CSS HERE  ***************/

.wpbingo-newsletter.newsletter-default .content-newsletter {
    display: block !important;
}
.wpbingo-newsletter.newsletter-default .content-newsletter input[type=email] {
    padding: 0;
    margin-bottom: 5px;
}
.wpbingo-newsletter.newsletter-default .content-newsletter input[type=text], .wpbingo-newsletter.newsletter-default .content-newsletter input[type=tel] {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #000;
    padding: 0;
    margin-bottom: 5px;
}
.wpbingo-newsletter.newsletter-default .content-newsletter input[type=submit] {
    margin-top: 10px;
    margin-left: 0;
}

.contact-us-frm .wp-block-paragraph.has-text-color a {
    color: inherit !important;
}

.contact-us-frm .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.contact-us-frm .wpcf7-form-control {
    width: 100%;
}

.contact-us-frm .wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin: 0;
}

.contact-us-frm label {
    color: inherit;
}

.newsletter-form .wpcf7-list-item {
    margin: 0;
}

/* Downloads page table */
.downloads-container .download-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 2rem;
    font-size: 15px;
    line-height: 1.45;
}
.downloads-container .download-table thead th {
    text-align: left;
    font-weight: 700;
    color: #333;
    background: #e6e6e6;
    padding: 14px 16px;
    border: 0;
}
.downloads-container .download-table tbody td {
    padding: 14px 16px;
    color: #333;
    vertical-align: middle;
    border-bottom: 1px solid #e0e0e0;
}
.downloads-container .download-table tbody tr:last-child td {
    border-bottom: 1px solid #e0e0e0;
}
.downloads-container .download-table__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f39c12;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.downloads-container .download-table__link:hover,
.downloads-container .download-table__link:focus {
    color: #d68910;
}
.downloads-container .download-table__icon {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
}
.downloads-container .download-table__filename {
    word-break: break-word;
}

.downloads-container .download-table {
    width: 100%;
    table-layout: fixed;
}

.downloads-container .download-table th:nth-child(1),
.downloads-container .download-table td:nth-child(1) {
    width: 50%;
}

.downloads-container .download-table th:nth-child(2),
.downloads-container .download-table td:nth-child(2),
.downloads-container .download-table th:nth-child(3),
.downloads-container .download-table td:nth-child(3) {
    width: 25%;
}
.categories_accordian .wc-block-product-categories-list--depth-1 {
    display: none;
}

/* Category row: label left, accordion chevron flush right */
.categories_accordian .wc-block-product-categories-list-item {
    width: 100%;
    box-sizing: border-box;
}
.categories_accordian .wc-block-product-categories-list-item > a {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.categories_accordian .wc-block-product-categories-list-item > a .wc-block-product-categories-list-item__image {
    flex-shrink: 0;
}
.categories_accordian .wc-block-product-categories-list-item > a .wc-block-product-categories-list-item__name {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}
.categories_accordian .wc-block-product-categories-list-item > a .acc-toggle {
    flex-shrink: 0;
    margin-left: auto;
}

.product-categories li {
    position: relative;
}
.toggle-btn {
    cursor: pointer;
    margin-left: 5px;
    font-weight: bold;
}

.acc-toggle {
    cursor: pointer;
    margin-left: 6px;
    font-weight: bold;
}

/* Current product category in sidebar (Woo block does not output --current in PHP) */
.categories_accordian .wc-block-product-categories-list-item.uni-z-is-current-cat > a,
.categories_accordian .wc-block-product-categories-list-item.uni-z-is-current-cat > a .wc-block-product-categories-list-item__name {
    font-weight: 700;
    color: #111;
}
.categories_accordian .wc-block-product-categories-list-item.uni-z-is-current-cat > a {
    text-decoration: none;
}
.readmore-link:before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #000;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    left: 0;
}

.readmore-link {
    display: inline-block;
    color: #000;
    position: relative;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    padding-bottom: 5px !important;
}

.readmore-link:hover:before {
    width: 50%;
    background: #000;
}

.bwp-footer.footer-2 input[type="text"]::placeholder, .bwp-footer.footer-2 input[type="email"]::placeholder, .bwp-footer.footer-2 input[type="tel"]::placeholder {
    color: 
 color-mix(in srgb, var(--wp-components-color-foreground, #1e1e1e), #0000 38%) !important;
}

.downloads-container {
    padding: 0 10px;
}

.contact-us-form input[type="tel"] {
    height: 50px;
    line-height: 50px;
    margin-bottom: 20px;
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #dedede;
    font-weight: 400;
    color: #868686;
    background: transparent;
}
.contact-us-form input[type="tel"]::placeholder {
    color: 
 color-mix(in srgb, var(--wp-components-color-foreground, #1e1e1e), #0000 60%) !important;
}

.contact-us-form.contact-us-frm label:before {
    content: "";
}
.contact-us-frm label {
    letter-spacing: 0.05em;
}



/* Shop (Produkter): ACF shop_slider (Bootstrap carousel) + shop_description */
.uni-z-shop-slider {
    position: relative;
    margin-bottom: 1.5rem;
}
.uni-z-shop-slider .uni-z-shop-slider__carousel .carousel-inner {
    border-radius: 2px;
    overflow: hidden;
}
.uni-z-shop-slider .uni-z-shop-slider__img {
    width: 100%;
    height: auto;
}

/* Carousel prev/next: circle, white ring, transparent; hover = black fill */
.uni-z-shop-slider .uni-z-shop-slider__carousel .carousel-control-prev,
.uni-z-shop-slider .uni-z-shop-slider__carousel .carousel-control-next {
    width: 38px;
    height: 38px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 1;
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    transition: background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    z-index: 12;
}
.uni-z-shop-slider .uni-z-shop-slider__carousel .carousel-control-prev {
    left: 20px;
    right: auto;
}
.uni-z-shop-slider .uni-z-shop-slider__carousel .carousel-control-next {
    right: 20px;
    left: auto;
}
.uni-z-shop-slider .uni-z-shop-slider__carousel .carousel-control-prev:hover,
.uni-z-shop-slider .uni-z-shop-slider__carousel .carousel-control-next:hover {
    opacity: 1;
    color: #fff;
    background-color: #000;
    border-color: #fff;
    outline: none;
    box-shadow: none;
}
.uni-z-shop-slider .uni-z-shop-slider__carousel .carousel-control-prev-icon,
.uni-z-shop-slider .uni-z-shop-slider__carousel .carousel-control-next-icon {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    transform: scale(0.8);
}

.uni-z-shop-description {
    margin-bottom: 1.5rem;
}
.uni-z-shop-description > *:last-child {
    margin-bottom: 0;
}

.uni-z-shop-description h2 {
    margin-top: 0 !important;
}

.products-thumb {
    background: linear-gradient(to bottom, #f7f7f7, #eeeeee);
}
.products-thumb img {
    mix-blend-mode: multiply;
}

/* For images gallery in products page */
.product {
    position: relative;
}

.funio-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: 0.3s;
}

.product:hover .funio-gallery-overlay {
    opacity: 1;
}

.open-category-gallery-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

#funio-gallery-modal {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.9);
    display:none;
    z-index:9999;
}

.funio-gallery-inner {
    width:50%;
    margin:50px auto;
}

.funio-gallery-inner img {
    width:100%;
}

.close-gallery {
    color:#fff;
    font-size:30px;
    cursor:pointer;
}

/* End of images gallery in products page */

@media (max-width: 991px) {
    #bwp-footer {
        padding-bottom: 0;
    }
}