.sub {
	padding-top: 120px;
}
.sub #navbar {
	height: 120px;
	background: #fff;
	border-bottom: 1px solid #f2f2f2;
}
.sub .navbar-nav a {
	color: #363636;
}
.sub header {
	background: black;
	position: relative;
    height: 250px;
    display: flex;
    align-items: center;
}

.sub header .swiper-slide  {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub .header_top .container {
    justify-content: center;
}

.sub .header_top .container h1 {
    color: white;
}

.about-us main {
    background: #f4f4f4;
}

.sub main {
    padding: 80px 0;
}

.about-us main {
	background: #f4f4f4;
	padding-bottom: 0px;
}

.about-us #main {
    padding-bottom: 80px;
}

.sub #galeria {
	margin-top: -70px;
	/* margin-bottom: -70px; */
}


.sub.room #galeria {
	margin-top: 70px;
	/* margin-bottom: -80px; */
}


.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: #363636;
}
.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 .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 h3 {
	margin: 0;
}
.subPage .col h3:after {
	content: "";
	display: block;
	width: 60px;
	height: 2px;
	background: #363636;
	margin: 30px 0;
}
.subPage .col img {
	display: block;
}
.subPage .content {
	padding: 110px;
}

.subPage .row {
    background: #fff;
}

.subPage.reversed .row {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
	background: linear-gradient(60deg, #f12711, #f5af19);;
	color: #fff;
}
.subPage.reversed .col:last-child h3 {
	color: #fff;
}
.subPage.reversed .col:last-child h3: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;
}

.subPage {
	position: relative;
}

.hashlink {
 	height: 150px;
 	visibility: hidden;
 	position: absolute;
	 top: -150px;
	 left: 0;
	 width: 100%;
	 display: block;
}
