* { border: none; margin: 0px; padding: 0px;  }

:root {
  --grey: #cfcfcf;
  --orange: #df5610;
}

html {
	overflow: auto;
	scrollbar-color: var(--orange) #fff;
	scrollbar-width: thin;
}

body {
	width: 100%;
	max-width: 100vw;
	height: 100%;
	font-family: 'Arial', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #434242;
	line-height: 1.6;
	background-color: #fff;
	overflow: auto;
	overflow-x: hidden;	
}

body.overflow {
	overflow: hidden;
}

div:focus,
a:focus,
input:focus,
textarea:focus,
button:focus {
	outline: 0;
}

a {
	color: #434242;
	font-weight: 300;
	text-decoration: none;
	cursor: pointer;
	
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
}

a:hover {
	color: var(--orange);
	text-decoration: none;
	
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
}

h1 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
	padding: 0px 0 15px 0;
}

h2 {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.fit {
	width: 100%;
	margin: 0 auto;
	max-width: 1400px;
	padding: 0 3%;
	box-sizing: border-box;
}


#homeContent {
	position: relative;
	border: 1px solid #cfcfcf;
}

	#homeContent header {
		width: 100%;
		position: absolute;
		z-index: 10;
	}

		#homeContent header #logo {
			position: relative;
			display: block;
			padding: 45px 30px;
		}
		
		#homeContent header #logo:before {
			content: "";
			
			position: absolute;
			z-index: -1;
			left: 0;
			top: 0;
			
			display: block;
			width: 0px;
			height: 0px;
			border-style: solid;
			border-width: 390px 390px 0 0;
			border-color: #fff transparent transparent transparent;
			transform: rotate(0deg);
		}
		
			#homeContent header #logo a {
				display: inline-block;
			}
			
			#homeContent header #logo img {
				display: block;
				width: 260px;
				height: auto;
			}
			
		#menu {
			position: absolute;
			top: 125px;
			left: 55px;
			transform: skew(-45deg);
		}
		
		#menu:before {
			content: "";
			background: #000;
			
			display: block;
			width: 100%;
			height: 100%;
			
			position: absolute;
			left: 8px;
			bottom: -5px;
			z-index: -1;
		}
		
		#menu nav {
			position: relative;
			z-index: 1;
			background: linear-gradient(0deg, rgba(236,236,236,1) 0%, rgba(250,250,250,1) 50%, rgba(236,236,236,1) 100%);
		}
		
			#menu nav ul {
				list-style: none;
				display: flex;
				gap: 0;
			}
			
			#menu nav ul li {
				position: relative;
			}
			
			#menu nav ul li:not(:last-child):after {
				content: "";
				display: block;
				width: 1px;
				height: 100%;
				background: #bbb;
				
				position: absolute;
				top: 0;
				right: 0px;
				z-index: 1;
			}
				
				#menu nav ul li a {
					display: block;
					padding: 10px 20px;
					
					font-size: 16px;
					font-weight: 700;
					color: #000;
				}
					
					#menu nav ul li a span {
						display: block;
						padding: 0 15px;
						transform: skew(45deg);
					}
					
				#menu nav ul li.home a {
					position: relative;
					display: block;
					width: 35px;
					height: 26px;
				}
						
					#menu nav ul li.home a:before {
						content: "";
						display: block;
						width: 22px;
						height: 22px;
						
						position: absolute;
						left: 50%;
						top: 50%;
						transform: translate(-50%, -50%) skew(45deg);
						
						background-image: url(../graf/ico_home.svg);
						background-position: 50% 50%;
						background-repeat: no-repeat;
						background-size: contain;
						transition: all 0.2s ease;
					}
					
					#menu nav ul li.home a span {
						display: none;
					}
			
				#menu nav ul li.current-page-ancestor a,
				#menu nav ul li.current-menu-item a,
				#menu nav ul li a:hover {
					background: var(--orange);
					color: #fff;
				}
			
				#menu nav ul li.current-menu-item.home a:before,
				#menu nav ul li.home a:hover:before {
					filter: brightness(0) invert(1);
					transition: all 0.2s ease;
				}
					
					
	#homeContent #slider {
		position: relative;
		display: block;
		width: 100%;
		height: 75vh;
	}

		#homeContent #slider .swiper-slide {
			position: relative;
			display: block;
			
			background-size: cover;
			background-repeat: no-repeat;
			background-position: 50% 50%;
		}
		
			#homeContent #slider .swiper-slide .slider_content {
				position: absolute;
				bottom: 50px;
				left: 50px;
				z-index: 10;
				width: 65%;
			}
			
			#homeContent #slider .swiper-slide .slider_content h2 {
				color: #fff;
				font-size: clamp(50px, 7vw, 85px);
				font-weight: 400;
				line-height: 1;
				text-shadow: 3px 3px #2c2d2d;
			}
		
	#homeContent #slider #pobierzPDF {
		display: block;
		width: 19%;
		height: 300px;
		clip-path: polygon(100% 0, 100% 100%, 0 56%);
		background: var(--orange);
		position: absolute;
		right: 30px;
		bottom: 0;
		z-index: 5;
		padding: 40px 15px 15px 15px;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
	}
		
		#homeContent #slider #pobierzPDF a {
			color: #fff;
			
			display: flex;
			width: 100%;
			align-items: flex-end;
			flex-direction: column;
			justify-content: center;
		}
			
		#homeContent #slider #pobierzPDF a:hover {
			color: #000;
		}
			
			#homeContent #slider #pobierzPDF strong {
				display: block;
				font-weight: 700;
				text-align: right;
			}
			
			#homeContent #slider #pobierzPDF span {
				display: block;
				padding-bottom: 10px;
				font-size: 14px;
			}
			
			#homeContent #slider #pobierzPDF img {
				display: block;
				width: 50px
			}
			
			
	#homeContent #kontakt {
		position: absolute;
		right: 0;
		top: 0;
		padding: 30px;
	}
	
		#homeContent #kontakt:before {
			content: "";
			
			position: absolute;
			z-index: -1;
			right: 0;
			top: 0;
			
			width: 0px;
			height: 0px;
			border-style: solid;
			border-width: 0 380px 200px 0;
			border-color: transparent #fff transparent transparent;
			transform: rotate(0deg);
		}
			
		#homeContent #kontakt .kontakt_inner {
			position: relative;
			z-index: 1;
			text-align: right;
			color: #fff;
			padding: 15px 15px 0 0 ;
		}
			
			#homeContent #kontakt .kontakt_inner:before {
				content: "";
				
				position: absolute;
				z-index: -1;
				right: 0;
				top: 0;
				
				width: 0px;
				height: 0px;
				border-style: solid;
				border-width: 0 380px 200px 0;
				border-color: transparent var(--orange) transparent transparent;
				transform: rotate(0deg);
			}
			
			#homeContent #kontakt .kontakt_inner strong {
				display: block;
				text-transform: uppercase;
				font-size: 16px;
				line-height: 1.2;
				
				padding-bottom: 12px;
			}
			
			#homeContent #kontakt .kontakt_inner a {
				display: block;
				color: #fff;
				font-size: 32px;
				line-height: 1;
				font-weight: bold;
			}
						
				#homeContent #kontakt .kontakt_inner a:hover {
					color: #000;
				}
				
			#homeContent #kontakt .kontakt_inner em {
				padding-top: 5px;
				display: block;
				line-height: 1;
				font-style: normal;
				font-weight: bold;
				font-size: 16px;
				opacity: 0.7;
			}
			
			
			
#homeBoxes {
	display: flex;
}
			
	#homeBoxes .witamy {
		flex-basis: 40%;
		
		padding: 0 30px;
		box-sizing: border-box;
	}
		
		#homeBoxes .witamy .witamy_inner {
			border-top: 6px solid #cfcfcf;
			padding: 30px 0;
			display: flex;
			align-items: flex-start;
			gap: 20px;
		}
		
		#homeBoxes .witamy figure {
			position: relative;
			flex-basis: 120px;
			max-width: 120px;
			min-width: 120px;
		}
		
			#homeBoxes .witamy figure:before {
				content: "";
				
				position: absolute;
				z-index: 1;
				right: 0;
				bottom: 0;
				
				display: block;
				width: 0px;
				height: 0px;
				border-style: solid;
				border-width: 0 0 60px 50px;
				border-color: transparent transparent #fff transparent;
				transform: rotate(0deg);
			}
			
			#homeBoxes .witamy figure img {
				display: block;
				width: 100%;
				height: auto;
			}
		
		#homeBoxes .witamy .txt {
			
		}
		
			#homeBoxes .witamy .txt strong {
				display: block;
				font-size: 18px;
				letter-spacing: 1px;
				padding-bottom: 15px;
			}
			

	#homeBoxes .licencja {
		flex-basis: 28%;
		padding: 30px 4%;
		box-sizing: border-box;
		border-left: 1px solid #cfcfcf;
		border-right: 1px solid #cfcfcf;
	}
		
		#homeBoxes .licencja strong {
			display: block;
			font-size: 18px;
			letter-spacing: 1px;
			text-align: center;
			padding-bottom: 15px;
		}
			
		#homeBoxes .licencja a {
			display: block;
			width: 100%;
			height: 160px;
			overflow: hidden;
			border: 2px solid #cfcfcf;
		}
			
		#homeBoxes .licencja a:hover {
			border: 2px solid var(--orange);
		}
			
			#homeBoxes .licencja a img {
				display: block;
				width: 100%;
				height: 100%;
				object-fit: cover;
				object-position: 50% 50%;
			}
			
	#homeBoxes .pobierzPDF {
		display: none !important;
	}
	
	#homeBoxes .kontakt {
		flex-basis: 32%;
		padding: 30px;
		box-sizing: border-box;
	}
		
		#homeBoxes .kontakt .skontaktujSie {
			background: var(--orange);
			display: block;
			width: 100%;
			height: 350px;
			clip-path: polygon(25% 0, 100% 40%, 100% 100%, 0 100%, 0 19%);
			
			position: relative;
			z-index: 5;
			margin-top: -150px;
			
			padding: 80px 40px 30px 40px;
			box-sizing: border-box;
			
			color: #fff;
			line-height: 1.4;
		}
			
			@media screen and (max-width: 1150px) {
				#homeBoxes .kontakt .skontaktujSie {
					padding: 90px 25px 25px 25px;
				}
			}
			
			#homeBoxes .kontakt .skontaktujSie strong {
				display: block;
				padding-bottom: 15px;
				font-size: 18px;
				letter-spacing: 1px;
				width: 150px;
				color: #fff;
				text-transform: uppercase;
			}
			
			#homeBoxes .kontakt .skontaktujSie a {
				color: #fff;
				font-weight: 600;
			}
			
			#homeBoxes .kontakt .skontaktujSie a:hover {
				color: #000;
			}
			
			
#subpageHeader {
	border: 1px solid var(--grey);
	padding: 30px;
	box-sizing: border-box;
}

	#subpageHeader #header {
		position: relative;
		z-index: 5;
		display: flex;
		gap: 0;
		align-items: center;
	}
			
		#subpageHeader #header #headerBG {
			position: absolute;
			z-index: 1;
			
			width: 100%;
			height: 100%;
			overflow: hidden;
			clip-path: polygon(22% 0, 78% 0, 75% 100%, 3% 100%);	
		}
		
		@media screen and (max-width: 1250px) {
			#subpageHeader #header #headerBG {
				clip-path: polygon(29% 0, 78% 0, 75% 100%, 5% 100%);
			}
		}
		
			#subpageHeader #header #headerBG figure {
				display: block;
				width: 100%;
				height: 100%;
			}
		
				#subpageHeader #header #headerBG figure img {
					display: block;
					width: 100%;
					height: 100%;
					object-fit: cover;
					object-position: 50% 50%;
				}
			
		#subpageHeader #header #headerMenu {
			flex-basis: 75%;
			align-self: stretch;
			position: relative;
			z-index: 5;
		}
						
			#subpageHeader #header #headerMenu #logo {
				display: block;
				width: 210px;
				padding-top: 20px;
			}
						
				#subpageHeader #header #headerMenu #logo a {
					display: block;
					width: 100%;
				}
						
					#subpageHeader #header #headerMenu #logo a img {
						display: block;
						width: 100%;
						height: auto;
					}
					
			#subpageHeader #header #headerMenu #menu {
				top: 110px;
				left: 25px;
			}
			
			#subpageHeader #header #headerMenu figure {
				display: block;
				
				position: absolute;
				z-index: -1;
				left: 0;
				top: 0;
				width: 100%;
				height: 100%;
			}
			
				#subpageHeader #header #headerMenu figure img {
					display: block;
					width: 100%;
					height: 100%;
					object-fit: cover;
					object-position: 50% 50%;
				}
			
		#subpageHeader #header #kontakt {
			flex-basis: 25%;
			padding: 25px 0;
		}
		
			#subpageHeader #header #kontakt > figure {
				display: none !important;
			}
		
			#subpageHeader #header #kontakt .kontakt_inner {
				background: var(--orange);
				padding: 20px 20px 20px 20px;
				box-sizing: border-box;
				color: #fff;
			}
			
			
			#subpageHeader #header #kontakt .kontakt_inner #kontaktDane {
				display: flex;
				flex-direction: column;
				text-align: right;
			}
			
				#subpageHeader #header #kontakt .kontakt_inner #kontaktDane strong {
					display: block;
					text-transform: uppercase;
					font-size: 15px;
					line-height: 1.2;
					
					padding-bottom: 5px;
				}
				
				#subpageHeader #header #kontakt .kontakt_inner #kontaktDane a {
					display: block;
					color: #fff;
					font-size: 28px;
					line-height: 1;
					font-weight: bold;
				}
							
					#subpageHeader #header #kontakt .kontakt_inner #kontaktDane a:hover {
						color: #000;
					}
					
				#subpageHeader #header #kontakt .kontakt_inner #kontaktDane em {
					padding-top: 5px;
					display: block;
					line-height: 1;
					font-style: normal;
					font-weight: bold;
					font-size: 14px;
					opacity: 0.7;
				}
				
				
			#subpageHeader #header #kontakt .kontakt_inner #pobierzPDF a {
				margin-top: 30px;
				display: grid; 
				grid-auto-columns: 1fr; 
				grid-template-columns: 85% 15%;
				grid-template-rows: auto auto; 
				gap: 0px 10px; 
				
				align-items: center;
				
				text-align: right;
				font-size: 14px;
				color: #fff;
			}
				
			#subpageHeader #header #kontakt .kontakt_inner #pobierzPDF a:hover {
				color: #000;
			}
				
				#subpageHeader #header #kontakt .kontakt_inner #pobierzPDF a strong {
					grid-area: 1 / 1 / 2 / 2;
					line-height: 1.3;
				}
				
				#subpageHeader #header #kontakt .kontakt_inner #pobierzPDF a span {
					grid-area: 2 / 1 / 3 / 2;
					opacity: 0.7;
					font-size: 12px;
				}
				
				#subpageHeader #header #kontakt .kontakt_inner #pobierzPDF a img {
					grid-area: 1 / 2 / 3 / 3;
					display: block;
					width: 100%;
					height: auto;
				}
				
#content.page {
	padding: 30px 30px 60px 30px;
	box-sizing: border-box;
}

	#content h2,
	#content h3 {
		display: block;
		padding: 25px 0 10px 0;
	}
				
	#content p {
		padding: 7px 0;
	}
				
	#content ul {
		padding: 5px 0 5px 25px;
	}
				
		#content ul li {
			padding: 3px 0;
		}
				
				
.wp-block-file {
	margin: 15px auto;
	width: 100%;
	max-width: 800px;
}
	
	.wp-block-file a {
		display: flex;
		align-items: center;
		width: 100%;
		padding: 12px 20px;
		box-sizing: border-box;
		
		border: 1px solid var(--grey);
	}

	.wp-block-file a:hover {
		border: 1px solid var(--orange);
	}
		
		.wp-block-file a .name {
			flex-grow: 1;
			font-weight: bold;
			font-size: 15px;
		}

		.wp-block-file a .filesize {
			flex-basis: 20%;
			color: #bbb;
		}

		.wp-block-file a .download {
			display: inline-block;
			padding: 5px 10px;
			background: var(--orange);
			color: #fff;
			font-weight: 600;
			
			margin-left: auto;
			transition: all 0.3s ease;
		}

		.wp-block-file a .download:hover {
			background: #000;
			transition: all 0.3s ease;
		}
			
.oferta {
	display: grid; 
	grid-auto-columns: 1fr; 
	grid-template-columns: repeat(2, 1fr); 
	grid-template-rows: repeat(2, 1fr); 
	gap: 40px 40px; 
	box-sizing: border-box;
	
	padding: 15px 0 !important;
}

	.oferta li {
		list-style: none;
		width: 100%;
	}

		.oferta li a {
			position: relative;
			display: block;
			width: 100%;
			height: 300px;
		}
		
		.oferta li a .title {
			position: absolute;
			display: inline-block;
			left: 0;
			top: 30px;
			background: var(--orange);
			color: #fff;
			font-size: 20px;
			padding: 7px 20px;
			transition: all 0.2s ease;
		}
		
		.oferta li a .more {
			position: absolute;
			display: inline-block;
			right: 0;
			bottom: 0px;
			background: var(--orange);
			color: #fff;
			font-size: 15px;
			padding: 5px 15px;
			transition: all 0.2s ease;
		}
		
		.oferta li a figure {
			display: block;
			width: 100%;
			height: 100%;
		}
			
			.oferta li a figure img {
				display: block;
				width: 100%;
				height: 100%;
				
				object-fit: cover;
				object-position: 50% 50%;
			}
			
		.oferta li a:hover {
			
		}
		
			.oferta li a:hover .title {
				background: #000;
				transition: all 0.2s ease;
			}
		
			.oferta li a:hover .more {
				background: #000;
				transition: all 0.2s ease;
			}
		
		
			
			
			
footer {
	padding: 20px 0;
	border-top: 1px solid var(--grey);
}
			
	footer .wp-block-columns {
		justify-content: space-between;
		font-size: 14px;
	}
	
		footer .wp-block-columns .wp-block-column:first-child {
			flex-basis: 80%;
		}
		
		footer .wp-block-columns .wp-block-column:last-child {
			flex-basis: 20%;
			min-width: 200px;
			text-align: right;
		}
		
		