.sub {
	padding-top: 180px;
}


.sub #navbar {
	background: #fff;
	border-bottom: 1px solid #f2f2f2;
}

.sub header .container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sub .navbar-nav a {
	color: #363636;
}

.sub header {
	background: linear-gradient(45deg, #f20d0d, #f25e0d);
	position: relative;
	min-height: 100px;
}

@media (max-width: 991px) {
	.sub header {
		min-height: 250px;
	}
}

.sub #main {
	padding: 100px 0;
}

.sub .langs>a>strong {
	color: #363636;
}

.sub .langs .caret {
	-webkit-filter: invert(1);
	filter: invert(1);
}

.sub .header_top {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	height: 100%;
}

.sub .header_top h1 {
	margin: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	line-height: 1em;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	color: #fff;
}

.sub .header_top h1 small {
	text-transform: uppercase;
	font-size: 0.875rem;
	letter-spacing: 1px;
	display: block;
	line-height: 1em;
}

.sub .header_top h1 span {
	display: block;
	line-height: 1.2em;
}

.sub .hero {
	display: block;
	width: 100%;
	-webkit-filter: grayscale(1);
	filter: grayscale(1);
}

.sub .hero+.header_top {
	background: rgba(0, 0, 0, 0.5) !important;
}

.sub .hero+.header_top h1 {
	color: #fff;
}

.subPage {
	background: #f1f4f7;
}

.subPage .col {
	width: 50%;
	max-width: 50%;
	margin: 0;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.subPage .col.thumb {
	display: flex;
	overflow: hidden;
	position: relative;
	align-items: center;
	justify-content: center;
	align-self: stretch;
}

.subPage .col.thumb img {
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
	transition: all 0.2s;
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
	.subPage .col.thumb img {
		min-height: 110%;
		min-width: auto;
		object-fit: cover;
		transition: all 0.2s;
	}
}

.subPage .col h2 {
	margin: 0;
}

.subPage .col h2:after {
	content: "";
	display: block;
	width: 60px;
	height: 2px;
	background: #F25E0D;
	margin: 30px 0;
}

.subPage .col img {
	display: block;
}

.subPage .content {
	padding: 110px;
}

.subPage.reversed .row {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
	background: linear-gradient(45deg, #f20d0d, #f25e0d);
	color: #fff;
}

.subPage.reversed .col:last-child h2 {
	color: #fff;
}

.subPage.reversed .col:last-child h2:after {
	background: #fff;
}

#galeria_realizacji {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 1fr;
	grid-template-columns: 1fr 1fr;
	grid-gap: 10px;
	margin-bottom: 10px;
}

#galeria_realizacji a {
	display: block;
	overflow: hidden;
	position: relative;
}

#galeria_realizacji a img {
	display: block;
	-webkit-transition: all 1s;
	transition: all 1s;
}

#galeria_realizacji a span {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

#galeria_realizacji a span small {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#galeria_realizacji a span strong {
	font-size: 2.625rem;
	font-family: metropolisbold, sans-serif;
	font-weight: 400;
	margin-top: 10px;
}

#galeria_realizacji a:hover img {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

#galeria_realizacji a:hover span {
	background: rgba(0, 0, 0, 0.2);
}

#galeria_realizacji a:first-child,
#galeria_realizacji a:nth-child(4n) {
	grid-column: span 2;
}

.produkty .col-5 .w-50 {
	width: calc(50% - 5px);
}

.produkty .col-5.gallery a {
	margin-right: 0;
	width: 100%;
	max-width: 100%;
	flex-basis: 100%;
	margin-bottom: 0;
}



#main a.text-white {
	color: white !important;
}