/*
Theme Name:   Valencia
Description:  GeneratePress Child Theme
Author:       Szymon Jakób studiosj.pl
Author URI:   https://studiosj.pl
Template:     generatepress
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  valencia
*/


.site-logo.mobile-header-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); 
    margin-left: 0!important;
}

.site-logo.mobile-header-logo img {
	padding: 14px 0!important;
}

#mobile-header {
    transition: background-color 1s;
}

#mobile-header.is_stuck{
    background-color: var(--base);
}

#mobile-header .menu-toggle {
    order: -1;
    margin-right: auto;
}

.menu-bar-item.wc-menu-item {
    order: 1;
}

/*body.home ul.products.columns-4 {
    display: flex;
}*/

/*archive page product hover effect*/
.inside-wc-product-image:after {
    content: "Zobacz produkt";
    left: 0;
    right: 50%;
    bottom: 0;
    top: 0;
	  color: #ffffff;
    position: absolute;
    font-weight: 100;
    padding: 60% 10% 0 10%;
  	text-align: center;
	  opacity: 0;
	  border-left: 6px solid var(--accent-2);
	  transition: all 0.5s ease;
}

.inside-wc-product-image:hover:after {
	background-color: var(--hover-semi-trans-dark);
  opacity: 1; 
  right: 0;
}

/*front page hover semi-transparent effect*/
.has-trans-bg {
    position: relative;
}

.has-trans-bg:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
	  background-color: var(--hover-semi-trans-light);
	  opacity: 0;
  	z-index:-2;
		transition: all 0.8s ease;	
}

.has-trans-bg:hover:after {
	opacity: 0.5;
}

/*front page hero container*/
.gb-container.hero-container {
	overflow: visible;
}

/* product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: none;
}

}/* GeneratePress Site CSS */ /*archive page product hover effect*/
.inside-wc-product-image:after {
    content: "Zobacz produkt";
    left: 0;
    right: 50%;
    bottom: 0;
    top: 0;
	  color: #ffffff;
    position: absolute;
    font-weight: 100;
    padding: 60% 10% 0 10%;
  	text-align: center;
	  opacity: 0;
	  border-left: 6px solid var(--accent-2);
	  transition: all 0.5s ease;
}

.inside-wc-product-image:hover:after {
	background-color: var(--hover-semi-trans-dark);
  opacity: 1; 
  right: 0;
}

/*front page hover semi-transparent effect*/
.has-trans-bg {
    position: relative;
}

.has-trans-bg:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
	  background-color: var(--hover-semi-trans-light);
	  opacity: 0;
  	z-index:-2;
		transition: all 0.8s ease;	
}

.has-trans-bg:hover:after {
	opacity: 0.5;
}

/*front page hero container*/
.gb-container.hero-container {
	overflow: visible;
}

/* product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: none;
}

 /* End GeneratePress Site CSS */

.woocommerce div.product form.cart .variations th {
    text-align: left;
    padding: 0;
}

/*Fixing gallery thumbnail on product page*/

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    width: calc(100% / 6);
}

.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    clear: none !important;
}

/*FIX add to cart text on top*/
.add-to-cart-panel .cart-info {
    z-index: 1;
}

section.related.products {
    padding-top: 2em;
}


/*CART STYLING*/
@media(max-width: 768px) {
    .woocommerce-page #content table.cart .product-thumbnail {
        display: block;
    }
    .woocommerce-page #content table.cart .product-thumbnail:before {
        content: '';
    }
   .woocommerce-page #content table.cart img {
        max-width: 55px;
        width: auto;
    }
}

a#select-point {
    font-weight: normal;
    text-decoration: underline;
}

input#billing_address_2 {
    display: none;
}

input#ship-to-different-address-checkbox {
    margin-right: 8px;
}

#generate-slideout-menu a.my-account-link .gp-icon {
    margin-right: 5px;
}

#wpforms-1940-field_3{
    list-style: none;
}

/*recaptcha*/
div.grecaptcha-badge {
    bottom: 80px!important;
}