/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.elementor-section{
    max-width: 92%;
    margin: 0 auto;
}

div.elementor-location-header .elementor-section,
div.elementor-location-footer .elementor-section,
.elementor-section-full_width section,
section.elementor-section-full_width {
    max-width: 100%;
}

.svgfull.elementor-widget-image .elementor-image>a img[src$=".svg"], .svgfull.elementor-widget-image .elementor-image figure>a img[src$=".svg"] {
    width: auto!important;
}

.link-underline a{
    border-bottom: 1px solid #1D1D1B;
    padding-bottom: 0.2rem;
}

/*https://stackoverflow.com/questions/11392089/horizontal-line-in-background-using-css3*/
.bgline{
    background: linear-gradient(180deg, 
    rgba(235,235,235,0) calc(50%), 
    black calc(50%), 
    rgba(235,235,235,0) calc(50% + 1px))
}

.swiper-container,
.insta-gallery-feed[data-feed_layout=carousel]{
    overflow: visible!important;
}
.insta-gallery-item {
    width: 320px!important;
}

.elementor-widget-heading .elementor-heading-title {
    line-height: initial!important;
}

.product .product-text-title h1{
    font-size: 76px;
    text-transform: uppercase;
}

.product .product-text-middle h2,
.product .product-text-bottom h2{
    font-size: 40px;
}

.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title.custom-title, 
.woocommerce ul.products li.product h2.woocommerce-loop-product__title.custom-title{
    font-size: 18px;
    font-weight: 200;
    line-height: 1.5;
}

.wpce_title h2 a {
    font-size: 18px;
    font-weight: 200;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title span.mainTitle,
.wpce_title h2 a span.mainTitle{
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
}

.post-type-archive-product .elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title.custom-title, 
.post-type-archive-product.woocommerce ul.products li.product h2.woocommerce-loop-product__title.custom-title{
    font-size: 23px;
}

.post-type-archive-product.woocommerce ul.products li.product h2.woocommerce-loop-product__title span.mainTitle{
    font-size: 35px;
}

.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price,
.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .button,
.related.products ul.products li.product .price,
.related.products ul.products li.product .button {
    display: none;
}

.single-product h1.product_title.custom-title {
    font-size: 20px;
    font-weight: 200;
    line-height: 1.5;
}

.single-product h1.product_title.custom-title span.mainTitle{
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
}

.single-product #single-product-h1 h1.product_title.custom-title {
    font-size: 28px;
    font-weight: 200;
    line-height: 1.5;
}

.single-product #single-product-h1 h1.product_title.custom-title span.mainTitle{
    font-size: 50px;
    font-weight: 900;
    text-transform: uppercase;
}

.single-product .single_variation_wrap .quantity,
.single-product .single_variation_wrap .single_add_to_cart_button,
.single-product .woocommerce-variation-add-to-cart,
.single-product.woocommerce div.product.elementor form.cart.variations_form .woocommerce-variation-add-to-cart{
    display: none;
}
.single-product.woocommerce div.product form.cart{
    margin-bottom: 0;
}

.single-product.woocommerce table.shop_attributes th, 
.single-product.woocommerce table.shop_attributes td{
    text-align: left;
    padding: 0;
}

.single-product .product-gallery img{
    padding: 5px;
}

.woocommerce div.product.elementor form.cart table.variations td.value select#pa_rozmer-matrace{
    position: relative;
}

.woocommerce div.product form.cart .variations th{
    padding: 10px 0 0 0;
    text-align: left;
    background-color: transparent;
}

.woocommerce div.product form.cart .variations td{
    padding-top: 5px;
}

body.single-product.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item{
    border-radius: 0;
    box-shadow: 0 0 0 1px rgb(0, 0, 0);
}
body.single-product.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
body.single-product.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{
    box-shadow: 0 0 0 0px rgb(0, 0, 0);
    background-color: black;
    color: white;
} 
body.single-product.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item:not(.radio-variable-item).selected{
    box-shadow: 0 0 0 3px rgb(0, 0, 0);
}

body.single-product table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th{
    background-color: initial;
}

.woocommerce table.shop_attributes {
    width: auto;
    border:none;
}

div.woocommerce-variation.single_variation{
    border: 1px solid red;
    display: none!important;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td{
    padding: 6px;
    border:none;
    background-color: initial;
}

.woocommerce table.shop_attributes td p{
    padding: 0 6px 0 0;
}

.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{
    border-radius: 0;
    color: white;
    background-color: black;
    border: 1px solid black;
}

.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover{
    background-color: white;
    color: black;
}

.woocommerce-notices-wrapper{
    max-width: 1405px;
    margin: 0 auto;
}

.woocommerce-notices-wrapper a.button{
    border-radius: 0;
    color: white;
    background-color: black;
    border: 1px solid black;
}

.woocommerce-notices-wrapper a.button:hover{
    background-color: white;
    color: black;
}

#stickyheaders{
    -webkit-transition: transform 0.34s ease;
    transition : transform 0.34s ease;    
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 49%, rgba(255,255,255,0.9) 50%, rgba(235,235,235,0) 100%);
    background-size: 100% 200%;
    background-position: 0 -200%;

}

@keyframes fade {
    0%{
        background-position:0% -200%;
    }
    100%{
        background-position:0% -100%;
    }
}

#stickyheaders.on {
    animation-name: fade;
    animation-duration: 0.2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
}

#stickyheaders {
    animation-name: none;
    
}

.headerup{
    transform: translateY(-180px); /*adjust this value to the height of your header*/;
}

#poptavka-form{
    /*display: none;*/
}

.page-id-424 .elementor-toggle .elementor-tab-title,
.page-id-424 .elementor-toggle .elementor-tab-content{
    border: none;
}

.page .wpce_slider_wrapper{
    padding-left: 70px;
    padding-right: 70px;
}

.page .wpce_single_item{
    background: none;
    box-shadow: none;
}

.page .wpce_thumbnail{
    padding: 0 20px;

}
.home .wpce_thumbnail img{
    /*border-radius: 50%;*/
}
.page .wpce_thumbnail img{
    box-shadow: none;
}

.page .wpce-add-to-cart{
    display: none;
}

.page .wpce-arrow,
.page .wpce-arrow:hover{
    z-index: 99;
    border: none;
    background: none;
    top:39%;
    border-radius: 0;
}

.page .wpce-arrow i{
    display:none;
    font-size: 60px;
}

.page .wpce-arrow.wb-arrow-prev,
.page .wpce-arrow.wb-arrow-next{
    width: 0;
	height: 0;
	border-width: 34px 44px 34px 0;
	border-color: transparent #000000 transparent transparent;
	border-style: solid;
}

.page .wpce-arrow.wb-arrow-next{
    border-width: 34px 0 34px 44px;
    border-color: transparent transparent transparent #000000;
}

body.single-product.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    box-shadow: 0 0 0 1px rgb(0 0 0);
    min-height: 37px;
    background-color: transparent;
    border-radius: 0;
    flex-wrap: wrap;
    height: fit-content;
}

body.single-product.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) p {
    margin: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

body.single-product.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{
    background-color: #848484;
}

body.single-product.woo-variation-swatches .variable-items-wrapper.image-variable-wrapper .variable-item:not(.radio-variable-item):hover p{
    background-color: #848484;
}
body.single-product.woo-variation-swatches .variable-items-wrapper.image-variable-wrapper .variable-item:not(.radio-variable-item).selected p{
    background-color: black;
}

body.single-product.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected, 
body.single-product.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{
    background-color: black;
    color:white;
    box-shadow: 0 0 0 1px rgb(0 0 0);
}

body.single-product.woo-variation-swatches .variable-items-wrapper.image-variable-wrapper .variable-item:not(.radio-variable-item){
    width: 83px;
    height: auto;
    display: inline-block;
}
  
body.single-product.woo-variation-swatches .variable-items-wrapper.image-variable-wrapper .variable-item img{
    height: auto;
}

.woo-variation-swatches .variable-items-wrapper.image-variable-wrapper li.variable-item:not(.radio-variable-item):hover,
.woo-variation-swatches .variable-items-wrapper.image-variable-wrapper li.variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches .variable-items-wrapper.image-variable-wrapper li.variable-item:not(.radio-variable-item).selected:hover{
    background-color: transparent;
}

.elementor-column.elementor-field-group-konfigurace{
    display: none;
}

span.woo-selected-variation-item-name{
    display: none;
}

body.single-product table tbody tr:hover>td, body.single-product table tbody tr:hover>th{
    background-color: transparent;
}

.elementor-kit-24 a.reset_variations{
    display: inline-block;
    color: red;
    border: 1px solid black;
    padding: 0 6px;
    margin: 5px -1px;
}

a.reset_variations:before {
    content: "\00d7";
    margin: 0 5px;
}

@media (max-width: 1200px){
	.single-product h1.product_title.custom-title {
        font-size: 25px;
        font-weight: 200;
        margin-left: 10%;
        line-height: 1.5;
    }
    
    .single-product h1.product_title.custom-title span.mainTitle{
        font-size: 46px;
        font-weight: 900;
        text-transform: uppercase;
    }

    .post-type-archive-product .elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title.custom-title, 
    .post-type-archive-product.woocommerce ul.products li.product h2.woocommerce-loop-product__title.custom-title{
        font-size: 18px;
    }

    .post-type-archive-product.woocommerce ul.products li.product h2.woocommerce-loop-product__title span.mainTitle{
        font-size: 25px;
    }

    .product .product-text-middle h2,
    .product .product-text-bottom h2{
        font-size: 40px;
    }
    .page .wpce-arrow.wb-arrow-prev{
        border-width: 22.5px 29px 22.5px 0;
    }

    .page .wpce-arrow.wb-arrow-next{
        border-width: 22.5px 0 22.5px 29px;
    }    
}

@media (max-width: 1024px){
    #stickyheader{
        background: rgb(255,255,255);
    }
}

@media (max-width: 768px){
	.single-product h1.product_title.custom-title {
        font-size: 25px;
        font-weight: 200;
        margin-left: 10%;
        line-height: 1.5;
    }
    
    .single-product h1.product_title.custom-title span.mainTitle{
        font-size: 46px;
        font-weight: 900;
        text-transform: uppercase;
    }

    .post-type-archive-product .elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title.custom-title, 
    .post-type-archive-product.woocommerce ul.products li.product h2.woocommerce-loop-product__title.custom-title{
        font-size: 14px;
    }

    .post-type-archive-product.woocommerce ul.products li.product h2.woocommerce-loop-product__title span.mainTitle{
        font-size: 18px;
    }

    .product .product-text-middle h2,
    .product .product-text-bottom h2{
        font-size: 30px;
    }
    .page .wpce-arrow.wb-arrow-prev{
        border-width: 17px 22px 17px 0;
    }

    .page .wpce-arrow.wb-arrow-next{
        border-width: 17px 0 17px 22px;
    }
}
