body {
	background-color: #F7F7F7;
	font-family: "Jost", serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	color: #404040;
}

h1, h2, h3 {
	font-size: 34px;
}

h4 {
	font-size: 26px;
}

h5 {
	font-size: 24px;
}

h6 {
	font-size: 20px;
}

#homeBaner {
	height: 100vh;
	max-height: 837px;
	background-size: cover;
}

.tlo {
	background-color: rgba(232, 232, 232, .6);
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
}

#homeBaner .container-fluid, #homeBaner .container {
	z-index: 10;
	position: relative;
}

a {
	color: inherit;
	text-decoration: none;
	padding-bottom: 1px;
	border-bottom: 1px solid transparent;
	outline: none;
}

a:hover {
	border-color: #404040;
	color: inherit;
}

.nolink {
	padding-bottom: 0;
	border-bottom: 0;
}

.button1 {
	border: 1px solid #404040;
	background-color: #404040;
	color: #fff;
	padding: 7px 48px;
	transition: .5s;
	text-align: center;
}

.button1:hover {
	border: 1px solid #404040;
	background-color: #fff;
	color: #404040;
	transition: .5s;
}

h1, h2, h3, h4, h5, h6, p, ul, ol {
	margin: 0 0 45px 0;
}

.p-top {
	padding-top: 140px;
}

.p-bottom {
	padding-bottom: 140px;
}

.tekstowy p:last-child {
	margin-bottom: 0;
}

.box {
	border-top: 1px solid #404040;
	border-bottom: 1px solid #bfbfbf;
	height: 100%;
	display: block;
}

.box2 {
	height: 100%;
}

.menu {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

header {
	z-index: 90;
	width: 100%;
}

header .menu {
	flex-direction: row;
}

header .menu li {
	margin-right: 30px;
}

header .menu li.current-menu-item a, header .menu li a:hover {
	border-color: #000;
}

footer .menu, .overlay .menu {
	flex-direction: column;
}

.wpcf7-text {
	width: 100%;
	background-color: #fff;
	outline: none;
	padding: 10px;
	border: 1px solid #fff;
	margin: 0 0 20px 0;
}

.wpcf7-list-item {
	margin: 0 0 20px 0!important;
	font-size: 13px;
	line-height: 32px;
}

.big {
	font-size: 26px;
	line-height: 40px;
}

@media (max-width: 1000px) {
	.big {
		font-size: 19px;
		line-height: 33px;
	}
	footer p {
		margin-bottom: 10px;
		/*font-weight: bold;*/
		text-align: center;
	}
	footer .menu li {
		text-align: center;
	}
	.p-top {
		padding-top: 60px;
	}
	.p-bottom {
		padding-bottom: 60px;
	}
	#homeBaner {
		padding: 10vh 0;
		height: unset;
	}
	h1, h2, h3, h4, h5, h6, p, ul, ol {
		margin: 0 0 20px 0;
	}
	.box {
		border-bottom: 0;
		text-align: center;
	}
	.last.box {
		border-bottom: 1px solid #bfbfbf;
		padding-bottom: 2rem;
	}
	h1 {
		font-size: 31px;
	} 
	h2, h3 {
		font-size: 29px;
	}
	h4 {
		font-size: 24px;
	}
	h5 {
		font-size: 22px;
	}
	h6 {
		font-size: 19px;
	}
}

@media (min-width: 1000px) {
	.pading {
		padding-right: 80px;
	}
}

@media (min-width: 1500px) {
	.container {
		max-width: 1360px!important;
	}
	.container-fluid {
		max-width: 1780px!important;
	}
}

#nawigacja {
  float: left;
}

.menu-bar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.bar {
  width: 100%;
  height: 1px;
  background-color: #000;
  transition: transform 0.3s ease-in-out;
}

.bar:nth-child(2) {
/*  width: 40px;*/
/*  margin-left: -10px;*/
}

.menu-open .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}

.menu-open .bar:nth-child(2) {
  opacity: 0;
}

.menu-open .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  background-color: rgb(255,255,255);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 15%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 0;
  text-decoration: none;
  font-size: 28px;
  color: #000;
  display: block;
  border: 0;
  margin-bottom: 30px;
}

.overlay .menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

iframe {
	width: 100%;
}

@media (max-width: 600px) {
	.button1 {
		padding: 7px 28px;
	}
}

.justify-text {
    text-align: justify;
}