* {padding:0;margin:0;}

html {width:100%;height:100%;}

body {
font: 75% Calibri, Tahoma, Arial, sans-serif;
margin: 25px 0;
background-image: url(tlo_body.jpg);
/*background-repeat: repeat-x;*/
}

.container {
	margin: 0 auto;
}

#top {
text-align: center;
height: 34px;
width: 100%;
color: #ffffff;
padding: 8px 0 6px 0;
background: #808080;
font-size: 15px;
}

.linia {
	clear: both;
	height: 5px;
	background-color: #505050;
}

#lewy {
float: left;
margin: 2px 0;
}

.avmenu ul {	
list-style: none;
margin: 2px 0 0 0;
padding: 0;
font-size: 1.4em;
}	

.avmenu li {
margin-bottom: 2px;
}

.avmenu li a {
font-weight: bold;
height: 27px;
text-decoration: none;
color: #286ea0;
display: block;
padding: 6px 0 0 20px;
background: #ffffff;
border-left: 6px solid #808080;
border-top: 1px solid #808080;
border-right: 1px solid #808080;
border-bottom: 1px solid #808080;
}	
	
.avmenu li a:hover {
background: #C8C8C8;
color: #800000;
border-left: 8px solid #286ea0;
background-image: url(next.png);
background-size: 8%;
background-position: right;
background-repeat: no-repeat;
}

#szybkie_kontakty {
margin: 30px 0 4px 0;
padding: 15px 5px 15px 5px;
color: #505050;
text-align: center;
border: 1px solid #808080;
background: #ffffff;
}

#szybkie_kontakty ul {
list-style-type: none;
font-size: 18px;
text-align: center;
}

.tytul {
clear: both;
padding: 3px 0 5px 0;
height: 25px;
color: white;
background-color: #808080;
text-align: center;
font-weight: bold;
font-size: 1.7em;

}

#main {
float: right;
margin: 5px 0 5px 2px;
padding: 25px 25px 25px 25px;
line-height: 1.6em;
font-size: 20px;
background-color: white;
}

h3 {
font-size: 1.3em;
}

a {
text-decoration: none;
color: #286ea0;
}

a:hover {
text-decoration: underline;
color: #286ea0;
}

a img {
border: 0;
}

#footer {
clear: both;
padding: 15px 0 15px 0;
background-color: #505050;
text-align: center;
color: #eaeaea;
font-size: 1.2em;
}

@media (min-width: 1600px) {
	.container {width:1550px;}
	#lewy {width:15%;}
	#main {width:81.5%;}
}
@media (max-width: 1600px) and (min-width: 1500px) {
	.container {width:1450px;}
	#lewy {width:15.4%;}
	#main {width:81%;}
}
@media (max-width: 1500px) and (min-width: 1400px) {
	.container {width:1350px;}
	#lewy {width:18%;}
	#main {width:78%;}
}
@media (max-width: 1400px) and (min-width: 1300px) {
	.container {width:1250px;}
	#lewy {width:20%;}
	#main {width:75.6%;}
}
@media (max-width: 1300px) and (min-width: 1200px) {
	.container {width:1150px;}
	#lewy {width:20%;}
	#main {width:75.4%;}
}
@media (max-width: 1200px) and (min-width: 1100px) {
	.container {width:1000px;}
	#lewy {width:100%;}
	#main
}
@media (max-width: 1100px) and (min-width: 1000px) {
	.container {width:800px;}
	#lewy {width:100%;}
	#main 
}
@media (max-width: 1000px) {
	.container {width:90%;}
	#lewy {width:100%;}
	#main
}


/*BANER*/

/*#slideshow {display: block; z-index: 1; text-indent: -9999em; margin: 0px auto; width: 1920px; height: auto; text-align: center; }*/

.baner li a { width: 1920px; height: auto; position: relative;  }

.baner, .baner:after { position: relative; width: auto; height: 270px; top: 0;}

.baner li { list-style: none; }

.baner li span {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
color: transparent;
background-color: #505050;
background-size: 100%;
background-repeat: no-repeat;
background-position: 50% 50%;
opacity: 0;
z-index: 0;
-webkit-backface-visibility: hidden;
-webkit-animation: imageAnimation 15s ease infinite 0s;
-moz-animation: imageAnimation 15s ease infinite 0s;
-o-animation: imageAnimation 15s ease infinite 0s;
-ms-animation: imageAnimation 15s ease infinite 0s;
animation: imageAnimation 15s ease infinite 0s;
}
.baner li:nth-child(1) span {
background-image : url(baner0.png);}

.baner li:nth-child(2) span {
background-image: url(logo_opisem.png);
-webkit-animation-delay: 3s;
-moz-animation-delay: 3;
-o-animation-delay: 3;
-ms-animation-delay: 3s;
animation-delay: 3s; 
}
.baner li:nth-child(3) span {
background-image : url(logo_car.png);
-webkit-animation-delay: 6s;
-moz-animation-delay: 6s;
-o-animation-delay: 6s;
-ms-animation-delay: 6s;
animation-delay: 6s; 
}
.baner li:nth-child(4) span {
background-image : url(baner1.png);
-webkit-animation-delay: 9s;
-moz-animation-delay: 9s;
-o-animation-delay: 9s;
-ms-animation-delay: 9s;
animation-delay: 9s;
}
.baner li:nth-child(5) span {
background-image : url(baner2.png);
-webkit-animation-delay: 12s;
-moz-animation-delay: 12s;
-o-animation-delay: 12s;
-ms-animation-delay: 12s;
animation-delay: 12s;
}
@-webkit-keyframes imageAnimation { 
0% { opacity: 0;}
13% { opacity: 1;}
25% { opacity: 1;}
37% { opacity: 0;}
100% { opacity: 0;}
}
@-moz-keyframes imageAnimation { 
0% { opacity: 0;}
13% { opacity: 1;}
25% { opacity: 1;}
37% { opacity: 0;}
100% { opacity: 0;}
}
@-o-keyframes imageAnimation { 
0% { opacity: 0;}
13% { opacity: 1;}
25% { opacity: 1;}
37% { opacity: 0;}
100% { opacity: 0;}
}
@-ms-keyframes imageAnimation { 
0% { opacity: 0;}
13% { opacity: 1;}
25% { opacity: 1;}
37% { opacity: 0;}
100% { opacity: 0;}
}
@keyframes imageAnimation { 
0% { opacity: 0;}
13% { opacity: 1;}
25% { opacity: 1;}
37% { opacity: 0;}
100% { opacity: 0;}
}