@import url('https://fonts.googleapis.com/css?family=Lato:700,900i&subset=latin-ext');
* {	box-sizing: border-box; }

body {
	margin: 0;
	font-family: "Lato","Open Sans", "Roboto", Arial, sans-serif;
	background: #f8f8f8;
}

h2 { 
	margin-top: 0;
	text-align: center;
	font-style: italic;
	font-size: 34px;
	font-weight: 900;
}

hr {
	border-width: 2px 0 0 0;
	border-color: #fff;
	border-style: solid;
}

p {
	font-size: 18px;
}

/**** Header ****/
header {
	height: 100vh;
	padding: 30px 15px;
	background-image: url('./img/bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	color: #fff;
}
header .container-large{
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}
header .nawigacja {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
header .nawigacja ul, 
header .nawigacja ul > li {
	padding: 0;
	list-style-type: none;
}
header .nawigacja ul > li {
	display: inline-block;
	margin: 0 15px;
}
header .nawigacja ul > li:last-child { margin-right: 0; }
header .nawigacja ul > li:first-child { margin-left: 0; }

header a {
	color: #fff;
	text-decoration: none;
}

input#navtoggle {
	display: none;
	opacity: 0;
	visibility: hidden;
}
#logo svg {
	height: 70px;
}
#logo path.cls-1{
	fill:#f8f8f8;
}
header .nawigacja ul > li.logo {
	display: none;
}
@media screen and (min-width: 801px){
	label[for="navtoggle"] {display: none;}
}
@media screen and (max-width: 800px){
	input#navtoggle + label[for="navtoggle"] {
		display: flex;
		user-select: none;
		width: 40px;
		height: 40px;
		align-items: center;
		justify-content: center;
		z-index: 1010;
		position: fixed;
		top: 10px;
		background: #f8f8f8;
		right: 10px;
	}
	input#navtoggle + label[for="navtoggle"] svg {
		width: 24px;
		height: auto;
	}
	input#navtoggle + label[for="navtoggle"] .cls-1 {
		fill:#bbb;
	}
	input#navtoggle:checked + label[for="navtoggle"] {
		background: #ccc;
	}
	input#navtoggle:checked + label[for="navtoggle"] .cls-1{
		fill:#fff;
	}
	nav {
		height: 80px;
		text-align: right;
	}
	input#navtoggle:checked ~ ul {
		left: 0%;
	}
	header .nawigacja {
		z-index: 1000;
	}
	header .nawigacja ul > li {
		display: block;
		margin: 10px 0;
		font-size: 160%;
	}
	header .nawigacja ul > li a {
		color: #aaa;
	}
	header .nawigacja ul {
		margin: 0;
		padding: 15px;
		clear: both;
		position: fixed;
		top: 0;
		left: 100%;
		width: 100%;
		right: auto;
		bottom: 0;
		background: #f8f8f8;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: nowrap;
		flex-direction: column;
		z-index: 1000;
		transition: left .25s ease-in-out;
	}
	.nawigacja {
		position: fixed;
		top:0;
		left: 0;
		right: 0;
		height: 60px;
		background: #f8f8f8;
		box-shadow: 0 0 8px rgba(0,0,0,.07);
	}
	#logo svg {
		max-width: 80%;
		height: 40px;
		display: block;
		margin-left: 10px;
	}
	li.logo svg,
	#logo path.cls-1 {
		fill:#aaa;
	}
	header .nawigacja ul > li.logo {
		margin-top: 30%;
		display: block;
	}
	li.logo svg {
		height: 30px;
	}
}

/**** O nas ****/
#onas {
	text-align: center;
	color: #f68787;
	padding: 80px 15px;
	line-height: 1.45;
	font-weight: 700;
}
#onas .container-small {
	max-width: 780px;
}
/**** Ofera ****/
#oferta {
	background: #e23f3f;
	padding: 50px 15px;
	color: #fff;
	background-image: url('./img/oferta.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

#oferta .linia {position: relative;}
#oferta .linia:before,
#oferta .linia:after {
	position: absolute;
	top: -10px;
	height: 35px;
	background-size: auto 35px;
	background-repeat: no-repeat;
	width: 150px;
	content: "";
}

#oferta .linia:before {
	background-image: url('./img/linial.svg');
	background-position: left;
	left: -5px;
}
#oferta .linia:after {
	background-image: url('./img/liniap.svg');
	background-position: right;
	right: -5px;
}


#oferta h2 {
	font-size: 63px;
}

.blocks-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	flex-direction: row;
	margin: 60px 0;
	width: 100%;
}
.blocks-container .block-item {
	width: 192px;
	height: 260px;
	background: #fff;
	color: #58bb4c;
	padding: 15px;
	font-size: 18px;
	margin: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	font-weight: bold;
	position: relative;
	text-align: center;
	text-transform: uppercase;
}

.blocks-container .block-item:before {
	background-image: url('./img/wzorek.png');
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	content: "";
}

.blocks-container .block-item hr {
	border-color: #58bb4c;
	width: 60%;
	margin: 30px 0;
}


/**** Mapa ****/
#mapa > div {
	padding: 100px 0 110px;
	border-bottom: 2px solid #dadada;
}
#mapa iframe {
	width: 100%;
}

/**** Formularz ****/
#formularz {
	padding: 100px 15px;
}
#formularz h2 {
	color: #f68787;
}
#formularz form textarea,
#formularz form input {
	outline: 0;
}
#formularz form textarea {
	width: 100%;
	display: block;
	margin-bottom: 15px;
	border: 2px solid #d9d9d9;
	border-radius: 2px;
	color: #808080;
	background: #f8f8f8;
	min-height: 120px;
	resize: vertical;
	font-family: inherit;
	padding: 8px;
}

#formularz form .inline-form {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
}
#formularz form .inline-form > div {
	width: calc(33.3333333334% - 10px);
}
#formularz form .inline-form > div input,
#formularz form .inline-form > div button {
	display: block;
	width: 100%;
	border: 2px solid #d9d9d9;
	border-radius: 2px;
	padding: 5px;
	text-align: center;
	background: #f8f8f8;
	color: #999;
	font-weight: bold;
}
#formularz form .inline-form > div > button {
	background: #f68787;
	border-color: transparent;
	color: #fff;
	cursor: pointer;
}
::-webkit-input-placeholder { color: #c0c0c0; transition: color .2s ease;}
		 ::-moz-placeholder { color: #c0c0c0; transition: color .2s ease;}
	 :-ms-input-placeholder { color: #c0c0c0; transition: color .2s ease;}
	      :-moz-placeholder { color: #c0c0c0; transition: color .2s ease;}
:focus::-webkit-input-placeholder { color: transparent; }
		 :focus::-moz-placeholder { color: transparent; }
	 :focus:-ms-input-placeholder { color: transparent; }
	      :focus:-moz-placeholder { color: transparent; }


footer {
	padding: 50px 15px;
	background: #f0f0f0;
	color: #888;
	font-size: 14px;
}
footer h3 {
	font-size: 26px;
	margin: 0;
}
footer ul, 
footer ul > li {
	padding: 0;
	list-style-type: none;
}
footer ul > li {
	padding: 3px 0;
}

footer .blocks {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
}
footer .blocks > div {
	padding: 15px 0;
}

@media screen and (max-width: 800px){
	p {font-size: 16px;}
	h2 { font-size: 26px; }
	footer .blocks { flex-direction: column; }
	footer .blocks > div { 
		width: 100%;
		padding: 15px 0;
	}
	footer > div > div {text-align: center;}
}
@media screen and (max-width: 630px){
	#formularz form .inline-form {
		flex-wrap: nowrap;
		flex-direction: column;
	}
	#formularz form .inline-form > div {
		width: 100%;
		margin-bottom: 14px;
	}
	#formularz form .inline-form > div input,
	#formularz form .inline-form > div button {
		padding: 10px;
	}
}
.error {
	color: #f68787;
	font-size: 13px;
}
.error:empty {
	display: none;
}

/**** Klasy ****/
.container-small,
.container-medium,
.container-large {
	margin: 0 auto;
}
.container-small { max-width: 630px; }
.container-medium { max-width: 1064px; }
.container-large { max-width: 1280px; }