/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: The child theme for parent Astra theme
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: astra-child
Template: astra
*/

/* Ogólne */

a {
	text-decoration: none;
}

/* Zielony banner w headerze podstron */
.subpage-banner {
	background-color: #51b66e;
}

/* Blok - obrazek */
.wp-block-image {
	margin: 0 !important;
}

.wp-block-image figcaption {
	text-align: center;
	text-transform: uppercase;
	margin: 1.5em 0 !important;
	font-size: 1.2rem;
}

.entry-title {
	padding-top: 30px;
}

/* Home */

.home-banner-rightcol {
	display: flex;
	align-items: center;
}

.home-banner-group {
	background-color: #ffffffbf;
	padding: 5%;
}

.home-banner-text {
	font-weight: 700 !important;
	line-height: 160% !important;
	font-size: 32px !important;
	margin-bottom: 0 !important;
}

.home-about-title {
	margin-bottom: 20px !important;
}

.home-offer-cols h2 {
	margin-top: 30px;
	background-color: #e9e6d0b3;
	padding: 2%;
}

.home-offer-img {
	overflow: hidden;
}

.home-offer-img img {
	transition-duration: 0.7s;
}

.home-offer-img img:hover {
	-webkit-transform: scale(1.03);
  -ms-transform: scale(1.03);
  transform: scale(1.03);
}

.home-section-title {
	display: flex;
	justify-content: center;
	align-items: center;
}

.home-section-title::before {
	content:"";
	background-image:url("/wp-content/uploads/2021/12/pol-ramki-zielonej.png");
	width: 57px;
	height: 80px;
	display: block;
}

.home-section-title::after {
	content:"";
	background-image:url("/wp-content/uploads/2021/12/pol-ramki-czerwonej.png");
	width: 57px;
	height: 80px;
	display: block;
}

.home-offer-button {
	width: 100%;
}

.home-offer-absolute-title {
	position: absolute;
	width: 86%;
	left: 7%;
	bottom: 2%;
	background-color: #efedde;
	border-radius: 10px;
	font-size: 1.25rem;
	font-weight: 700;
	color: inherit;
}

.home-offer-absolute-title a {
	display: inline-block;
	width: 100%;
}

/* Home - menu */

.home-main-menu {
	display: flex;
	list-style: none !important;
	color: #fff;
	border-top: 1px solid #eeeeee;
	border-bottom: 1px solid #eeeeee;
	margin: 0;
}

.home-main-menu li {
	width: 16.667%;
	text-align: center;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-main-menu li:first-child, .home-main-menu li:nth-child(2) {
	background-color: #317745;
}

.home-main-menu li:nth-child(3), .home-main-menu li:nth-child(4) {
	background-color: #fff;
}

.home-main-menu li:nth-child(5), .home-main-menu li:nth-child(6) {
	background-color: #d14045;
}

.home-main-menu a {
	text-decoration: none !important;
	color: #fff;
	font-size: 1.4rem;
}

.home-main-menu li:nth-child(3) a, .home-main-menu li:nth-child(4) a {
	color: #000;
}

.home-main-menu li a {
	width: 100%;
	height: 100%;
	line-height: 100px;
}

.home-main-menu li:first-child:hover, .home-main-menu li:nth-child(2):hover {
	background-color: #fff;
}

.home-main-menu li:first-child a:hover, .home-main-menu li:nth-child(2) a:hover {
	color: #317745;
}

.home-main-menu li:nth-child(3):hover {
	background-color: #317745;
}

.home-main-menu li:nth-child(3) a:hover {
	color: #fff;
}

.home-main-menu li:nth-child(4):hover {
	background-color: #d14045;
}

.home-main-menu li:nth-child(4) a:hover {
	color: #fff;
}

.home-main-menu li:nth-child(5):hover, .home-main-menu li:nth-child(6):hover {
	background-color: #fff;
}

.home-main-menu li:nth-child(5) a:hover, .home-main-menu li:nth-child(6) a:hover {
	color: #d14045;
}

/* Zielony banner na podstronach */

.subpage-banner {
	font-family: Kalam;
	font-size: 1.3rem;
}

/* Famiglia */

.famiglia-horizontal-first-img img {
	margin-bottom: 10px;
}

.famiglia-section {
	background-color: #f3e7cd;
background-image: url("https://www.transparenttextures.com/patterns/egg-shell.png");
font-family: 'Cutivo mono';
}

.famiglia-person-desc {
	background-color: #fff;
	background-image: url("https://www.transparenttextures.com/patterns/egg-shell.png");
font-family: 'Cutivo mono';
}

.famiglia-main-person-img {
	position: relative;
}

.famiglia-main-person-img::before, .famiglia-frame-img::before, .horizontal-famiglia-frame-img::before {
	content: "";
display: block;
width: 100px;
height: 28px;
position: absolute;
background: url(https://zakrecony-wloski.pl/wp-content/uploads/2022/02/tape-100px.png);
transform: rotate(-45deg);
left: -30px;
}

.famiglia-main-person-img::after, .famiglia-frame-img::after, .horizontal-famiglia-frame-img::after {
	content: "";
display: block;
width: 100px;
height: 28px;
position: absolute;
background: url(https://zakrecony-wloski.pl/wp-content/uploads/2022/02/tape-100px.png);
transform: rotate(-45deg);
right: -30px;
bottom: 0;
overflow: visible;
}

.horizontal-famiglia-frame-img {
	padding-bottom: 20px;
	z-index: 10;
}

/* Kontakt */

.contact-link a {
	text-decoration: none !important;
}

/* Regulamin sklepu internetowego i polityka prywatności oraz cookies */

.page-id-1069 .entry-content, .page-id-3 .entry-content {
	padding-top: 40px;
	padding-bottom: 40px;
}

/* Pasek z informacją o plikach cookies */

.cky-notice-des a.cky-policy, .cky-notice-des button.cky-policy {
	text-decoration: none !important;
}

/* WooCommerce */

#primary {
	margin: 2em 0;
}

.single-product .site-content {
	padding-top: 30px;
}

.woocommerce div.product div.summary .woocommerce-product-details__short-description :last-child {
	margin-bottom: 1.5em;
}

.woocommerce-Price-amount {
	color: #d14045;
}

.woocommerce.single-product .sale > span.onsale {
	background-color: #d14045;
}

.single-product ul {
	margin-left: 1em;
}

.single-product ul li {
	padding-bottom: 5px;
}

.woocommerce-product-details__short-description {
	padding-top: 20px;
}

.woocommerce ul.products li.product .onsale, .woocommerce-page ul.products li.product .onsale {
	padding: 0 10px;
}

.woocommerce span.onsale {
	padding: 0 10px;
}

input[type="checkbox"], input[type="radio"] {
	margin-right: 5px;
}

.opinion-verification-info {
	font-weight: bold;
}

.uagb-tabs-list.uagb-tabs__icon-position-left:hover {
	color: #fff;
	background-color: #317745;
}

.wc-block-grid__product-image {
	overflow: hidden;
}

.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
	transition-duration: 0.7s;
}

.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail:hover {
  transform: scale(1.03);
}

/* Media queries */

@media only screen and (max-width: 380px) {
	
	.home-section-title {
		font-size: 24px !important;
 }
}

@media only screen and (max-width: 420px) {
	
	.home-banner-rightcol {
		text-align: center;
	}
	
	.home-banner-text {
		font-size: 28px !important;
	}
}

@media (max-width: 544px) {
	 
.entry-content .wp-block-media-text .wp-block-media-text__content {
  padding: 6% 0 0 0 !important;
	}
}

