/*==========  Non-Mobile First Method  ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
.icon-menu {
	display: flex;
}
.menu {
	display: none;
}
img {
	max-width: 100%;
}
.wrap {
	width: 100%;
	padding: 0 30px;
	box-sizing: border-box;
}
.wrapper2 {
	width: 100%;
	padding: 0 30px;
	box-sizing: border-box;
}
.logo a h1 {
	margin-bottom: 0px;
}
table {
	overflow-x: auto;
	display: block;
}
iframe {
	width: 100%;
}
.header {
	padding: 0 30px;
}
.phone {
	margin-left: auto;
}
.header-inner {
	gap: 20px;
}
}
/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
.grid-item.main-item {
	grid-column: span 4;
	grid-row: span 2;
}
.grid-item {
	grid-column: span 2;
	grid-row: span 1;
}
.dlaczego-box ul li {
	background: #7A7A7A;
	position: relative;
	display: flex;
	min-height: auto;
	overflow: hidden;
	flex-direction: column;
	padding: 30px;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.dlaczego-box ul li div {
	padding: 0;
}
}
/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
.aside, .bside, .bmain, .main {
	width: 100%;
	padding-left: 0;
}
.phone {
	display: none;
}
.aside {
	margin-bottom: 0
}
.article.formularz {
	display: block;
}
.mapa, .from-bg {
	margin-bottom: 50px;
}
.heading-wrap {
	flex-direction: column;
}
.flex {
	display: flex;
	gap: 30px;
	flex-direction: column;
}
.dlaczego-box ul {
	grid-template-columns: repeat(1, 1fr);
}
.dlaczego-box ul li:nth-child(3) {
	background: #666666;
}
.dlaczego-box ul li:nth-child(4) {
	background: #7a7a7a;
}
#cookies_warning {
	bottom: 0;
	right: 0;
	max-width: 100%;
}
.sponsor-box-inner {

  grid-template-columns: 1fr;

}
}
/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
.footer-inner {
	float: left;
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 60px;
	flex-direction: column;
	gap: 30px;
	text-align: center;
}
ul.foot-nav {
	grid-template-columns: repeat(1, 1fr);
}
.kambit {
	flex-direction: column;
	text-align: center;
}
.from-bg {
	padding: 25px;
}
.form-data > div:nth-child(3), .form-data > div:nth-child(4) {
	flex-basis: 100%;
}
.grid-item {
	grid-column: span 4;
	grid-row: span 1;
}
}
/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
}
