/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.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 */

header.elementor.elementor-24 {
	position: relative;
	z-index: 9;
}

body:not(.home) header .elementor-nav-menu .elementor-item {
	color: #282F3A!important
}

.link-underline:hover {
	text-decoration: underline;
}

.icon-social {
	height: 24px;
}

.undeline-menu li a:hover,
.header-menu li a:hover {
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.footer-menu ul {
		flex-direction: column;
		gap: 12px;
	}
	
	.footer-menu ul li a {
		margin: 0!important;
	}
}

.custom-margin-container > .e-con-inner {
	margin: 0!important;
	margin-left: auto!important;
}

.custom-margin-right-container > .e-con-inner {
	margin: 0!important;
	margin-right: auto!important;
}

@media (max-width: 1024px) {
	.mobile-relative {
		position: relative!important;
		min-height: 494px!important;
	}
	
	.mobile-relative.wartosci {
		min-height: 300px!important;
	}
	
	.mobile-relative.post-relative {
		min-height: 340px!important;
	}
}

.animated-button {
	display: flex;
	position: relative;
	z-index: 1;
}

.animated-button .icon {
	width: 48px;
	height: 48px;
	border-radius: 2px;
	background: #A39387;
	background-image: url('./images/arrow.svg');
	background-position: center;
	background-size: 16px;
	background-repeat: no-repeat;
}

.animated-button .text {
	color: #282F3A;
	display: flex;
	align-items: center;
	height: 48px;
	padding: 16px 16px 16px 18px;
	left: -2px;
	position: relative;
	transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
}

.animated-button:hover .text {
	color: #FAF5F2 !important;
	background-color: transparent;
	text-shadow: nthree;
}
.animated-button:hover .text:before {
	left: 0%;
	right: auto;
	width: 100%;
}

.animated-button .text:before {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 0px;
	z-index: -1;
	content: '';
	color: #000 !important;
	background: #A39387;
	transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
}

@media (max-width: 1024px) {
	.dark-blue-color-mobile {
		color: #282F3A!important;
	}
}

.og-wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 1000px;
}

.og-track {
	display: flex;
	gap: 8px;
	width: max-content;
	animation: og-marquee 30s linear infinite;
}

.og-slide {
	flex: 0 0 auto;
	width: 190px;
}

.og-slide img {
	width: 100%;
	height: auto;
	display: block;
	filter: brightness(0) invert(1);
}

@keyframes og-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

.og-gradient {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	z-index: 10;
	pointer-events: none;
}

.og-left {
	left: 0;
	background: linear-gradient(to right, #282F3A, transparent);
}

.og-right {
	right: 0;
	background: linear-gradient(to left, #282F3A, transparent);
}

.og-wrapper:hover .og-track {
	animation-play-state: paused;
}

@media (min-width: 1600px) {
	.hero-banner {
		min-height: 85vh!important;
	}
	
	.wartosci-container {
		min-height: 50vh!important
	}
}

.section-line::after {
	content: '';
	width: 50vw;
	position: absolute;
	bottom: 0;
	left: -40px;
	background: #E2E2E2;
	height: 1px;
}

@media (max-width: 1024px) {
	.section-line::after {
		width: 100vw;
		left: -16px;
	}
}

.sticky-col {
	position: sticky;
	top: 64px;
}

.promo-timer-text-js {
	display: flex;
	padding: 16px 24px;
	border: 1px solid #282F3A;
	gap: 33px;
}

.promo-timer-text-js span {
	font-size: 40px;
	font-weight: 600;
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.2;
	min-width: 60px;
	position: relative;
}

.promo-timer-text-js span span {
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
}

.promo-timer-text-js span:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -17px;
	height: 100%;
	width: 1px;
	background: #282F3A;
}

@media (max-width: 1024px) {
	.promo-timer-text-js span {
		min-width: 20%;
		font-size: 32px;
	}
	
	.widget-timer {
		width: 100%;
	}
	
	.promo-timer-text-js {
		width: 100%;
		padding: 16px;
		gap: 18px;
		justify-content: center;
	}
	
	.promo-timer-text-js span:not(:last-child)::after {
		right: -10px;
	}
}

.custom-form textarea,
.custom-form input,
.custom-form select {
	padding: 12px!important;
}

.custom-form textarea:focus,
.custom-form input:focus {
	box-shadow: none!important;
}

.custom-form .elementor-field-type-acceptance input {
	display: none!important;
}

.custom-form .elementor-field-type-acceptance label {
	padding-left: 26px;
	font-size: 12px!important;
	line-height: 1.2!important;
}

.custom-form .elementor-field-type-acceptance  .elementor-field-option label::before {
	content: '';
	position: absolute;
	left: 12px;
	top: 0;
	width: 18px;
	height: 18px;
	background: #fff;
	border: 1px solid #282F3A;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 80%;
	cursor: pointer;
}

.custom-form .elementor-field-type-acceptance .elementor-field-option input:checked~label::before {
	background-image: url('./images/check.svg')
}

.custom-form .elementor-field-type-radio {
	margin: 16px 0!important;
}

.custom-form .elementor-field-type-radio .elementor-field-subgroup  {
	margin: 16px 0 32px;
	display: flex;
	gap: 14px 24px;
	flex-direction: row;
}

.custom-form .elementor-field-type-radio .elementor-field-subgroup .elementor-field-option {
	width: calc(50% - 12px);
	flex-basis: auto;
}

.custom-form .elementor-field-type-radio .elementor-field-option {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}

.custom-form .elementor-field-type-radio .elementor-field-option input {
	transform: scale(1.5);
 	margin: 5px;
	accent-color: #282F3A;
}

.content-page-text h2 {
	font-size: 24px;
	margin-bottom: 16px;
}

.content-page-text h3 {
	font-size: 20px;
	margin-bottom: 16px;
}

.content-page-text h4 {
	font-size: 18px;
	margin-bottom: 16px;
}

.table-overflow {
	overflow: auto;
}

@media (max-width: 1024px) {
	.content-page-text h2 {
		font-size: 22px;
	}
	
	.content-page-text {
		  overflow-wrap: break-word;
  word-break: break-word;
	}
	
	.table-overflow table {
		width: 600px;
	}

}

.blog .elementor-location-header,
.single-post .elementor-location-header {
	background: #FAF5F2;
}


.post-items-loop-container {
	overflow: hidden;
}

.post-item-loop::before {
	content: '';
	width: 200vw;
	left: -50vw;
	top: 0;
	background: #E2E2E2;
	height: 1px;
	position: absolute;
}

.post-item-loop::after {
	content: '';
	width: 200vw;
	left: -50vw;
	bottom: -1px;
	background: #E2E2E2;
	height: 1px;
	position: absolute;
}

.post-item-loop {
	padding: 32px 0;
	height: 100%;
}

@media(min-width: 1024px) {
	.post-item-loop {
		padding: 40px 40px 40px 0;
		height: 100%;
	}

	.post-items-loop .e-loop-item:nth-child(2n + 1) .post-item-loop {
		padding-left: 80px;
	}

	.post-items-loop .e-loop-item:nth-child(2n + 2) .post-item-loop {
		border-right: 1px solid #E2E2E2;
	}
}

.post-author-profile {
	display: flex;
	align-items: center;
	gap: 28px;
}

.post-author-profile__image {
	max-width: 54px;
}

.post-author-profile__image picutre,
.post-author-profile__image img {
	display: flex;
	width: 100%;
}

.post-author-profile-full {
	display: flex;
	align-items: center;
	gap: 80px;
}

.post-author-profile-full__image {
	flex-shrink: 0;
	width: 146px;
}

.post-author-profile-full__content {
	max-width: 690px
}

.post-author-profile-full__name {
	margin: 6px 0 16px;
	font-weight: 500;
	font-size: 24px;
}

.post-author-profile-full__description p:last-child {
	margin-bottom: 0;
}

@media(max-width: 768px) {
	.post-author-profile-full {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	
	.post-author-profile-full__image {
		width: 66px;
	}
	
	.post-author-profile-full__name {
			font-size: 20px
		}
	
	.post-author-profile {
		gap: 16px;
	}
}

.single-post-content h2,
.single-post-content h3 {
	font-weight: 400;
}

.single-post-content > h3:not(:first-child),
.single-post-content > h2:not(:first-child),
.single-post-content > h4:not(:first-child) {
	margin-top: 64px;
}

.single-post-content .elementor-element > div {
	margin: 64px 0;
}

.single-post-content > h3,
.single-post-content > h2,
.single-post-content > h4{
	margin: 32px 0;
}

.single-post-content > h2 {
	font-size: 36px;
}

.single-post-content > h3 {
	font-size: 32px;
}

.single-post-content > h4 {
	font-size: 24px;
	font-weight: 500;
}

.single-post-content > h3:first-child,
.single-post-content > h2:first-child,
.single-post-content > h4:first-child {
	margin-top: 0;
}

@media(max-width: 1024px) {
		.single-post-content > h3:not(:first-child),
	.single-post-content > h2:not(:first-child),
	.single-post-content > h4:not(:first-child) {
		margin-top: 32px;
	}

	.single-post-content > h2 {
		font-size: 32px;
	}

	.single-post-content > h3 {
		font-size: 28px;
	}

	.single-post-content > h4 {
		font-size: 20px;
	}
}

.mobile-menu-toggler {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none!important;
	padding: 0!important;
	background: none!important;
	width: 24px!important;
	height: 24px!important;
}

.mobile-menu-toggler .close {
	display: none;
}

.mobile-menu-toggler.active .close {
	display: flex;
}

.mobile-menu-toggler .open {
	display: flex;
}

.mobile-menu-toggler.active .open {
	display: none;
}

.elementor-location-header {
	position: sticky!important;
	background: transparent;
	transition: .3s;
	top: 0;
	z-index: 999!important;
}

.admin-bar .elementor-location-header {
	top: 32px;
}

.elementor-location-header.scroll-down {
	background: #FAF5F2;
	box-shadow: 0 1px 0 0 #E2E2E2;
}

@media(max-width: 1024px) {
	body.home .elementor-location-header.scroll-down {
		box-shadow: none;
	}
}

.elementor-location-header.scroll-down .elementor-nav-menu .elementor-item {
    color: #282F3A !important;
} 

@media(min-width: 1024px) {
	.slide-menu-wrapper {
		display: none;
	}
}

.slide-menu-wrapper {
	position: fixed;
	left: 0;
	bottom: 0;
	opacity: 0;
	visibility: hidden;
	width: 100%;
	height: calc(100% - 64px);
	z-index: 999;
	background: #FAF5F2;
	transition: .3s;
}

.slide-menu-wrapper.active {
	visibility: visible;
	opacity: 1;
}

@media(max-width: 1024px) {
	.menu-mobile-open {
		overflow: hidden;
	}
}