.va_m { vertical-align:middle; }
.d_n { display:none; }
.f_l { float:left; }

body {
	margin:0px;
	background:#e7e7e7;
	cursor:default;
}

body, td, div {
	color:#000;
	font-size:11px;
	font-family:Tahoma, Arial, sans-serif;
}

img {
	border:0px;
}

p {
	text-align:justify;
	margin:10px 0px;
}

p, b {
	font-size:12px;
}

div {
	margin:0px;
	padding:0px;
}

h1 {
	color:#5b9000;
	font-size:18px;
	margin:0px;
}

hr {
	border:1px #fff solid;
	border-top:1px #d9e5c4 solid;
	margin:5px auto 0px auto;
}

a {
	color:#5c9100;
	text-decoration:underline;

        -moz-focus-inner: none;
	-moz-outline-style: none;
}

a:hover {
	text-decoration:none;
}

div.li {
	float:left;
	width:18px;
	height:18px;
	margin-left:-20px;
	position:absolute;
	background:url('../images/li_h1.gif') no-repeat left bottom;
}

div#main {
	width:885px;
	float:left;
}
/*  */
div#content {
	width:717px;
	margin:12px auto auto 168px;
}

div#content div.chead,
div#content div.cbody,
div#content div.cfoot {
	width:100%;
}

div#content div.chead div.ctl,
div#content div.chead div.ctr {
	width:18px;
	height:18px;
	float:left;
	background:no-repeat top;
}

div#content div.cfoot div.fcl,
div#content div.cfoot div.fcr {
	width:20px;
	height:20px;
	float:left;
	background:no-repeat top;
}

div#content div.chead div.ctl {
	background:url('../images/ctl.gif') left;
}

div#content div.chead div.ctr {
	background:url('../images/ctr.gif') right;
}

div#content div.chead div.ctc {
	float:left;
	width:681px;
	height:18px;
	background:url('../images/ctc.gif') repeat-x top;
}

div#content div.cfoot div.fcc {
	float:left;
	width:677px;
	height:20px;
	background:url('../images/fcc.gif') repeat-x top;
}

div#content div.cfoot div.fcl {
	background:url('../images/fcl.gif') left;
}

div#content div.cfoot div.fcr {
	background:url('../images/fcr.gif') left;
}

div#content div.cbody div.body {
	width:100%;
	float:left;
	background:#fff;
	background:url('../images/body.gif') repeat-y;
}
/*  */
div#center {
	float:left;
	width:640px;
	margin-left:42px;
}

div#top {
	width:100%;
	height:286px;
	background:url('../images/top.jpg') repeat-x;
}

div#header {
	float:left;
	width:1280px;
	height:286px;
	background:url('../images/header.jpg') no-repeat;	
}

div#logo {
	float:left;
	margin:100px auto auto 53px;
}

div#flash {
	float:left;
	width:403px;
	height:251px;
	margin-top:20px;
	margin-left:46px;
	background:url('../images/flash.jpg') no-repeat;
}

div#flash, div#frames {
	width:403px;
	margin-top:20px;
} 

div#frames {
	float:left;
}

div#frames div.label {
	margin:16px auto auto 24px;
}

div#domy_pasywne {
	float:left;
	width:319px;
	height:154px;
	background:url('../images/domy_pasywne.jpg') no-repeat;
}

div#frames div.menu {
	margin:6px auto auto 25px;
}

div#frames a {
      font-size: 12px;   /* zmiana czcionki dla ramek prawe-górne */
	clear:both;
	width:180px;
	color:#5c9100;
	display:block;
	text-decoration:none;
}

div#frames a:hover {
	color:#000;
}

div#frames a.inv {
	color:#000;
}

div#frames a.inv:hover {
	color:#5c9100;
}

div#frames a.inv span {
	color:#5c9100;
}

div#frames span {
	color:#000;
}

div#domy_pasywne div.button {
	margin:101px 0px 0px 215px;
	width:50px;
	height:50px;
	position:absolute;
	background:url('../images/dp_b.jpg') no-repeat;
}

div#remonty_i_budowy div.button {
	margin:37px 0px 0px 215px;
	width:50px;
	height:50px;
	position:absolute;
	background:url('../images/rb_b.jpg') no-repeat;
}

div#domy_pasywne div.button a, div#remonty_i_budowy div.button a {
	display:block;
	width:50px;
}

div#remonty_i_budowy {
	float:left;
	width:319px;
	height:97px;
	background:url('../images/remonty_i_budowy.jpg') no-repeat;
}

div#top_menu {
	width:100%;
	height:54px;
	clear:both;
	background:url('../images/tm_bg.gif') repeat-x;
}

div#top_menu div.menu {
	width:1150px;
	height:54px;
	float:left;
	background:url('../images/menu.jpg') no-repeat;
}

div#top_menu div.menu a {
	font-size:12px;   /* zmiana czcionki dla opisów */
	float:left;
	color:#000;
	height:20px;
	display:block;
	margin-right:9px;
	padding-left:23px;
	text-decoration:none;
	background:url('../images/li_menu.gif') no-repeat left -1px;
}

div#top_menu div.menu a:hover {
	color:#fff;
	background:url('../images/li_menu_hover.gif') no-repeat left -1px;
}

div.elements {
	margin-left:168px;
	margin-top:20px;
}

div#footer {
	clear:both;
	float:right;
	width:711px;
	height:51px;
	margin:11px 3px auto 171px;
	background:url('../images/ftr_cor.gif') no-repeat top right #f0f0f0;
}

div#okinet {
	width:114px;
	height:25px;
	float:left;
	margin:13px auto auto 19px;
}

div#copyright {
	float:right;
	margin:22px 22px auto auto;
	color:#737373;
}

div.ltop {
	width: 90px;
	margin-top:14px;
	margin-left: auto;
	margin-right: auto;
}

div.ltop a {
	color:#737373;
	text-decoration:none;
}

div.gallery {
	padding:5px;
	float:left;
	background:#efefef;
}

div.gallery div.big {
	width:400px;
}

div.gallery div.box {
	float:left;
	background:#fff;
	margin:0px 5px auto 5px;
}

div.gallery img {
	padding:5px;
	width:120px;
	height:100px;
	border:1px #ccc solid;
}

div.gallery a:hover img {
	border:1px #808080 solid;
}

table.bilans {
	width:620px;
}

table.bilans hr {
	border:0px;
	border-top:1px #deddde solid;
}

table.bilans th {
	background:#f6f6f6;
	font-weight:bold;
	font-size:10px;
}

table.bilans td {
	background:#fafafa;
}

table.bilans tr.r td {
	color:#7b1e2c;
	background:#ffecec;
}

table.bilans td.g {
	background:#e7ffe7;
}

table.bilans td.y {
	background:#ffffdc;
}

table.bilans td.w {
	background:#fff;
}

table.bilans tr.w td {
	background:#fff;
	border-bottom:1px #deddde solid;
	border-top:1px #deddde solid;
}

div.contact_bg {
	width:250px;
	height:250px;
	margin-top:20px;
	background:url('../images/zrb_bg.jpg') no-repeat;
}
