/* strona
--------------------------------------------------------- */

html, body {
	margin: 0;
	padding: 0;
	background: rgb(105, 15, 0) url(tlo1.jpg);
}

html {
	font: 0.9em Tahoma, Verdana, sans-serif;
}

table#strona {
	width: 960px;
	margin: 0 auto;
	border-collapse: collapse;
}

a img {
	border: none;
}

/* gora
--------------------------------------------------------- */

td#gora {
	color: white;
}

td#gora a#logo {
	display: block;
	float: left;
	padding: 20px 40px 20px 30px;
}

td#gora h1 {
	margin: 20px 0 0 0;
	padding: 20px 0 0 0;
}

td#gora h1 a {
	color: white;
	text-decoration: none;
}

td#gora p {
	margin: 30px 0 0 0;
	text-align: right;
	font-size: 0.8em;
	font-style: italic;
}

td#gora p span {
	margin-left: 2em;
}

td#gora p span a img {
	height: 20px;
}

/* bok
--------------------------------------------------------- */

td#bok {
	vertical-align: top;
	width: 20%;
	padding: 10px 0 0 0;
	border-right: 5px solid rgb(159, 162, 94);
	background: url(bok.png) repeat-x left bottom;
	font-size: 0.85em;
	color: white;
}

td#bok h3 {
	margin: 10px 0 0 0;
	padding: 10px 34px;
	border: solid rgb(159, 162, 94);
	border-width: 1px 0;
	background: rgb(244, 248, 180) url(listek.png) no-repeat 8px center;
	color: black;
	font-size: 1em;
	font-weight: bold;
}

/* menu
--------------------------- */

td#bok ul.menu {
	margin: 5px 0 0 0;
	padding: 0;
	list-style: none;
}

td#bok ul.menu li {
	margin: 0;
	padding: 0;
}

td#bok ul.menu li a {
	display: block;
	padding: 0 1em 0 2em;
	line-height: 18.5px;
	background: url(link.png) 10px 7px no-repeat;
	text-decoration: none;
	font-weight: bold;
	color: white;
}

td#bok ul.menu li a:hover {
	background-color: rgb(150, 34, 11);
	text-decoration: underline;
}

/* menu rozwijane
--------------------------- */

td#bok ul.menu li.podmenu {
	position: relative;
	z-index: 10; /* zdjęcia absolwentów (pinezki) */
}

td#bok ul.menu li.podmenu ul {
	position: absolute;
	top: 0;
	left: 189px;
	display: none;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

td#bok ul.menu li.podmenu:hover ul {
	display: block;
}

td#bok ul.menu li.podmenu:hover a {
	background-color: rgb(150, 34, 11);
}

td#bok ul.menu li.podmenu:hover ul li a {
	background: rgb(70, 15, 5) url(podmenu.png) repeat-y;
	padding: 0.35em 1em;
}

/* tresc
--------------------------------------------------------- */

td#tresc {
	min-width: 745px; /* potrzebne dla IE */
	vertical-align: top;
	padding: 10px;
	background: white url(tlo2.jpg);
 	color: black;
}

td#tresc h2 {
	margin: 0 -10px;
	padding: 0.3em 0;
	border-width: 1px 0;
	border-style: solid;
	background-color: rgb(150, 34, 11);
	text-align: center;
	font-size: 1.5em;
	color: white;
}

td#tresc h3 { 
	margin: 0;
	padding: 0.5em 2em 1px 32px;
	border-bottom: 1px dotted;
	background: url(tarcza.png) no-repeat left bottom;
	font-size: 1.15em;
	color: rgb(150, 34, 11);
}

td#tresc h4 { /* dla Małej Żaby */
	margin: 0;
	padding: 1em 2em 2px 40px;
	border-bottom: 1px dotted;
	background: url(zabka.png) no-repeat left bottom;
	font-size: 1.15em;
	color: rgb(0, 128, 0);
}

td#tresc h5 { /* tło dla Saturna*/
	color: white;
	background:url(tlog.jpg);
}

td#tresc h6 { /* tło dla Żaby*/
	background: url(tlozaba.png);
}

td#tresc p {
	margin: 1em;
}

td#tresc a {
	text-decoration: underline;
	font-weight: bold;
	color: rgb(10, 90, 170);
}

td#tresc a:visited {
	color: rgb(130, 10, 130);
}

td#tresc a:hover {
	text-decoration: underline;
}

td#tresc div#absolwenci {
	margin: 0 auto;
	text-align: center;
}


/* kalendarz
--------------------------- */

td#tresc p.nawigacja-kalendarza {
	text-align: center;
	margin-bottom: 0;
}

td#tresc table.kalendarz {
	margin: 1em auto;
	border: 1px solid black;
	border-collapse: separate;
	empty-cells: show;
	background-color: white;
}

td#tresc table.kalendarz th,
td#tresc table.kalendarz td {
	width: 2em;
	padding: 0.2em;
	border-style: solid;
	border-width: 1px;
	text-align: center;
}

td#tresc table.kalendarz th acronym {
	border: none;
}

td#tresc table.kalendarz td.wydarzenie {
	padding: 0;
	background-color: yellow;
}

td#tresc table.kalendarz td.wydarzenie a {
	display: block;
	padding: 0.2em;
	color: black;
	text-decoration: none;
}

td#tresc table.kalendarz td.swieto,
td#tresc table.kalendarz th.swieto {
	color: red;
	font-weight: bold;
	border-color: red;
}

td#tresc table.kalendarz td.ferie {
	background-color: rgb(254, 150, 180);
}

/* wydarzenia kalendarza
--------------------------- */

td#tresc table.wydarzenia {
	margin-top: 1em;
	width: 100%;
	border-collapse: collapse;
}

td#tresc table.wydarzenia th,
td#tresc table.wydarzenia td {
	padding: 0.5em 0;
	border-top: 1px solid #ccc;
}

td#tresc table.wydarzenia th {
	width: 62px;
	height: 75px;
	background: url(kartka.png) no-repeat;
	vertical-align: top;
	text-align: center;
	font-weight: normal;
}

td#tresc table.wydarzenia th span {
	display: block;
	margin: 10px 0 3px 0;
	font-size: 20px;
	line-height: 1;
}

td#tresc table.wydarzenia th acronym {
	display: block;
	font-size: 10px;
	line-height: 1;
	border: none;
}

td#tresc table.wydarzenia td {
	vertical-align: top;
}

td#tresc table.wydarzenia td ul {
	margin: 0 0 0 2.5em;
	padding: 0;
}

td#tresc table.wydarzenia td ul li {
	margin: 0;
	padding: 0;
}

/* kalendarz roczny
--------------------------- */

td#tresc table.kalendarz-roczny {
	margin: 1.5em auto;
	font-size: 0.7em;
}

td#tresc table.kalendarz-roczny td {
	vertical-align: top;
}

td#tresc table.kalendarz-roczny td table {
	margin: 0;
}

td#tresc table.kalendarz-roczny td h3 {
	margin: 1em 0 0.3em 0;
}

/* do-gory
--------------------------------------------------------- */

td#do-gory {
	vertical-align: bottom;
	background: white url(tlo2.jpg);
}

td#do-gory p {
	margin: 1em 0;
	text-align: center;
	font-size: 0.8em;
	font-weight: bold;
}

td#do-gory p a {
	color: rgb(10, 90, 170);
}

td#do-gory p span {
	font-size: 1.7em;
}

td#do-gory p img {
	margin: 0 0.5em;
	vertical-align: middle;
}

/* stopka
--------------------------------------------------------- */

td#stopka {
	padding: 1em 0;
	text-align: center;
	color: white;
	font-size: 0.8em;
}

td#stopka p {
	margin: 0.5em 0;
}

/* pins
--------------------------------------------------------- */

span.pin {
/* pin source */
	background-image: url(pin.png);

/* pin width */
	width: 15px;

/* pin height */
	height: 15px;
	line-height: 15px;

	position: absolute;
	background-repeat: no-repeat;	
	text-align: center;
	font-size: 0.6em;
	font-family: sans-serif;
	cursor: help;
}

/* pins-legend
--------------------------------------------------------- */

table.pins-legend {
	width: 90%;
	margin: 1em auto;
	background-color: rgb(244, 248, 180);
	border-collapse: collapse;
}

table.pins-legend td {
	border: 2px solid black;
	border-width: 0 2px;
	padding: 0.5em;
}

