body {
	text-align: center;
	margin: 0;
	padding: 0;
	background-position: top center;
	background-repeat: repeat-x;
	background-color: silver;
} 

#wrapper {
	width: 992px;
	height: 621px;
	margin: 0 auto;
}

a { text-decoration: none; }
a img { border: 0; }

#content {
	margin: 0 auto;
	padding: 0;
	width: 992px;
	height: 621px;
	background-repeat: no-repeat;
	background-position: -4px 0px;
	text-align: left;
}

.td_rat {
	width: 110px; 
	height: 50px;
	background-image: url('../img/welcome/ratownicy.gif');
	background-repeat: no-repeat;
	background-position: 10px 7px;
}

a.log_rat, a.log_rat:link, a.log_rat:visited {
	border: 0;
	margin: 0 0 0 10px;
	padding: 0;
	width: 100px;
	height: 32px;
	background: url('../img/welcome/blank.gif');
	cursor: pointer;
	display: block;	

}

.log_zal_inp { display: none; }

.td_zal {
	width: 110px; 
	background-image: url('../../osoz-resources-v2/img/logow/zaloguj.gif');
	background-repeat: no-repeat;
	background-position: 10px 0px;
}

a.log_zal, a.log_zal:link, a.log_zal:visited {
	border: 0;
	margin: 0 0 0 10px;
	padding: 0;
	width: 100px;
	height: 22px;
	background: url('../img/welcome/blank.gif');
	cursor: pointer;
	display: block;	
}	


.pol_zdrow {
	float: left;
	width: 124px;
	margin: 0;
	padding: 17px 0 0 15px;
	border: 0px solid orange;
}

	.pol_zdrow a {
		display: block;
		width:	87px;
		height: 76px;
		background: url('../img/welcome/blank.gif');
	}

.osoz_title {
	float: left;
	padding: 0 0 0 30px;
	border: 0px solid orange;
}

	.osoz_title a {
		display: block;
		width: 655px;
		height: 53px;
		background: url('../img/welcome/blank.gif');
	}

.istota_osoz {
	float: right;
	height:	76px;
	padding: 16px 0 0 0;
	border: 0px solid orange;
}

	.istota_osoz a {
		display: block;
		width:	89px;
		height:	76px;
		background: url('../img/welcome/blank.gif');
		border: 0px solid red;
	}

*[id="wrapper"] .istota_osoz a { margin-right: 15px; }
* html .istota_osoz { padding-right: 29px; }

#flash { 
	position: absolute;
	z-index: 12;
	margin-left: 318px;
	margin-top: 52px;
	border: 0px solid red;
}

#center {
	position: absolute;
	width: 352px;
	z-index: 5;
	margin-top: 52px;
	margin-left: 319px;
	}

	.kopuly {
		width: 352px;
		height: 275px;
		margin-top: 1px;
		margin-bottom: 11px;
		overflow: hidden;
	}

	*[id="wrapper"] .aktyw a, *[id="wrapper"] .aktyw a:link, *[id="wrapper"] .aktyw a:visited,
	*[id="wrapper"] .demo a, *[id="wrapper"] .demo a:link, *[id="wrapper"] .demo a:visited {
 		margin: 0px;
	 }


 .log_akt a, .log_akt a:link, .log_akt a:visited {
		width: 139px;
		height: 28px;
		background: url('../img/welcome/blank.gif');
		border: 0px solid blue;
		display: block;
	}

 .demo a, .demo a:link, .demo a:visited {
		width: 139px;
		height: 28px;
		background: url('../img/welcome/blank.gif');
		border: 0px solid red;
		display: block;
	}

	.rdzen {
		width: 62px;
		padding: 0 0 0 6px;
	}

	.rdzen_img {
		width: 62px;
		height: 60px;
	}


		.rdzen a {
			width: 62px;
			height: 60px;
		}

div#main2 {
	clear: both;
}

	.akty_prawne {
		float: left;
		margin: 10px 0 0 0px;
		padding: 0 0 0 15px;
		width: 60px;
		height: 89px;
		background-image: url('../img/welcome/akty_prawne.gif');
		background-repeat: no-repeat;
		background-position: 15px 0;
}


		.akty_prawne a {
			display: block;
			width: 65px;
			height: 89px;
		}

	.magazyn {
		float: right;
		margin: 8px 0 0 0px;
		padding: 0 10px 0 0;
		width: 65px;
		height: 89px;
		background-repeat: no-repeat;
	}


		.magazyn a {
			display: block;
			width: 65px;
			height: 89px;
		}


#main3 {
	clear: both;
	height: 120px;
	margin: 0 0 29px 0;
	padding: 65px 15px 0 15px; 
	/* Zmiana z kurczakiem 
	padding: 54px 15px 0 15px;
	*/
}

#main4 {
	clear: both;
	height: 120px;
	padding: 0 15px;
	_margin-bottom: -9px;
}

	.panel {
		display: block;
		width: 264px;
		height: 120px;
		background: url('../img/welcome/blank.gif');

	}

		.panel a {
			display: block;
			width: 264px;
			height: 120px;
		}

		#pacjent, #instytucje, #farmaceuta { float: left; }

		#lekarz { float: right; }

		#panel_login {
			float: left;
			width: 352px;
			height: 120px;
			border: 0px solid red;
			margin: 0px 42px 0 40px;
		}

		#panel_login table {
		_margin-top: -8px;
	 }
		.panel_info {
 			text-align: center;
			width: 352px;
			height: 120px;
			margin-top: 15px;
		}

/* modern */

*[id="wrapper"] .pol_zdrow a, *[id="wrapper"] .osoz_title a, *[id="wrapper"] .istota_osoz a,
*[id="wrapper"] .magazyn a, *[id="wrapper"] .panel a, *[id="wrapper"] .demo a
 { background: transparent url("../img/welcome/blank.gif") top left no-repeat; }

*[id="wrapper"] .pol_zdrow a:hover		{ background: transparent url("../img/welcome/pol_zdrow.png") left top no-repeat; }
*[id="wrapper"] .osoz_title a:hover	 { background: transparent url("../img/welcome/osoz_title.png") left top no-repeat; }
*[id="wrapper"] .istota_osoz a:hover	{ background: transparent url("../img/welcome/istota_osoz.png") top left no-repeat; }
*[id="wrapper"] .magazyn a:hover			{ background: transparent url("../img/welcome/magazyn.png") top left no-repeat; }
*[id="wrapper"] .akty_prawne a:hover	{ background: transparent url("../img/welcome/magazyn.png") top left no-repeat; }
*[id="wrapper"] .panel a:hover				{ background: transparent url("../img/welcome/panel_over.png") top left no-repeat; }
*[id="wrapper"] .demo a:hover				 { background: transparent url("../img/welcome/btn_demo.png") top left no-repeat; }
*[id="wrapper"] .log_akt a:hover			{ background: transparent url("../img/welcome/btn_demo.png") top left no-repeat; }
*[id="wrapper"] a.log_zal:hover			 { background: transparent url("../../osoz-resources-v2/img/logow/zaloguj_over.png"); }
*[id="wrapper"] a.log_rat:hover			 { background: transparent url("../img/welcome/zalograt_over.png"); }

/* IE6 */
* html .osoz_title a:hover	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/osoz_title.png'); }
* html .pol_zdrow a:hover	 { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/pol_zdrow.png'); }
* html .istota_osoz a:hover { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/istota_osoz.png'); }
* html .magazyn a:hover		 { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/magazyn.png'); }
* html .akty_prawne a:hover { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/magazyn.png'); }
* html .panel a:hover			 { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/panel_over.png'); }
* html .demo a:hover				{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/btn_demo.png'); }
* html .log_akt a:hover		 { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/btn_demo.png'); }
* html a.log_zal:hover			{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../../osoz-resources-v2/img/logow/zaloguj_over.png'); }
* html a.log_rat:hover			{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/zalograt_over.png'); }

/*
a, a:link, a:visited, a:hover { border: 0; }
a:link img, a:visited img, a:hover img { border: 0;}
*/


/* logowanie */
 input.log_osoz {
		margin: 0;
		padding: 0;
		padding-left: 2px;
		background: #eef7e6;
		border: 1px solid #494b46;
		width: 182px;
		height: 13px;
		font-family: Arial;
		font-size: 11px;
		line-height: 12px;
		vertical-align: middle;
	}
	.log_label{
		width: 43px;
		font-size: 11px;
		text-align: right;
		font-family: Arial;
	}

	.log_zal {
		border: 0;
		margin: 0;
		padding: 0;
		width: 0px;
		height: 0px;
	}

	.log_demo {
		border: 0;
		margin: 0;
		padding: 0;
		width: 0px;
		height: 0px;
		background: url('../img/welcome/blank.gif') no-repeat;
		cursor: pointer;
		display: block;
	}
	form {
		margin: 0;
		padding: 0;
		border: 0;
	}


/* rada */

	#rada {
		margin: 219px 0 0 713px;
		padding: 0 0 0 0;
		width: 264px;
		height: 28px;
		background-repeat: no-repeat;
		position: absolute;
	}


		#rada a {
			display: block;
			width: 264px;
			height: 28px;
		}

*[id="wrapper"] #rada a:hover				 { background: transparent url("../img/welcome/rada_over.png") top left no-repeat; }
* html #rada a:hover			 { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/rada_over.png'); }

/* otwarte */


		#open {
		margin: 219px 0 0 13px;
		padding: 0 0 0 0;
		width: 264px;
		height: 28px;
		background-repeat: no-repeat;
		position: absolute;
	}


		#open a {
			display: block;
			width: 264px;
			height: 28px;
		}

*[id="wrapper"] #open a:hover				 { background: transparent url("../img/welcome/open_over.png") top left no-repeat; }
* html #open a:hover			 { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='../img/welcome/open_over.png'); }

/* dodatek */
	.extra1, .extra2 {
		width: 178px;
		margin-top: 10px;
		margin-left: 7px;
	}
	.extra1 { float: left; height: 100px; text-align: left; padding: 0 0 0 0px; }
	.extra2 { float: right; height: 75px; text-align: right; padding: 0 20px 0 0; }

/* i po świętach 
#wielkanoc {
	margin: -38px 0 0 422px;	
}	

body #wielkanoc { _margin: -38px 0 0 393px; }
*/

/* sponsorzy */

.sponsoring {
	margin: 15px 0 0 16px;
	_margin: -2px 0 0 14px;
	width: 966px;
	clear: both;
}


.reklama {
    background-image: url('../img/welcome/sponsors4.png');
    _background-image: url('../img/welcome/sponsors4ie.png');
    background-repeat:  no-repeat;
    _background-position: 2px 0;
    width: 966px;
    _width: auto;
    height: 75px;
    margin-left: -3px;
    text-align: center;
}


#bottom-menu, #bottom-menu a, #bottom-menu a:link, 
#bottom-menu a:visited, #bottom-menu a:hover,
*[id="wrapper"] #bottom-menu,
*[id="wrapper"] #bottom-menu a,
*[id="wrapper"] #bottom-menu a:link,
*[id="wrapper"] #bottom-menu a:visited,
*[id="wrapper"] #bottom-menu a:hover {
  font: bold 12px/20px Arial,sans-serif;
  color: #444;
}

*[id="wrapper"] #bottom-menu a:hover, #bottom-menu a:hover {
    text-decoration: underline;
    color: #555;
}


*table#sponsorzy tr td#bottom-menu,
*table#sponsorzy tr td#bottom-menu a,
*table#sponsorzy tr td#bottom-menu a:link,
*table#sponsorzy tr td#bottom-menu a:visited,
*table#sponsorzy tr td#bottom-menu a:hover {
  font: bold 12px/20px Arial,sans-serif;
  color: #444;
}

*table#sponsorzy tr td#bottom-menu a:hover {
    text-decoration: underline;
    color: #555;
}



#sponsorzy { height: 41px; margin: 2px 0 0 2px; }

    /* Firefox */
    @-moz-document url-prefix() {
        #sponsorzy { margin: 2px 0 0 1px; }
    }

    /* safari */
    @media screen and (-webkit-min-device-pixel-ratio:0) {
        #sponsorzy { padding: 2px 0 0 1px;}
    }
    
    /* opera */
    @media all and (-webkit-min-device-pixel-ratio:10000),
                    not all and (-webkit-min-device-pixel-ratio:0)
                {
                .reklama { background-image: none; }
                #sponsorzy { background: url('sponsors3.png') center top no-repeat; padding: 1px 0 0 1px; margin: 0;}
                #s26 { height: 0 !important; } /* Opera */
    }
    
table#sponsorzy tr td {
	text-align: center;
	height: 20px;
	font-size: 1px;
}

	#s01, #s07, #s09, #s11, #s15, #s19, #s25,
	#s34, #s36, #s38, #s40, #s42, #s44, #s48 { width: 76px; }

	#s05, #s21, #s32, #s50 { width: 20px; }
	#s27, #s28, #s54, #s55 { width: 38px; }
	#s03, #s17, #s23, #s30, #s46, #s52 { width: 75px; }

	#s13 { }

	#s02, #s04, #s06, #s08, #s10, #s12, #s14, #s16, #s18, #s20, #s22, #s24,
	#s29, #s31, #s33, #s35, #s37, #s39, #s41, #s43, #s45, #s47, #s49, #s51, #s53 { width: 1px; }

	#s26 { height: 1px !important; }


/* info panel u dolu */

.newsy { width: 962px; margin: 0 0 0 2px; border: 0px solid red; }
.newsy .info-table { margin: 0 auto; }

* html .newsy {
	margin: 0px;
}
.info-top, info-bottom {
		height: 8px;
		font-size: 1px;
		margin: 0;
		padding: 0;
		line-height: 1px;
}

.info-tv, .info-adds { width: 284px; border: 0px solid blue; }
.info-news { width: 399px; text-align: right; }

*[id="wrapper"] .info-table { width: 969px; margin-left: -4px; }

*[id="wrapper"] .info-top { background: transparent url("../img/welcome/info_panel_1.png") top left no-repeat; }
*[id="wrapper"] .info-main { background: transparent url("../img/welcome/info_panel_2.png") top left repeat-y; } 
*[id="wrapper"] .info-bottom { background: transparent url("../img/welcome/info_panel_3.png") top left no-repeat; }

.info-table { width: 969px; margin-left: -4px; }

.info-top { background: transparent url("../img/welcome/info_panel_1ie.png") top left no-repeat; }
.info-main { background: transparent url("../img/welcome/info_panel_2ie.png") top left repeat-y; }
.info-bottom { background: transparent url("../img/welcome/info_panel_3ie.png") top left no-repeat; }


.info-tv	 { background-position: left top; }
.info-adds { background-position: right top; }
.info-news { background-position: center top; }

	/* safari hack */
body:nth-of-type(1) .info-main { background-image: none; }
body:nth-of-type(1) .info-tv { background: url("../img/welcome/info_panel_2.png") left top repeat-y; }
body:nth-of-type(1) .info-news { background: url("../img/welcome/info_panel_2.png") center top repeat-y; }
body:nth-of-type(1) .info-adds { background: url("../img/welcome/info_panel_2.png") -684px top repeat-y; }

.info-adds { background-position: -684px 0; }

/* to dla godzin */

.t22, .t23, .t00, .t01, .t02, .t03, .t04 { background-color: #192C4C; }
.t05 { background-color: #034730; }
.t06 { background-color: #297A40; }
.t07 { background-color: #17913C; }
.t08 { background-color: #3C9537; }
.t09 { background-color: #519532; }
.t10 { background-color: #619229; }
.t11,.t12{ background-color: #709221; }
.t13 { background-color: #7E982A; }
.t14 { background-color: #7B981A; }
.t15 { background-color: #768E30; }
.t16 { background-color: #78912B; }
.t17 { background-color: #687712; }
.t18 { background-color: #847301; }
.t19 { background-color: #4E6D34; }
.t20 { background-color: #395143; }
.t21 { background-color: #283F47; }

.clear {
	clear: both;
}
/* temp */

.brdr { border: 1px solid red; }
