@import url('./_config.css');

html {scroll-behavior: smooth;}

[x-cloak] {display: none;}

* {outline: none !important;}

body {
	width: 100%;
	overflow-x: hidden;
}

/* navbar */

.navbar {
	background-color: #fff;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all .2s ease;
}

.navbar-top {
	background-color: var(--primary);
	height: 50px;
	color: white;
	transition: all .2s ease;
}

.navbar-top a {
	color: white;
	transition: opacity .3s;
}

.navbar-top a:hover {
	color: white;
	opacity: .8;
}

.navbar-logo {
	margin: 30px 0;
	transition: all .2s ease;
}

.affix .navbar-logo {
	margin: 10px 0;
}

.navbar-logo-image {
	display: block;
	height: 59.9px;
	transition: all .2s ease;
}

.affix .navbar-logo-image {
	height: 45px;
}

.affix {
	top: -50px;
	box-shadow: 0 0 30px hsl(0, 0%, 0%, .1);
}

.container {
	max-width: 90%;
	width: var(--containerWidth);
}

.btn {
	padding: 1.2em 2em;
	align-items: center;
	font-size: 1rem;
	font-family: var(--fontTitle);
	transition: all .3s ease;
}

.btn:hover {
	filter: none;
	background-color: var(--primaryLight);
	/* transform: translateY(-2px);
	box-shadow: 0 20px 20px -10px hsla(0, 0%, 0%, .1), 0 5px 10px hsla(0, 0%, 0%, .1); */
}

.btn:focus {
	filter: none;
	background-color: var(--primaryDark);
	/* box-shadow: none;
	transform: translateY(0); */
}

/* navbar-nav */

.navbar-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: center;
}

.navbar-nav li {
	list-style: none;
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
}

.navbar-nav > li:not(:first-child) {
	padding-left: 30px;
}

.navbar-nav a {
	will-change: auto;
}

.navbar-nav > li > a {
	color: hsl(0, 0%, 11%);
	font-size: 1rem;
	font-family: var(--fontTitle);
	text-transform: lowercase;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 30px;
	width: calc(100% - 30px);
	height: 2px;
	will-change: transform;
	background-color: var(--primary);
	transition: all .4s ease-out, visibility 0s .2s ease-out;
	visibility: hidden;
}

.navbar-nav > li:first-child > a::before {
	left: 0;
	width: 100%;
}

.navbar-nav:hover a::before {
	transform: translateX(100%);
}

.navbar-nav:hover li:hover ~ li > a::before {
	transform: translateX(-100%);
}

.navbar-nav:hover li:hover > a::before {
	transform: none;
	visibility: visible;
	transition-delay: 0s;
}


.navbar-nav a:focus::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	transform: translateX(0);
}

.navbar-nav .nav-active {
	color: var(--primary);
}

.navbar-nav ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 10px;
	min-width: 250px;
	background-color: white;
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
}

.navbar-nav ul a {
	padding: 10px 15px;
	display: flex;
	font-size: 0.875rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	transition: all .3s ease;
}

.navbar-nav ul a::after {
	transform: rotate(-90deg);
}

.navbar-nav ul a::before {
	content: '>';
	font-family: monospace;
	font-weight: bold;
	font-size: 1rem;
	width: auto;
	height: auto;
	display: block;
	transform: translateX(0) !important;
	visibility: visible;
	background: none;
	position: absolute;
	top: 8px;
	left: 0;
	opacity: 0;
	color: var(--primary);
}

.navbar-nav ul a:hover::before {
	opacity: 1;
	transform: translateX(10px) !important;
}
.navbar-nav ul a:hover {
	padding-left: 25px;
	padding-right: 5px;
}

.navbar-nav ul .active > a,
.navbar-nav ul a.active {
	color: var(--primary);
}

@keyframes showDropdown {
	0% {opacity: 0; transform: translateY(-10px);}
	100% {opacity: 1; transform: translateY(0);}
}

@keyframes showNextDropdown {
	0% {opacity: 0; transform: translateX(-10px);}
	100% {opacity: 1; transform: translateX(0);}
}

.navbar-nav > li > .open,
.navbar-nav .nav-dropdown:hover > ul {
	display: block;
	animation: showDropdown .3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover > ul {
	display: block;
	animation: showNextDropdown .3s 1 forwards;
}

.navbar-nav ul ul {
	top: 0; left: 100%;
}


/* mobile menu */

.mobile-menu-toggler {
	width: 32px;
	height: 24px;
	padding: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
	background: none;
	transition: all var(--fastSpeed) var(--easeOutBack);
	outline: none;
}

.mobile-menu-toggler span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: var(--primary);
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

.mobile-menu-toggler span:last-child {
	width: 70%;
}

.mobile-menu-toggler.active-toggler span:first-of-type {
	transform: rotate(-45deg);
}

.mobile-menu-toggler.active-toggler span:last-child {
	transform: rotate(45deg);
	width: 100%;
}

.mobile-menu-toggler.active-toggler span:nth-of-type(2) {
	display: none;
}

.mobile-nav {
	transition: transform var(--fastSpeed) var(--easeOutQuart);
	transform: translateX(-100%);
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	max-width: 80vw;
	width: 300px;
	/* background-color: hsla(0, 0%, 0%, 0.8);
	backdrop-filter: blur(10px); */
	background-color: var(--primary);
	margin: 0;
	padding: 0;
	z-index: 99999;
	overflow-y: auto;
}

.mobile-nav.show {
	transform: translateX(0);
}

.mobile-nav ul,
.mobile-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav ul {
	background-color: hsla(0, 0%, 0%, .3);
}

.mobile-nav a {
	display: block;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 700;
	color: white;
	box-sizing: border-box;
	padding: 10px 15px;
	border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

.mobile-nav ul a {
	font-size: 0.875rem;
	font-weight: normal;
	padding-left: 30px;
}

.mobile-nav ul ul a {
	padding-left: 45px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
	color: var(--primary);
	background-color: #fff;
}


a {text-decoration: none;}

#main a, .more {
	color: hsl(167, 37%, 10%);
}


h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	font-family: var(--fontTitle);
	color: var(--titleColor);
}

b, strong {
	color: hsl(0, 0%, 34%);
	font-weight: 400;
	font-family: var(--fontTitle);
}

header {
	background: url(/assets/img/slidebg.jpg) center no-repeat;
	background-size: cover;
}

header .swiper-slide img {
	max-height: 97%;
	max-width: 50%;
	margin-top: 3%;
	object-fit: contain;
	object-position: center bottom;
}

.slide-title {
	color: var(--titleColor);
	margin-bottom: 20px;
	font-size: var(--h1);
	line-height: 1;
	font-family: var(--fontTitle);
}

.slide-description {
	font-size: var(--h5);
}


#uslugi {
	padding: var(--sectionPadding) 0;
}



.card-image {
	overflow: hidden;
	position: relative;
	width: 100%;
	display: block;
}

.card-image::after {
	position: absolute;
	z-index: 20;
	content: '';
	display: block;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	border: 1px solid white;
}


.card-image img {
	display: block;
	width: 100%;
	position: relative;
	z-index: 1;
	transition: transform var(--fastSpeed) var(--easeOutCubic);
}

.card-image:hover img {
	transform: scale(1.1);
}


.card-body {
	text-align: center;
}

.card-title {
	text-transform: uppercase;
	margin-bottom: 20px;
}

.card-title a {
	color: var(--titleColor);;
}

.card-body a, #main a {
	position: relative;
	transition: all .2s;
	display: inline-block;
	z-index: 1;
}

.card-body a::before, #main a::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 100%;
	bottom: 0;
	left: 0;
	z-index: -1;
	background-color: var(--primary);
	transition: all .2s ease-out;
}

.card-body a:hover, #main a:hover {color: white; filter: none;}
.card-body a:hover::before, #main a:hover::before {
	right: 0;
}

#paralaksa,
.responsive-media,.r-m{position:relative;overflow:hidden;padding-top:56.25%}
#paralaksa iframe,
.responsive-media iframe,.r-m iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}

#paralaksa {
	height: 600px;
	/* background: url(/assets/img/paralaksa.jpg) center no-repeat;
	background-attachment: fixed;
	background-size: cover; */
}

#paralaksa iframe {
	width: 100%;
}

#szycie {
	padding: var(--sectionPadding) 0;
}

#szycie h2 {
	margin-top: 0;
	margin-bottom: 20px;
}

.more {
	display: flex;
	align-items: center;
	line-height: 1.1;
	transition: all .2s ease;
}

.more img {
	transition: all .3s ease;
}

.more:hover {
	color: var(--titleColor);
}

.more:hover img {
	transform: translateX(5px);
}


#firma {
	background-color: var(--bgLight);
}

#firma ul {
	margin: 0;
	padding: 0;
}

#firma li {
	list-style: none;
	padding: 0;
	margin: 0 0 15px 0;
}


#klienci {
	padding: var(--sectionPadding) 0;
}

#klienci .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100px;
}

#klienci .swiper-slide img {
	max-height: 100px;
	max-width: 90%;
	object-fit: contain;
	object-position: center;
}

#mapa iframe {
	display: block;
	width: 100%;
	height: 480px;
}




.madeby {
	color: white;
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

.madeby small {
	float: left;
	margin: 4px 4px 0 0;
	font-size: 0.6875rem;
}


footer {
	background-color: hsl(0, 0%, 34%);
	padding: var(--sectionPadding) 0 40px;
	color: white;
}

footer hr {
	opacity: .2;
	background-color: #fff;
	margin: var(--sectionPadding) 0 40px;
}

footer h5 {
	margin-top: 0;
	color: white;
}

footer .btn {
	background-color: hsl(240, 1%, 54%);
}

footer .btn:hover {
	background-color: hsl(240, 1%, 64%);
}

footer a {
	color: white;
	transition: opacity .2s;
}

footer a:hover {
	opacity: .8;
}




form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.125rem;
}

label p {
	margin: 0;
}

input,select,textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 2px solid var(--primaryLight);
	border-radius: 0;
	background: none;
	color: white;
}

input:focus,
select:focus,
textarea:focus {
	border-color: white;
}

input[type="checkbox"] {
	width: auto;
}

[type="checkbox"] + label {
	font-weight: normal;
	line-height: 1.5;
	font-size: .875rem;
}

[type="checkbox"] + label li::marker {color: white;}

textarea {
	height: 10rem;
}

.ok {
	border-color: var(--primaryLight);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}

h1, .lead {
	color: #333;
}

footer form .flex.col {
	margin-bottom: 10px;
}

footer form ::placeholder {
	opacity: 1;
	color: white;
	transition: opacity .3s;
}

footer form :focus::placeholder {
	opacity: .3;
}

















@media screen and (max-width: 1320px) {
	.navbar .btn {padding: 1em;}
	.navbar .btn img {margin-right: 1em;}

	.navbar-nav > li:not(:first-child) {
		padding-left: 20px;
	}

	.navbar-nav > li > a {font-size: 0.875rem;}

	#szycie .flex-nowrap img {
		max-width: 32%;
	}
}


@media screen and (max-width: 1199px) {
	.navbar-logo-image {height: 45px;}

	.navbar .btn {
		margin-left: 20px;
	}

	.navbar .btn span {display: none;}

	.navbar .btn img {margin-right: 0;}
}



@media screen and (max-width: 1023px) {

	:root {
		--sectionPadding: 3.5rem;
	}

	.w-full {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.slide-title {font-size: var(--h2);}

	.slogan {
		max-width: 45%;
	}

	#szycie .w-full:first-child {margin-bottom: 30px;}

	#szycie .flex-nowrap img {
		max-width: 33%;
		width: 33%;
	}

	#firma .w-full:first-child img {
		width: 100%;
		height: 50vh;
		object-fit: cover;
	}

	footer .w-full:first-child {margin-bottom: 50px;}

	#paralaksa {
		height: 400px;
	}
}





@media screen and (max-width: 720px) {
	.slide-title {
		font-size: var(--h3);
	}

	.slide-description {font-size: 1rem;}

	h1 {font-size: var(--h2);}
	h2 {font-size: var(--h3);}
	h3 {font-size: var(--h4);}
	h4 {font-size: var(--h5);}
	h5 {font-size: var(--h6);}

	#mapa iframe {
		height: 350px;
	}

	footer .container > .flex:last-child {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
}



@media screen and (max-width: 620px) {
	.navbar-top a, .navbar-top span {
		font-size: 0.8125rem;
	}
	.navbar-top img {
		margin-right: 5px;
		height: 16px;
	}
}


@media screen and (max-width: 580px) {
	.navbar-top > .container > .flex > span {display: none;}

	.navbar-top a:not(:last-child) {margin-right: 15px;}

	.slide-title {
		font-size: var(--h4);
	}
}



@media screen and (max-width: 414px) {
	header .swiper-slide .flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.slogan {
		width: 100%;
		max-width: 100%;
		margin-bottom: 50px;
		margin-top: 50px;
	}

	header .swiper-slide img {
		max-height: 60vh;
		max-width: 95%;
		margin-top: 0;
	}

	h1 {font-size: var(--h3);}
	h2 {font-size: var(--h4);}
	h3 {font-size: var(--h5);}
	h4 {font-size: var(--h6);}
}