div#zawartosc {
	margin-top: 10px;
	/*overflow: hidden;	*/
	margin-bottom: 0;
	padding-bottom: 0;
	
	/*border: 1px solid black;*/
}

div#tresc {
	float: right;
	width: 670px;
	margin: 0;
	padding: 30px 0 0 0;
	background: url('images/tlo.jpg') repeat-y;
	font-family: Arial;
	min-height: 860px; 
}

*HTML #tresc {height: 860px;}

#tresc p {
	font-family: Arial;
}

div#catname {
	margin: 0 0 20px 0;
	padding: 0;
	font-family: Arial;
	font-size: 24px;
	font-weight: bold;
	color: #691C04;
}

#catname a {
	color: #D04A54;
	text-decoration: none;
}

#catname a:hover {
	color: #841313;
	text-decoration: underline;
}

div#tekst {
	width: 620px;
	height: 100%;
	margin: 0 auto;
	padding: 0;
}

#tekst .kropa { }

#tekst h2 {
	display: inline;
	margin: 0;
	padding: 0 0 0 10px;
	/*font-size: 24px;*/
	font-size: 20px;
	font-weight: 500;
	color: #000000;
}

#tekst h2 a {
	text-decoration: none;
	color: #CF4C4E;
}

#tekst h2 a:hover {
	text-decoration: none;
	color: #888886;
}

#tekst .naglowek {
	margin: 0;
	padding: 0 0 7px 15px;	
}

#tekst .liniaup {
	height: 3px;
	margin: 0 auto;
	margin-bottom: 15px;
	padding: 0;
	border-top: 2px solid #10166C;
	border-bottom: 3px solid #D4E920;
	font-size: 0;
}

#tekst .posttresc {
	padding: 0 15px 0 15px;
	text-align: justify;
	/*font-size: 17px;*/
	font-size: 14px;
	font-family: Arial;
}

#tekst .liniadown {
	height: 2px;
	margin-top: 15px;
	margin-left: 0 auto;
	margin-right: 0 auto;
	margin-bottom: 40px;
	padding: 0;
	font-size: 0;
	clear: both;
	background-color: #A6A6A6;
}

.posttresc ul a { text-decoration: none; }
.posttresc ul a:hover {
	text-decoration: underline;
	color: #8D0A0C;
}

	/*Streszczenie*/

.excerpt {
	color: #000000;
	font-family: Arial;
	font-weight: 600;
}

.czyt {
	/*font-size: 16px;*/
	font-size: 14px;
	padding-bottom: 15px;
}

.czyt a {
	font-family: Arial;
	color: #000000;
	text-decoration: none;
}

.czyt a:hover {
	color: #8D0A0C;
	text-decoration: underline;
}

/*stopka*/

div#stopka {
	clear: both;
	text-align: right;
	margin-top: 0;
	margin-bottom: 40px;
	padding-top: 5px;
	padding-right: 20px;
	color: #352F4A;

	/*border: 1px solid red;*/
}

#stopka a {
	color: #8F2C08;
	text-decoration: none;
}

/*plan lekcji*/

#planylekcji .pagemain li {
	float: left;
	width: 150px;
	height: 50px;
	text-align: center;
	font-size: 18px;
	list-style-position: outside;
	list-style-type: none;
	padding: 30px 0 0 0;
	border: 1px solid #000000;
	background-color: #FFF2F1;
}

#planylekcji .pagemain a {
	font-family: Arial;
	text-decoration: none;
	color: #AF760D;
}

#planylekcji .pagemain a:hover {
	text-decoration: underline;
	color: #738635;
}

/*plan lekcji - tabela SzP*/

#tresc tbody{
	width: 590px;
}

#tresc .l {
	text-align: left;
	width: 100px;
	height: 70px;
	background-color: #FFF2F1;
}

#tresc th {
	background-color: #F0E8D4;
}

#tresc .nr {
	font-weight: bold;
	background-color: #F0E8D4;
}

#tresc .g {
	width: 40px;
	font-size: 14px;
	background-color: #F5DE59;
	text-align: center;
	font-weight: bold;
}

#tresc .p {
	font-weight: bold;
	font-size: 15px;
	text-transform: lowercase;
}

#tresc .n {
	font-size: 14px;
	font-weight: bold;
	color: #A5421E;
}

#tresc .n1 {
	font-size: 14px;
	font-weight: bold;
	color: #4B7DB7;
}

#tresc .s {
	font-size: 16px;
	color: #844C23;
}

#tresc .s1 {
	font-size: 16px;
	color: #4B7DB7;
}

/*tabele z worda oraz posty z worda*/

#posttab td {
	font-family: Arial;
	text-align: left;
	vertical-align: middle;
	height: 50px;
	padding-left: 10px;
	padding-right: 10px;
	background-color: #F0E8D4;
	color: #000000;
}

#posttab div, #posttab li, #posttab p{
	vertical-align: middle;
	color: #000000;
	font-family: Arial;
	/*font-size: 16px;*/
	font-size: 14px;
}

	/*naglowek nad tabela*/
#posttab div strong {
	color: #586F4B;
	font-family: Arial;
	/*font-size: 16px;*/
	font-size: 14px;
}

	/*pogrubiony tekst w tabeli*/
#posttab td div strong {
	color: #873A22;
	font-family: Arial;
	font-size: 16px;
}

	/*tytul strony*/
#posttab h1 {
	color: #A32022;
	font-family: Arial;
	/*font-size: 28px;*/
	font-size: 20px;
	text-align: center;
}

	/*nazwa kolumny w tabeli*/
#posttab h3 {
	font-family: Arial;
	text-align: center;
	color: #8E3833;
}

	/*link*/

.linkpost {
	font-family: arial;
	text-decoration: underline;
	color: #B93638;
	font-weight: bold;
}

.linkpost:hover {
	color: #6D5460;
}
	/*Historia Szkoły*/

div#posttabonas {
	padding-top: 0px;
}

#posttabonas div p, #posttabonas p, #posttabonas div {
	text-indent: 40px;
	font-family: Arial;
}
