.wrap {
	width: 100%;
	position: relative;
	box-sizing: border-box;	
	padding: 75px 250px;
}

h1, h2 {
	font-size: 42px;
	line-height: 50px;
	font-weight: 400;
	margin-bottom: 30px;
	color: black;
}

h2 figure {
	display: block;
	width: 60px;
	height: 5px;
	position: relative;
	margin-top: 15px;
	margin-bottom: 40px;
}

h2.has-text-align-center figure {
	margin-left: auto;
	margin-right: auto;
}
h2.has-text-align-right figure {margin-left: auto}

h3 {
	font-size: 24px;
	line-height: 28px;
	font-weight: 700;
	margin-bottom: 15px;
	color: black;
}

h4 {
	font-size: 17px;
	line-height: 24px;
	font-weight: 700;
	color: #353535;
	margin-bottom: 10px;
}

strong {font-weight: 600}

em {font-style: italic}

.opacity-hover a:hover {opacity: 0.6}

.wp-block-spacer {height: 20px !important}

.bc-lightgrey {background-color: #F7F7F7}

#menu {
	position: fixed;
	top: 0;
	z-index: 100;
	box-sizing: border-box;
	padding-top: 25px;
	padding-bottom: 25px;
	width: 100%;
	background: white;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

#under-menu {
	width: 100%;
	height: 100px;
}

#menu-home-link {
	position: relative;
	display: block;
	width: 190px
}

#menu-home-link img {
	width: 100%;
	display: block;
}

#hamburger {
	position: absolute;
	float: right;
	width: 30px;
	height: 30px;
	top: 10px;
	right: 30px;
	background-image: url(../img/hamburger.png);
	background-size: 100%;
	display: none;
}
#hamburger.clicked {background-position: 0 100%}

#menu-cont ul {
	list-style: none;
	margin-top: 5px;
}

#menu-cont li {
	display: inline-block;
	margin-left: 20px;
	position: relative;
	text-align: center;
}

#menu-cont li a {font-weight: 700}

footer .iwrap {
	padding-top: 30px;
	border-top: 1px solid #c0c0c0;
	text-align: left;
	font-size: 10px;
	position: relative;
}

footer a {color: inherit}

#footer-sociale {
	position: absolute;
	top: -30px;
	right: 0;
}

#footer-sociale figure {display: inline-block}

#footer-sociale p {display: none}

#footer-sociale a {
	display: inline-block;
	margin-left: 5px;
	height: 16px;
	background-position: center top;
}

#footer-sociale a img {
	display: block;
	height: 100%;
}

#scroll-top {
	position: fixed;
	z-index: 99;
	bottom: 50px;
	right: 38px;
	width: 32px;
	height: 32px;
	border: 1px solid #959595;
	border-radius: 50%;
	background-color: white;
	background-image: url('../img/scroll-top.png');
	background-size: 100%;
	display: none;
}
#scroll-top:hover {background-color: #EBECEC}

#ciasteczka {
	position: fixed;
	z-index: 145;
	bottom: 0;
	left: 0;
	box-sizing: border-box;
	padding-top: 20px;
	padding-bottom: 15px;
	width: 100%;
	font-size: 11px;
	line-height: 13px;
	text-align: center;
}

#ciasteczka-close {
	display: table;
	width: 18px;
	height: 18px;
	position: absolute;
	top: 10px;
	right: 20px;
	cursor: pointer;
	background-image: url(../img/ciasteczka-close.png);
	background-size: 100%;
}

#ciasteczka a{color: #6C6A6A !important}

#ciasteczka a:hover {text-decoration: underline}

#error404 {
	width: 100%;
	height: calc(var(--vh, 1vh) * 100);
	background-image: url('../img/404-bg.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

#error404 > div {
	background: rgba(255,255,255,0.8);
	box-sizing: border-box;
	padding: 70px 140px;
	width: 100%;
	max-width: 800px;	
}

#error404 img {
	width: 100%;
	margin-bottom: 50px;
}



/*GRID: 1440px */
@media all and (max-width: 1440px) {
	
.wrap {padding: 75px 150px}	
	
}


/*GRID: 1280px */
@media all and (max-width: 1280px) {
	
.wrap {padding: 75px 100px}	

h1, h2 {
	font-size: 36px;
	line-height: 46px;
	margin-bottom: 20px;
}

h3 {
	font-size: 22px;
	line-height: 26px;
	margin-bottom: 10px;
}		
	
#menu-home-link {width: 150px}	

#under-menu {height: 86px}

#error404 > div {padding: 50px 100px}
	
}


/*GRID: 1024px */
@media all and (max-width: 1024px) {
	
.wrap {padding: 50px 50px}		

#scroll-top {
    bottom: 33px;
    right: 34px;
	background-color: white !important;
}

#menu {
    padding-top: 20px;
    padding-bottom: 20px;
}

#under-menu {height: 76px}
	
}


/*GRID: 768px */
@media all and (max-width: 768px) {
	
.wrap {padding: 50px 20px}

h1, h2 {
	font-size: 32px;
	line-height: 40px;
	margin-bottom: 15px;
}

h3 {
	font-size: 20px;
	line-height: 24px;
	margin-bottom: 10px;
}	

#scroll-top {
    bottom: 20px;
    right: 20px;
    width: 30px;
	height: 30px;
}

#error404 > div {padding: 30px 60px}
	
}


/*GRID: 568px */
@media all and (max-width: 568px) {
	
.wrap {padding: 40px 20px}	

h1, h2 {
	font-size: 28px;
	line-height: 36px;
	margin-bottom: 15px;
}

h2 figure {
    width: 40px;
    height: 4px;
    margin-top: 10px;
    margin-bottom: 20px;
}

h3 {
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 10px;
}

h4 {
	font-size: 15px;
	line-height: 20px;
}

#menu {
    padding-top: 15px;
    padding-bottom: 15px;
}

#under-menu {height: 59px}

#menu-home-link {width: 120px}

#hamburger {
	width: 26px;
	height: 26px;
	right: 20px;
	top: 18px;
	display: block
}

#menu-cont {
	position: absolute;
	width: 100%;
	box-sizing: border-box;
	padding: 50px 20px 50px;
	float: none;
	top: 59px;
	right: 0;
	z-index: 101;
	background: white;
	display: none;
	height: auto;
}

#menu-cont li a {font-size: 15px}

#menu-cont ul {
	margin-top: 0;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	align-content: center;	
}

#menu-cont li {
	margin-left: 20px;
	margin-right: 20px;
	width: 100%;
	height: 10%;
	min-height: 30px;
	max-height: 50px;
	box-sizing: border-box;
}

#error404 > div {padding: 15px 30px}

#error404 img {margin-bottom: 20px}	
	
}

/*GRID: 440px */
@media all and (max-width: 440px) {
	
.wrap {padding: 40px 15px}	

h3 {margin-bottom: 15px}

#scroll-top {
    bottom: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
}

#menu {
    padding-top: 10px;
    padding-bottom: 10px;
}

#under-menu {height: 48px}

#hamburger {
	width: 25px;
	height: 25px;
	right: 15px;
	top: 13px;
}

#menu-cont {top: 48px}
	
}