html {
   height:100%;
}

body {
	margin        : 0;
	padding       : 0;
	height        : 100%;
	width         : 100%;
	margin-top    : 0px;	
	font-family   : Verdana,sans-serif;
	font-size     : 12px;
	color         : #1c3935;
	background:  #f5f7f7 url(images/body_bg.jpg) no-repeat top center;
}

#container {
	xposition: relative; /* needed for footer positioning*/
	margin: 0 auto; /* center, not in IE5 */
  width: 100%;
	margin-top: 0px;
}


#top_right{
	position: absolute;
	width: 50%;
	min-width: 50%;
	height: 44px;
	min-height: 44px;
	margin: 43px 0 0 50%;
	float: right;
	background-color: #c40006;
}


stary#header{
	position: absolute;
	width: 960px;
	height: 140px;
	min-height: 140px;
	left:50%;
	margin-left:-480px; 		
	z-index: 1;
	float: none;
}

#header{
	position: relative;
	width: 960px;
	height: 140px;
	min-height: 140px;
	left:50%;
	margin-left:-480px; 		
	z-index: 1;
	float: none;

}


#header_top_menu{
	position: relative;
	width: 354px;
	height: 27px;
	margin-top: 16px;
	xbackground-color: pink;
	float: right;
}
#header_main_menu{
	position: relative;
	width: 554px;
	height: 44px;
	xbackground-color: red;
	float: right;
}

#header_left{
	position: relative;
	width: 38px;
	height: 63px;
	background: url(images/header_left.jpg) no-repeat top left;
	float: left;
}

#header_logo{
	position: relative;
	width: 278px;
	height: 70px;
	margin: 30px 0 0 50px;
	float: left;
}

#header_menu{
	position: relative;
	width: 554px;
	height: 63px;
	background: url(images/header_menu_bg.jpg) no-repeat top left;	
	float: right;
}

#header_submenu{
	position: relative;
	width: 563px;
	height: 25px;
	float: right;
}

.submenu{
	height: 25px;
	padding-top: 3px;
	float: left;
	background-color: yellow;
}
#sm_gaz{
	position: absolute;
	width: 313px;
	background: url(images/submenu_gaz.png) no-repeat top left;
}
#sm_nawozy{
	position: absolute;
	width: 191px;
	left: 170px;
	background: url(images/submenu_nawozy.png) no-repeat top left;
	z-index: 1;
}

.sm{
	height: 19px;
	padding-top: 3px;
	text-align: center;
	float: left;
}

#sm_butle{
	width: 107px;
}
#sm_gtech{
	width: 121px;
}
#sm_autogaz{
	width: 85px;
}

#sm_rolnicze{
	width: 87px;
}

#sm_ogrodnicze{
	width: 104px;
}
/*================== Formatowanie menu ================= */

.top_menu{
	float: left;
	margin-left: 50px;
}

#menu_gaz{
	width: 80px;
	height: 44px;
	float: left;
	background: url(images/menu_main.png) no-repeat 0px 0px;
}

#menu_gaz:hover{
	width: 80px;
	height: 44px;
	float: left;
	background: url(images/menu_main.png) no-repeat 0px -44px;
}

#menu_wegiel{
	width: 98px;
	height: 44px;
	float: left;
	background: url(images/menu_main.png) no-repeat -80px 0px;
}

#menu_wegiel:hover{
	width: 98px;
	height: 44px;
	float: left;
	background: url(images/menu_main.png) no-repeat -80px -44px;
}

#menu_nawozy{
	width: 109px;
	height: 44px;
	float: left;
	background: url(images/menu_main.png) no-repeat -178px 0px;
}

#menu_nawozy:hover{
	width: 109px;
	height: 44px;
	float: left;
	background: url(images/menu_main.png) no-repeat -178px -44px;
}

#menu_srodki{
	width: 160px;
	height: 44px;
	float: left;
	background: url(images/menu_main.png) no-repeat -287px 0px;
}

#menu_srodki:hover{
	width: 160px;
	height: 44px;
	float: left;
	background: url(images/menu_main.png) no-repeat -287px -44px;
}

#menu_pozostale{
	width: 107px;
	height: 44px;
	float: left;
	background: url(images/menu_main.png) no-repeat -447px 0px;
}

#menu_pozostale:hover{
	width: 107px;
	height: 44px;
	float: left;
	background: url(images/menu_main.png) no-repeat -447px -44px;
}




/*============================ Startpointy =================== */

#startpoints{
	width: 960px;
	height: 200px;
	margin: 0 auto;
	margin-bottom: 20px;
}

.sp{height: 150px; margin-bottom: 20px; float: left; text-align: left; padding: 0 10px 0;}

#sp_gaz{width: 210px;}
#sp_wegiel{width: 210px;}
#sp_nawozy{width: 200px;}
#sp_srodki{width: 190px;}

#sp_kontakt{width: 450px; height: 250px; margin: 0 10px 16px 10px; float: left; }
#sp_kontakt2{width: 360px; height: 250px; margin: 20px0 10px 16px 10px; float: left; }
#sp_pozostale{width: 490px; height: 250px; float: left; background: url(images/pozostale-uslugi-main-foto.png) no-repeat right 70px;}

.sp_red_title{width: 100%; padding: 0 0 10px 120px; float: none;}

#sp_kontakt_left{width: 190px; height: 190px; float: left;}
#sp_kontakt_right{width: 260px; height: 190px; float: left;}




/* ==== Szare przedłużenie po lewej stronie ==== */
.grey_left{
	position: absolute;
	width: 50%;
	min-width: 50%;
	height: 93px;
	min-height: 93px;
	float: left;
	left: -480px;
	background: url(images/green_transp_bg.png);
}

#sp{top: 150px;	height: 180px;}
#gaz{top: 21px;}
#wegiel{top: 184px;}
#nawozy{top: 313px;}
#srodki{top: 470px;}

.point_left{margin-bottom: 10px;}
.point_submenu{width: 313px; height: 22px; padding-top: 3px;}

#psm_gaz{background: url(images/point-gaz-menu.png) no-repeat top left;}
#psm_nawozy{background: url(images/point-nawozy-menu.png) no-repeat top left;}

.psm{	height: 22px;	text-align: center; float: left;}
#psm_gaz_butle{ width: 107px;}
#psm_gaz_gtech{ width: 120px;}
#psm_gaz_autogaz{ width: 86px;}
#psm_nawozy_rol{ width: 156px;}
#psm_nawozy_ogr{ width: 157px;}

#content_container{
	position: relative;
	width: 100%;
}

#content{
	width: 960px;
	margin: 0 auto;
}

#content_left{
	position: relative;
	width: 360px;
	float: left;
 	margin: 0 50px 20px 0;
}

#content_right{
	position: relative;
	width: 540px;
	float: right;
	margin: 0 10px 20px 0;
	line-height: 130%;
}

h2{font-size: 20px; font-weight: bold; margin: 0 0 5px 0;}
p.kontakt{margin:10px 0 0 0;}
#onmap{font-weight: bold; margin: 5px 0 0 30px;}


p.li_big{
	height: 23px;
	margin-bottom: 10px;
	padding-left: 30px;
	background: url(images/li-big.png) no-repeat top left;
}

ul{
	padding-left: 10px;
}

ul li{
	padding-left: 5px;
	margin-left: 10px;
	list-style-image: url(images/li-small.png);
	list-style-position: outside;
}

ul.high li{
	margin: 5px 0 5px 20px;
	font-size: 14px;
}

ul.inside{
	margin: 0 0 10px 15px;
}
ul.inside li{
	font-size: 12px;
}

/*================ dzialy ========= */

#title_main{
	width: 100%;
	height: 25px;
	margin-bottom: 30px;
	text-align: center;
}

.sub_title_con{
	height: 21px;
	clear: both;
	margin: 30px 0 10px 0;
}

.sub_title_l{
	width: 11px;
	height: 21px;
	background: url(images/sub_title_left.png) no-repeat top left;
	float: left;
}
.sub_title_m{
	height: 21px;
	background-color: #dfe4e3;
	float: left;
	padding: 0;
	font-size: 14px;
	font-weight: bold;
}
h3{
	font-size: 14px;
	font-weight: bold;
	padding: 3px 10px 0 10px;
	margin: 0px;
}

.sub_title_r{
	width: 9px;
	height: 21px;
	background: url(images/sub_title_right.png) no-repeat top right;
	float: left;
}

#kontakt_left{
	text-align: center;
	width: 270px;
	float: left;
	margin: 20px 0 20px 0;
}

#kontakt_right{
	width: 250px;
	padding-left: 20px;
	float: right;
	margin: 20px 0 20px 0;
}


.img_right{
	border: 1px solid #d0ced0; 
	float: right; 
	margin-left: 20px;
}

.img_left{
	border: 1px solid #d0ced0; 
	float: left; 
	margin-right: 20px;
}

.img_normal{
	border: 1px solid #d0ced0; 
	float: none; 
}

/*======================== Produkt ================== */

.produkt{
	width: 540px;
	height: 240px;
	margin-top: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #dfe4e3;
}

.produkt_title{
	width: 339px;
	float: left;
	margin-bottom: 10px
}

h4{
	font-size: 18px;
	font-weight: bold;
	color: #c40006;
	margin: 10px 0 0 0;
	padding: 0;
	line-height: 120%;
}

.produkt_info{
	width: 339px;
	float: left;
}

.opis{
	padding: 0;
	margin: 10px 0 10px 0;
}
.produkt_img{
	float: right;
	margin-right: 10px;
}

/*================ footer ================= */

#footer_container{
	width: 100%;
	height: 22px;
	padding: 20px 0 10px 0;
	clear: both;
}

#footer_right{
	position: absolute;
	width: 50%;
	min-width: 50%;
	height: 22px;
	min-height: 22px;
	margin: 0 0 0 50%;
	float: right;
	background-color: #c40006;
	z-index: -1;
}


#footer{
	width: 960px;
	height: 22px;
	margin: 0 auto;
	z-index: 1;
}

#footer_menu{
	width: 760px;
	height: 22px;
	float: right;
}

#footer_left{
	width: 200px;
	height: 19px;
	padding-top: 3px;
	float: left;
}

#footer_under{
	width: 960px;
	height: 24px;
	margin: 0 auto;
	text-align: left;
}


.f_menu{
	height: 22px;
	float: left;
	padding-top:4px;
	text-align: center;
}

#f_menu_onas{	width: 83px;	background: url(images/footer_bg.png) no-repeat 0px 0px;}
#f_menu_mapa{	width: 104px;	background: url(images/footer_bg.png) no-repeat -83px 0px;}
#f_menu_kontakt{ width: 85px;	background: url(images/footer_bg.png) no-repeat -187px 0px;}
#f_menu_gaz{ width: 58px; background: url(images/footer_bg.png) no-repeat -272px 0px;}
#f_menu_wegiel{ width: 65px;background: url(images/footer_bg.png) no-repeat -330px 0px;}
#f_menu_nawozy{	width: 79px; background: url(images/footer_bg.png) no-repeat -395px 0px;}
#f_menu_srodki{	width: 159px;	background: url(images/footer_bg.png) no-repeat -474px 0px;}
#f_menu_pozostale{ width: 124px; background: url(images/footer_bg.png) no-repeat -633px 0px;}

a.f_menu_1{	color: #1c3935;	text-decoration : none;}
a.f_menu_1:link{ color: #1c3935; text-decoration : none;}
a.f_menu_1:active{ color: #1c3935; text-decoration : none;}
a.f_menu_1:visited{	color: #1c3935;	text-decoration : none;}
a.f_menu_1:hover{ color: #1c3935; text-decoration : underline;}

a.f_menu_2{	color: #fff;	text-decoration : none;}
a.f_menu_2:link{ color: #fff; text-decoration : none;}
a.f_menu_2:active{ color: #fff; text-decoration : none;}
a.f_menu_2:visited{	color: #fff;	text-decoration : none;}
a.f_menu_2:hover{ color: #fff; text-decoration : underline;}

.vmiddle{
	vertical-align: middle;
}

img{
	border: 0px;
}
object:active, div:active, a {
	outline		: none;
}

object:focus, div:focus, a{
	-moz-outline-style: none;
}




ul#topnav {
	margin: 0; padding: 0;
	float: left;
	width: 970px;
	list-style: none;
	position: relative;
	font-size: 1.2em;
	background: url(topnav_stretch.gif) repeat-x;
}
ul#topnav li {
	float: left;
	margin: 0; padding: 0;
	border-right: 1px solid #555;
}
ul#topnav li a {
	padding: 10px 15px;
	display: block;
	color: #f0f0f0;
	text-decoration: none;
}
ul#topnav li:hover { background: #1376c9 url(topnav_active.gif) repeat-x; }
ul#topnav li span {
	float: left;
	padding: 15px 0;
	position: absolute;
	left: 0; top:35px;
	display: none;
	width: 970px;
	background: #1376c9;
	color: #fff;
	-moz-border-radius-bottomright: 5px;
	-khtml-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-khtml-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
}
ul#topnav li:hover span { display: block; }
ul#topnav li span a { display: inline; }
ul#topnav li span a:hover {text-decoration: underline;}






#imgPreviewWithStyles {
    background: #dfe4e3 url(images/loading.gif) no-repeat center;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 10px;
    z-index: 999;
    border: none;
}








