@media screen and (max-height:777px) and (min-width:982px) {
	#header_top h1 {
		font-size: 9vh;
		margin-top: 5vh;
	}
}

@media screen and (max-height:620px) and (min-width:982px) {
	#header_top p {
		margin-bottom: 10vh
	}

	#header_top a {padding-top: 5vh; display: block;}
}

@media screen and (max-width:1680px) {
	header .swiper-slide img {
		width: 100%
	}
}

@media screen and (max-width: 1400px) {
	.logo img {height: 55px;}
	.email span,
	.tel span {display: none;}
}

@media screen and (max-width:1280px) {
	#header_top h1 {
		font-size: 9vh
	}
}

@media screen and (max-width:1199px) {
	.container {
		max-width: 94%
	}

	#main img {
		max-width: 100%;
		height: auto;
		display: block;
		margin: 0
	}

	.dane {
		flex-direction: column;
		align-items: flex-end
	}

	#navbar .email img, #navbar .tel img {
		margin-right: 5px
	}

	#navbar .email img {
		height: 16px
	}

	#navbar .tel {
		margin-top: 5px
	}

	#navbar .tel img {
		height: 18px
	}

	.home .h1, .home h1 {
		font-size: 4rem
	}

	.home .h2, .home h2 {
		font-size: 3.66667rem
	}

	#boxes a .caption strong {
		font-size: 1.3rem
	}

	#boxes .col-3 {
		width: calc(99.99% * 6 / 12 - (30px - 30px * 6 / 12));
		max-width: calc(99.99% * 6 / 12 - (30px - 30px * 6 / 12));
		-ms-flex-preferred-size: calc(99.99% * 6 / 12 - (30px - 30px * 6 / 12));
		flex-basis: calc(99.99% * 6 / 12 - (30px - 30px * 6 / 12));
		margin-right: 30px;
		margin-bottom: 30px
	}

	#boxes .col-3:nth-child(2n) {
		margin-right: 0
	}

	#boxes a {
		max-height: 50vh
	}

	#boxes a .caption small {
		font-size: .8rem;
		line-height: 1.3em
	}

	.logo img {height: 45px;}
}

@media screen and (max-width:1023px) {
	.navbar__toggler {
		display: block;
		padding: 4px;
		margin-left: 30px;
		border: 1px solid #ffcb01;
		background: 0 0;
		-webkit-transition: all .2s;
		transition: all .2s
	}

	.navbar__toggler span {
		width: 30px;
		height: 3px;
		display: block;
		background: #ffcb01;
		margin: 4px;
		-webkit-transition: all .2s;
		transition: all .2s
	}

	.navbar__toggler.show {
		border-color: transparent;
		padding: 0
	}

	.navbar__toggler.show span:nth-child(2) {
		opacity: 0;
		height: 0
	}

	.navbar__toggler.show span:first-child {
		-webkit-transform: rotate(-45deg) translateY(4.5px);
		transform: rotate(-45deg) translateY(4.5px)
	}

	.navbar__toggler.show span:last-child {
		-webkit-transform: rotate(45deg) translateY(-4.5px);
		transform: rotate(45deg) translateY(-4.5px)
	}

	.navbar-nav {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 50vw;
		min-width: 270px;
		height: 100vh;
		overflow-y: auto;
		background: rgba(0, 0, 0, .9);
		-webkit-box-shadow: 10px 0 15px rgba(0, 0, 0, .1);
		box-shadow: 10px 0 15px rgba(0, 0, 0, .1);
		-webkit-transition: all .2s;
		transition: all .2s;
		-webkit-transform-origin: left;
		transform-origin: left;
		-webkit-transform: scaleX(0);
		transform: scaleX(0);
		opacity: 0
	}

	.navbar-nav.show {
		-webkit-transform: scaleX(1);
		transform: scaleX(1);
		opacity: 1
	}

	.navbar-nav a, .navbar-nav li {
		display: block;
		width: 100%;
		margin: 0
	}

	.navbar-nav a::after, .navbar-nav li::after {
		display: none
	}

	.navbar-nav a {
		width: calc(100% - 30px);
		padding: 15px;
		border-top: 1px solid rgba(255, 255, 255, .2);
		color: #fff
	}

	.navbar-nav a.active, .navbar-nav a:focus, .navbar-nav a:hover {
		background: #ffcb01;
		color: #fff
	}

	.navbar-nav .dropdown {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		-webkit-box-shadow: none;
		box-shadow: none;
		background: rgba(0, 0, 0, .05);
		max-height: 0
	}

	.navbar-nav .dropdown a.active, .navbar-nav .dropdown a:focus, .navbar-nav .dropdown a:hover {
		background: #a48300 !important;
		color: #fff
	}

	.navbar-nav li:hover>.dropdown {
		max-height: 100%
	}

	#header_top p {
		font-size: 1.5rem
	}

	#boxes a .caption small {
		display: none;
		opacity: 1;
		line-height: 1.4em
	}

	#boxes a .caption {
		background: rgba(0, 0, 0, .6)
	}

	main>iframe {
		display: block;
		height: 50vh
	}

	.table-responsive {
		width: 100%;
		overflow-x: auto
	}

	#header_top h1 {
		font-size: 3rem
	}

	.namiot {
		display: none
	}

	.sub header {
		height: 200px;
		background-size: cover;
		background-position: right
	}

	aside .card.horizontal {
		align-items: flex-start
	}

	aside .card_img {
		width: 120px;
		margin-right: 15px
	}

	aside .card_body {
		width: calc(100% - 135px)
	}
}

@media screen and (max-width:800px) {
	#dlaczego .col-5, #dlaczego .col-6, #kontaktuj .col-6, #main .col-3, #main .col-9 {
		width: 100%;
		max-width: 100%;
		-ms-flex-preferred-size: 100%;
		flex-basis: 100%;
		margin-right: 0
	}

	.home .h1, .home h1 {
		font-size: 2rem
	}

	#boxes a>img {
		width: 100%;
		height: 50vh;
		object-fit: cover;
		object-position: center
	}

	article.col-8, aside.col-4 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
		margin-right: 0
	}

	aside h4 {
		margin-bottom: 30px
	}

	aside .card.horizontal {
		align-items: center
	}

	#header_top .col-6 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
		margin-right: 0;
	}
}

@media screen and (max-width:768px) {
	#boxes .col-3, #main .col-4, #main .col-8 {
		width: 100%;
		max-width: 100%;
		-ms-flex-preferred-size: 100%;
		flex-basis: 100%;
		margin-right: 0
	}

	#boxes a .caption small {
		line-height: 1.7em
	}
}

@media screen and (max-width:640px) {
	.five-cols a {
		max-width: calc(100% * 1 / 3 - (30px - 30px * 1 / 3));
		width: calc(100% * 1 / 3 - (30px - 30px * 1 / 3));
		-ms-flex-preferred-size: calc(100% * 1 / 4 - (30px - 30px * 1 / 2));
		flex-basis: calc(100% * 1 / 3 - (30px - 30px * 1 / 3));
		margin-right: 30px
	}

	.five-cols a:nth-child(5n) {
		margin-right: 30px
	}

	.five-cols a:nth-child(3n) {
		margin-right: 0
	}

	.grid-3 .col-4 {
		max-width: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		width: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		-ms-flex-preferred-size: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		flex-basis: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		margin-right: 30px
	}

	.grid-3 .col-4:nth-child(3n) {
		margin-right: 30px !important
	}

	.grid-3 .col-4:nth-child(2n) {
		margin-right: 0 !important
	}
}

@media screen and (max-width:600px) {
	.four-cols a {
		max-width: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		width: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		-ms-flex-preferred-size: calc(100% * 1 / 4 - (30px - 30px * 1 / 2));
		flex-basis: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		margin-right: 30px
	}

	.four-cols a:nth-child(2n) {
		margin-right: 0
	}

	form fieldset.col {
		width: 100%;
		max-width: 100%;
		-ms-flex-preferred-size: 100%;
		flex-basis: 100%;
		margin-right: 0
	}

	#main .col-5, #main .col-7 {
		width: 100%;
		max-width: 100%;
		-ms-flex-preferred-size: 100%;
		flex-basis: 100%;
		margin-right: 0
	}

	.logo img {
		height: 50px
	}

	.sub header .swiper-slide img {
		width: 100%;
		height: 30vh;
		object-fit: cover;
		object-position: center
	}
}

@media screen and (max-width:480px) {
	.three-cols a {
		max-width: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		width: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		-ms-flex-preferred-size: calc(100% * 1 / 4 - (30px - 30px * 1 / 2));
		flex-basis: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		margin-right: 30px
	}

	.three-cols a:nth-child(3n) {
		margin-right: 30px
	}

	.three-cols a:nth-child(2n) {
		margin-right: 0
	}

	.five-cols a {
		max-width: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		width: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		-ms-flex-preferred-size: calc(100% * 1 / 4 - (30px - 30px * 1 / 2));
		flex-basis: calc(100% * 1 / 2 - (30px - 30px * 1 / 2));
		margin-right: 30px
	}

	.five-cols a:nth-child(3n) {
		margin-right: 30px
	}

	.five-cols a:nth-child(2n) {
		margin-right: 0
	}

	#main .col-6 {
		width: 100%;
		max-width: 100%;
		-ms-flex-preferred-size: 100%;
		flex-basis: 100%;
		margin-right: 0
	}

	footer .cb {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column
	}

	.madeby {
		margin-top: 15px
	}

	.dane {
		display: none
	}

	.navbar__toggler {
		margin-left: 0
	}

	#header_top .col-6 {
		width: 80%;
		max-width: 80%;
		flex-basis: 80%
	}

	footer span {
		text-align: center
	}

	#header_top h1 {
		font-size: 2.5rem
	}
}

@media screen and (max-width:435px) {
	#boxes a, #boxes a>img {
		height: 65vh;
		max-height: 65vh
	}

	.grid-3 .col-4 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
		margin-right: 0 !important
	}
}

@media screen and (max-width:414px) {
	.container {
		max-width: 90%
	}

	.sub .h1, .sub h1 {
		font-size: 2.5rem
	}
}

@media screen and (max-width:375px) {
	.downloads a {
		padding: 15px;
		width: calc(100% - 30px);
		margin-bottom: 15px
	}

	.downloads .text strong {
		line-height: 1.3em
	}

	.downloads a img {
		max-width: 25px;
		margin-right: 15px
	}

	aside .card.horizontal {
		align-items: flex-start
	}
}

@media screen and (max-width:320px) {
	.logo img {
		height: 40px !important
	}

	#header_top .col-6 {
		width: 90%;
		max-width: 90%;
		flex-basis: 90%
	}

	#boxes a .caption small {
		line-height: 1.5em;
		font-size: .75rem
	}
}