html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;	
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

.floatfix:after {
content:'';
display: block;
clear: both;
}

.contener {
	width: 80%;
	max-width: 998px;
	margin: 0 auto;
}
  
html {
font-size: 16px;
}

body {
background: #008081;
}

header {
width: 100%;
height: 70px;
border-bottom: 2px solid #C0C0C0;
}

header img {
float: left;
margin: 10px 0 0 0px;
}

header p {
float: right;
margin: 10px 75px 0 0;
text-align: center;
font-weight: bold;
line-height: 1.5;
}

p, a, form {
font-family:  verdana, tahoma;
font-size: 12px;
color: #C0C0C0;
text-decoration: none;
}

h1 {
font-family:  verdana, tahoma;
font-size: 16px;
color: #C0C0C0;
font-weight: bold;
margin: 20px 0 0 40px;
}	


div#penel-lewy{
width: 250px;
float: left;
} 

nav {
margin: 6px 0 0 4px;
}

nav a {
display: block;
width: 232px;
height: 18px;
background: url(../grafika/odsylacz_tlo.jpg) right;
border-bottom: 1px dotted black;
font-weight: bold;
color: #BBDB88;
text-decoration: none;
padding: 4px 0 0 8px;
}

nav a:hover {
color: #C60B1D;
}

div#penel-glowny {
width: 748px;
float: right;
}
div#penel-glowny img {
float: right;
margin: 35px 30px 0 0;
}

div#penel-glowny p {
padding: 10px 10px 0 20px;
text-align: justify;
line-height: 1.4;
letter-spacing: 1px;

}
div#penel-glowny p.index {

padding: 10px 320px 0 20px;
}

footer {
clear: both;
display: block;
width: 100%;
height: 100px;
text-align: center;

}

footer a {
font-style: italic;
text-decoration: none;
color: #BBDB88;
}
footer img {
margin: 0 10px 0 10px;
}	

@media screen and (max-width: 768px) { 

.contener {
width: 100%;
}

header {
height: 120px;
text-align: center;
}

header img {
float: none;
margin: 5px auto 0 auto;
}

header p {
float: none;
margin: 0;
}

div#penel-lewy{
width: 100%;
height: 200px;
float: none;
}

nav {
margin: 2px 0 0 4px;
}

nav a {
width: 94%;
height: 28px;
font-size: 14px;
background: #005A5B;
border-bottom: 1px solid black;
padding: 16px 0 0 20px;
}

div#penel-glowny{
width: 100%;
float: none;
}

div#penel-glowny img {
float: none;
margin: 15px auto 0 20px;
}

div#penel-glowny p {
padding: 10px 10px 0 10px;
clear: both;
}

div#penel-glowny p.index {
padding: 10px 10px 0 10px;
clear: both;
}

footer {
margin: 20px 0 0 0;
}
}