@font-face{ 
	font-family: 'MySteelfish'; 
	src: url('steelfish_rg.eot'); 
	src: url('steelfish_rg.eot?#iefix') format('embedded-opentype'), 
	url('steelfish_rg.woff') format('woff'), 
	url('steelfish_rg.ttf') format('truetype'), 
	url('steelfish_rg.svg#MySteelfish') format('svg'); 
}

html, body
{
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-family: 'MySteelfish', Arial, sans-serif;
}

img.bg {
			  /* Set rules to fill background */
			  min-height: 100%;
			  min-width: 1024px;
				
			  /* Set up proportionate scaling */
			  width: 100%;
			  height: auto;
				
			  /* Set up positioning */
			 position: fixed;
			  top: 0;
			  left: 0;
			  z-index: 1;
			}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
	img.bg {
		left: 50%;
		margin-left: -512px;   /* 50% */
	}
}

img.TopSky{
	min-height: 26.29%;
	min-width: 1024px;
	width: 100%;
	height: auto;
	position: fixed;
	z-index: 3;
	top: 0;
	left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
	img.TopSky {
		left: 50%;
		margin-left: -512px;   /* 50% */
	}
}

#wrapper
{
	position: relative;
	height: 100%;
	margin: 0px;
	padding: 0px;
	/*z-index: 9;*/
}

/*img.logo{
	position: absolute;
	z-index: 7;
}*/

#logo2{
	position: fixed;
	background-image: url('../grafika/AgroBazaMediumLogo.png');
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: 100px;
	display: none;
	margin-left: auto;
	margin-right: auto;
	z-index: 4;
	top: 0px;
}

#menu, #menu2 {
		position: fixed;
		background-image: url('../grafika/menu.png');
		background-repeat: repeat-x;
		width: 100%;
		/*overflow: hidden;*/
		height: 83px;
		z-index: 6;
		top: 0px;
}
#menu ol, #menu ol.admin {
	position: relative;
	list-style: none;
}
#menu ol{
	left: 45%;
}

#menu ol.admin{
	left: 40%;
}
#menu ol, #menu ol li, #menu ol.admin, #menu ol.admin li {
		margin: 0px;
		padding: 0px;
		float: left;
		font-size: 25px;
		line-height: 75px;
}

#menu ol li, #menu ol.admin li{
	color: yellow;
	padding: 0px 15px;
}

/*#menu ol li, #menu2 ol li {
	padding: 0px 15px;
}*/

#menu ol a:link, #menu ol a:visited, #menu ol.admin a:link, #menu ol.admin a:visited {
	display: block;
	background-color: none;
	text-decoration: none;
	color: white;
}

#menu ol a:hover, #menu ol.admin a:hover {
	color: yellow;
}

#menu ol ul, #menu ol.admin ul{
	list-style: none;
	margin: 0px;
	padding: 0px;
	display: none;
	text-align: center;
	position: absolute;
}

#menu ol ul li, #menu ol.admin ul li{
	float: none;
	margin-top: 0px;
	padding: 0px 8px;
	/*margin-left: -20px;*/
	background-image: url('../grafika/menu3.png');
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px; /* future proofing */
	-khtml-border-radius: 5px; /* for old Konqueror browsers */
	-webkit-box-shadow: 0px 0px 4px 0px rgba(255, 255, 190, 100);
	-moz-box-shadow: 0px 0px 4px 0px rgba(255, 255, 190, 100);
	box-shadow: 0px 0px 4px 0px rgba(255, 255, 190, 100);
}

#menu ol ul li:hover, #menu ol.admin ul li:hover{
	-webkit-box-shadow: 0px 0px 8px 0px rgba(255, 255, 190, 100);
	-moz-box-shadow: 0px 0px 8px 0px rgba(255, 255, 190, 100);
	box-shadow: 0px 0px 8px 0px rgba(255, 255, 190, 100);
}

#menu ol ul li:first-child, #menu ol.admin ul li:first-child{
	margin-top: 8px;
}

#menu ol li:hover ul, #menu ol.admin li:hover ul{
	display: block;
} 

#menu ol.admin #artykul li{
	margin-left: -15px;
}

#menu ol.admin #herbicyd li{
	margin-left: -40px;
}

#menu ol.admin #dodaj li{
	margin-left: -60px;
}

#menu ol.admin #baza li{
	margin-left: -5px;
}

#logo
{
	background-image: url('../grafika/logo.png');
	width: 281px;
	height: 130px;
	position: absolute;
	top: 145px;
	left: 20px;
	z-index: 6;
}

#Tresc {
	background-image: url('../grafika/tresc.png');
	font-family: 'Cuprum', Arial, sans-serif; 
	color: white;
	width: 60%; /*60 + 16*2 + 4*2 = 100%Jeżeli chcesz miec na środku to left: 16% padding: 4% przy width: 60%. Ponadto margin left i right na auto*/
	/*width: 80%;*/
	left: 30%;
	/*left: 6%;*/
	padding: 4%;
	overflow: hidden;
	word-wrap: break-word;
	margin-left: auto;
	margin-right: auto;
	position: absolute;
	top: 65%;/*75% to stare ustawienie*/
	-webkit-box-shadow: 0px 0px 17px 0px rgba(255, 255, 190, 100);
	-moz-box-shadow: 0px 0px 17px 0px rgba(255, 255, 190, 100);
	box-shadow: 0px 0px 17px 0px rgba(255, 255, 190, 100);
	z-index: 2;
}

#Zakladki {
	overflow: hidden
}
#Content {
	/*clear: both*/
}
#Zakladki ul, #Zakladki ul li {
		display: block;
		float:left;
		list-style: none;
		margin: 0px 3px;
		font-size: 22px;
		font-family: 'MySteelfish', Arial, sans-serif;
}

#Zakladki ul a:link, #Zakladki ul a:visited {
		display: block;
		text-decoration: none;
		margin: 0px 3px; 
		padding: 5px 5px;
		color: white;
		background-color: orange;
		
}

#Zakladki ul a:hover {
		text-decoration: bold;
		color: black;
		background-color: white;
}
#Zakladki ul a:active {
		color: black;
		background-color: white
}
p 	{
		font-weight: normal;
		font-size: 16px;
		margin: 0px;
		padding: 0px
	} 
p.kategoria {
	font-size: 22px;
	font-family: 'MySteelfish', Arial, sans-serif;
	color: yellow/*#e9e8d9*/;
}
p.forms{
	font-size: 22px;
	font-family: 'MySteelfish', Arial, sans-serif;
	color: #e9e8d9;
}
p.FormWprow {
	font-weight: normal;
	font-size: 5px;
	margin: 0px;
	padding: 0px
}
table {
	border-collapse: collapse;
	margin: 10px
}
tr {
	text-align: left;
	vertical-align: top;
	font-size: 15px
}
td {
	border-bottom-style: solid;
	border-bottom-width: 2px;
	border-color: #a0d907;
	padding: 5px;
}
input.art {
	height: 20px; 
	width: 40px; 
	font-size: 11px; 
	background-color: orange;
	border: none;
	color: white;
	vertical-align: bottom
}
a.errorlink:link {
	color: black;
	background-color: red;
	text-decoration: none
}

a.errorlink:visited {
	color: black;
	background-color: red
	
}

a:link {
	color: white;
	text-decoration: none
}

a:visited {
	color: white
}
table.pasekAutora{
	margin: 0px;
	padding: 0px;
}
span.tytul{
	font-family: 'MySteelfish', Arial, sans-serif;
	font-size: 28px;
	color: /*#a0d907*/yellow;
}
p.komentarze{
	color: #a0d907;
}
td.pasekAutora{
	font-size: 14px;
}
#VGobraz{
	float: right;
	width: 47%;
}
#VGImage{
	height: auto;
}
p.podpisZdjecia{
	color: yellow;
}

a.herbicyd{
	color: white;
	font-size: 17px;
	font-family: 'MySteelfish', Arial, sans-serif;
}

a.herbicyd:hover {
	color: yellow;
	
}
a.przycisk{
	
}
td.kategoria, #tabelka td.kategoria{
	width: 30%;
}

td.info, #tabelka td.info{
	width: 70%;
}

table{
	width: 100%;
}

table#tabelka{
	width: 100%;
}
td.pasekAutora{
	width: 20%;
	margin: 0px;
	padding: 0px;
}
td.pasekDaty{
	width: 80%;
	margin: 0px;
	padding: 0px;
}

td.edycja{
	width: 6%;
	padding: 0px;
}

td.skasuj{
	padding: 0px;
}

input[type = text], input[type = password]{
	background-color: #24749a;
	/*border: 2px solid #a0d907;*/
	border: 0;
	width: 150px;
	height: 30px;
	/*outer glow*/
	-webkit-box-shadow: 0px 0px 4px 0px rgba(255, 255, 190, 100), inset 0 0 10px #000000;
	-moz-box-shadow: 0px 0px 4px 0px rgba(255, 255, 190, 100), inset 0 0 10px #000000;
	box-shadow: 0px 0px 4px 0px rgba(255, 255, 190, 100), inset 0 0 10px #000000;
	font-family: 'Cuprum', Arial, sans-serif; 
	font-size: 15px;
	color: white;
	/*-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px; 
	-khtml-border-radius: 3px;*/
	 
}

input[type = text]:focus, input[type = password]:focus{
	background-color: /*#a0d907*/#2a95c7;
}

select{
	height: 30px;
	width: 250px;
	background-color: #24749a;
	color: white;
	border: 0;
	-webkit-box-shadow: 0px 0px 4px 0px rgba(255, 255, 190, 100), inset 0 0 10px #000000;
	-moz-box-shadow: 0px 0px 4px 0px rgba(255, 255, 190, 100), inset 0 0 10px #000000;
	box-shadow: 0px 0px 4px 0px rgba(255, 255, 190, 100), inset 0 0 10px #000000;
	font-family: 'Cuprum', Arial, sans-serif; 
	font-size: 15px;
}

select:focus{
	background-color: /*#a0d907*/#2a95c7;
}

input[type = submit], input[type = button]{
	background-color: /*#a0d907*/#24749a;
	/*height: 30px;*/
	border: 0;
	font-family: 'MySteelfish', Arial, sans-serif;
	font-size: 21px;
	height: 35px;
	width: 55px;
	text-align: center;
	color: white;
	display: block;
	-moz-box-shadow:    0px 3px 5px 1px #000000, 0px 0px 7px 0px rgba(255, 255, 190, 100), inset 0 0 2px #ccc;
	-webkit-box-shadow: 0px 3px 5px 1px #000000, 0px 0px 7px 0px rgba(255, 255, 190, 100), inset 0 0 2px #ccc;
	box-shadow:         0px 3px 5px 1px #000000,  0px 0px 7px 0px rgba(255, 255, 190, 100), inset 0 0 2px #ccc;
	
}

input[type = submit]:hover, input[type = button]:hover{
	-moz-box-shadow:    0px 0px 7px 0px rgba(255, 255, 190, 100), inset 0 0 2px #ccc;
	-webkit-box-shadow: 0px 0px 7px 0px rgba(255, 255, 190, 100), inset 0 0 2px #ccc;
	box-shadow:      0px 0px 7px 0px rgba(255, 255, 190, 100), inset 0 0 2px #ccc;	
	padding: 2px 0px 0px 2px;
}

hr.forms{
	border: 0;
	border-bottom: 2px solid #ccc;
	-moz-box-shadow:    0px 0px 4px 0px rgba(255, 255, 190, 100);
	-webkit-box-shadow: 0px 0px 4px 0px rgba(255, 255, 190, 100);
	box-shadow:      0px 0px 4px 0px rgba(255, 255, 190, 100);	
}
select#lista{
	height: 300px;
}

input.bigButton{
	display: block;
	width: 150px;
}

select#lista{
	display: block;
	float:left;
	margin-bottom: 5px;
}

input#aktualizacja{
	display: block;
	clear: both;
}
td.komTresc{
	border: 0;
}

td.komAutor{
	color: yellow;
	font-size: small;
}

.loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('../grafika/page-loader.gif') 50% 50% no-repeat rgb(249,249,249);
}
