@media screen, projection {
* { padding:0; margin:0; }
fieldset, img { border:0; }
label, a { cursor:pointer; }
body, textarea, input, table, select { font-size:100%; font-family:Arial, Helvetica, sans-serif; }
option { padding:0 .2em; }
.before, .after { line-height:0; }
.before img, .after img { margin:0 !important; }

ul, ol, dd { margin-left:2em; }
h1, h2, h3, h4, h5, h6 { font-size:1em; margin:1em 0; font-family:Times, serif; }
p { margin-bottom:1em; }

a { text-decoration:underline; }
a:focus, a:hover { text-decoration:none; }

#WAI, hr, #newsListC h2, #menuMainC h2, #menuDescriptionC h2, #menuLangC h2, #footer h2 { position:absolute; top:0; left:-1000em; }

/* lay */

html, body { height:100%; width:100%; }

html {
	display:table;
}

body {
	display:table-cell;
	background-color:#f6f6eb;
	color:#212121;
}

#start {
	width:860px;
	padding:0 13px;
	background:#fff url(gfx/bgdPage.png) repeat-y 50% 0;
	position:relative;
	z-index:0;
	margin:0 auto;
}
#start::after {
	content:"";
	display:block;
	height:1px;
	clear:both;
}

* html #start {
	height:100%;
}

.home #WAI {
	width:585px;
	height:214px;
	top:168px;
	left:28px;
	z-index:30;
	background:url(gfx/bgdHeader.jpg) no-repeat 0 0;
	text-indent:-1000em;
}

/* content */

#content {
	width:578px;
    padding-right:20px;
	padding-bottom:75px;
	position:relative;
	z-index:30;
	float:right;
	line-height:1.5em;
	font-size:.8em;
}

	#content h2 {
		margin-top:0;
	}

/* more and back links */

#content a.more,
#content a.back {
	display:block;
	width:75px;
	height:19px;
	overflow:hidden;
	background-color:#bc080b;
	margin-top:.5em;
	position:relative;
	color:#fff;
	font-size:.8em;
	text-align:center;
	text-decoration:none;
}

	#content a.more span,
	#content a.back span {
		height:19px;
		padding-left:75px;
		background:url(gfx/btnWiecej.png) no-repeat 0 0;
		position:absolute;
		top:0;
		left:0;
	}

	#content a.back span {
		background-image:url(gfx/btnPowrot.png)
	}	

/* page */

#pageC h2 {
	padding-top:.5em;
	color:#005952;
	font-size:1.7em;
	font-weight:normal;
}

	#page img {
		border:5px solid #ddd7c7;
	}
	
/* news list */

#newsListC {
	padding-right:15px;
}

	#newsList div {
		width:100%;
		padding:1em 0;
		overflow:hidden;
		background:url(gfx/dotsHorizontalBlack.png) repeat-x 0 100%;
	}

		#newsList div h3 {
			padding:0 0 2em 77px;
			overflow:hidden;
			margin:0 0 -1em;
			position:relative;
			color:#005952;
			font-size:1.6em;
			font-weight:normal;
			zoom:1; /* IE fix */
		}

			#newsList h3 span {
				width:46px;
				height:1.9em;
				padding-top:1em;
				background:url(gfx/boxDate.png) no-repeat 0 100%;
				position:absolute;
				top:0;
				left:5px;
				line-height:1.8em;
				text-align:center;
				text-indent:-.3em;
			}
			#newsList h3 span:first-letter {
				color:#fff;
				font-size:1px;
			}

				#newsList h3 span acronym {
					display:block;
					width:46px;
					padding:.3em 0 .15em;
					background:#362f2d url(gfx/boxDate.png) no-repeat 0 0;
					border:0;
					position:absolute;
					top:0;
					left:0;
					color:#f9e180;
					line-height:1.2em;
					font-size:.7em;
					font-weight:bold;
					text-indent:0;
				}


		#newsList div img {
			border:5px solid #ddd7c7;
			float:left;
			margin:0 1em 1em 77px;
		}

		#newsList div p {
			padding-left:77px;
			margin-bottom:0;
		}

/* meteo */

#meteoC,
#guestBookShortC,
#formNewsletterAddC,
#recommendC,
#menuSubpageC {
	width:238px;
	min-height:116px;
	background:url(gfx/boxRounded.png) no-repeat 0 0;
	behavior:url(/minMaxWidthHeight.htc)
}

#meteoC {
	position:absolute;
	top:-231px;
	right:6px;
}

	#meteoC h2,
	#guestBookShortC h2,
	#formNewsletterAddC h2,
	#recommendC h2,
	#menuSubpageC h2 {
		min-height:38px;
		padding:12px 16px 0;
		margin:0;
		color:#a0410d;
		line-height:38px;
		font-size:1.4em;
		font-weight:normal;
	}

		#meteoC h2 a {
			color:#a0410d;
			text-decoration:none;
		}

		#meteoC h2 a:focus,
		#meteoC h2 a:hover {
			text-decoration:underline;
		}

		#guestBookShort,
		#meteo,
		#formNewsletterAdd,
		#recommend,
		#menuSubpage {
			min-height:66px;
			padding:0 16px;
			background:url(gfx/boxRounded.png) no-repeat 50% 100%;
			font-size:.95em;
			behavior:url(/minMaxWidthHeight.htc)
		}

			#meteoC dl {
				background:url(gfx/icoSun.png) no-repeat 142px 50%;
				line-height:26px;
			}

				#meteoC dt {
					float:left;
					font-weight:bold;
				}

				#meteoC dd::before {
					padding-left:.5em;
					content:"";
				}

/* guest book link */

#guestBookShortC {
	position:absolute;
	top:-115px;
	right:6px;
}

	#guestBookShort a,
	#recommend a {
		display:block;
		padding-right:7px;
		background:url(gfx/arrRightDoubleRed.gif) no-repeat 100% 50%;
		color:#d81f27;
	}

/* newsletter */

#formNewsletterAddC {
	margin-bottom:85px;
	margin-left:7px;
	font-size:.8em;
}

.home #formNewsletterAddC {
	height:auto;
	position:absolute;
	top:395px;
	right:auto;
	left:13px;
}

	#formNewsletterAdd {
		height:11.9em;
		padding:38px 16px 0;
		background:url(gfx/bgdNewsletter.png) no-repeat 148px 0;
		margin:-38px 0 0 0;
		line-height:1.5em;
	}

		#formNewsletterAdd fieldset input {
			width:100%;
			border:1px solid #998675;
			margin-top:.5em;
		}

		#formNewsletterAdd div.submit {
			width:100%;
			padding:10px 16px 15px;
			background:url(gfx/boxRounded.png) no-repeat 50% 100%;
			margin:0 -16px;
			text-align:right;
		}

/* recommend */

#recommendC {
	position:absolute;
	top:974px;
	left:-255px;
	margin-top:11.9em;
	font-size:1em;
}

/* header */

#header {
	width:100%;
	position:relative;
	z-index:20;
}

.home #header {
	height:392px;
	background:url(gfx/boxHomeHeader.png) no-repeat 0 100%;
}

	#header h1 {
		background:url(gfx/bgdPageTop.png) no-repeat 50% 0;
		height:159px;
		margin:0;
	}

		#header h1 a img {
			position:absolute;
			top:14px;
			left:24px;
			behavior:url(/pngHack.htc);			 
		}

		#header h1 a img.pngHacked {
			height:0;
			padding-top:45px;
		}

/* footer */

#footer {
	width:806px;
	height:65px;
	padding:0 40px;
	background:url(gfx/bgdFooter.png) no-repeat 50% 50%;
	position:absolute;
	bottom:10px;
	left:0;
	z-index:20;
	line-height:65px;
	color:#362f2d;
	font-size:.7em;
}

	#fMadeBy {
		float:right;
	}

		#fMadeBy a {
			color:#362f2d;
			text-decoration:none;
		}

		#fMadeBy a:focus,
		#fMadeBy a:hover {
			text-decoration:underline;
		}

/* menu description */

#menuDescriptionC {
	width:236px;
	margin-left:7px;
}

.home #menuDescriptionC {
	padding:12em 0 75px;
	margin-top:45px;
	font-size:.8em;
}

	#menuDescription ul {
		margin:0;
		list-style:none;
	}

		#menuDescription li {
			padding-top:12px;
			background:url(gfx/boxRounded.png) no-repeat 0 0;
			zoom:1; /* IE fix */
		}

		#menuDescription li a {
			display:block;
			height:104px;
			padding:0 9px;
			overflow:hidden;
			background:url(gfx/boxRounded.png) no-repeat 0 -146px;
			text-indent:1em;
			behavior:url('/before.htc');
		}

		#menuDescription li a::before,
		#menuDescription li .Abefore {
		       display:block;
		       padding-bottom:1em;
		       margin-left:-1em;
		       behavior:url('/content.htc');
		}

		#MDRec a::before,
		#MDRec .Abefore {
		       content:url('gfx/MDRec.jpg');
		}

		#MDSpo a::before,
		#MDSpo .Abefore {
		       content:url('gfx/MDSpo.jpg');
		}

		#MDRoom a::before,
		#MDRoom .Abefore {
		       content:url('gfx/MDRoom.jpg');
		}

		#MDRes a::before,
		#MDRes .Abefore {
		       content:url('gfx/MDRes.jpg');
		}
		
		#MDAlt a::before,
		#MDAlt .Abefore {
		       content:url('gfx/MDAlt.jpg');
		}

		#MDSwim a::before,
		#MDSwim .Abefore {
		       content:url('gfx/MDSwim.jpg');
		}

		#MDStad a::before,
		#MDStad .Abefore {
		       content:url('gfx/MDStad.jpg');
		}

		#MDBowl a::before,
		#MDBowl .Abefore {
		       content:url('gfx/MDBowl.jpg');
		}

		#MDInwest a::before,
		#MDInwest .Abefore {
		       content:url('gfx/MDInwest.jpg');
		}
		#MDJob a::before,
		#MDJob .Abefore {
		       content:url('gfx/MDJob.jpg');
		}

		#MDConf a::before,
		#MDConf .Abefore {
		       content:url('gfx/MDConf.jpg');
		}

		#MDCongr a::before,
		#MDCongr .Abefore {
		       content:url('gfx/MDCongr.jpg');
		}

		.home #MDPres {
			margin-top:116px;
		}

		#MDPres a::before,
		#MDPres .Abefore {
		       content:url('gfx/MDPres.jpg');
		}

		#MDWed a::before,
		#MDWed .Abefore {
		       content:url('gfx/MDWed.jpg');
		}

		#MDPalp a::before,
		#MDPalp .Abefore {
		       content:url('gfx/MDPalp.jpg');
		}

/* language menu */

#menuLangC {
	position:absolute;
	top:6px;
	right:29px;
	z-index:30;
}

	#menuLang ul {
		margin-left:0;
	}

		#menuLang li {
			display:inline;
		}

			#menuLang li img {
				border:1px solid #c7b299;
			}

/* menu subpage */

#menuSubpageC {
	margin-left:7px;
	font-size:.8em;
}

	#menuSubpageC h2 {
		overflow:hidden;
		margin-left:16px;
		text-indent:-6.5em;
		zoom:1; /* IE fix */
	}

		#menuSubpage {
			padding-bottom:1em;
		}

			#menuSubpage ul {
				margin:0 4px;
				list-style:none;
			}

				#menuSubpage li {
					padding-bottom:.5em;
				}

					#menuSubpage li a {
						padding-left:11px;
						background:url(gfx/arrRightDoubleBlack.gif) no-repeat 0 50%;
						color:#362f2d;
						text-decoration:none;
					}

					#menuSubpage li a:focus,
					#menuSubpage li a:hover {
						text-decoration:underline;
					}

/* menu */

#menuMainC {
	position:absolute;
	top:97px;
	left:67px;
	z-index:50;
	font-size:.8em;
}

	#menuMain ul {
		width:751px;
		height:32px;
		overflow:hidden;
		background:#f0591c url(gfx/menu.png) no-repeat 0 -32px;
		margin:0;
	}

		#menuMain li {
			height:32px;
			line-height:32px;
			float:left;
			position:relative;
			list-style:none;
			text-align:center;
		}

			#menuMain li a,
			#menuMain li em {
				height:32px;
				width:100%;
				overflow:hidden;
				background-image:url(gfx/menu.png);
				background-repeat:no-repeat;
				position:relative;
				z-index:10;
				float:left;
				line-height:32px;
				font-style:normal;
				color:#fff;				
				behavior:url(/before.htc);
			}
			#menuMain li a span{
				visibility:hidden;
			}

			#menuMain li .before,
			#menuMain li a::before,
			#menuMain li em::before {
				display:block;
				margin-left:751px;
				position:relative;
				line-height:1%; /* font size increase fix */
				content:url('gfx/menu.png');
				cursor:pointer;
				behavior:url(/content.htc);
			}

			#menuMain li a:hover,
			#menuMain li a:focus,
			#menuMain li em {
				background-image:none;
			}

			#MM1 { width:134px; }
			#MM2 { width:80px; }
			#MM2 a { background-position:-134px 0; }
			#MM3 { width:117px; }
			#MM3 a { background-position:-214px 0; }
			#MM4 { width:116px; }
			#MM4 a { background-position:-331px 0; }
			#MM5 { width:91px; }
			#MM5 a { background-position:-447px 0; }
			#MM6 { width:118px; }
			#MM6 a { background-position:-538px 0; }
			#MM7 { width:95px; }
			#MM7 a { background-position:-656px 0; }

			#menuMain li.WAI { width:0; }

}
